Adding embedded Youtube Player into FrontPage

Discussion in 'HTML & Website Design' started by dbertman, May 20, 2008.

  1. #1
    Can anyone help me with this? I am trying to add this HTML into FrontPage to embed a custom player:

    <object width="780" height="445"><param name="movie" value="http://www.youtube.com/cp/vjVQa1PpcFMCJed6vFXpexTXJTblFook4oGl6MDHEAA="></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/cp/vjVQa1PpcFMCJed6vFXpexTXJTblFook4oGl6MDHEAA=" type="application/x-shockwave-flash" wmode="transparent" width="780" height="445"></embed></object>

    However when I click inset HTML on FrontPage it insists it is not valid and won't let me, does anyone know how I can do it?
     
    dbertman, May 20, 2008 IP
  2. lolage

    lolage Active Member

    Messages:
    1,129
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    78
    #2
    Try it in Notepad.
     
    lolage, May 20, 2008 IP
  3. klubz

    klubz Active Member

    Messages:
    150
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #3
    Ok I made it work try this...I copied your script onto NOTEPAD FIRST (it would not work copying it directly to front page as it plaged a load of "&" characters in the script and then inserted <embed> in the begining. Thios all goes in the BODY of the coding

    So the whole code is:

    <embed><object width="780" height="445"><param name="movie" value="http://www.youtube.com/cp/vjVQa1PpcFMCJed6vFXpexTXJTblFook4oGl6MDHEAA="></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/cp/vjVQa1PpcFMCJed6vFXpexTXJTblFook4oGl6MDHEAA=" type="application/x-shockwave-flash" wmode="transparent" width="780" height="445"></embed></object>
     
    klubz, May 20, 2008 IP
  4. klubz

    klubz Active Member

    Messages:
    150
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    In fact forget the bit about placing <embed> a this is not necessary...so just copy through notepad and copy from notepad to frontpage...so "lolage" is right, use notepad to copy too first
     
    klubz, May 20, 2008 IP
  5. dbertman

    dbertman Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks guys, I tried this but still get the same error, maybe I am doing it completely wrong as I'm not great at using FP yet. The exact thing I am trying to do is.

    Clicking Ctrl+Q on the body of the page to insert HTML

    Inserting the HTML above into the box and clicking the green tick.

    Then I get the error 'you have entered invalid HTML. Please make sure angle brackets and quotation marks are properly matched and that this HTML is legal at this point in the document.'
     
    dbertman, May 20, 2008 IP
  6. klubz

    klubz Active Member

    Messages:
    150
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #6
    Open front page, import the page you want to change or open a new page, click html at the bottom of FP and then copy the html from note pad as explained above (highlight the text and press Ctrl+C then go to front page and paste the text where you want it Ctrl+V)....Hope this helps...Regards Carl
     
    klubz, May 20, 2008 IP
  7. dbertman

    dbertman Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks, it works now, sorry for not knowing the real basics lol. It's all up and running on the site now. I can try and design the site a little better :)
     
    dbertman, May 20, 2008 IP
  8. klubz

    klubz Active Member

    Messages:
    150
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #8
    Thats what we are all here for, to help each other where we can...Good luck...Regards Carl
     
    klubz, May 20, 2008 IP