Players are requested with the key of a video or channel and the key of the player design.
http://content.bitsontherun.com/players/KEY-PLAYER.js http://content.bitsontherun.com/players/KEY-PLAYER.html http://content.bitsontherun.com/players/KEY-PLAYER.swf
Here’s an example player, in all three variations:
And here’s how to use these three cases in your HTML code. In the location of this tag, a BOTR player will appear:
- A classname of .botrplayer on the main div element.
An 8 character code (e.g. nPripu9l) that uniquely identifies the video or channel to play. You can request it through the /players/ API Class or copy/paste it from the video or channel details page in the Dashboard.
An 8 character code (e.g. ALJ3XQCI) that uniquely identifies the player to use. It defines the skin, layout and behavior of the player that will be displayed on the page. Player keys can be requested through the /players/ API Class. You can also find them in the players details page in the Dashboard.
Bits on the Run players prefer the Adobe Flash Player for rendering the video. About 99% of all PC’s have this plugin installed. On mobile devices, the players use HTML5 to embed videos. If neither Flash nor HTML5 is supported, players render a thumbnail of the video that links to a simply download.
The domain name used for requesting a player will be propagated in the return. This means the links to assets inside the player will contain that same domain name and not content.bitsontherun.com.