From d72d1a8751e141110553448f0b3d2aad2389b355 Mon Sep 17 00:00:00 2001 From: Dave Farthing Date: Fri, 30 Jun 2017 08:26:31 +0100 Subject: [PATCH] Add referrerPolicy to Vimeo iframe to allow domain-restricted videos to be used --- .../Magento/ProductVideo/view/frontend/web/js/load-player.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/code/Magento/ProductVideo/view/frontend/web/js/load-player.js b/app/code/Magento/ProductVideo/view/frontend/web/js/load-player.js index f61e5ab0ee6bb..5a9f6a3eca941 100644 --- a/app/code/Magento/ProductVideo/view/frontend/web/js/load-player.js +++ b/app/code/Magento/ProductVideo/view/frontend/web/js/load-player.js @@ -332,6 +332,7 @@ define(['jquery', 'jquery/ui'], function ($) { .attr('webkitallowfullscreen', '') .attr('mozallowfullscreen', '') .attr('allowfullscreen', '') + .attr('referrerPolicy', 'origin') ); this._player = window.$f(this.element.children(':first')[0]);