@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.
Xuanwo
Posts
-
[nodebb-plugin-html5videoplayer] Embeds HTML5 Video -
[nodebb-plugin-html5videoplayer] Embeds HTML5 Video@Nicolas Looks good, I will make a pr to do that.
-
[nodebb-plugin-html5videoplayer] Embeds HTML5 Video@exodo Let me check that.
-
[nodebb-plugin-html5videoplayer] Embeds HTML5 Video@exodo This is strange, because
//
can both support https and http. -
[nodebb-plugin-html5videoplayer] Embeds HTML5 VideoHi ,
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