• Resolved Simon Carne

    (@scarne)


    I want to open an mp4 video hosted locally without it auto-playing.

    I am creating a lightbox using the following code:

    YY

    XX is a link to an mp4 video and YY is the anchor text.

    Is there any way to stop is auto-playing? Or is there an alternative code which will achieve my aim?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Simon Carne

    (@scarne)

    Sorry, the code didn’t appear. I will try again.

    Thread Starter Simon Carne

    (@scarne)

    The code I am using is an a href=”[link to mp4 file]” with the rel attribute “wp-video-lightbox” with “?iframe=true” as a parameter in the HREF (ie as instructed at the top of page 4 of the “WP Video Lightbox Plugin Usage Guide”). I tried copying the actual code here but it doesn’t show up.

    Is there any way to stop is auto-playing? Or is there an alternative code which will achieve my aim?

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi,

    In the plugins settings, do you have the autoplay feature enabled or disabled?

    Thank you

    Thread Starter Simon Carne

    (@scarne)

    The autoplay is disabled in plugin settings.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi,

    I want to open an mp4 video hosted locally without it auto-playing.

    Are you wanting to open the video and then click on the play button. Is this correct?

    Thank you

    Thread Starter Simon Carne

    (@scarne)

    Yes, that is correct.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, I have carried out a test in my dev site using the following code. It works for me.

    <a href="https://www.youtube.com/watch?v=z75aK3JHx4M&feature=emb_title?iframe=true&width=500&height=300" rel="wp-video-lightbox[iframes]">SugarMill Gameplay</a>

    When I click on SugarMill Gameplay link, it opens up a window and allows me to click on the play button. This confirms the plugin is working.

    For testing purposes, you might want to copy and past the above code in a post and carry out a test. Let me know if it works in your site or not?

    Kind regards

    Thread Starter Simon Carne

    (@scarne)

    Thank you, but your example uses a youtube video. My question was about a locally hosted video. When I try the same thing with a locally hosted video, the lightbox opens up and the video plays straightaway.

    Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for providing more information. I have submitted a message to the developers to investigate further your issue.

    Regards

    Thread Starter Simon Carne

    (@scarne)

    Many thanks. I look forward to hearing more when the developers have responded.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Using iFrame without autoplay’ is closed to new replies.