开发者

flowplayer 3.2.5 version playlist clip not working in ie

开发者 https://www.devze.com 2023-02-07 03:59 出处:网络
I am using the flowplayer version 3.2.5 to stream video, I am using this code flowplayer(divname, \"flowplayer-3.2.5.swf\", {

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

精彩评论

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