aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2021-04-17 00:26:48 +1000
committerSam Potts <sam@potts.es>2021-04-17 00:27:07 +1000
commit8c74396459505f15459d2aac7c22a0a72a8ddf86 (patch)
tree7785d8883ee64b462433d0615fdad5d28283a3b1
parenta09d63e8f8758c76301c898dffb51c55e7c76c56 (diff)
downloadplyr-8c74396459505f15459d2aac7c22a0a72a8ddf86.tar.lz
plyr-8c74396459505f15459d2aac7c22a0a72a8ddf86.tar.xz
plyr-8c74396459505f15459d2aac7c22a0a72a8ddf86.zip
chore: linting
-rw-r--r--src/js/plugins/vimeo.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/js/plugins/vimeo.js b/src/js/plugins/vimeo.js
index 870eea68..ea001441 100644
--- a/src/js/plugins/vimeo.js
+++ b/src/js/plugins/vimeo.js
@@ -104,7 +104,10 @@ const vimeo = {
const src = format(player.config.urls.vimeo.iframe, id, params);
iframe.setAttribute('src', src);
iframe.setAttribute('allowfullscreen', '');
- iframe.setAttribute('allow', ['autoplay', 'fullscreen', 'picture-in-picture', 'encrypted-media', 'accelerometer', 'gyroscope'].join('; '));
+ iframe.setAttribute(
+ 'allow',
+ ['autoplay', 'fullscreen', 'picture-in-picture', 'encrypted-media', 'accelerometer', 'gyroscope'].join('; '),
+ );
// Set the referrer policy if required
if (!is.empty(referrerPolicy)) {