jkotlowski
05-05-2016, 12:00 AM
Hi, I've got some members that want me to add a GifV BBcode to the site.
I've gotten a way to use gifV files, but there's an odd quirk.
http://i.imgur.com/zvATqgs.gifv
The .gifv has to be replaced with .webm in order for it to show. Which is a bit inconvenient for my users.
<video autoplay loop muted>
<source src="{param}" type="video/webm">
<source src="{param}" type="video/mp4">
</video>
This is the code I've found to work. Any idea on how to get it to work without having to use a .webm extension?
--------------- Added 1462414631 at 1462414631 ---------------
Also... If there's a way to automatically resize them if they're too big? A guy just used the above code to post a webM file on my site that was way, way too large.
I've gotten a way to use gifV files, but there's an odd quirk.
http://i.imgur.com/zvATqgs.gifv
The .gifv has to be replaced with .webm in order for it to show. Which is a bit inconvenient for my users.
<video autoplay loop muted>
<source src="{param}" type="video/webm">
<source src="{param}" type="video/mp4">
</video>
This is the code I've found to work. Any idea on how to get it to work without having to use a .webm extension?
--------------- Added 1462414631 at 1462414631 ---------------
Also... If there's a way to automatically resize them if they're too big? A guy just used the above code to post a webM file on my site that was way, way too large.