Improved mobile support for dailymotion videos
authorMarcel Werk <burntime@woltlab.com>
Thu, 12 Jul 2018 10:21:05 +0000 (12:21 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 12 Jul 2018 10:21:05 +0000 (12:21 +0200)
com.woltlab.wcf/mediaProvider.xml

index 187317c5ccd67c9701969c4d6bbe96d8fec42143..a31b2c27b400209c6d19e68ceae9c93a14abd111 100644 (file)
@@ -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">