From 22183aaed73594b0e7998f6c015184ef9eea9f99 Mon Sep 17 00:00:00 2001 From: Arsen Turchanikov Date: Wed, 4 Dec 2019 12:57:54 +0200 Subject: [PATCH] Fix duplicated progress bars for vimeo --- video_xblock/static/vendor/js/Vimeo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video_xblock/static/vendor/js/Vimeo.js b/video_xblock/static/vendor/js/Vimeo.js index 45c81da1..8566ce6c 100644 --- a/video_xblock/static/vendor/js/Vimeo.js +++ b/video_xblock/static/vendor/js/Vimeo.js @@ -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&player_id=' + this.options_.techId); + this.iframe.setAttribute('src', this.baseUrl + this.videoId + '?api=1&controls=0&player_id=' + this.options_.techId); this.iframe.setAttribute('frameborder', '0'); this.iframe.setAttribute('scrolling', 'no'); this.iframe.setAttribute('marginWidth', '0');