Skip to content

Commit 1fbe1f0

Browse files
authored
Using Dynamic Protocol Concatination
1 parent 813fad8 commit 1fbe1f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/ProductVideo/view/frontend/web/js/load-player.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ define(['jquery', 'jquery/ui'], function ($) {
317317
if (this._loop) {
318318
additionalParams += '&loop=1';
319319
}
320-
src = 'http://player.vimeo.com/video/' +
320+
src = window.location.protocol + '//player.vimeo.com/video/' +
321321
this._code + '?api=1&player_id=vimeo' +
322322
this._code +
323323
timestamp +

0 commit comments

Comments
 (0)