Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter chickspirit

    (@chickspirit)

    A couple of additional notes:

    Because I have wp-config.php DEBUG set to true I have error messages appearing at the top of the webpage.

    The double video playing happens in Chrome and Safari but not in Firefox.

    Plugin Author Leonardo Giacone

    (@leopeo)

    Hello chickspirit,
    never had such problem, I have few questions for you to understand better the situation:

    1) Which version of the plugin and WordPress are you using?

    2) When you mention “videos are playing twice”, do you mean that the same videos appears twice in the lightbox?
    How many links to the same video are in the page? SwipeBox shows the videos in the lightbox as many times as many links are found in the page.

    3) Is the html clean? are all links correctly closed? Any missing tags?

    4) Can you please copy and paste here below the errors you find at the top of the page when wp-debug is set to true?

    Thank you!

    Thread Starter chickspirit

    (@chickspirit)

    Hey Leonardo ~
    Thanks for the quick reply.

    Okay answers to your questions and some more discoveries:
    1) version 1.0.2 of the plugin. Actually deleted it then downloaded and reinstalled yesterday as one of my ways to try and fix the problem.
    Wordpress version 4.4

    2) I have two videos on this page and after reading your explanation is appears this is the problem. I had the same video in two places one serving as a placeholder. I replaced one of the videos and the same problem happened except I was now hearing the audio from the two different videos.
    So I guess my question now is. Can I not have two videos on a page? These videos are on my landing page with different sections and sometimes different videos connected to those sections.

    3) I am an amateur as far as web design goes so to the best of my knowledge I believe the code is clean.

    4) Debug errors:
    Notice: Undefined property: EasyColumns::$use_custom in /home/chickspi/public_html/wp-content/plugins/easy-columns/easy-columns.php on line 233

    Notice: Undefined variable: is_single_name in /home/chickspi/public_html/wp-content/plugins/bloom/bloom.php on line 6000

    Notice: Undefined variable: is_single_name in /home/chickspi/public_html/wp-content/plugins/bloom/bloom.php on line 6000

    Plugin Author Leonardo Giacone

    (@leopeo)

    Hi chickspirit,
    You are welcome!

    1) ok they are both up to date!

    2) there is a little workaround we can use: set different rel for the 2 links
    Here you fine an example:

    1°link
    <a href="LINKTOVIDEO" rel="group-1">YOURTEXT</a>

    2°link
    <a href="LINKTOVIDEO" rel="group-2">YOURTEXT</a>

    in this way you should see only one video each time you click on the link.
    About the auto play, how do you enable it?
    Can i have the link to your landing page?

    3) ok, no problem!

    4) these text are notices generated from 2 other plugins you are using:
    Easy colums
    Bloom

    Setting wp-debug to true they come out, nothing I can do!
    Anyway, is the lightbox working if wp-debug is set to false?
    It should work, never experienced such issue.

    Also in this case the link to the Lansing page would be useful!

    Thank you!

    Thread Starter chickspirit

    (@chickspirit)

    Hey Leonardo ~

    Thanks so much. Your workaround solved the problem of the different videos playing simultaneously.

    The lightbox was always working so no problem there.

    Referred to this page to hide the debug errors.
    http://codex.wordpress.org/Debugging_in_WordPress#WP_DEBUG_DISPLAY

    Put this in my wp-config.php so I could keep debug to true but hide the errors.

    // Disable display of errors and warnings
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );

    I’m all good. Thanks again.

    Plugin Author Leonardo Giacone

    (@leopeo)

    Hello chickspirit,
    happy to help you!

    Enjoy the weekend,
    Leonardo

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Video on autoplay playing twice at same time’ is closed to new replies.