Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

FLV Files are not showing in Firefox but do in Chrome IE and Safari

  • 1 ответ
  • 1 имеет эту проблему
  • 8 просмотров
  • Последний ответ от cor-el

more options

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&amp;frontcolor=lightblue&amp;backcolor=black&amp;file=http://flvnetwork.com/vod/iseehosting/media/lifejackets.flv&amp;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

I have the following code on a webpage to display a video file stored in an external location <pre><nowiki><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&amp;frontcolor=lightblue&amp;backcolor=black&amp;file=http://flvnetwork.com/vod/iseehosting/media/lifejackets.flv&amp;image=http%3A%2F%2Fflvnetwork.com%2Fvod%2Fiseehosting%2Fmedia%2F4d1a61b3-892c-4201-af31-6f4e108c4511.jpg" /> </object> </nowiki></pre> 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&amp;frontcolor=lightblue&amp;backcolor=black&amp;file=http://flvnetwork.com/vod/iseehosting/media/lifejackets.flv&amp;image=http%3A%2F%2Fflvnetwork.com%2Fvod%2Fiseehosting%2Fmedia%2F4d1a61b3-892c-4201-af31-6f4e108c4511.jpg" />
</object>
Прочитайте этот ответ в контексте 👍 0

Все ответы (1)

more options

Выбранное решение

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&amp;frontcolor=lightblue&amp;backcolor=black&amp;file=http://flvnetwork.com/vod/iseehosting/media/lifejackets.flv&amp;image=http%3A%2F%2Fflvnetwork.com%2Fvod%2Fiseehosting%2Fmedia%2F4d1a61b3-892c-4201-af31-6f4e108c4511.jpg" />
</object>