• ResolvedPlugin Contributor roycegracie

    (@roycegracie)


    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://ww.wp.xz.cn/plugins/random-youtube-video/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author zigvt85

    (@zigvt85)

    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

    (@roycegracie)

    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

    (@zigvt85)

    ?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

    (@roycegracie)

    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

    (@zigvt85)

    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

    (@roycegracie)

    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

    (@zigvt85)

    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.