I am trying to embed a ooyala video on a web page using the emebed tag. By just giving the src it works fine in chrome and surprisingly in IE, but if fails in FF.

<embed src="http://player.ooyala.com/player.swf?embedCode=c3ajR4MjpyGe-djJaAxM6wa_SPQPijH7&amp;version=2" type="application/x-shockwave-flash" 
/>

for firefox I additionaly need to provide a flashvars property in the embed tag or else it gets stuck on 'loading'.

<embed src="http://player.ooyala.com/player.swf?embedCode=c3ajR4MjpyGe-djJaAxM6wa_SPQPijH7&amp;version=2" type="application/x-shockwave-flash" flashvars="&amp;embedCode=c3ajR4MjpyGe-djJaAxM6wa_SPQPijH7&amp;videoPcode=FiYm06Tu_hQLSGqTeVTwSS1L4vV7" 
/>

Here is the fiddle demonstrating the issue. Open it in ff and you will see the second video forever stuck on loading while both the video play fine in chrome and IE.

没有正确的解决方案

其他提示

You can use <iframe></iframe>

<iframe  id="Iframe" width="640" height="360" src="http://player.ooyala.com/player.swf?embedCode=c3ajR4MjpyGe-djJaAxM6wa_SPQPijH7&amp;version=2" frameborder="0"></iframe>

it supports all browser

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top