global flag added in url comoposition

This commit is contained in:
George Berezhnoy 2017-01-12 21:04:22 +03:00
parent c759892766
commit 37d21f6287

View file

@ -74,7 +74,7 @@ videoTool.content = {
},
getHtmlWithVideoId: function (type, id) {
return videoTool.content.services[type].html.replace("<%= remote_id %>", id);
return videoTool.content.services[type].html.replace(/<\%\= remote\_id \%\>/g, id);
},
makeElementFromHtml: function(html) {