FlowPlayer - 添加wmmode后获取下载弹出链接:'opaque'

时间:2011-06-29 18:23:19

标签: jquery video flowplayer

在向FlowPlayer添加wmode:'opaque'后,我收到了FireFox下载弹出窗口,并询问我是否要保存.flv文件。视频实际上还在播放。

我的标记:

<a href="command page.flv" style="display:block;width:254px;height:163px;" id="player"></a>

我的FlowPlayer脚本:

flowplayer("player", {src: '/swf/flowplayer.commercial-3.2.7.swf', wmode: 'opaque'},  {
          plugins: {
            controls: {
              url: 'flowplayer.controls-3.2.5.swf',

              autoHide: false,
              buttonColor: 'rgba(0, 0, 0, 0.9)',
              buttonOverColor: '#000000',
              backgroundColor: '#FFFFFF',
              backgroundGradient: 'medium',
              height: '20px',
              sliderColor: '#FFFFFF',

              sliderBorder: '1px solid #808080',
              volumeSliderColor: '#FFFFFF',
              volumeBorder: '1px solid #808080',

              // which buttons are visible and which are not?
              play:true,
              volume:true,
              mute:true,
              time:false,
              stop:false,
              playlist:false,
              fullscreen:true,

              timeColor: '#000000',
              durationColor: '#535353'
            }
          },
          logo: {
            url: 'splash.jpg',
            fullscreenOnly: false,
            zIndex:0,
            top: '44%',
            left: '50%'
          },
          clip: {

            // these two configuration variables does the trick
            autoPlay: false,
            autoBuffering: false
          }
});

帮助!

1 个答案:

答案 0 :(得分:0)

我将标签更改为标签并解决了问题。