Viewing 15 replies - 1 through 15 (of 18 total)
  • same here!!
    I set autoplay=”true” and autoplay=”yes” in all possible combinations, but with no result… ??

    Just to add yet another voice on this topic, I am having the same problem. Videos will not autoplay.

    I’ve tried all sorts of combinations to try to make the video autoplay, but nothing works. Below is the same of the code I currently have, which does all I want except autoplay.

    <?php echo wp_video_shortcode( array( 'autoplay' => true, 'width' => 375, 'height' => 280, 'flv' => 'https://zxy.com/wp-content/uploads/video/'.$video[0] ) ); ?>

    This seems to be a bug at this point and needs to be fixed.

    Figured it out and posted about it.

    https://twelvetwo.net/wordpress-3-6-audio-autoplay/

    Cheers!

    Clay
    Twelvetwo.net

    autoplay="y"
    Doesn’t work for me on videos ??

    cob-web,

    What kind of video file are you using?

    Did you try autoplay="on" ?

    This works for me OK.

    [video mp4="https://twelvetwo.net/wp-content/uploads/2013/03/css_hat_tutorial-twelvetwo.mp4" autoplay="y"]

    Thread Starter joaokrabbe

    (@joaokrabbe)

    I used a video converter, that included the autoplay on the file.
    And work. So, I don’t no why, but work.

    Converter:
    https://www.any-video-converter.com/products/for_video_ultimate/

    Thanks for your hints – but nope! ??
    My shortcode looks like this:
    [video mp4="https://www.a-clip.de/testsite/wp-content/uploads/2013/08/think_global_build_social_Peter_Rich.mp4" autoplay="y"] [/video]

    And the generated output like this:

    <video class="wp-video-shortcode" id="video-373-1" width="960" height="360" autoplay="y" preload="metadata" controls="controls"><source type="video/mp4" src="https://www.a-clip.de/testsite/wp-content/uploads/2013/08/think_global_build_social_Peter_Rich.mp4" />
    <a href="https://www.a-clip.de/testsite/wp-content/uploads/2013/08/think_global_build_social_Peter_Rich.mp4">
    https://www.a-clip.de/testsite/wp-content/uploads/2013/08/think_global_build_social_Peter_Rich.mp4</a></video>

    Thread Starter joaokrabbe

    (@joaokrabbe)

    Dude, I put your code in my project and works fine

    [video mp4="https://www.a-clip.de/testsite/wp-content/uploads/2013/08/think_global_build_social_Peter_Rich.mp4" autoplay="y"] [/video]

    Wheter autoplay=”y” or autoplay=”autoplay”

    Are you sure you print right the shortcode?
    What browser are you using? because some browser’s don’t play .mp4. For chrome the best format is WebM/VP8.

    See this:
    https://www.w3schools.com/html/html5_video.asp

    @joaokrabbe
    thanks for the test! I use Firefox 23 on Mac OS 10.8 and can actually play the video! It’s just the autoplay issue.
    Anyway: I put the above shortcode directly into a post/page, deactivated all plug-ins. With no difference.
    I also tested it with Chrome and Safari with the same results.

    But never mind – I use video.js instead of the MediaElement.js that WordPress uses. To my opinion it has a far better playback quality on scaled videos.

    Steve Hogan

    (@stevehoganstevehogancom)

    I tried all of the combos and found that autoplay=”1″ worked. However, on Chrome, I do not get the video controls until the video has played once. Works fine on FF. Life is never easy ??

    Am new to Wp, so bear with the questions:

    1. Cannot make the video autostart; not with Y, y, 1 or autostart. Am I missing something?

    [video width="520" height="1080" flv="https://www.pdfbooster.dk/wp-content/uploads/2013/12/11112.flv" autoplay="y"][/video]

    2. I want the video to autoplay, and then to disappear when finished – any ideas?

    Thanks in advance

    /Sven

    @slafite: If you require assistance then, as per the Forum Welcome, please post your own topic.

    @esmi: Always a good idea to read the instructions before doing something; duly noted.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘How to set autoplay on the new video shortcode on wordpress 3.6 ?’ is closed to new replies.