Audio Only Streaming
Enables users to stream audio only content
This demo showcases how you can set up a player with audio only asset
- Works with MP4, MPEG-2 TS w/ AAC
- Use chromeless player version and customize GUI as needed
- Play, Pause, Seek, captions, Volume work as intended
setup.js
js
var conf = {
key: '<YOUR PLAYER KEY>'
};
var source = {
hls: 'https://cdn.bitmovin.com/content/assets/art-of-motion-dash-hls-progressive/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa-audio-only.m3u8',
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);