Open main menu
Ace Stream Wiki
β
Search
Changes
← Older edit
Newer edit →
JavaScript Library
88 bytes removed
,
05: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);}
console.log("init: error: " + err);
});
}
});
</nowiki></tt>
Player is created in the HTML-container with id "player".
Anton
Bureaucrats
,
Administrators
379
edits