diff options
author | Sam Potts <sam@potts.es> | 2020-02-10 11:25:25 +0000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2020-02-10 11:25:25 +0000 |
commit | 0f16a018ff741eb6c12e69fa7f7b77f07492432c (patch) | |
tree | d3b837daf92727f55e495b11d6f2d01bee067dbf /demo/src | |
parent | 7ca74f48bc8d84de696c3e4a50ed4167d67ddaf5 (diff) | |
download | plyr-0f16a018ff741eb6c12e69fa7f7b77f07492432c.tar.lz plyr-0f16a018ff741eb6c12e69fa7f7b77f07492432c.tar.xz plyr-0f16a018ff741eb6c12e69fa7f7b77f07492432c.zip |
Set referrerPolicy in the demo
Diffstat (limited to 'demo/src')
-rw-r--r-- | demo/src/js/demo.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/demo/src/js/demo.js b/demo/src/js/demo.js index a2867b20..39614eeb 100644 --- a/demo/src/js/demo.js +++ b/demo/src/js/demo.js @@ -64,6 +64,10 @@ import toggleClass from './toggle-class'; 'https://cdn.plyr.io/static/demo/thumbs/240p.vtt', ], }, + vimeo: { + // Prevent Vimeo blocking plyr.io demo site + referrerPolicy: 'no-referrer', + } }); // Expose for tinkering in the console |