@julian I want to post large number of topics at once on JSON format, and it will be frequently use under one user id.
Does body-parser has the ability? and is it easy to modify api/v3/topics ?
Many Thanks,
Khaled
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
@사다리하하 Try a regex like:
<a href="(.*).mp4">[^<]*</a>
@rod thx u~ but... it's not working
0_0;;
@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>