Results 1 to 7 of 7

Thread: embed youtube video problem

  1. #1
    Join Date
    Apr 2008
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default embed youtube video problem

    I have embed a youtube and a googlevideo player with a video i have uploaded onto youtube but i can't get either to work.

    Here's the link

    http://www.bioenergyhealing.org.uk/inspiration2_new

    Any suggestions would be appreciated.

    Thanks

    Michael

  2. #2
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,788
    Thanks
    46
    Thanked 237 Times in 230 Posts
    Blog Entries
    54

    Default

    There's a video running on my machine:
    http://www.youtube.com/watch?v=e00Glyxzy74.

    What's the problem?

    Edit:
    Where you have:
    Code:
    <p><font face="Arial"><embed id="VideoPlayback0" src="http://www.youtube.com/watch?v=e00Glyxzy74" style="width:400px;height:326px" allowFullScreen="true" allowScriptAccess="always" type="application/x-shockwave-flash" width="128" height="128"></font></p>
    you should put:
    Code:
    <embed src="http://www.youtube.com/v/e00Glyxzy74&hl=nl_NL&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" 
    height="344"></embed>
    although I don't know why you need it, since you also have
    Code:
    <object width="445" height="364"><param name="movie" value="http://www.youtube.com/v/e00Glyxzy74&hl=en_GB&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/e00Glyxzy74&hl=en_GB&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="445" height="364"></embed></object>
    on your page.

    Note also that your code is not valid, see THIS for valid video-includes.

    ===
    Arie Molendijk.
    Last edited by molendijk; 01-04-2010 at 01:53 PM. Reason: Correctiom

  3. #3
    Join Date
    Apr 2008
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks for the that. i have a slight problem with the positioning of the player which i can't resolve.

    http://www.bioenergyhealing.org.uk/inspiration2_new

  4. #4
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,788
    Thanks
    46
    Thanked 237 Times in 230 Posts
    Blog Entries
    54

    Default

    Biomike, your code is still rather messy, but for the time being, you can do the following.
    1. Just before the object, you have:
    <font class="content">
    <p><font face="Arial"><embed id="VideoPlayback0" src="http://www.youtube.com/watch?v=e00Glyxzy74" style="width:400px;height:326px" allowFullScreen="true" allowScriptAccess="always" type="application/x-shockwave-flash" width="128" height="128"></font></p>
    <p>&nbsp;</p>
    </font>

    Remove it. It's not valid code and you don't need watch.htm (which is presumably a copy of a youtube page), because just below it you have the object for inserting the video.
    2. Replace
    Code:
    <object width="445" height="364"><param name="movie" value="http://www.youtube.com/v/e00Glyxzy74&hl=en_GB&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/e00Glyxzy74&hl=en_GB&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="445" height="364"></embed></object><p>&nbsp;</p>
    with:
    Code:
    <div style="text-align: center">
    <!--[if IE]><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width="445" height="364"><![endif]--><!--[if !IE]><!--><object type='application/x-
    shockwave-flash' width="445" height="364" data='http://www.youtube.com/v/e00Glyxzy74&hl=en_GB&amp;fs=1&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;border=1' ><!--<![endif]--><param name='movie' 
    value='http://www.youtube.com/v/e00Glyxzy74&hl=en_GB&amp;fs=1&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;border=1' ><param name='allowFullScreen' value='true' ><param name='wmode' value='transparent' ><param name='allowScriptAccess' value='never'></object>
    </div>
    Allow me to say something about the video (although this is off topic). It's full of words and expressions like no limits, ability to lead, go for it, don't ever give up, take risks, succes, dream big, achieve it etc. Personnaly, I think this vocabulary expresses a nervously so-called positive way of thinking which is the mental disease of our time. There's no room any more for shyness (used to be a virtue), for being timid, for accepting fate (there still is fate; don't fight it, accept it). Bombarding people with 'you can make your own destiny', 'you have a right to be happy (just follow me and I'll teach you how)' makes them dependent and eager to follow the leaders and people like dr. Phill.
    Imagine: in my country (Holland) someone has been appointed 'national mental coach' by a group of persons who are all 'mental coaches'. We have all gone out of our mind.
    But, of course, this is my personal opinion.
    ===
    Arie

  5. #5
    Join Date
    Apr 2008
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the help with the code. All sorted.

  6. #6
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,788
    Thanks
    46
    Thanked 237 Times in 230 Posts
    Blog Entries
    54

    Default

    Biomike, sorry about my last post. It was a misunderstanding, see this.
    ===
    Arie.

  7. #7
    Join Date
    Apr 2008
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    That's fine, no offence taken

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •