[nodebb-plugin-html5videoplayer] Embeds HTML5 Video
-
Hi ,
Inspired by https://github.com/ogerly/nodebb-plugin-videoplayer , I forked it and developed a new videoplayer: html5videoplayer
Different from nodebb-plugin-videoplayer, html5videoplayer just add a video tag into page and did nothing, all video end up with
mp4
,mov
,ogv
,webm
will be parsed as a video tag.Demo looks like: https://community.qingcloud.com/topic/556
Your should insert video like this:
[video](/uploads/files/cc.mp4)
or
[video](//aa.com/bb/cc/mp4)
links start with
http:
andhttps:
are not supported now.You can open a issue here: https://github.com/Xuanwo/nodebb-plugin-html5videoplayer/issues
And install this plugin bynpm install nodebb-plugin-html5videoplayer
Have Fun !
Updates
- 2016/9/5 Fix a problem which will caught
Uncaught reference error: module is not defined
error.
- 2016/9/5 Fix a problem which will caught
-
tried it but didnt work, i think it adds https always to the link
-
@Xuanwo said in [nodebb-plugin-html5videoplayer] Embeds HTML5 Video:
@exodo This is strange, because
//
can both support https and http.No. If id add a link on http with a webm the plugin change it to https that can no exists
-
@Xuanwo if your change of url is just a
video
tag, you can achieve the same stuff with https://github.com/NicolasSiver/nodebb-plugin-ns-embed plugin. Just add a rule for video extensions which are supported, and you are ready to go -
will video uploads be converted to markdown, or the actual html output when its uploaded to a post?
-
@chrismccoy When you upload a video to NodeBB, you get a link like
[text](/uploads/files/cc.mp4)
, I just transform it into a<video>
tag. -
This plugin is not working for me. If I upload a video, it remains a link and does not embed it.
-
@CJ-Infantino This plugin is deprecated