mirror of
https://github.com/Hopiu/django-embed-video.git
synced 2026-05-03 10:34:42 +00:00
for mobile urls
This commit is contained in:
parent
454ff7dcc0
commit
90ba3b0b53
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ class YoutubeBackend(VideoBackend):
|
|||
Backend for YouTube URLs.
|
||||
"""
|
||||
re_detect = re.compile(
|
||||
r'^(http(s)?://)?(www\.)?youtu(\.?)be(\.com)?/.*', re.I
|
||||
r'^(http(s)?://)?(www\.|m\.)?youtu(\.?)be(\.com)?/.*', re.I
|
||||
)
|
||||
|
||||
re_code = re.compile(
|
||||
|
|
|
|||
Loading…
Reference in a new issue