Open main menu

Ace Stream Wiki β

Changes

JavaScript Library

88 bytes removed, 07:30, 16 September 2017
no edit summary
<tt><nowiki>
var playerContext = null;
AceStream.createPlayer("#player", { onLoad: function (player) { playerContext = player; playerContext.loadContentId("94c2fd8fb9bc8f2fc71a2cbe9d4b866f227a0209"); }, onError: function(err) { console.log("init: error: " + err); } });
</nowiki></tt>
Player is created in the HTML-container with id "player".