Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Get base instead of document.location.href if the tag is defined. Sho…
Browse files Browse the repository at this point in the history
…uld fix #433
  • Loading branch information
cdujeu committed Jan 31, 2014
1 parent 3766735 commit 89e5316
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/plugins/editor.video/class.VideoPreviewer.js
Expand Up @@ -87,6 +87,9 @@ preload="auto" width="#{WIDTH}" height="#{HEIGHT}" data-setup="{}">\n\
}else if(url.lastIndexOf('/') > -1){
url = url.substr(0, url.lastIndexOf('/'));
}
if($$('base').length){
url = $$("base")[0].getAttribute("href");
}

var html5proxies = $H({});
var mime = ajxpNode.getAjxpMime();
Expand Down

0 comments on commit 89e5316

Please sign in to comment.