1<!--
2    Provider List
3        for the DokuWiki OEmbed plugin.
4
5    Important:
6        Due to the risk of a cross-site scripting attack
7        [http://en.wikipedia.org/wiki/Cross-site_scripting] only list providers
8        that you trust. Remove any providers that you do not trust.
9
10    Usage:
11        Each provider element has two attributes: name, which is currently not
12        used and api which is the API endpoint for the provider's OEmbed
13        service. Each provider also lists scheme elements which contain the
14        regular expressions of the URLs for which the API endpoint can be used.
15        The regular expressions are matched agains the entire URL (no need for
16        '^$') and case insensitively. The schemes listed on oembed.com are not
17        valid regular expressions and need to be converted.
18
19        Additional providers can be found in the sample-providers.xml file and
20        a more detailed list of providers can be found on the oembed site
21        https://oembed.com/providers.json
22
23-->
24
25<providers>
26    <!-- DIRECT PROVIDERS -->
27    <!-- Flickr -->
28    <provider name="Flickr" api="http://www.flickr.com/services/oembed.xml">
29        <scheme>https?://(.*?\.)?flickr\.com/.*?</scheme>
30    </provider>
31
32    <!-- Vimeo -->
33    <provider name="Vimeo" api="http://www.vimeo.com/api/oembed.{format}">
34        <scheme>https?://www\.vimeo\.com/.*?</scheme>
35        <scheme>https?://www\.vimeo\.com/groups/.*?/.*?</scheme>
36    </provider>
37
38    <!-- Youtube -->
39    <provider name="Youtube" api="https://www.youtube.com/oembed">
40        <scheme>https?://(.*?\.)?youtube\.com/watch.*?</scheme>
41        <scheme>https?://(.*?\.)?youtube\.com/v/.*?</scheme>
42        <scheme>https?://youtu\.be/.*?</scheme>
43        <scheme>https?://(.*?\.)?youtube\.com/playlist?list=.*?</scheme>
44   </provider>
45
46    <!-- PROXY PROVIDERS -->
47
48
49</providers>
50