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

发布于 2024-11-17 21:47:02 字数 1585 浏览 2 评论 0原文

将 wmode: 'opaque' 添加到 FlowPlayer 后,我收到 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
          }
});

救命!

After adding the wmode: 'opaque' to the FlowPlayer, I'm getting the FireFox download popup and its asking me if I want to save the .flv file. The video actually still plays.

My markup:

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

My FlowPlayer Script:

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
          }
});

Help!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

櫻之舞 2024-11-24 21:47:02

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

I changed the tag to a tag and that fixed the problem.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文