Skip to content

Commit

Permalink
Added support for Vocaroo
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshyPHP committed Aug 4, 2014
1 parent ac66d6b commit cae075e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,11 @@ Media BB Codes for XenForo, imported from [s9e\TextFormatter](https://github.com
<td>Vine</td>
<td>https://vine.co/v/bYwPIluIipH</td>
</tr>
<tr>
<td><code>vocaroo</code></td>
<td>Vocaroo</td>
<td>http://vocaroo.com/i/s0dRy3rZ47bf</td>
</tr>
<tr>
<td><code>vk</code></td>
<td>VK</td>
Expand Down
6 changes: 5 additions & 1 deletion build/addon.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<addon addon_id="s9e" title="s9e Media Pack" url="https://github.com/s9e/XenForoMediaBBCodes" version_id="201407240" version_string="20140724" 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="201408040" version_string="20140804" 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 @@ -274,6 +274,10 @@
<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="vocaroo" site_title="Vocaroo" site_url="http://vocaroo.com/" match_is_regex="1" supported="1">
<match_urls>!(?=.*?[./]vocaroo\.com).*?vocaroo.com/i/(?'id'\w+)!</match_urls>
<embed_html><![CDATA[<object type="application/x-shockwave-flash" typemustmatch="" width="148" height="44" data="//vocaroo.com/player.swf?playMediaID={$id}&amp;autoplay=0"><param name="allowfullscreen" value="true"/><embed type="application/x-shockwave-flash" src="//vocaroo.com/player.swf?playMediaID={$id}&amp;autoplay=0" width="148" height="44" allowfullscreen=""/></object>]]></embed_html>
</site>
<site media_site_id="vk" site_title="VK" site_url="https://vk.com/" match_is_regex="1" supported="1" embed_html_callback_class="s9e_MediaBBCodes" embed_html_callback_method="embed" match_callback_class="s9e_MediaBBCodes" match_callback_method="matchVk">
<match_urls>!(?'id')vk(?:\.com|ontakte\.ru)/(?:[\w.]+\?z=)?video(?'oid'-?[0-9]+)_(?'vid'[0-9]+)!
!(?'id')vk(?:\.com|ontakte\.ru)/video_ext\.php\?oid=(?'oid'-?[0-9]+)&amp;id=(?'vid'[0-9]+)&amp;hash=(?'hash'[0-9a-f]+)!
Expand Down
2 changes: 1 addition & 1 deletion vendor/s9e/TextFormatter
Submodule TextFormatter updated 89 files
+0 −1 TODO.md
+2 −2 docs/Cookbook/00_Getting_started/Basic_usage/Configuration/00_ZeroConfig.md
+1 −1 docs/Cookbook/50_Miscellaneous/Renderers.md
+75 −0 docs/QuickRendering.md
+79 −0 docs/rtd/UsingBundles.rst
+1 −0 docs/rtd/index.rst
+32 −5 docs/testdox.txt
+6 −0 phpunit.xml
+53 −2 scripts/build/5.3.convert.php
+1 −1 scripts/build/syncBranches.sh
+6 −0 scripts/checkUnminifiedVariables.php
+1 −0 scripts/generateBundles.php
+12 −3 scripts/patchTemplateForensics.php
+10 −4 src/Bundles/F5/Renderer.php
+1 −1 src/Bundles/Fatdown.php
+104 −5 src/Bundles/Fatdown/Renderer.php
+1 −1 src/Bundles/Forum.php
+109 −1 src/Bundles/Forum/Renderer.php
+109 −1 src/Bundles/S18/Renderer.php
+3 −0 src/Configurator.php
+1 −0 src/Configurator/Bundles/Forum.php
+46 −49 src/Configurator/Helpers/TemplateForensics.php
+23 −4 src/Configurator/Helpers/TemplateHelper.php
+125 −0 src/Configurator/Helpers/TemplateParser.php
+5 −9 src/Configurator/Items/Tag.php
+24 −24 src/Configurator/JavaScript/RegexpConvertor.php
+90 −10 src/Configurator/RendererGenerators/PHP.php
+23 −9 src/Configurator/RendererGenerators/PHP/Optimizer.php
+890 −0 src/Configurator/RendererGenerators/PHP/Quick.php
+99 −477 src/Configurator/RendererGenerators/PHP/Serializer.php
+584 −0 src/Configurator/RendererGenerators/PHP/XPathConvertor.php
+1 −0 src/Configurator/RendererGenerators/XSLCache.php
+17 −0 src/Configurator/RendererGenerators/XSLT.php
+42 −0 src/Configurator/RendererGenerators/XSLT/Optimizer.php
+187 −0 src/Configurator/TemplateNormalizations/MergeIdenticalConditionalBranches.php
+1 −1 src/Configurator/TemplateNormalizations/OptimizeConditionalValueOf.php
+46 −0 src/Configurator/TemplateNormalizations/OptimizeNestedConditionals.php
+45 −0 src/Configurator/TemplateNormalizations/SortAttributesByName.php
+2 −2 src/Configurator/Traits/Configurable.php
+4 −4 src/Plugins/BBCodes/Configurator/Repository.php
+3 −5 src/Plugins/ConfiguratorBase.php
+13 −13 src/Plugins/Emoticons/Configurator.php
+2 −1 src/Plugins/Escaper/Configurator.php
+7 −1 src/Plugins/Escaper/Parser.js
+7 −1 src/Plugins/Escaper/Parser.php
+1 −1 src/Plugins/HTMLElements/Configurator.php
+10 −0 src/Plugins/MediaEmbed/Configurator/sites.xml
+5 −0 src/Plugins/MediaEmbed/README.md
+1 −1 src/Renderers/XSLCache.php
+1 −1 src/Renderers/XSLT.php
+3 −3 tests/Bundles/data/Forum/022.html
+3 −3 tests/Bundles/data/Forum/023.html
+2 −2 tests/Bundles/data/Forum/024.html
+1 −0 tests/Configurator/Bundles/ForumTest.php
+42 −0 tests/Configurator/Helpers/TemplateHelperTest.php
+46 −0 tests/Configurator/Helpers/TemplateParserTest.php
+6 −0 tests/Configurator/Helpers/data/TemplateParser/038.html.template
+17 −0 tests/Configurator/Helpers/data/TemplateParser/038.xml
+6 −0 tests/Configurator/Helpers/data/TemplateParser/039.html.template
+17 −0 tests/Configurator/Helpers/data/TemplateParser/039.xml
+6 −0 tests/Configurator/Helpers/data/TemplateParser/040.html.template
+17 −0 tests/Configurator/Helpers/data/TemplateParser/040.xml
+7 −0 tests/Configurator/Helpers/data/TemplateParser/041.html.template
+20 −0 tests/Configurator/Helpers/data/TemplateParser/041.xml
+6 −0 tests/Configurator/Helpers/data/TemplateParser/042.html.template
+17 −0 tests/Configurator/Helpers/data/TemplateParser/042.xml
+6 −0 tests/Configurator/Helpers/data/TemplateParser/043.html.template
+17 −0 tests/Configurator/Helpers/data/TemplateParser/043.xml
+5 −0 tests/Configurator/Helpers/data/TemplateParser/044.html.template
+14 −0 tests/Configurator/Helpers/data/TemplateParser/044.xml
+5 −0 tests/Configurator/Helpers/data/TemplateParser/045.html.template
+14 −0 tests/Configurator/Helpers/data/TemplateParser/045.xml
+562 −0 tests/Configurator/RendererGenerators/PHP/QuickTest.php
+87 −333 tests/Configurator/RendererGenerators/PHP/SerializerTest.php
+381 −0 tests/Configurator/RendererGenerators/PHP/XPathConvertorTest.php
+69 −45 tests/Configurator/RendererGenerators/PHPTest.php
+56 −0 tests/Configurator/RendererGenerators/XSLT/OptimizerTest.php
+25 −0 tests/Configurator/RendererGenerators/XSLTTest.php
+2 −1 tests/Configurator/TemplateNormalizations/AbstractTest.php
+128 −0 tests/Configurator/TemplateNormalizations/MergeIdenticalConditionalBranchesTest.php
+4 −0 tests/Configurator/TemplateNormalizations/OptimizeConditionalValueOfTest.php
+93 −0 tests/Configurator/TemplateNormalizations/OptimizeNestedConditionalsTest.php
+19 −0 tests/Configurator/TemplateNormalizations/SortAttributesByNameTest.php
+30 −0 tests/Plugins/BBCodes/Configurator/RepositoryTest.php
+0 −15 tests/Plugins/Emoticons/ConfiguratorTest.php
+4 −4 tests/Plugins/Escaper/ParserTest.php
+4 −4 tests/Plugins/Keywords/ConfiguratorTest.php
+9 −0 tests/Plugins/MediaEmbed/ParserTest.php
+5 −0 tests/Test.php
8 changes: 7 additions & 1 deletion www/configure.html

Large diffs are not rendered by default.

0 comments on commit cae075e

Please sign in to comment.