Vladimir’s WordPress Forum


 
Current User: Guest
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Fixing z-index issues with Smart Youtube

Add a New Topic Reply to Post
UserPost

12:27
25 March, 2011


John Landells

Guest

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:

<span class="youtube">
<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! sf cool Vladimirs WordPress Forum

Kind regards,
-John Landells.
[Internet Marketing with John]

13:18
25 March, 2011


Vladimir

Admin

posts 707

Thanks for the update John, included in next release

6:49
24 May, 2011


Trevor

Guest

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 Frown

Any suggestions or help would be greatly appreciated!

Trevor

Reply to Post

Reply to Topic:
Fixing z-index issues with Smart Youtube

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
4 + 5