WordPress.org

Ready to get started?Download WordPress

Forums

YouTube embeding: WordPress and Firefox (9 posts)

  1. Harvey
    Member
    Posted 7 years ago #

    Hello all,

    I tried embeding a YouTube video into my WP blog by using the EMBED code that is provided on the YouTube site.. looks like...

    <object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/scBnkpw6Hh8"></param><embed src="http://www.youtube.com/v/scBnkpw6Hh8" type="application/x-shockwave-flash" width="425" height="350"></embed></object>

    I stuck this code right into the rich text editor.

    However the video does not display properly when I view my site with Firefox. When I view with Safari however, everything is working fine.

    Anyone run into this before and have a fix?

    ANy help appreicated!

  2. rodeohk
    Member
    Posted 7 years ago #

    The embed code works, you just need to turn off any WYSIWYG editor you use, as well as the rich text editor, because they don't utilise the embed code properly.

  3. Harvey
    Member
    Posted 7 years ago #

    Thanks for the tip.

    I insterted the code via the HTML SOURCE editor function in WordPress.

    But... that still didn't seem to do the trick.

    Is there a proper way to disable the WYSIWYG editors in WP in order to allow this to work?

  4. At the bottom of the "Users" tab.

    You can also try my plugin, but I hear it may not work properly in some cases in the damn WYSIWYG editor (go figure).

  5. doctoralf
    Member
    Posted 7 years ago #

    If you're going to use lightbox, or something similar to display images, you may want to add value="transparent" to the code so that the video isn't on top of the images/etc. So the code to embed should look something like:

    <object type="application/x-shockwave-flash" width="425" height="350" data="http://www.youtube.com/v/kuj9BrCIyvw"><param name="wmode" value="transparent" /><param name="movie" value="http://www.youtube.com/v/kuj9BrCIyvw" /></object>

  6. For the record, my plugin does that. :)

  7. Harvey
    Member
    Posted 7 years ago #

    I'm gonna try out Vipers plugin!

  8. Z_Everson
    Member
    Posted 7 years ago #

    I installed the plugin and the YouTube video now appears in Firefox. The problem, however, is that the video won't appear in my RSS feed.

    The folks at Feedburner said ( the problem is because "the code you have in your post for the you tube video relies on a javascript function." I'm guessing Viper is the reason for the javascript function.

    So, any suggestions for how to get YouTube video to appear in Firefox and in my RSS feed?

    Thanks!

  9. whooami
    Member
    Posted 7 years ago #

    So, any suggestions for how to get YouTube video to appear in Firefox and in my RSS feed?

    yes, use proper markup and dont use the rich editor:

    <object type="application/x-shockwave-flash" data="http://www.youtube.com/v/KsaEciNVmZ0" height="329" width="400">
    <param name="movie" value="http://www.youtube.com/v/KsaEciNVmZ0"></param>
    <param name="wmode" value="transparent"></param></object>

Topic Closed

This topic has been closed to new replies.

About this Topic