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.
Valeska: Indeed, I've checked
I'll work on it on next week.
If someone wants to help, please do it <D
This is normal! It means that
I think so because it always do that to me when I use some videos.
Thanks Keepiru!!
Valeska: for no reason, it is
Btw I added the theme code :3
trackin'