Home Forums Porto Template revolution slider issue

This topic contains 4 replies, has 2 voices, and was last updated by  Support2 1 month, 3 weeks ago. This post has been viewed 162 times

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #10027583

    alexholan
    Participant

    Hi,
    I’m having trouble with the autoplay video on this page:
    http://athomecentraloregon.com/10_index-classic-video.html

    I’ve attempted to follow the support instructions on the below forum thread.

    thank you!
    Alex


    #10027584

    Support2
    Keymaster

    Hello Alex,

    First remove the class manual from HTML:

    <div id="revolutionSlider" class="slider rev_slider" data-version="5.4.8" data-plugin-revolution-slider data-plugin-options="{'delay': 9000, 'gridwidth': 500, 'gridheight': 500, 'responsiveLevels': [4096,1200,992,500]}">

    On the video layer change the origin attribute to your domain, for example:

    data-videoattributes="version=3&enablejsapi=1&html5=1&hd=1&wmode=opaque&showinfo=0&rel=0&origin=http://www.mydomain.com;"

    If you are not in a live server yet, run the project locally (Apache) and use the origin as “localhost”:

    data-videoattributes="version=3&enablejsapi=1&html5=1&hd=1&wmode=opaque&showinfo=0&rel=0&origin=http://localhost;"

    Note that on Chrome the autoplay only will works after user has engagement with the website.
    In other browsers like firefox the autoplay should works normally.

    Please, try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


    #10027587

    alexholan
    Participant

    Hi Rodrigo. Thanks for your response. I made those edits and now the video that plays is a promo for revolution slider.

    http://athomecentraloregon.com/11_index-classic-video.html

    thanks again!
    Alex


    #10027590

    alexholan
    Participant

    Also, you stated “that on Chrome the autoplay only will works after user has engagement with the website.” Is that the case for videos without sound, as well? Thanks for all your help!


    #10027599

    Support2
    Keymaster

    Hello,

    On desktop you can autoplay videos with sound since MEI threshold has been crossed, meaning the user has previously play video with sound or user has interacted with the domain (click, tap, etc.).

    You can get more information about that here:
    https://developers.google.com/web/updates/2017/09/autoplay-policy-changes

    Kind Regards,

    Rodrigo.


Viewing 5 posts - 1 through 5 (of 5 total)