Use 'do not track' option for vimeo videos
authorMarcel Werk <burntime@woltlab.com>
Wed, 30 Mar 2022 13:48:56 +0000 (15:48 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 30 Mar 2022 13:48:56 +0000 (15:48 +0200)
com.woltlab.wcf/mediaProvider.xml

index d84538c1c45d4beae63824ee2a1d12262017000b..c5caa8a1b682d8308b305bc67038715c68c7ee84 100644 (file)
@@ -16,7 +16,7 @@ https?://(?:.+?\.)?youtube.com/shorts/(?P<ID>[a-zA-Z0-9_-]+)]]></regex>
                        <title>Vimeo</title>
                        <regex><![CDATA[https?://vimeo\.com/(?:channels/[^/]+/)?(?P<ID>\d+)/?(?P<hash>(?(?<=/)[a-zA-Z0-9]+|))
 https?://vimeo\.com/groups/[^/]+/videos/(?P<ID>\d+)/?(?P<hash>(?(?<=/)[a-zA-Z0-9]+|))]]></regex>
-                       <html><![CDATA[<div class="messageVideoContainer"><iframe src="https://player.vimeo.com/video/{$ID}?h={$hash}" width="640" height="360" allowfullscreen></iframe></div>]]></html>
+                       <html><![CDATA[<div class="messageVideoContainer"><iframe src="https://player.vimeo.com/video/{$ID}?h={$hash}&amp;dnt=1" width="640" height="360" allowfullscreen></iframe></div>]]></html>
                </provider>
                <provider name="dailymotion">
                        <title>Dailymotion</title>