Parse mobile youtube URLs.

Add support for youtube URLs with the format m.youtube.com?v=<video id>
This commit is contained in:
Brian Daniels
2021-07-12 15:09:02 -04:00
parent 3bf636d46b
commit 0cb89d3a84

View File

@@ -975,6 +975,7 @@ function checkYouTubeUri(uri)
switch(host) {
case 'www.youtube.com':
case 'youtube.com':
case 'm.youtube.com':
videoId = gstUri.get_query_value('v');
if(!videoId) {
/* Handle embedded videos */