Chromeless Player
This demo shows how the player can work without an UI
demo.js
js
var conf = {
key: '<YOUR PLAYER KEY>',
playback: {
autoplay: true,
muted: true
},
ui: false
};
var source = {
dash: 'https://cdn.bitmovin.com/content/assets/art-of-motion-dash-hls-progressive/mpds/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd',
hls: 'https://cdn.bitmovin.com/content/assets/art-of-motion-dash-hls-progressive/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8',
progressive: 'https://cdn.bitmovin.com/content/assets/art-of-motion-dash-hls-progressive/MI201109210084_mpeg-4_hd_high_1080p25_10mbits.mp4',
poster: 'https://cdn.bitmovin.com/content/assets/art-of-motion-dash-hls-progressive/poster.jpg'
};
var playerContainer = document.getElementById('player-container');
var player = new bitmovin.player.Player(playerContainer, conf);
player.load(source);
The player has been setup to autoplay to illustrate that it is fully functional without an UI.
- The UI is open source, highly customizable and completely separated
- It is possible to completely disable the UI through the config
- The player can entirely be controlled with the API
- You can also create your own UI