/
addon.xml
147 lines (147 loc) · 16 KB
/
addon.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<?xml version="1.0" encoding="utf-8"?>
<addon addon_id="s9e" title="s9e Media Pack" url="https://github.com/s9e/XenForoMediaBBCodes" version_id="20131030" version_string="20131030" install_callback_class="s9e_MediaBBCodes" install_callback_method="install">
<bb_code_media_sites>
<site media_site_id="bandcamp" site_title="Bandcamp" site_url="http://bandcamp.com/" match_is_regex="1" embed_html_callback_class="s9e_MediaBBCodes" embed_html_callback_method="embed" match_callback_class="s9e_MediaBBCodes" match_callback_method="matchBandcamp">
<match_urls>!bandcamp\.com/album/.!
!bandcamp\.com/track/.!</match_urls>
<embed_html><![CDATA[<!-- s9e_MediaBBCodes::renderBandcamp() -->]]></embed_html>
</site>
<site media_site_id="blip" site_title="Blip" site_url="http://blip.tv/" match_is_regex="1" match_callback_class="s9e_MediaBBCodes" match_callback_method="matchBlip">
<match_urls>!blip\.tv/play/(?'id'[\w+%/_]+)!
!blip\.tv/[^/]+/[^/]+-\d+$!</match_urls>
<embed_html><![CDATA[<iframe width="560" height="315" src="http://blip.tv/play/{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="break" site_title="Break" site_url="http://www.break.com/" match_is_regex="1">
<match_urls>!break\.com/video/.*-(?'id'[0-9]+)$!</match_urls>
<embed_html><![CDATA[<iframe width="464" height="290" src="http://www.break.com/embed/{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="cbsnews" site_title="CBS News Video" site_url="http://www.cbsnews.com/video/" match_is_regex="1">
<match_urls>!cbsnews\.com/video/watch/\?id=(?'id'[0-9]+)!</match_urls>
<embed_html><![CDATA[<object type="application/x-shockwave-flash" typemustmatch="" width="425" height="279" data="http://cnettv.cnet.com/av/video/cbsnews/atlantis2/cbsnews_player_embed.swf"><param name="allowfullscreen" value="true"/><param name="flashvars" value="si=254&contentValue={$id}&shareUrl=http://www.cbsnews.com/video/watch/?id={$id}n"/><embed type="application/x-shockwave-flash" src="http://cnettv.cnet.com/av/video/cbsnews/atlantis2/cbsnews_player_embed.swf" width="425" height="279" allowfullscreen="" flashvars="si=254&contentValue={$id}&shareUrl=http://www.cbsnews.com/video/watch/?id={$id}n"/></object>]]></embed_html>
</site>
<site media_site_id="cnn" site_title="CNN" site_url="http://edition.cnn.com/video/" match_is_regex="1">
<match_urls>!cnn\.com/video/data/2\.0/video/(?'id'.*\.cnn)!</match_urls>
<embed_html><![CDATA[<object type="application/x-shockwave-flash" typemustmatch="" width="416" height="234" data="http://i.cdn.turner.com/cnn/.element/apps/cvp/3.0/swf/cnn_embed_2x_container.swf?site=cnn&profile=desktop&context=embedwww&videoId={$id}&contentId={$id}"><param name="allowfullscreen" value="true"/><embed type="application/x-shockwave-flash" src="http://i.cdn.turner.com/cnn/.element/apps/cvp/3.0/swf/cnn_embed_2x_container.swf?site=cnn&profile=desktop&context=embedwww&videoId={$id}&contentId={$id}" width="416" height="234" allowfullscreen=""/></object>]]></embed_html>
</site>
<site media_site_id="colbertnation" site_title="Colbert Nation" site_url="http://www.colbertnation.com/" match_is_regex="1" embed_html_callback_class="s9e_MediaBBCodes" embed_html_callback_method="embed" match_callback_class="s9e_MediaBBCodes" match_callback_method="matchColbertnation">
<match_urls>!colbertnation\.com/[^/]*(?:collection|video)s/!</match_urls>
<embed_html><![CDATA[<iframe width="512" height="288" src="http://media.mtvnservices.com/embed/{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="collegehumor" site_title="CollegeHumor" site_url="http://www.collegehumor.com/" match_is_regex="1">
<match_urls>!collegehumor\.com/(?:video|embed)/(?'id'[0-9]+)!</match_urls>
<embed_html><![CDATA[<iframe width="600" height="369" src="http://www.collegehumor.com/e/{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="comedycentral" site_title="Comedy Central" site_url="http://www.comedycentral.com/funny-videos" match_is_regex="1" embed_html_callback_class="s9e_MediaBBCodes" embed_html_callback_method="embed" match_callback_class="s9e_MediaBBCodes" match_callback_method="matchComedycentral">
<match_urls>!comedycentral\.com/video-clips/!</match_urls>
<embed_html><![CDATA[<iframe width="512" height="288" src="http://media.mtvnservices.com/embed/{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="dailymotion" site_title="Dailymotion" site_url="http://www.dailymotion.com/" match_is_regex="1">
<match_urls>!dailymotion\.com/(?:video/|user/[^#]+#video=)(?'id'[A-Za-z0-9]+)!</match_urls>
<embed_html><![CDATA[<object type="application/x-shockwave-flash" typemustmatch="" width="560" height="315" data="http://www.dailymotion.com/swf/{$id}"><param name="allowfullscreen" value="true"/><embed type="application/x-shockwave-flash" src="http://www.dailymotion.com/swf/{$id}" width="560" height="315" allowfullscreen=""/></object>]]></embed_html>
</site>
<site media_site_id="dailyshow" site_title="The Daily Show with Jon Stewart" site_url="http://www.thedailyshow.com/" match_is_regex="1" embed_html_callback_class="s9e_MediaBBCodes" embed_html_callback_method="embed" match_callback_class="s9e_MediaBBCodes" match_callback_method="matchDailyshow">
<match_urls>!thedailyshow\.com/(?:collection|watch)/!</match_urls>
<embed_html><![CDATA[<iframe width="512" height="288" src="http://media.mtvnservices.com/embed/{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="espn" site_title="ESPN" site_url="http://espn.go.com/" match_is_regex="1">
<match_urls>!espn\.go\.com/video/clip\?id=(?'id'[:\w]+)!</match_urls>
<embed_html><![CDATA[<script src="http://player.espn.com/player.js?playerBrandingId=4ef8000cbaf34c1687a7d9a26fe0e89e&adSetCode=91cDU6NuXTGKz3OdjOxFdAgJVtQcKJnI&pcode=1kNG061cgaoolOncv54OAO1ceO-I&width=576&height=324&externalId={$id}&thruParam_espn-ui%5BautoPlay%5D=false&thruParam_espn-ui%5BplayRelatedExternally%5D=true"></script>]]></embed_html>
</site>
<site media_site_id="facebook" site_title="Facebook" site_url="http://www.facebook.com/" match_is_regex="1">
<match_urls>!facebook\.com/(?:photo|video/video)\.php\?v=(?'id'[0-9]+)!</match_urls>
<embed_html><![CDATA[<iframe width="560" height="315" src="https://www.facebook.com/video/embed?video_id={$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="funnyordie" site_title="Funny or Die" site_url="http://www.funnyordie.com/" match_is_regex="1">
<match_urls>!funnyordie\.com/videos/(?'id'[0-9a-f]+)!</match_urls>
<embed_html><![CDATA[<iframe width="640" height="360" src="http://www.funnyordie.com/embed/{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="gamespot" site_title="Gamespot" site_url="http://www.gamespot.com/" match_is_regex="1">
<match_urls>!gamespot\.com.*?/(?:events|videos)/.*?-(?'id'\d+)/(?:[#?].*)?$!</match_urls>
<embed_html><![CDATA[<iframe width="640" height="400" src="http://www.gamespot.com/videos/embed/{$id}/" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="gist" site_title="GitHub Gist" site_url="https://gist.github.com/" match_is_regex="1" embed_html_callback_class="s9e_MediaBBCodes" embed_html_callback_method="embed">
<match_urls>!gist\.github\.com/(?'id'(?:\w+/)?[0-9]+(?:/[0-9a-f]+)?)!</match_urls>
<embed_html><![CDATA[<script src="https://gist.github.com/{$id}.js"></script>]]></embed_html>
</site>
<site media_site_id="grooveshark" site_title="Grooveshark" site_url="http://grooveshark.com/" match_is_regex="1" embed_html_callback_class="s9e_MediaBBCodes" embed_html_callback_method="embed" match_callback_class="s9e_MediaBBCodes" match_callback_method="matchGrooveshark">
<match_urls>%grooveshark\.com(?:/#!?)?/playlist/[^/]+/(?'playlistid'[0-9]+)%
%grooveshark\.com(?:/#!?)?/s/(?'path'[^/]+/.+)%</match_urls>
<embed_html><![CDATA[<!-- s9e_MediaBBCodes::renderGrooveshark() -->]]></embed_html>
</site>
<site media_site_id="hulu" site_title="Hulu" site_url="http://www.hulu.com/" match_is_regex="1" match_callback_class="s9e_MediaBBCodes" match_callback_method="matchHulu">
<match_urls>!hulu\.com/watch/!</match_urls>
<embed_html><![CDATA[<iframe width="640" height="360" src="https://secure.hulu.com/embed/{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="ign" site_title="IGN" site_url="http://www.ign.com/videos/" match_is_regex="1">
<match_urls>!(?'id'https?://.*?ign\.com/videos/.+)!</match_urls>
<embed_html><![CDATA[<iframe width="468" height="263" src="http://widgets.ign.com/video/embed/content.html?url={$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="indiegogo" site_title="Indiegogo" site_url="http://www.indiegogo.com/" match_is_regex="1" match_callback_class="s9e_MediaBBCodes" match_callback_method="matchIndiegogo">
<match_urls>!indiegogo\.com/projects/(?'id'[0-9]+)$!
!indiegogo\.com/projects/.!</match_urls>
<embed_html><![CDATA[<iframe width="224" height="486" src="http://www.indiegogo.com/project/{$id}/widget" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="kickstarter" site_title="Kickstarter" site_url="http://www.kickstarter.com/" match_is_regex="1" embed_html_callback_class="s9e_MediaBBCodes" embed_html_callback_method="embed" match_callback_class="s9e_MediaBBCodes" match_callback_method="matchKickstarter">
<match_urls>!kickstarter\.com/projects/(?'id'[^/]+/[^/?]+)(?:/widget/(?:(?'card'card)|(?'video'video)))?!</match_urls>
<embed_html><![CDATA[<!-- s9e_MediaBBCodes::renderKickstarter() -->]]></embed_html>
</site>
<site media_site_id="liveleak" site_title="LiveLeak" site_url="http://www.liveleak.com/" match_is_regex="1">
<match_urls>!liveleak\.com/view\?i=(?'id'[a-f_0-9]+)!</match_urls>
<embed_html><![CDATA[<iframe width="560" height="315" src="http://www.liveleak.com/e/{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="metacafe" site_title="Metacafe" site_url="http://www.metacafe.com/" match_is_regex="1">
<match_urls>!metacafe\.com/watch/(?'id'[0-9]+)!</match_urls>
<embed_html><![CDATA[<iframe width="560" height="315" src="http://www.metacafe.com/embed/{$id}/" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="rutube" site_title="Rutube" site_url="http://rutube.ru/" match_is_regex="1" match_callback_class="s9e_MediaBBCodes" match_callback_method="matchRutube">
<match_urls>!rutube\.ru/tracks/(?'id'[0-9]+)!
!rutube\.ru/video/[0-9a-f]{32}!</match_urls>
<embed_html><![CDATA[<iframe width="720" height="405" src="http://rutube.ru/video/embed/{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="slideshare" site_title="SlideShare" site_url="http://www.slideshare.net/" match_is_regex="1" match_callback_class="s9e_MediaBBCodes" match_callback_method="matchSlideshare">
<match_urls>!slideshare\.net/[^/]+/[-\w]+-(?'id'[0-9]{6,})$!
!slideshare\.net/[^/]+/\w!</match_urls>
<embed_html><![CDATA[<iframe width="427" height="356" src="http://www.slideshare.net/slideshow/embed_code/{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="soundcloud" site_title="SoundCloud" site_url="https://soundcloud.com/" match_is_regex="1">
<match_urls>!soundcloud\.com(?:%2F|/)tracks(?:%2F|/)(?'id'[0-9]+)!</match_urls>
<embed_html><![CDATA[<iframe width="560" height="166" src="https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="teamcoco" site_title="Team Coco" site_url="http://teamcoco.com/" match_is_regex="1" match_callback_class="s9e_MediaBBCodes" match_callback_method="matchTeamcoco">
<match_urls>!teamcoco\.com/video/.!</match_urls>
<embed_html><![CDATA[<iframe width="640" height="415" src="http://teamcoco.com/embed/v/{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="ted" site_title="TED Talks" site_url="http://www.ted.com/" match_is_regex="1">
<match_urls>!ted\.com/(?'id'(?:talk|playlist)s/[^\s"]+)!i</match_urls>
<embed_html><![CDATA[<iframe width="560" height="315" src="http://embed.ted.com/{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="twitch" site_title="Twitch" site_url="http://www.twitch.tv/" match_is_regex="1" embed_html_callback_class="s9e_MediaBBCodes" embed_html_callback_method="embed" match_callback_class="s9e_MediaBBCodes" match_callback_method="matchTwitch">
<match_urls>#twitch\.tv/(?'channel'(?!m/)\w+)(?:/b/(?'archive_id'[0-9]+)|/c/(?'chapter_id'[0-9]+))?#
!twitch\.tv/m/[0-9]+!</match_urls>
<embed_html><![CDATA[<!-- s9e_MediaBBCodes::renderTwitch() -->]]></embed_html>
</site>
<site media_site_id="vimeo" site_title="Vimeo" site_url="http://vimeo.com/" match_is_regex="1">
<match_urls>!vimeo\.com/(?:channels/[^/]+/)?(?'id'[0-9]+)!</match_urls>
<embed_html><![CDATA[<iframe width="560" height="315" src="http://player.vimeo.com/video/{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="vine" site_title="Vine" site_url="https://vine.co/" match_is_regex="1">
<match_urls>!vine\.co/v/(?'id'[^/]+)!</match_urls>
<embed_html><![CDATA[<iframe width="480" height="480" src="https://vine.co/v/{$id}/embed/simple" allowfullscreen="" frameborder="0" scrolling="no"></iframe><script async="" src="//platform.vine.co/static/scripts/embed.js" charset="utf-8"></script>]]></embed_html>
</site>
<site media_site_id="vk" site_title="VK" site_url="https://vk.com/" match_is_regex="1" embed_html_callback_class="s9e_MediaBBCodes" embed_html_callback_method="embed" match_callback_class="s9e_MediaBBCodes" match_callback_method="matchVk">
<match_urls>!vk\.com/video(?'oid'-?[0-9]+)_(?'vid'[0-9]+)!
!vk\.com/video-?[0-9]+_[0-9]+!</match_urls>
<embed_html><![CDATA[<iframe width="607" height="360" src="http://vk.com/video_ext.php?oid={$oid}&id={$vid}&hash={$hash}&hd=1" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="wshh" site_title="WorldStarHipHop" site_url="http://www.worldstarhiphop.com/" match_is_regex="1">
<match_urls>!worldstarhiphop\.com/video(?:s/video)?\.php\?v=(?'id'[A-Za-z0-9]+)!</match_urls>
<embed_html><![CDATA[<object width="448" height="374" data="http://www.worldstarhiphop.com/videos/e/16711680/{$id}"><param name="allowfullscreen" value="true"/><embed type="application/x-shockwave-flash" src="http://www.worldstarhiphop.com/videos/e/16711680/{$id}" width="448" height="374" allowfullscreen=""/></object>]]></embed_html>
</site>
<site media_site_id="youtube" site_title="YouTube" site_url="http://www.youtube.com/" match_is_regex="1" embed_html_callback_class="s9e_MediaBBCodes" embed_html_callback_method="embed" match_callback_class="s9e_MediaBBCodes" match_callback_method="matchYoutube">
<match_urls>!youtube\.com/(?:watch\?.*?v=|v/)(?'id'[-0-9A-Z_a-z]+)!
!youtu\.be/(?'id'[-0-9A-Z_a-z]+)!
!youtu(?>\.be|be\.com).*?[#&?]t=(?'t'\d+)!</match_urls>
<embed_html><![CDATA[<!-- s9e_MediaBBCodes::renderYoutube() -->]]></embed_html>
</site>
</bb_code_media_sites>
</addon>