Summer 2017:
YT player version 2 is no longer supported. Bye bye tricks.
- Link and ID video
Each video has 11 characterized digit alphanumeric, this is the VIDEOID.
A Youtube's link looks like this:
Short version
http://youtu.be/VIDEOID
Long version
http://www.youtube.com/watch?v=VIDEOID
> IFrame embed:
http://www.youtube.com/embed/VIDEOID
> Embedded AS3 player:
http://www.youtube.com/v/VIDEOID?version=2
Note: "http://www.youtube.com/v/VIDEOID?version=2" is also the full screen link.
Eg: http://www.youtube.com/v/3_C37uGQLc0?version=2
Here 3_C37uGQLc0 is the ID.
- Share
Clic on the [share] option. You have the [embed] button that gives you the player's link.
Copy and paste it on your blog.
It looks like this: <iframe width="x" height="y" src="http://www.youtube.com/embed/VIDEOID" frameborder="0" allowfullscreen></iframe>
Same with the Youtube's playlist, just add a p: ...src="http://www.youtube.com/embed/p/VIDEOID"...
- Music player
You want to put some music on your blog and you found your song on Youtube but the video does not interest you, it is possible to hide it and keep a nice player like this (light theme) or this (dark theme).
It's the Youtube box.
⇒ You need to use the Embedded AS3 player code, like this:
<iframe width="30" height="25" src="http://www.youtube.com/v/VIDEOID?version=2&showinfo=0&theme=light" frameborder="0" allowfullscreen></iframe>
<iframe width="30" height="25" src="http://www.youtube.com/v/VIDEOID?version=2&showinfo=0&theme=dark" frameborder="0" allowfullscreen></iframe>
Showing info values are 0 or 1. Default is 1. Setting to 0 causes the player to not display information like the video title and uploader before the video starts playing.
- Repeat
You want to loop your player?
⇒ Use Youtuberepeat!
...http://www.youtuberepeat.com/watch?v=...
/!\ Youtuberepeat is not associated with Youtube, you can not use it with the Youtube box.
⇒ Use the Embedded AS3 player code and add &loop=1
...http://www.youtube.com/v/VIDEOID?version=2&showinfo=0&loop=1...
Values are 0 or 1. Default is 0. In the case of a single video player, a setting of 1 will cause the player to play the initial video again and again. In the case of a playlist player (or custom player), the player will play the entire playlist and then start again at the first video.
- Only one part
Only a specific part of the song/video interests you?
⇒ Add #t=00m00s after the VIDEOID and choose the wished part.
Eg: ...http://www.youtube.com/watch?v=3_C37uGQLc0#t=01m13s
Here, when you click on [play] the video will start precisely at 1 min and 13 sec.
It can works with the Youtube box too, the code is a bit different, though:
⇒ You need to use the Embedded AS3 player code and add &start=00 after the VIDEOID.
Eg: ...http://www.youtube.com/v/VIDEOID?version=2&showinfo=0&start=20...
20 is the number of seconds not minutes: 20=20sec, 60=60sec or 1min, 90=90sec or 1min and 30sec...
/!\ if you press [play] to listen it again, it will start at the beginning,
you need to copy and paste the entire link in your browser to restart it at the right time.
- HD
HD quality is available? By default, it is not activated on your link but you can allow it.
⇒ Add &hd=1 after the VIDEOID.
Values are 0 or 1. Default is 0. Setting to 1 enables HD playback by default.
Eg: normal http://www.youtube.com/watch?v=jqxENMKaeCU and HD http://www.youtube.com/watch?v=jqxENMKaeCU&hd=1 or this one works too http://www.youtube.com/v/jqxENMKaeCU?version=2&showinfo=0&hd=1
/!\ If the video is not an HD video, change the code will not improve the quality of sound and image!
And keep in mind that users with a slower connection may have an sub-optimal experience unless they turn off HD.
- More YT parameters
Here's: https://developers.google.com/youtube/player_parameters
_________________________________________
Bonus infos
⇒ Colors:
You want a colored Youtube box? Getcode here
http://www.vtubetools.com
⇒ Play snake on Youtube:
Make sure the Vid is on pause, hold the left key for about 2 seconds and press the up key, while still holding the left key.
I will love your forever for
Help, it's really helpful ^^ bump!
Thanks a lot for the "repeat"
Very handy! Thank you so much
This is incredibly helpful!
The 'only one part' has blown
Thank you! Edit: The time
Edit: The time thing works, but if the person wants to hear it again and presses play, it goes to the beginning of the video and plays the whole thing. Just a head up (:
You can also play snake,
Thank you for sharing this!
Just going to share this
Kewl =] Dag: Hum yeah, this
Dag: Hum yeah, this trick can be used especially by those who choose a voice for their deers.
And thanks for the fixed player box :>
Rhad & Hraeth: thx! I added a bonus part 8D
This is fantastically useful
This is fantastically useful and amazing. Such excellent info!
Thanks for sharing it with us!
Only one part- I love you.
Ok, I'm posting it here,
I think everyone's noticed all s were replaced with s which doesn't let us listen to the youtube songs. Does anyone know if there's a way to make the code work properly again? :c
I edited this post the day YT
But all thanks to Dag [x]
Seems like I failed again
Thank you!
Thank you! (:
Tracking this. n_n
supertrack so I don't forget
track
** Reegani Bio **
D8 i have been looking for a
~Track
.
And I'm only now seeing
WINNING.
This helped me so much, thank
Ohh, thanks alot! ♥
-
Awesome. ________
________
Completely mind blown.
Uuf. Is it just me failing or
Tulloh: <object width="480"
<object width="480" height="385"><param name="movie" value=http://www.youtube.com/v/VIDEOID&start=20"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/VIDEOID&start=20" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"width="30" height="25"></embed></object>
here 20 means 20 sec (:
Warning: if you press play to listen it again, it will start at the beginning as the "#t=00m00s" code.
I will update the blog, thanks for noticing.
Hmhmmm
Thank you♥
*bump*
Thank you! :3
This is so awesome. Thanks~
This is so awesome. Thanks~
Omg when did this happen?
+
/omnomnom
Rofl Dinamo xD no problem.
Thaaaaank you for the update
Whoooop~
This is neat!
~ C.S. Lewis
You're welcome
Tracking this, it is very
What nature divides, the spirit unites.
I can't see that anyone has
"?version=3?showinfo=0&hd=1"
I feel like I am constantly
Updated! Hope it will work
Hope it will work well.
I've tried a few of these
"If your eyes could speak, what would they say?" -Max
Profile art by me
Track
.
Ok, maybe it's just the
<iframe width="30" height="25" src="http://www.youtube.com/v/vjVkXlxsO8Q?version=2&showinfo=0" frameborder="0" allowfullscreen></iframe>