Background video problem google Chrome Version 74.0.3729.157 64bits

Background video problem google Chrome Version 74.0.3729.157 64bits

Support Forums White – HTML Template Background video problem google Chrome Version 74.0.3729.157 64bits

Tagged: 

This topic contains 3 replies, has 2 voices, and was last updated by  CreaboxThemes 2 weeks, 6 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6276

    Ederson
    Participant

    The video.html page does not play the video in google chrome, just in firefox. error that occurs when you inspect the browser is:

    Uncaught (in promise) DOMException zencdn-video.js:2122

    #6277

    CreaboxThemes
    Keymaster

    Hi,

    I’m so sorry for the delay to answer.
    There are restrictions in the autoplay option in Google Chrome.
    The policy has been changed: https://developers.google.com/web/updates/2017/09/autoplay-policy-changes

    The solution to allow the autoplay is in the browser configuration: https://www.groovypost.com/howto/disable-autoplay-videos-on-sites-in-google-chrome/

    What video version do you use? I’m going to look for a possible solution.

    Regards

    #6278

    Ederson
    Participant

    Hello, I did not understand about the question which video version I use, do you refer to the javascript file being used?

    I was able to work around the problem by editing the bigVideo javascript file in the js folder.

    I edited the function BigVideo.init = function () {} in the following section

    var autoPlayString = settings.forceAutoplay? 'autoplay': '';
    
    player = $ ('<video id = "' + vidEl.substr (1) + '"' + autoPlayString + 'webkit-playsinline> </ video>');

    Was changed to:

    var autoPlayString = 'autoplay';
    
    player = $ ('<video id = "' + vidEl.substr (1) + '" muted' + autoplaylayer + 'webkit-playsinline> </ video>');

    Is there a problem with my change?
    Because when hosting my site the automatic playback of the video does not work with HTTPS.

    Video is automatically played only using HTTP.

    #6279

    CreaboxThemes
    Keymaster

    Hi,

    when I asked you about the video version, I meant to know if you use the video hosted in your server, a Youtube video, or a Vimeo video.

    Could you send me your url to check the problem please?

    Regards

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

You must be logged in to reply to this topic.