I’m trying to autoplay webm video in a post but I can’t.
I tried several codes:
[video width="640" height="360" webm="source***" loop="on" autoplay="on"][/video]
loop=”loop” autoplay=”autoplay”
loop=”on” autoplay=”on”
loop=”y” autoplay=”y”
No matter what I write, it isn’t auto-playing in published post, but it is auto-playing while post editing. video is uploaded on wordpress itself. I’m not using other website
Please, tell me how to fix this.
Should follow this format
https://codex.wordpress.org/Video_Shortcode
I used this:
[video width="640" height="360" webm="" loop="on" autoplay="on"][/video]
and it still doesn’t work
Try turning off all plugins except visual composer … and in normal post, in the TEXT editor, NOT the visual editor, put in the proper format code.
One presumes the link you’re inserting in wdbm=”” actually plays in the web browser if you just load the file by itself ?
Maybe try adding the preload variable?
Does the function work on another theme other than this one?
You might try the WordPress forum also.
I don’t see anything on the docs page saying you need [/video] ?
———
Maybe somebody else with your issue might pitch in on this one !
Hi,
I also checked this and it works fine: http://screencast.com/t/Aiedk9x7X
<video src="http://" width="640px" height="400px" autoplay="on" controls>
Please also check this without any plugins active and leave just Visual Composer active like Christopher already suggested.
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
It worked
<video src=”http://” width=”640px” height=”400px” autoplay=”on” controls>
but I added also loop=”on”
thanks for the support