Skip to content

Commit

Permalink
Using Dynamic Protocol Concatination
Browse files Browse the repository at this point in the history
  • Loading branch information
brobie authored Dec 21, 2016
1 parent 813fad8 commit 1fbe1f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ define(['jquery', 'jquery/ui'], function ($) {
if (this._loop) {
additionalParams += '&loop=1';
}
src = 'http://player.vimeo.com/video/' +
src = window.location.protocol + '//player.vimeo.com/video/' +
this._code + '?api=1&player_id=vimeo' +
this._code +
timestamp +
Expand Down

0 comments on commit 1fbe1f0

Please sign in to comment.