Add m.youtube.com to list of valid youtube urls

This commit is contained in:
John Wesley 2024-04-17 10:37:10 -04:00
parent c22dc3107a
commit 154b41e6d6
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import 'package:youtube_explode_dart/youtube_explode_dart.dart'
as youtube_explode_dart;
bool isSupportedVideo(String link) {
return ['www.youtube.com', 'youtube.com', 'youtu.be']
return ['www.youtube.com', 'youtube.com', 'youtu.be', 'm.youtube.com']
.contains(Uri.parse(link).host);
}