Skip to content

Commit

Permalink
Merge pull request #383 from raccoongang/GREENHOST-198-fix-bug-with-p…
Browse files Browse the repository at this point in the history
…lay-video-on-chrome

[GREENHOST-198] fix bug with play video in chrome
  • Loading branch information
arsentur authored Jan 8, 2020
2 parents fa914d0 + 745c537 commit 0ce4baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion video_xblock/static/vendor/js/Vimeo.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ THE SOFTWARE. */
this.iframe.setAttribute('id', this.options_.techId);
this.iframe.setAttribute('title', 'Vimeo Video Player');
this.iframe.setAttribute('class', 'vimeoplayer');
this.iframe.setAttribute('src', this.baseUrl + this.videoId + '?api=1&controls=0&player_id=' + this.options_.techId);
this.iframe.setAttribute('src', this.baseUrl + this.videoId + '?api=1&autoplay=0&background=1&player_id=' + this.options_.techId);
this.iframe.setAttribute('frameborder', '0');
this.iframe.setAttribute('scrolling', 'no');
this.iframe.setAttribute('marginWidth', '0');
Expand Down

0 comments on commit 0ce4baa

Please sign in to comment.