Gfycat Embedding v1.0.1
-
Back with a new plugin, well, more of a reworking of an existing plugin, the old plugin had a few issues and was on the whole, rubbish.
####WTF is GfyCat####
Gfycat is a webM hosting platform that converts gifs into smaller, better webm files, webm files are basically an HTML5 video format that allows for quick video embedding, while using minimum bandwidth.So, I've reworked the plugin and it now works a lot better than before.
Added features.
- Now uses the gfycat api to fetch the video.
- Utilises the original size of the gif/video that gfycat converted.
- Autoplay off by default to save bandwidth on tablets and mobiles etc.
- Play controls which allow for full screen, play and seek in the webm files.
####To install####
npm install nodebb-plugin-gfycat
current version: 1.0.1
####Screenshots####
Interesting stat at the top of this screenshot.
###Possible Future Tasks###
Convert gifs on the fly to webm files using the same API. Will need to create a seperate topic for that to work out the best way of doing it, but may be able to utilise the imgur plugin. -
A question, regex based.
How would I catch any URL that ended in .gif? @psychobunny I'm looking at you here.