• SultanSha

    (@sultanchannel)


    The latest plugin version (3.9) does behave strangely in Chrome browser. If the settings are set to “Autoplay” and when you open any page of the website (by typing address in address-bar) in Chrome music does not automatically play, but if than I click on any menu item – than page is refreshed and starts Autoplay. However if I refresh page by F5 or “Refresh” button the Autoplay doesn’t work…. In other browsers everything is fine.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Me too.

    Me three, the music can only be displayed in the setting of the site’s dashboard.
    Soundy: 3.9
    Wordpress: 4.9.7
    Browser: Chrome/Firefox/IE

    me four
    Soundy Background Music Pro (paid version!)

    It works well, but I have a problem:
    Background music different per each page, autoplay, loop (they are all loops in mp3), for 70% of pages no buttons.
    When you click on menu to select page, the music starts,
    but while go to the page through different method,
    – when you are in a page and go back
    – when you go to the site address (homepage)
    – when you refresh with F5 …
    the music doesn’t start at all.

    It seems that in last update the autoplay is connected with the menu buttons.
    How to solve?
    This gives a very poor image: WHY TO HAVE BACKGROUND MUSIC IN THIS CONDITIONS?
    when you visit the site first time (when needed the first good impact) it is silent … when you already know the site and navigate in it starts the music:
    nonsense!

    I already wrote email to the Author one week ago, but reply ZERO.
    Why?

    Thank you in advance.
    Mauro Vicariotto

    Thread Starter SultanSha

    (@sultanchannel)

    Friends, thank you for your comments and interest to my topic. Finally I have found why it work in this way in Chrome (I mean does not work properly!) as was described above.

    I found the reason on Internet.
    “Chrome’s autoplay policies will change in April of 2018 and I’m here to tell you why and how this is going to affect video playback with sound. ”

    You can read more here:
    https://developers.google.com/web/updates/2017/09/autoplay-policy-changes

    It means Chrome blocks autoplay function for audio/video itself! And to make audio autoplay “User has interacted with the domain”, so this is why audio starts to play after clicking on menu item, for example. Seems there is no solution right now. ??
    Any solution for Chrome will mean cheating with Google algorithms. Even if the author comes up with a solution for Chrome autoplay blocking, we do not know whether he will implement it (from the ethical point of view).

    But it works in IE/Mozilla still! And also could became blocked anytime.

    So the problem not in this plugin.

    On the other hand, it is very unpleasant that the author does not respond to the forum topics (even to paid users).

    SultanSha thank you for your confirmation.
    I had the same idea.
    But I’m using Video Background Pro as well and it works in autoplay:
    this makes me crazy.
    It might be that it works in iframe or embed: I will try to modify Soundy Background with some iframe trick and report here

    <!– Autoplay is allowed. –>
    <iframe src=”https://cross-origin.com/myvideo.html&#8221; allow=”autoplay”>
    <!– Autoplay and Fullscreen are allowed. –>
    <iframe src=”https://cross-origin.com/myvideo.html&#8221; allow=”autoplay; fullscreen”>

    (even if it should be coorect that the author does this job: I built all of this site, only purchased music and video to save time, and now we have to spend time and tests to solve what we have paid: unfair)

    Hi friends,
    after weeks and several reminders the plugin author DID NOT reply to our requests for solution.
    Even without solution he should have written “sorry”: but zero replies.
    This is really unfair,
    for free users he should be obliged post an alert message regarding the problem
    for pay users he should be obliged propose a solution or offer the payments back
    (of course we’d reject to refund, but this is the policy when an author receives money).

    Could not try to find a solution by myself (no time recently):
    did s/one try?
    In Google it is written “iframe allows …”

    Thread Starter SultanSha

    (@sultanchannel)

    Mauro Vicariotto, hello! Because you have paid for your special version of software may be you can try to contact author “Bertrand du Couédic” via his email [email protected] ?
    https://webartisan.ch/en/contact/

    I solved my problem by rolling back to chromium browser 60.0.3112.89

    chromium-browser –product-version

    Thread Starter SultanSha

    (@sultanchannel)

    epirozok,
    Sorry what does it mean “solved”? It could work for you in chromium browser but it doesn’t work in latest version of Chrome which is a very popular browser.

    I utilized the plugin within an implementation of a “Digital Signage Kiosk”:
    https://www.binaryemotions.com/digital-signage/raspberry-digital-signage/

    I don’t need the latest and greatest. I just need it to work and it works with an older version of the chromium browser ??

    @SultanSha,
    thanks, but I already wrote three times to the author, kindly, to advise of this problem.
    He totally ignored my mails: for this reason I’m disappointed now.
    He should have the duty to write few words to the users, instead of ignoring all.
    Unfair and not professional.

    @epirozok,
    sorry to say but you did not “solve” (!).
    What does it mean? You solved for yourself,
    but a website is for others.
    So the result of your solution should be:
    “that you can see your website working properly, but all other users not!”

    I have check with one drupal site that works ok. The difference was that the audio tag must have the autoplay=”autoplay”.

    so I change on /soundy-background-music/templates/front-end.php the line 75:

    from:
    $auto_play = ( $auto_play == 'yes' ) ? 'autoplay' : '';

    to:
    $auto_play = ( $auto_play == 'yes' ) ? 'autoplay="autoplay"' : '';

    And now works.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Autoplay not working on page refresh’ is closed to new replies.