开发者

how to play .swf files in IE using iframe tag

I am trying to play .swf files in IE using an iframe tag in jsp. But they are not playing. They are playing in Chrome & Safari. Can anyone help? The code is as follows:

  <iframe src="courses/slide1.swf " 
         frameborder="0" scrolling="no" name="myiframe"
         w开发者_高级运维idth="850px" height="650px" >
  </iframe>


Usually flash files use the embed tag to run SWF within a browser, but I guess Chrome & Safari are playing it because they share the same engine "WebKit". I can't understand why they allow it to run within an iframe tag, I guess that will represent a security issue along the road.


You can embed it using iframe but you need to define atributes as style

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜