@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>