Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1129513
    Rue Nel
    Moderator

    Hello There,

    This could be a bug between the lightbox and the video itself. There is no other way to do it around. I would suggest that you just have to disable the autoplay and let the users hit the play button if they wanted to see the video.

    Hope this helps.

    #1132882
    mgma
    Participant

    Thanks Rue. But that’s not do-able. I’ll have to use a different Lightbox plugin.

    I’ve seen on other posts here people using the same code you recommended for autoplay… so I figured I was just not doing something correctly. I guess… good to know it’s not me.

    Best…

    #1133033
    John Ezra
    Member

    Hi there,

    Thanks for updating the thread! Yes sometimes there are several factors that may cause things to work on one site and not on another. Hope you are able to find another suitable plugin to achieve what you want. We’ll try to assist you best we can regarding any other concerns. Have a great day!

    #1138134
    mgma
    Participant

    HI John-

    Will you pick this back up with me today please? I literally spent a couple more hours tonight trying to get this to work. ON your theme, both MP4 and youtube embeds just play over themselves when set to auoplay. Even when I add the autoplay (you code recommended here for the slef-hosting and YT codeo for theirs) it plays instantly in the back end, before I even save the page. Then on the front page too… the page loads and the video just starts playing as if no lightbox was being used.

    I’m now using your shortcode for the button and the image launching the video on these two pages…

    https://cyber-edge.com/
    https://cyber-edge.com/company-overview/

    It’s fine but adding autoplay to either of them makes the video start playing immediately in the backend, and the font end.

    I also added the Modal popupfor Visual Composer, and tried adding a Youtube embed to it… same thing. It plays immediastely when the page opens in the BACK end… before I even get a chance to edit it.

    This is a live site, so I’ll have to resurect the staging version too if we need to tear into it. But theoretically… what is your thought on this?… do you know what could be causing this? Different controls, both MP4 and YT… both doin g the dsame thing… videos immediately playing multiple times over itself… even in the back end?

    I’m really stuck here… this is an important feature, of course….a the end of a long project… I really need your help. Please give me your thoughts.

    Thank you!!

    #1138164
    mgma
    Participant
    This reply has been marked as private.
    #1138236
    Joao
    Moderator

    Hi There,

    The credentials above are not working. Please provide new one.

    Thanks

    Joao

    #1138629
    mgma
    Participant
    This reply has been marked as private.
    #1139070
    Rad
    Moderator

    Hi there,

    It’s because you’re using the same selector for all instances of your lightbox. If you wish to display 1 video per lightbox (1:1 ratio). Then you should use unique selectors for each button and lightbox.

    Example,

    <div style="text-align:center;">[button class="watch-lightbox" href="http://bigidea.pro/cyberedge/wp-content/uploads/2016/07/CyberEdge-Explainer-Video.mp4?autoplay=1" title="CyberEdge Video" lightbox_video="true"]Watch Now[lightbox selector=".watch-lightbox"][/button]</div>

    Instead of btn-lightbox, I changed it into watch-lightbox. And that means you should never use watch-lightbox on other buttons on lightbos. Make it unique.

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1127634 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>