English 中文(简体)
如果设定 html5 自动播放在使用闪光到 html5 后退时为真实, 则两个播放器都将重播
原标题:Both player will playback if set html5 autoplay to be true when using flash to html5 fallback

我们有一个页面, 使用这些和标签来让 流量玩家闪光到 html5 后退 。 代码片断如下 :

<object id="flowplayer" width="100%" height="100%" bgcolor="#000000"
data="/flowplayer/3.2.11/flowplayer.unlimited-3.2.11.swf"
type="application/x-shockwave-flash"> 

<param name="movie" value="flowplayer/3.2.11/flowplayer.unlimited-3.2.11.swf" /> 

<param name="allowfullscreen" value="true" /> 
<param value="always" name="allowscriptaccess"/>
<param value="high" name="quality"/>
<param value="true" name="cachebusting"/>
<param value="#000000" name="bgcolor"/> 

<param value="config=/r/m/veuscqj/e8EJVo/config" name="flashvars"/>

    <video controls="controls" autoplay  style="height:100%; width:100%;">
            <source src="/veuscqj/25aRpC/20120521011327_CONT3Emp4MEDIUM_mp4-MEDIUM.mp4"
                type= video/mp4; codecs="avc1.42E01E, mp4a.40.2" 
            >
    </video>    

问题是当我们为 html5 播放器设置自动播放属性时, 如果给定浏览器支持 html5 并提供了编码, 浏览器将几乎同时播放两个玩家( 鞭和 html5) 。 因此, 您将听到两个带秒间隔的音频在背景播放 。

理论上,我们认为 html5 播放器只有在闪光天体没有装入时才会触发, 然而,在现实中, 无论浏览器如何, 都似乎都装上了两个播放器 。

如果 html5 的自动播放被禁用, 问题就不会发生 。

谁能帮助我们解决问题?

最佳回答

原谅我之前的回答

I have, however, found you an alternate solution. We need to check whether flash is available, correct? If that s the case, this link might prove useful.

点,您可以使用 swfobbject 创建一个如果 / 其它结构来确定需要显示并因此执行的内容。

问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签