Open main menu

Ace Stream Wiki β

Changes

JavaScript Library

146 bytes removed, 12:49, 25 September 2018
no edit summary
Ace Stream JavaScript Library provides tools to embed video player on web-pages with minimum effort.
== Example of using Ace Stream JavaScript Library to embed player on the page. Guide ==
First, add javascript library on the page (inside the <head> tag):
<tt><script src="//static.acestream.net/jsapi/acestream.min.js"></script></tt>
*<tt>loadDirectUrl(url)</tt> - load by direct content URL (this can be direct link to some video file, HLS stream or link supported by Ace Stream plugins: youtube, twitch etc).
Buttons on the top of the pages show how to use different content loading methods.== Demo ==Working example demo is available [http://acestream.net/demos/embedding/index.html here]
==Additional features==