Post edited 12:28 – 25 March, 2011 by John Landells
Hi Vladimir!
First of all, I'd like to say that this is an awesome plugin which saves me a HUGE amount of time! :)
The only challenge I had with it was that the videos were being displayed over a popup window that I had on my site. I fixed this by tweaking the embed code as follows:
I have a similar problem. I have smartyoutube in the sidebar of my page (http://www.intercept.hk/jfjkdg…..-hartsell/) in conjunction with the "Simple Lightbox" plug-in for wordpress. No matter what I do with the z-index for the lightbox, the video always wins out. I need the lightbox to overlay the video also. So looking for answers, I came across your post – made sure I was on the latest version of smartyoutube, and tried your suggestions also – to no avail
Any suggestions or help would be greatly appreciated!
Vladimir’s WordPress Forum
Fixing z-index issues with Smart Youtube
12:27
25 March, 2011
John Landells
Post edited 12:28 – 25 March, 2011 by John Landells
Hi Vladimir!
First of all, I'd like to say that this is an awesome plugin which saves me a HUGE amount of time! :)
The only challenge I had with it was that the videos were being displayed over a popup window that I had on my site. I fixed this by tweaking the embed code as follows:
<object width="$width" height="$height">
<param name="movie" value="$video_url" />
<param name="allowFullScreen" value="true" />
<embed wmode="opaque" src="$video_url" type="application/x-shockwave-flash" allowfullscreen="true" width="$width" height="$height"></embed>
<param name="wmode" value="opaque" />
</object>
</span>
The key things that I found were that the parameter wmode="opaque" needed to be added, the the allowscriptaccess parameter needed to be removed.
It would be really great if these changes could be incorporated in your future releases so that I don't have to keep tweaking code! :)
For those people who might WANT the video to display at the front, maybe these parameters could be optional?
Again, thanks for an awesome plugin!
Kind regards,
-John Landells.
[Internet Marketing with John]
13:18
25 March, 2011
Vladimir
posts 707
Thanks for the update John, included in next release
6:49
24 May, 2011
Trevor
Hi John / Vladimir
I have a similar problem. I have smartyoutube in the sidebar of my page (http://www.intercept.hk/jfjkdg…..-hartsell/) in conjunction with the "Simple Lightbox" plug-in for wordpress. No matter what I do with the z-index for the lightbox, the video always wins out. I need the lightbox to overlay the video also. So looking for answers, I came across your post – made sure I was on the latest version of smartyoutube, and tried your suggestions also – to no avail
Any suggestions or help would be greatly appreciated!
Trevor