Last active
August 29, 2015 14:01
-
-
Save danzel/179ac8eb09fc19090cd2 to your computer and use it in GitHub Desktop.
gfycat support for jabbr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jabbr now supports custom content providers, making it very easy to add gfycat support. | |
Hit the administration link, scroll to the bottom and enter this: | |
Name: gfycat | |
Domains: http://gfycat.com/;http://www.gfycat.com/;https://gfycat.com/;https://www.gfycat.com/ | |
Extract: .*gfycat\.com\/(\w+) | |
Output: | |
<video width="425" height="344" autoplay="" loop="" muted="muted" style="display: block;" poster="//thumbs.gfycat.com/{0}-poster.jpg"> | |
<source id="webmsource" src="//zippy.gfycat.com/{0}.webm" type="video/webm"> | |
<source id="mp4source" src="//zippy.gfycat.com/{0}.mp4" type="video/mp4"> | |
Sorry, you don't have HTML5 video and we didn't catch this properly in javascript. | |
You can try to view the gif directly: <a href="http://fat.gfycat.com/{0}.gif">http://fat.gfycat.com/{0}.gif</a>. | |
</video> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment