Forums

[resolved] Cannot display youtube video in wordpress 2 (41 posts)

  1. Hoofei
    Member
    Posted 5 years ago #

    Try it after turning the WYSIWYG off.
    Or use a video plugin.

  2. tahlyn
    Member
    Posted 5 years ago #

    YouTube video isn't showing up on my blog either. Here's my issue. This code works fine in a standard HTML page:


    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','425','height','350','src','http://www.youtube.com/v/fqRJ9GfIJtI','pluginspage','http://www.macromedia.com/go/getflashplayer','wmode','transparent','quality','high','movie','http://www.youtube.com/v/fqRJ9GfIJtI' ); //end AC code
    </script>

    However, when I paste this code into the wordpress editor (I have the WYSIWYG editor turned off under profiles and options), and click "publish" it doesn't show up in the browser.

    When I view source in the browser, this is the code I see:


    <script type="text/javascript"><br />
    AC_FL_RunContent( ‘codebase’,'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0′,’width’,'425′,’height’,'350′,’src’,'http://www.youtube.com/v/fqRJ9GfIJtI’,'pluginspage’,'http://www.macromedia.com/go/getflashplayer’,'wmode’,'transparent’,'quality’,'high’,'movie’,'http://www.youtube.com/v/fqRJ9GfIJtI’ ); //end AC code<br />
    </script>

    Even with the wordpress editor set to text, the editor seems to be encoding the single quotes and other characters.

    How do I turn off encoding for these scripts?

    thanks for any help.....

  3. tahlyn
    Member
    Posted 5 years ago #

    I see in my last post the encoded characters didn't show up properly. The code I see in view source looks like this:

    http://www.tahlyn.com/wp-support/youtube_issues1.txt

  4. tahlyn
    Member
    Posted 5 years ago #

    forgot to mention something else. The reason I have coded the YouTube Flash object inside a SCRIPT is because of the changes to IE7 in regards to how it handles embedded ("active") content and applications. More information can be found here:

    http://www.adobe.com/devnet/activecontent/articles/devletter.html

  5. tofumonkey
    Member
    Posted 5 years ago #

    hi everyone,

    i didn't try out the plugin instructions as I do not know how.

    I tried turning off the rich text editor and the options thingie, but to no avail! arrgh...

    My website is at http://www.RisingIMStar.com

    It keep showing image not found. hmmm... IMAGE? Arrgh...
    Any help please?

  6. KnicKnac
    Member
    Posted 5 years ago #

    Glad I found this post, thanks to it, I have a working video on my blog. Thanks!!!!!

    KK

  7. Otto
    Tech Ninja
    Posted 5 years ago #

    tahlyn: Try my little script plugin:
    http://ottodestruct.com/wpstuff/scriptenabler.zip

    It basically prevents WordPress's default filters from messing with stuff inside script tags.

  8. buzink
    Member
    Posted 5 years ago #

    I use [youtube=http://youtube.com/w/?v=_dIya1aJJKA]
    like described here: http://wordpress.com/blog/2006/01/26/youtube-support/ . But it doesn't work. It just shows up as text. Any ideas?

  9. buzink
    Member
    Posted 5 years ago #

    i use a standalone version of wordpress by the way (http://www.wikimaas.org/Paint_the_Eend/)

  10. buzink
    Member
    Posted 5 years ago #

    And solved it!

    I created a plugin that uses the bracket method to include YouTube video's:

    http://www.robertbuzink.nl/journal/2006/11/23/youtube-brackets-wordpress-plugin/

  11. seePyou
    Member
    Posted 5 years ago #

    I just found out a solution to this problem as described in this post:

    http://www.seepyou.net/blog/2006/12/21/youtube-embedded-player/

    It seems that some parameters in the code provided by YouTube can cause a conflict...

Topic Closed

This topic has been closed to new replies.

About this Topic