Title: i fixed this plugin
Last modified: August 21, 2016

---

# i fixed this plugin

 *  ResolvedPlugin Contributor [roycegracie](https://wordpress.org/support/users/roycegracie/)
 * (@roycegracie)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/i-fixed-this-plugin/)
 * the problem with that plugin is that it runs the old youtube emmbed code,
    what
   you need to do is:
 * go to the file:
    youtubevideo.php
 * look for:
    `<object width="<?=$width?>" height="<?=$height?>"><param name="movie"
   value="<? echo $url; ?>"></param><param name="wmode" value="transparent"></param
   ><embed src="<? echo $url; ?>" type="application/x-shockwave-flash" wmode="transparent"
   width="<?=$width?>" height="<?=$height?>"></embed></object>`
 * replace it with:
    `<iframe width="<?=$width?>" height="<?=$height?>" src="//www.
   youtube.com/embed/<? echo $url; ?>" frameborder="0" allowfullscreen></iframe>`
 * now insted of pasting the full video link in the admin panel, just past the vidro
   slug.
    insted of: `https://www.youtube.com/watch?v=hcgOdQQonN4`
 * just:
    `hcgOdQQonN4`
 * enjoy
 * [https://wordpress.org/plugins/random-youtube-video/](https://wordpress.org/plugins/random-youtube-video/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [zigvt85](https://wordpress.org/support/users/zigvt85/)
 * (@zigvt85)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/i-fixed-this-plugin/#post-4877095)
 * where you see this in the <iframe <? echo $url; ?> add this ?wmode=transparent
   at the end of ?> to fix the menu going under the video.
 *  Plugin Contributor [roycegracie](https://wordpress.org/support/users/roycegracie/)
 * (@roycegracie)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/i-fixed-this-plugin/#post-4877096)
 * i don’t know what you are talking about man. i showed a way to make this plugin
   work with the new youtube iframe format
 *  Plugin Author [zigvt85](https://wordpress.org/support/users/zigvt85/)
 * (@zigvt85)
 * [12 years ago](https://wordpress.org/support/topic/i-fixed-this-plugin/#post-4877099)
 * ?wmode=transparent add this at the end of <? echo $url; ?> this. So it looks 
   like <? echo $url; ?>?wmode=transparent it will clear a glitch in IE with the
   drop down menu in wordpress. The menu would go behind the video. I patched the
   version with your fix and mine and changed some of the language files. Kept the
   url to this plugin since his website is not working.
 *  Plugin Contributor [roycegracie](https://wordpress.org/support/users/roycegracie/)
 * (@roycegracie)
 * [12 years ago](https://wordpress.org/support/topic/i-fixed-this-plugin/#post-4877100)
 * if you use an IFRAME than there is no need to use “pbject” and “wmode=transparent”,
   it dose not work together.
 * if you have a problem with a menu that goes under the IFRAME , than you can give
   the div that has the menu inside it a “z-index:999”, that will fix your problem.
   but don’t use “wmode=transparent” with an IFRAME, it will not work together.
 *  Plugin Author [zigvt85](https://wordpress.org/support/users/zigvt85/)
 * (@zigvt85)
 * [12 years ago](https://wordpress.org/support/topic/i-fixed-this-plugin/#post-4877105)
 * zeevm.co.il i dont get why you are being so edgy about the fix. It does work 
   with the iframe version I have tested it out myself and works find in both fox
   and ie. I am simply helping people who have the same issue with the menu. As 
   you are in getting this plugin working again. I was not trying to take credit
   for your fix I find it great people still think this plugin deserves updates.
   I wish the owner would get back on it or let you or someone else active fix it.
 *  Plugin Contributor [roycegracie](https://wordpress.org/support/users/roycegracie/)
 * (@roycegracie)
 * [12 years ago](https://wordpress.org/support/topic/i-fixed-this-plugin/#post-4877106)
 * i’m sorry my friend 🙂 wasn’t edgy, i just wanted to help you do this proprly
   without using old tecnolagy…
 * i built sevral plugins, if the owner won’t update this plugin i can re upload
   it with the fix. but i am not sure if this is allowed and i can seem to find 
   a way to contact the plugin owner
 *  Plugin Author [zigvt85](https://wordpress.org/support/users/zigvt85/)
 * (@zigvt85)
 * [12 years ago](https://wordpress.org/support/topic/i-fixed-this-plugin/#post-4877108)
 * Sometimes old technology is better it works find but yes you can do the z-index:
   9999; trick :). Would be nice to see this plugin updated I am also un certain
   about the rules of re-doing an abandon software. I think if you give him credit
   and link to his profile should be find.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘i fixed this plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/random-youtube-video_f7f7f7.svg)
 * [Random YouTube Video](https://wordpress.org/plugins/random-youtube-video/)
 * [Support Threads](https://wordpress.org/support/plugin/random-youtube-video/)
 * [Active Topics](https://wordpress.org/support/plugin/random-youtube-video/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/random-youtube-video/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/random-youtube-video/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [zigvt85](https://wordpress.org/support/users/zigvt85/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/i-fixed-this-plugin/#post-4877108)
 * Status: resolved