Flowplayer在一切玩 [英] Flowplayer playing over everything

查看:139
本文介绍了Flowplayer在一切玩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 flowplayer ,我使用下面的几张照片。当您单击这些图片时,会创建一个对话框,其中放大了这些图片。问题是 flowplayer 将总是在对话框的顶部

I have a flowplayer that I am using with a few pictures below it. When you click on these pictures a dialog is created with an enlarged version of these pictures. The problem is the flowplayer will always be on top of the dialog.

我已经尝试设置对话框的 z-index 高和 flowplayer 低,但不起作用。

I have tried setting the z-index of the dialog high and the flowplayer low, but it doesn't work.

flowplayer中有一个方法会降低其 z-index 或允许我的对话框放置在它上面?

Is there a method in flowplayer that will lower its z-index or allow for my dialog to be placed over it?

编辑用于处理flowplayer:

Edit Heres the flowplayer:

//Uses flowplayer to create player
$f('#rightVideoContent', "http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf", {
    //Creates a single clip for the flow player
    clip: {
        url: videoLocation,
        autoPlay: true,
        autoBuffering: true
    },
    plugins: {
        controls: null
    },
    onLoad: function () {
        //Do nothing here
    }
});

这里是 div

<div id = "rightVideoContent" class = "VideoDiv"></div>

我使用 flowplayer-3.2.6.js

推荐答案

我想你错过的是:

<param name="wmode" value="transparent" />

更多关于wmode

edit: strong>看看你的代码...嵌入一个swf文件你应该有:

edit: take a look at your code ... to embed a swf file you gotta have something like:

<object width="550" height="400">
    <param name="movie" value="somefilename.swf" />
    <embed src="somefilename.swf" width="550" height="400"></embed>
</object>

所有您需要做的只是添加另一个< param ... 在第一个

all you need to do is just add another <param ... after the first one

edit2:之后,应替换第二个参数...而不是url string put

edit2: you should replace the second parameter ... instead of the url string put there

{src: 'http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf', wmode: 'transparent'}

这篇关于Flowplayer在一切玩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆