Skip to content

Commit

Permalink
Merge pull request #811 from OpenGeoscience/chrome-66-video-testing
Browse files Browse the repository at this point in the history
Chrome 66 will only autoplay muted videos.
  • Loading branch information
manthey authored Apr 20, 2018
2 parents 0baf387 + 09ec12e commit 31cd1d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/gl-cases/quadFeatureVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ describe('geo.quadFeature video', function () {
// test playing
expect(quads.video(0).currentTime).toBe(0);
expect(quads.video(0).paused).toBe(true);
// Chome 66 added a policy that only allows autoplaying muted videos.
quads.video(0).muted = true;
quads.video(0).play();
expect(quads.video(0).paused).toBe(false);
done();
Expand Down

0 comments on commit 31cd1d2

Please sign in to comment.