Skip to content

Commit

Permalink
fix(docs): Added missing URL element to obtain proper permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rafa8626 committed Sep 3, 2018
1 parent b4b5cb0 commit d230422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ <h2 class="text-white mb-5">Are you ready to use it?</h2>
var form = document.getElementById('settings');

function loadMedia() {
var url = window.location.protocol + '//' + window.location.host + '/embed.html?file=' + encodeURIComponent(form.querySelector('#url').value || '');
var url = window.location.protocol + '//' + window.location.host + '/openplayer/embed.html?file=' + encodeURIComponent(form.querySelector('#url').value || '');
var ads = form.querySelector('#ads').value;
if (ads) {
url += '&ads=' + encodeURIComponent(ads);
Expand Down

0 comments on commit d230422

Please sign in to comment.