Video Tag with the Help of Compatibility Processor

Back to Index

Add the following regex to your Regex for the Compatibility Processor

!\[[^]\n]*\]\(([^)\n]*\.(mp4|avi)[^)\n]*)\)
<center><video src="$1" controls width="50%"/></center>

As a result, markdowns like ![video](my_video.mp4#t=30,60) will be treated as video tags. So, you will see:

video tag

Note: Sorry. This site does not support video playback. But it should in your Epsilon Notes.

Back to Index