Created
May 4, 2015 22:17
-
-
Save ScottCooper92/ea11b690ba4b1278e049 to your computer and use it in GitHub Desktop.
Example of the various YouTube url formats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.youtube.com/watch?v=-wtIMTCHWuI | |
http://www.youtube.com/v/-wtIMTCHWuI?version=3&autohide=1 | |
http://youtu.be/-wtIMTCHWuI | |
http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch?v%3D-wtIMTCHWuI&format=json | |
http://s.ytimg.com/yt/favicon-wtIMTCHWuI.ico | |
http://i2.ytimg.com/vi/-wtIMTCHWuI/hqdefault.jpg |
Similar to the one commented by @caffeinatedMike, there's also another one when you receive an e-mail from YouTube:
https://www.youtube.com/attribution_link?a=8g8kPrPIi-ecwIsS&u=/watch%3Fv%3DyZv2daTWRZU%26feature%3Dem-uploademail
http://www.youtube.com/v/-wtIMTCHWuI?version=3 links don't seem to work at all any more. I'm not sure when YouTube broke them.
These day the URL YouTube suggests when you click Share > Embed in Desktop is https://www.youtube.com/embed/-wtIMTCHWuI , part of
<iframe width="560" height="315"
src="https://www.youtube.com/embed/-wtIMTCHWuI" frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just to add,
https://www.youtube.com/embed/M7lc1UVf-VE
http://www.youtube.com/attribution_link?a=JdfC0C9V6ZI&u=%2Fwatch%3Fv%3DEhxJLojIE_o%26feature%3Dshare