• 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!

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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.

    Thread Starter Harvey

    (@harvey)

    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?

    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).

    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>

    For the record, my plugin does that. 🙂

    Thread Starter Harvey

    (@harvey)

    I’m gonna try out Vipers plugin!

    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!

    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>
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘YouTube embeding: WordPress and Firefox’ is closed to new replies.