View Full Version : embed youtube video problem
biomike
01-04-2010, 11:16 AM
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
molendijk
01-04-2010, 12:26 PM
There's a video running on my machine:
http://www.youtube.com/watch?v=e00Glyxzy74.
What's the problem?
Edit:
Where you have:
<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:
<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
<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 (http://www.dynamicdrive.com/forums/blog.php?bt=160) for valid video-includes.
===
Arie Molendijk.
biomike
01-06-2010, 08:05 PM
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
molendijk
01-06-2010, 10:33 PM
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> </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
<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> </p>
with:
<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&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6&border=1' ><!--<![endif]--><param name='movie'
value='http://www.youtube.com/v/e00Glyxzy74&hl=en_GB&fs=1&rel=0&color1=0x2b405b&color2=0x6b8ab6&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
biomike
01-07-2010, 08:36 AM
Thanks for the help with the code. All sorted.
molendijk
01-08-2010, 02:34 PM
Biomike, sorry about my last post. It was a misunderstanding, see this (http://www.dynamicdrive.com/forums/showthread.php?p=215529#post215529).
===
Arie.
biomike
01-14-2010, 09:03 AM
That's fine, no offence taken
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.