12

When I put www.youtube.com/watch?v=xyz format in a post, the webpage shows embedded player of YouTube (on select sites, see here for more info). But, it doesn't show the embedded player when I use the following URL formats:

  • youtube.com/watch?v=xyz (Ommision of www)

  • youtu.be/xyz (The URL we get from share option of YouTube; more accessible on smartphones)

Please, embed videos on these two URL variants, too. Implementation shouldn't be difficult or time-consuming. I think it's a 5 minute job.

5

2 Answers 2

7

Everything mentioned should be supported after the next build.

2
  • Including the timecode specific links?
    – Catija
    Commented Mar 24, 2016 at 13:48
  • @Catija I believe that was already there. I didn't check them specifically, but I'm looking at the code, at it does have some likely-looking pieces for that Commented Mar 24, 2016 at 14:00
5

Currently only a limited subset of youtube urls are supported, with picky support for subdomains, and inconsistent support for https and http. Some versions require https some require http.

Per my request on MTV.meta Please Improve Youtube URL Parsing:

Per a related question on MTV.Meta, Supported URLs for video embedding the currently supported ones are:

http://youtu.be/rEWaqUVac3M
http://www.youtube.com/watch?v=rEWaqUVac3M
https://www.youtube.com/watch?v=rEWaqUVac3M

While some unsupported ones are:

https://youtu.be/rEWaqUVac3M
http://youtube.com/watch?v=rEWaqUVac3M
https://youtube.com/watch?v=rEWaqUVac3M

The requested ones:
Mobile links with the "m." subdomain

  • https ex:https://m.youtube.com/watch?v=71fWtJXEI0Q
  • http ex:http://m.youtube.com/watch?v=71fWtJXEI0Q

No Subdomain

  • https ex: https://youtube.com/watch?v=71fWtJXEI0Q
  • http ex: http://youtube.com/watch?v=71fWtJXEI0Q

Shortened by youtube's shortener

  • https ex: https://youtu.be/rEWaqUVac3M
1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .