Skip to content

Commit

Permalink
Added support for Viagame VODs
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshyPHP committed Jun 15, 2014
1 parent b845697 commit ffd93c6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -254,6 +254,11 @@ Media BB Codes for XenForo, imported from [s9e\TextFormatter](https://github.com
<td>VEVO</td>
<td>http://www.vevo.com/watch/USUV71400682<br/>http://www.vevo.com/watch/eminem/the-monster-explicit/USUV71302925</td>
</tr>
<tr>
<td><code>viagame</code></td>
<td>Viagame</td>
<td>http://www.viagame.com/channels/hearthstone-championship/405177</td>
</tr>
<tr>
<td><code>vimeo</code></td>
<td>Vimeo</td>
Expand Down
6 changes: 5 additions & 1 deletion build/addon.xml
@@ -1,4 +1,4 @@
<addon addon_id="s9e" title="s9e Media Pack" url="https://github.com/s9e/XenForoMediaBBCodes" version_id="201406080" version_string="20140608" install_callback_class="s9e_MediaBBCodes" install_callback_method="install">
<addon addon_id="s9e" title="s9e Media Pack" url="https://github.com/s9e/XenForoMediaBBCodes" version_id="201406150" version_string="20140615" install_callback_class="s9e_MediaBBCodes" install_callback_method="install">
<bb_code_media_sites>
<site media_site_id="abcnews" site_title="ABC News" site_url="http://abcnews.go.com/" match_is_regex="1" supported="1">
<match_urls>!abcnews\.go\.com/[^/]+/video/[^/]+-(?'id'\d+)!</match_urls>
Expand Down Expand Up @@ -215,6 +215,10 @@
<match_urls>!vevo\.com/watch/([-\w/]+/)?(?'id'[A-Z0-9]+)!</match_urls>
<embed_html><![CDATA[<iframe width="575" height="324" src="http://cache.vevo.com/m/html/embed.html?video={$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="viagame" site_title="Viagame" site_url="http://vimeo.com/" match_is_regex="1" supported="1">
<match_urls>!viagame\.com/channels/[^/]+/(?'id'[0-9]+)!</match_urls>
<embed_html><![CDATA[<iframe width="640" height="392" src="//www.viagame.com/embed/{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
</site>
<site media_site_id="vimeo" site_title="Vimeo" site_url="http://vimeo.com/" match_is_regex="1" supported="1">
<match_urls>!vimeo\.com/(?:channels/[^/]+/)?(?'id'[0-9]+)!</match_urls>
<embed_html><![CDATA[<iframe width="560" height="315" src="//player.vimeo.com/video/{$id}" allowfullscreen="" frameborder="0" scrolling="no"></iframe>]]></embed_html>
Expand Down
8 changes: 7 additions & 1 deletion www/configure.html

Large diffs are not rendered by default.

0 comments on commit ffd93c6

Please sign in to comment.