gpt4 book ai didi

javascript - Flowplayer 的嵌套条件语句

转载 作者:行者123 更新时间:2023-11-28 09:14:25 26 4
gpt4 key购买 nike

为什么下面提到的代码不起作用?

<script>
flowplayer("player", "flowplayer-3.2.8.swf", {
onLoad: function() {
this.setVolume(100);
},
clip: {
autoBuffering: true,
},
var screenwidth = screen.width;
var screenheight = screen.height;
if (screenwidth / screenheight < 1.34) {
<!--[if IE]>
<plugins: {
controls: null
}/>
<![endif]-->
<!--[if !IE]><!-->
<plugins: {
controls: true
}/>
<!--<![endif]-->
});
</script>

最佳答案

 flowplayer("player", "flowplayer-3.2.8.swf", {

onLoad: function() {
this.setVolume(100);
},
clip: {
autoBuffering: true,
url: video_path
},

here video_path is the path of your video

关于javascript - Flowplayer 的嵌套条件语句,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15848114/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com