Youtube Videos in WordPress?

Discussion in 'Programming' started by Kirby6, Jan 28, 2007.

  1. #1
    I just paste the embed code for a Youtube video inside of a blog post, and it doesn't show up, it actually ends up messing up the whole template.

    What could be the problem? Thanks.
     
    Kirby6, Jan 28, 2007 IP
  2. Dreamchaser

    Dreamchaser Well-Known Member

    Messages:
    745
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    110
    #2
    Try Using the following:

    <p><object width="425" height="350" type="application/x-shockwave-flash" data="http://www.youtube.com/v/VideoIDHere"><param name="movie" value="http://www.youtube.com/watch?v=VideoIDHere" /><param name="wmode" value="transparent" /></object></p>
    HTML:
    Use the above HTML code in your WordPress post and make sure you change VideoIDHere to the ID that YouTube Generates. You have to replace both the spots marked in BOLD&RED!

    You have got to make sure that you have disabled "Use the visual rich editor when writing"! This works perfect for me. For example you can test the above code with Video ID: oauaWRwjFgw and check if it works perfect.

    You should be seeing video content from http://www.youtube.com/watch?v=oauaWRwjFgw !

    Cheers,
    Dreamchaser
     
    Dreamchaser, Jan 28, 2007 IP
  3. horvath

    horvath Banned

    Messages:
    316
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    just download a wpplugin called vipers video quick tags
     
    horvath, Jan 28, 2007 IP
  4. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #4
    When inserting objects in WordPress, insure that there is no newlines within the code (as prescriped above).

    Peace,
     
    Barti1987, Jan 29, 2007 IP
  5. bobchrist

    bobchrist Active Member

    Messages:
    4,102
    Likes Received:
    95
    Best Answers:
    0
    Trophy Points:
    88
    #5
    bobchrist, Jan 30, 2007 IP
  6. zeynelkoc

    zeynelkoc Active Member

    Messages:
    77
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    95
    #6
    you dont need any addon

    you can put embed code by click html tab
     
    zeynelkoc, Jan 30, 2007 IP
  7. carl_in_florida

    carl_in_florida Active Member

    Messages:
    1,066
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    90
    #7
    In order to use the embed tag in WP

    log in to wp-admin
    Users-->your profile --> deselect "Use the visual rich editor when writing"

    That's it
     
    carl_in_florida, Feb 1, 2007 IP