Jump to content
Search Community

DCS autoplay video in chrome

emikey test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Anyone having issues with DCS in chrome?

 

All my banner's autoplay video is not working.

 

Even older campaigns that have successfully run in the past.

 

I hear Chrome stopped allowing autoplay video with sound. I wonder if studio/my code for auto play video is triggering that somehow.

Link to comment
Share on other sites

Here is the fix.
 

in the index.html file you need to add "muted" to the video tag.
 

<div id="video-container-0"> 
    <video muted id="video-0">

 

If you want to play video with sound when the user interacts you need to turn off muted in JS

    creative.dom.video0.vid.play();
    creative.dom.video0.vid.volume = 1.0;
    creative.dom.video0.vid.muted=false;

 

Then you need to calm down your client and properly blame Google for updating Chrome and not letting their ad platform alert their users.

  • Like 1
Link to comment
Share on other sites

Just to sum up.

 

This is an issue with Chrome and any autoplay video in any ad platform.
Chrome 66.0.3 will no longer auto play video unless its muted.

 

You need to properly mute the video (even though DCS's own template files do not do this) or else Chrome will not play the video at all.
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...