projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fc3afc
)
Improved mobile support for dailymotion videos
author
Marcel Werk
<burntime@woltlab.com>
Thu, 12 Jul 2018 10:21:05 +0000
(12:21 +0200)
committer
Marcel Werk
<burntime@woltlab.com>
Thu, 12 Jul 2018 10:21:05 +0000
(12:21 +0200)
com.woltlab.wcf/mediaProvider.xml
patch
|
blob
|
blame
|
history
diff --git
a/com.woltlab.wcf/mediaProvider.xml
b/com.woltlab.wcf/mediaProvider.xml
index 187317c5ccd67c9701969c4d6bbe96d8fec42143..a31b2c27b400209c6d19e68ceae9c93a14abd111 100644
(file)
--- a/
com.woltlab.wcf/mediaProvider.xml
+++ b/
com.woltlab.wcf/mediaProvider.xml
@@
-29,7
+29,7
@@
https?://vimeo\.com/groups/[^/]+/videos/(?P<ID>\d+)]]></regex>
<provider name="dailymotion">
<title>Dailymotion</title>
<regex><![CDATA[https?://(?:www\.)?dailymotion\.com/video/(?P<ID>[a-zA-Z0-9_-]+)]]></regex>
- <html><![CDATA[<
iframe width="480" height="270" src="//www.dailymotion.com/embed/video/{$ID}"></iframe
>]]></html>
+ <html><![CDATA[<
div class="videoContainer"><iframe src="//www.dailymotion.com/embed/video/{$ID}"></iframe></div
>]]></html>
</provider>
<provider name="github-gist">