Skip to content

Instantly share code, notes, and snippets.

@qdot
Created February 7, 2018 04:31
Show Gist options
  • Save qdot/ad20209a9b916e95711dd9a30f1723a6 to your computer and use it in GitHub Desktop.
Save qdot/ad20209a9b916e95711dd9a30f1723a6 to your computer and use it in GitHub Desktop.
<<widget "videolink">>
<<linkreplace $args[0]>>
<<nobr>>
<<set _vid to $args[1]>>
<center>
<video autoplay="autoplay" loop="loop" controls>
<source src=<<= _vid>> type="video/mp4" />
</video>
</center>
<</nobr>>
<</linkreplace>>
<</widget>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment