FLV Files are not showing in Firefox but do in Chrome IE and Safari
I have the following code on a webpage to display a video file stored in an external location
<object width="480" height="350"> <param name="movie" value="http://flvnetwork.com/assets/YTPlayer.swf" /> <param name="allowFullScreen" value="true" /> <param name="allowscriptaccess" value="always" /> <param name="flashvars" value="autostart=false&frontcolor=lightblue&backcolor=black&file=http://flvnetwork.com/vod/iseehosting/media/lifejackets.flv&image=http%3A%2F%2Fflvnetwork.com%2Fvod%2Fiseehosting%2Fmedia%2F4d1a61b3-892c-4201-af31-6f4e108c4511.jpg" /> </object>
The video files display OK in IE8 and IE9 as well as Chrome on PC's and Safari and Chrome on Macs. I cannot see why this would not display on Firefox in either Mac or PC format.
Kind regards Ian Johnson
เปลี่ยนแปลงโดย cor-el เมื่อ
วิธีแก้ปัญหาที่เลือก
For Firefox you need to specify the file name in a data attribute in the object tag.
<object width="480" height="350" data="http://flvnetwork.com/assets/YTPlayer.swf"> <param name="movie" value="http://flvnetwork.com/assets/YTPlayer.swf" /> <param name="allowFullScreen" value="true" /> <param name="allowscriptaccess" value="always" /> <param name="flashvars" value="autostart=false&frontcolor=lightblue&backcolor=black&file=http://flvnetwork.com/vod/iseehosting/media/lifejackets.flv&image=http%3A%2F%2Fflvnetwork.com%2Fvod%2Fiseehosting%2Fmedia%2F4d1a61b3-892c-4201-af31-6f4e108c4511.jpg" /> </object>อ่านคำตอบนี้ในบริบท 👍 0
การตอบกลับทั้งหมด (1)
วิธีแก้ปัญหาที่เลือก
For Firefox you need to specify the file name in a data attribute in the object tag.
<object width="480" height="350" data="http://flvnetwork.com/assets/YTPlayer.swf"> <param name="movie" value="http://flvnetwork.com/assets/YTPlayer.swf" /> <param name="allowFullScreen" value="true" /> <param name="allowscriptaccess" value="always" /> <param name="flashvars" value="autostart=false&frontcolor=lightblue&backcolor=black&file=http://flvnetwork.com/vod/iseehosting/media/lifejackets.flv&image=http%3A%2F%2Fflvnetwork.com%2Fvod%2Fiseehosting%2Fmedia%2F4d1a61b3-892c-4201-af31-6f4e108c4511.jpg" /> </object>