Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Webm and Gifv support
user9
New
Has anyone developed a way to embed webm and gifv videos in threads?
Really need this for a board.
Best regards
Jakob
0
Comments
I can't be the only one who wants HTML5, MP4, video playback.
Is there any way to do this easy?
How do you want them embedded?
Are you uploading the video to a service?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
How about using imgur as an example? This sort of format:
edit: it works! here at least, but on our own forum running Vanilla 2.2 it doesn't unfortunately
@blizeH This forum runs the hosted version of Vanilla which is ahead of the open source version of Vanilla.
If you are feeling saucy, this is the file/method that has imgur and wistia auto-embed support: https://github.com/vanilla/vanilla/blob/e56b12ce0ff4c96743ac52247ef1baf67b91d244/library/core/class.format.php#L1193-L1435
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Thanks @hgtonight !
Have to say that a lot of that is way over my head, so I'll wait and hopefully see it in an official version soon
Theoretically you would just need to copy over the following lines:
https://github.com/vanilla/vanilla/blob/e56b12ce0ff4c96743ac52247ef1baf67b91d244/library/core/class.format.php#L1252
https://github.com/vanilla/vanilla/blob/e56b12ce0ff4c96743ac52247ef1baf67b91d244/library/core/class.format.php#L1313-L1327
A better method would be to hook into the
format_links_handler
via a plugin and do those replacements on the event argument.Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
That worked beautifully, thank you so much @hgtonight !
thanks this is great.
Thanks hgtonight. This feature is great.