Getting Started with the Most Simple Configuration
<script src="">
</script>
And tell the player what to do, using a config object, which might look as follows:
var config = {
key : '',
source: {
dash: 'https://bitdash-a.akamaihd.net/.../f08e80da-bf1d-4e3d-8899-f0f6155f6efa.mpd'
}
}
All entries within the config object are case sensitive. The config object can have further (optional) properties. While key is a string, all others are objects. The next step is to add and setup a player. Just pass the unique id of an HTML container element (like div):
var player = bitdash('player');
player.setup(conf);
It's as simple as that! For more information about the player configuration, please have a look at the related document.