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

 

Customize the URLS:

  • 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%3D18

    Here is an example embed code using the high-quality "hack"

    <object width= "425" height="344"><param name="movie" value="http://www.youtube.com/v/MDedb1Kgjys&ap=%2526fmt%3D18" /><param name="allowFullScreen" value="true" /><embed src="http://www.youtube.com/v/MDedb1Kgjys&ap=%2526fmt%3D18" type="application/x-shockwave-flash" allowfullscreen="false" width="425" height="344"></embed></object>

Tags: customize, hack, movies, trick, url, videos, youtube

Views: 3037

Reply to This

Replies to This Discussion

thout you might like that

nice guide

nice. just as an aside, does anyone else put videos on their homepage as embeds in a text box, and use autoplay?
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 :

By default on all YouTube videos, that really annoying search bar always pops up at the end, allowing people to search for videos by OTHER people!

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...

Very usefull trick but the full-screen doesn't work with it :
http://creators.ning.com/forum/topics/issue-with-full-screen-video-...

i believe it does actually

RSS

Latest Activity

Tim replied to Tim's discussion 'Ning Slow Today?'
"500: Unexpected Error"
12 minutes ago

NC for Hire
SweetPotato replied to SweetPotato's discussion 'Simple, Responsive Slider for Ning 3.0'
"Sorry, coming to this issue late on. Is it all ok now? It could have been Ning server issues as the…"
2 hours ago
LeyCosmica.org replied to LeyCosmica.org's discussion 'I can not access my site in any way'
"You can always access, everyone can access the site, even I can if I use internet connection…"
3 hours ago
Denis replied to PeruCool's discussion 'Alternatives to Ning social network'
"Great site man. Thanks for sharing the link. I am working on mine. I hope I will be done by the end…"
6 hours ago
Perrie Halpern replied to PeruCool's discussion 'Alternatives to Ning social network'
"Is there a specific code generator you use? I hope you don't mind me asking."
7 hours ago
Elshara Silverheart replied to Elshara Silverheart's discussion 'Another Feature Request For Ning 3.0'
"This would be a reason to stay on Ning if I knew I could at least have some of what is here."
8 hours ago
soaringeagle replied to James Nored's discussion 'How do I create a taller header?'
"more specific header {height:60px;}"
8 hours ago
soaringeagle replied to James Nored's discussion 'How do I create a taller header?'
"css"
8 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service