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

<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/

10-11 21:37