Getting “My YouTube Playlist” plugin to appear below other web elements

Hey Everyone,

Here is a fix for getting the videos in the “My YouTube Playlist” plugin for WordPress to appear below other web elements. I wanted to figure this out because I love the plugin but it was causing my cool javascript drop-down menu to appear underneath the YouTube videos, which sucks.

All you need to do is add

myYoutubePlaylist_cfStr += ‘<param name=”wmode” value=”transparent”>’;

Between the lines

myYoutubePlaylist_cfStr += ‘<param name=”movie” value=”http://www.youtube.com/’+ type +’/’+ movie +’?rel=0&hd=1&wmode=transparent’ + play + ‘”/>’;

and

myYoutubePlaylist_cfStr += ‘<param name=”allowFullScreen” value=”true”/>’;

In the my-youtube-playlist/myYoutubePlaylist.js file in the plugin.

Posted on by Carisa Hendrix in Blog, Programming

Add a Comment