Flowplayer在IE9中不工作
Flowplayer doesn't work in IE9
我有一个flowplayer在fanybox模态。适用于IE7/8 FF和Chrome/Safari。
在IE9下无法播放
下面是我的生产代码:
<div class="video">
<a class="video-popout" href="#video-player1342"><img id="ContentPlaceHolderDefault_CLMasterContentPlaceHolder_Multimedia_6_videoListView_videoThumbnail_1" src="/media/12112/diner_1011_thumb.jpg" alt="Click me!" style="height:164px;width:291px;" /></a>
<p class="title">Dinner Commercial</p>
<p class="posted-on">date added: <span><span id="ContentPlaceHolderDefault_CLMasterContentPlaceHolder_Multimedia_6_videoListView_dateAddedLabel_1">10/05/2011</span></span></p>
<p><span id="ContentPlaceHolderDefault_CLMasterContentPlaceHolder_Multimedia_6_videoListView_descriptionLabel_1"></span></p>
<div class="video-share">
<div class="addthis_toolbox addthis_default_style">
<a class="share-link" href="#">Share</a><span class="share-divider">|</span>
</div>
</div>
<div style="display:none">
<div id="video-player1342" style="width:542px;height:304px;border:1px solid #cb1000;padding:8px;">
<div class="player">
<object width="540" height="304" id="_player1" name="_player1" data="http://builds.flowplayer.netdna-cdn.com/79849/45776/flowplayer-3.2.7-0.swf" type="application/x-shockwave-flash"><param name="movie" value="http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="flashvars" value='config={"clip":{"url":"../media/12112/diner_1011.flv"}}' /></object>
</div>
</div>
</div>
</div><!-- end video-->
我注意到在IE9兼容模式下,当你点击我的缩略图预览来启动模态时,selectivzr会抛出一个错误。
Unable to get value of the property 'charAt': object is null or undefined
selectivizr-1.0.1.min.js, line 5 character 2280
可能不相关,
谁能看看发生了什么事?您也可以在http://thecl.com/multimedia-gallery/videos.aspx
上进行测试谢谢!
我已经用一种非常不同的方法实现了同样的效果,基本上让流播放器脚本进行加载,而不是直接将视频嵌入页面:
<script type="text/javascript" src="/scripts/flowplayer/flowplayer-3.2.6.min.js"></script>
<script>
$(document).ready(function() {
var vid;
var player;
$("#video_list a.click_button").click(function() { vid = $(this).attr("href"); }).fancybox({
'href': '#video_content',
'onStart': function() {
player = flowplayer("video_content", "/scripts/flowplayer/flowplayer-3.2.7.swf", vid);
},
'onCleanup': function() {
$('#video_content').html("");
}
});
});
</script>
现在是mark up
<div id="video_list">
<div>
<img src="/images/tws_land/2011/ico_AndrewBlue.png" alt="">
<p>"..There is real value in what Safety in the Market offer" - Andrew<br />
<a href="/video/tws_AndrewB.flv" id="playflv" class="click_button">Play video</a>
</p>
</div>
<div>
<img src="/images/tws_land/2011/ico_MichaelBlue.png" alt="">
<p>"..I’ve learnt how to trade the stock market and the commodities market successfully, with a great deal of confidence" - Michael<br />
<a class="click_button" href="/video/tws_MichaelC.flv">Play video</a>
</p>
</div>
<div>
<img src="/images/tws_land/2011/ico_BradBlue.png" alt="">
<p>"..For the outlay, the rewards far outway the investment" - Brad<br />
<a class="click_button" href="/video/tws_BradJ.flv">Play video</a>
</p>
</div>
<div>
<img src="/images/tws_land/2011/ico_YvonneBlue.png" alt="">
<p>"..It’s been a blessing to us, we’re enjoying the new life we have as traders..
and the freedom it brings" - Yvonne<br />
<a class="click_button" href="/video/tws_YvonneP.flv">Play video</a>
</p>
</div>
</div> <!-- END VIDEO LIST -->
<div style="display:none;">
<div id="video_content" style="width:800px;height:600px;">
</div>
我有一个现场演示,我可以确认它在IE9
相关文章:
- 带有videoJS的HSL无法在IE9上工作
- prettyPhoto无法在Chrome和IE9中工作
- Cufon脚本没有'不能在IE9下工作
- 使用javascript限制字符获胜'我不在IE9工作
- 使用像素操作修改画布在某种程度上不会;我不能完全在IE9中工作
- 浏览器.文件InvokeScript()don'我不在IE9工作
- jQuery.每个都不在IE9中工作
- 谷歌SWIFFY无法在IE9中工作-脚本错误'运行时.js'
- window.location在IE9和FF中的工作方式不同
- window.open没有'我不在IE9上工作
- 使插值双三次函数在ie9中工作
- 如何将悬停事件添加到 SVG 中的多个路径?并让它在IE9中工作
- Request.UrlReferrer在IE8中无法正常工作,并且工作正常IE9
- IE9浏览器中的内联ckeditor只工作一次(在弹出面板中)
- 如何使 Dreamweaver AP Div 显示/隐藏功能在 IE9 中工作
- 模态在IE9中不起作用 - 在打开开发人员工具时,它可以正常工作
- 优雅地降级有机选项卡以在IE9高安全性(又名无js)中工作的简单方法
- CSS3 动画无法正常工作 IE9
- js手风琴不工作IE9
- Tryied窗口.用Ajax打开窗口.打印不工作(IE9)