There are many reasons for being concerned how your embedded Youtube videos are displayed to your members. I once showed you a hack for how to embed Youtube videos with the Youtube Logo
Choose a Custom Size for Your Videos:
Keep in mind that YouTube's player is in 16x9 wide-screen format. If you want to change the dimensions, do so using a 16:9 aspect ratio and add 25px in height for the player controls. For example, lets say that you needed the video to be 320px wide:
--> 320(9)=Height(16) and then add 25px
--> Height=180 + 25 = 205px
- Turn off Title & Ratings
- &showinfo=0
- Turn off Search
- &showsearch=0
- Turn on Related Videos
- &rel=1
- Turn off Annotations
- &iv_load_policy=3
- Force Closed Captions
- &cc_load_policy=1
- Turn on AutoPlay (not recommended)
- &autoplay=1
- Loop Playback
- &loop=1
- Remove Full Screen Option(not sure why you'd want to)
- &fs=0
Customize Video Quality after Embedding:
Youtube already allows you to customize the embed code and allows the videos to play in HD, but in case you were wondering what the codes were for this and/or how to force play back of high-quality files (not HD);
Show in High-Definition 720p
&hd=1
Show in High-Quality
&ap=%2526fmt%3D18Here is an example embed code using the high-quality "hack"
<object width= "425" height="344"><param name="movie" value="https://www.youtube.com/v/MDedb1Kgjys&ap=%2526fmt%3D18" /><param name="allowFullScreen" value="true" /><embed src="https://www.youtube.com/v/MDedb1Kgjys&ap=%2526fmt%3D18" type="application/x-shockwave-flash" allowfullscreen="false" width="425" height="344"></embed></object>
Replies
thout you might like that
nice guide
I sell promo spots on my site and am considering offering autoplay - thing is, it's quite annoying.
any advice or experience to share?
thanks
sp
sweetpotato personally i have always found that unless your network is a video sharing network and it is entirely necessary, i would leave all videos off of the homepage. ive even gone so far as to make a screenshot of a video with play button then link it to an internal video because it is the slowest loader on a home page..thats just my 2 cents
otherwise try using a player like Jplayer
cheers JFarrow. I have one spot that I sell so I'm kind of stuck with it. i'll check out Jplayer
did you have any luck with Jplayer integration SP?
What does it mean "Turn off Search" ?
http://www.jamestnoble.com/youtube-embed-tricks/ say :
I never saw that. Did you?
Attention, &cc_load_policy=1 code to display captions and not to close them!
http://support.google.com/youtube/bin/answer.py?hl=en&answer=14...