[out-of-date] Some Youtube tricks (with the Youtube Box)

Keepiru's picture

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

I will love your forever for this "only one part". Never heard of it actually...
Help, it's really helpful ^^ bump!
Nayu's picture

Thanks a lot for the "repeat"

Thanks a lot for the "repeat" and "one part" tricks, diz iz awesume. 8D

Siggy by Butterbrot <3
Mis's picture

Very handy! Thank you so much

Very handy! Thank you so much for putting this up!
arrowdoe's picture

This is incredibly helpful!

This is incredibly helpful! Thank you!

The 'only one part' has blown

The 'only one part' has blown my mind, so many awesome applications! 8D Thank you for sharing these.
Iaurdagnire's picture

Thank you! Edit: The time

Thank you!

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,

You can also play snake, while watching the video. 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. 8D
Honeyfur's picture

Thank you for sharing this!

Thank you for sharing this! I'll track incase I need this later <3
Hraeth's picture

Just going to share this

Just going to share this link- tah-dah~ - as it has helped me cheat with youtube links many times in the past. C:
Keepiru's picture

Kewl =] Dag: Hum yeah, this

Kewl =]

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!

BluedeerLegend18's picture

Only one part- I love you.

Only one part- I love you.
I have a Master's degree in Wumbology.

Ok, I'm posting it here,

Ok, I'm posting it here, cause this thread seems to be most appropriate for this.
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
Keepiru's picture

I edited this post the day YT

I edited this post the day YT changed, you can use my code (:
But all thanks to Dag [x]

Seems like I failed again

Seems like I failed again :P
Thank you!
Skatmat's picture

Thank you! (:

Thank you! (:
Snowsauria's picture

Tracking this. n_n

Tracking this. n_n
Kaoori's picture

supertrack so I don't forget

supertrack so I don't forget this.
Ran-Chan's picture

track

track Shocked
HexStag's picture

D8 i have been looking for a

D8 i have been looking for a link like this forever. Ty!
~Track

.

.

And I'm only now seeing

And I'm only now seeing this?


WINNING.
Silverpaw15's picture

This helped me so much, thank

This helped me so much, thank you. ^_^
z.m123's picture

Ohh, thanks alot! &hearts;

Ohh, thanks alot! ♥

-

-
<:
OShinigami's picture

Awesome. ________

Awesome. Idea
________ Cool
Completely mind blown.

Uuf. Is it just me failing or

Uuf. Is it just me failing or is it impossible to get a youtube box with 1 specific part...? :/
Keepiru's picture

Tulloh: <object width="480"

Tulloh:
<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

Hmhmmm



Thank you&hearts;

Thank you♥
Keepiru's picture

*bump*

*bump*
Amazegenalo's picture

Thank you! :3

Thank you! :3

This is so awesome. Thanks~

This is so awesome. Thanks~ ♥

This is so awesome. Thanks~

This is so awesome. Thanks~ ♥

Omg when did this happen?

Omg when did this happen? Sorry guys. ;3;

+

+

/omnomnom

/omnomnom
Keepiru's picture

Rofl Dinamo xD no problem.

Rofl Dinamo xD no problem.
Iaurdagnire's picture

Thaaaaank you for the update

Thaaaaank you for the update <3 was wondering what was up with the buttons!

Whoooop~

Whoooop~ <3
OrinocoFlow's picture

This is neat!

This is neat!
You do not have a soul. You ARE a soul. You have a body.
~ C.S. Lewis
Keepiru's picture

You're welcome

You're welcome <3
BrownLupine's picture

Tracking this, it is very

Tracking this, it is very helpful. Thank you for this entry


What nature divides, the spirit unites.

Iaurdagnire's picture

I can't see that anyone has

I can't see that anyone has pointed this out yet, but for HD setting with the new youtube code you need to put the HD bit after the showinfo code like the others:

"?version=3?showinfo=0&hd=1"
Aivilo's picture

I feel like I am constantly

I feel like I am constantly looking for this blog and not finding it. MAYBE I SHOULD TRACK IT AND FIX THAT.
Keepiru's picture

Updated! Hope it will work

Updated!

Hope it will work well.
.Ru.'s picture

I've tried a few of these

I've tried a few of these tricks after reading, and each one worked. Thank you immensely for sharing this useful information! Sticking out tongue

"If your eyes could speak, what would they say?" -Max

Profile art by me
Silversnow200's picture

Track

Track
Eq's picture

.

.

Ok, maybe it's just the

Ok, maybe it's just the coding acting with my computer or something, but I can't figure this out. The CSS I'm using had a code for a youtube link, and it showed up in the CSS. But when I changed the VideoID to the one I wanted, it stopped showing up. So I came here and grabbed the player code, copy-pasted exactly as typed, and replaced the video ID with the correct code. Now the player shows up, but playing only makes it flash to pause then back to showing the play button. No audio. Has there been an update since this?? Or am I just doing something wrong?

<iframe width="30" height="25" src="http://www.youtube.com/v/vjVkXlxsO8Q?version=2&showinfo=0" frameborder="0" allowfullscreen></iframe>