diff --git a/embed/core.js b/embed/core.js index c5627d45..ff9a1e19 100644 --- a/embed/core.js +++ b/embed/core.js @@ -977,6 +977,8 @@ function mistPlay(streamName,options) { return; } + options.host = options.host.replace(/\/$/,""); //remove trailing slash + options.target.setAttribute('data-loading',''); var classes = options.target.className.split(' ');