2014-11-12, 12:55 AM
2014-11-12, 02:56 AM
Admin - MyCode - add new MyCode
Regular Expression:
\[webm\](.+?)\[/webm\]
Replacement:
<video width="560" height="320" controls="controls" preload="none"><source src="$1" type="video/webm"></video>
Then in post
[webm]http://video.webmfiles.org/big-buck-bunny_trailer.webm[/webm]
Regular Expression:
\[webm\](.+?)\[/webm\]
Replacement:
<video width="560" height="320" controls="controls" preload="none"><source src="$1" type="video/webm"></video>
Then in post
[webm]http://video.webmfiles.org/big-buck-bunny_trailer.webm[/webm]
2014-11-12, 03:04 AM
what about if I wanted to upload the webm as an attachment, and insert it into the post like I would a normal picture?
2014-11-12, 03:17 AM
you can upload attachment, copy its url and insert it in [webm]url[/webm]
don't forget to add attachment type in your acp
of course, you can have plugin for this, but it works without, just one more action (copy url from attachment)
video files are not good as attachments, they are too big
don't forget to add attachment type in your acp
of course, you can have plugin for this, but it works without, just one more action (copy url from attachment)
video files are not good as attachments, they are too big