1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

YouTube video won't play on a webpage/embed

Discussion in 'HTML & Website Design' started by popnyc, Jul 18, 2008.

  1. #1
    Am I cursed.

    I copied and pasted exacrly the embed code from my youtube video and it comes out on the webpage as 00:00 and there is no video. How can I get it to appear on the page?


    :confused:
     
    popnyc, Jul 18, 2008 IP
  2. pulikuttann

    pulikuttann Banned

    Messages:
    1,839
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Can we see the page ?
     
    pulikuttann, Jul 18, 2008 IP
  3. popnyc

    popnyc Active Member

    Messages:
    1,392
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    75
    #3
    I don't want to make it public sorry but I copied the embed code right from youtube...do you think there's another code to use?
     
    popnyc, Jul 18, 2008 IP
  4. steelfrog

    steelfrog Peon

    Messages:
    540
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Are you using some sort of CMS like Wordpress? Some CMS do not allow straight HTML in a post (Wordpress is picky, and can causes problems with HTML by inserting line breaks and paragraphs in the code).
     
    steelfrog, Jul 18, 2008 IP
  5. popnyc

    popnyc Active Member

    Messages:
    1,392
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    75
    #5
    Thanks for your help!

    No I'm inserting it directly into an html file as html code, the code straight from youtube.
    hmm...I use a simple html editor, I don't use Wordpress.
     
    popnyc, Jul 18, 2008 IP
  6. reelstuff

    reelstuff Active Member

    Messages:
    195
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #6
    play at youtube, is it working on you tube?

    might sound like a stupid question, but I have had some videos
    that just were broken, and would not work correctly.

    also check to see if you are running any javascript in the page that might halt the page load, more so for PHP, but can cause a problem if you have a java script error, but it sounds like something else.

    let us know how it works out.
     
    reelstuff, Jul 18, 2008 IP
  7. popnyc

    popnyc Active Member

    Messages:
    1,392
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    75
    #7
    I got it to work, sorry.
    It has a black screen as a preview (before you press play on the video)
    I was just looking at the black preview screen before you press play and thought it wasn't on. Stupid me!
     
    popnyc, Jul 18, 2008 IP
  8. popnyc

    popnyc Active Member

    Messages:
    1,392
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    75
    #8
    Thanks for helping, DP is so nice.
     
    popnyc, Jul 18, 2008 IP
  9. vinay121078

    vinay121078 Active Member

    Messages:
    508
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #9
    you have to copy the url also along with embed code.
     
    vinay121078, Jul 18, 2008 IP
  10. Cri2T

    Cri2T Peon

    Messages:
    104
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I don't see how it would be a PHP error, PHP = Hypertext Pre-Processor (meaning it parses on the server side before the server sends the HTML to the user's browser) so if it was an error in PHP, his page wouldn't have loaded to the point of showing him the video (unless of course he had error handling setup properly, and even then)... Food for thought.


    BTW: Glad to hear you got it working. :p
     
    Cri2T, Jul 18, 2008 IP