开发者

flowplayer 3.2.5 version playlist clip not working in ie

I am using the flowplayer version 3.2.5 to stream video, I am using this code

flowplayer(divname, "flowplayer-3.2.5.swf", {  
    clip:{   
      onFinish:function() {
        s= parseInt(s) + parseInt(1);

        document.getElementById('loopinc'+val).value = s;
        var stpnote = document.getElementById('stopnote'+val).value;

          if(s == 3 && stpnote == "ON" && user != "M") {
            //alert(s + "  $ "+ val);
            document.g开发者_开发百科etElementById('loopinc'+val).value = 1;    
            visibleme(val); 
          } else if(s == 3 && stpnote != "ON") {
            stopplayer(val);
          } 
      },
      onBeforeFinish: function () {
        // hide replay button
        this.getPlugin("play").css({opacity: 0});
      }
    },  

    playlist: [
      'Start.flv',
      { 
        url: 'buffer.gif',duration: 5, 
      },
      newfilename
    ],
});

this code working fine in Firefox but not in IE . if i remove the playlist clip

playlist: [
  'Start.flv',
  { 
    url: 'buffer.gif',duration: 5, 
  },
  newfilename
],

then run the code in IE then its working fine. What am I doing wrong?


Try removing the last comma

playlist: [
  'Start.flv',
  { 
    url: 'buffer.gif',duration: 5, 
  },
  newfilename
],     <----- REMOVE THIS COMMA
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜