i want to play(mp4 file and mp4 url) in my web site how can i do it???
-
i want to play(mp4 file and mp4 url) in my web site how can i do it???
-
I believe this plugin will work for you:
nodebb-plugin-ns-embed
You will have to create a rule for the MP4 files. From an issue on it's github page there is a solution:
https://github.com/NicolasSiver/nodebb-plugin-ns-embed/issues/7
-
@rod thanks a lot..
if upload mp4 files.. works~~~but mp4 url link not work~
ex).http://www.ithinknext.com/mydata/board/files/F201308021823010.mp4
-
@rod said in i want to play(mp4 file and mp4 url) in my web site how can i do it???:
<a href="(.).mp4">[^<]</a>
solved it~!!!!!
^,.^
write as like this (mp4 play and / mp4 url play on my own web)
in nodebb-plugin-ns-embed
it works..
----if embed mp4 url----
Watch
."(http://[^"].?.mp4)".*Replace
<video id="$1" src="$1" controls style="width:800px"></video>
<div><small><a href="$1" target="_blank">Download video</a></small></div>------------------------- if mp4 file upload..---------- follow this
Watch
<a href="/uploads/files/(.).mp4">[^<]</a>Replace
<video id="$1" src="/uploads/files/$1.mp4" controls style="width:800px"></video>
<div><small><a href="/uploads/files/$1.mp4" target="_blank">Download video</a></small></div> -