Skip to content

Commit

Permalink
Add also DRM and Crypto player modules to enable easier testing of di…
Browse files Browse the repository at this point in the history
…fferent streams
  • Loading branch information
dweinber committed Jun 26, 2024
1 parent 21728fa commit 94af617
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@
type="text/javascript"
src="https://cdn.bitmovin.com/player/web/8/modules/bitmovinplayer-container-ts.js"
></script>
<script
type="text/javascript"
src="https://cdn.bitmovin.com/player/web/8/modules/bitmovinplayer-crypto.js"
></script>
<script type="text/javascript" src="https://cdn.bitmovin.com/player/web/8/modules/bitmovinplayer-drm.js"></script>
<script
type="text/javascript"
src="https://cdn.bitmovin.com/player/web/8/modules/bitmovinplayer-engine-native.js"
Expand Down Expand Up @@ -424,7 +429,7 @@
var truexAdFree = false;

var conf = {
key: '18ca6ad5-9768-4129-bdf6-17685e0d14d2',
key: 'YOUR-KEY',
playback: {
muted: false,
autoplay: autoplay, // Fix for Pre-roll 'blip' does not work with autoplay enabled
Expand Down Expand Up @@ -512,6 +517,8 @@
bitmovin.player.core.Player.addModule(window.bitmovin.player['abr'].default);
bitmovin.player.core.Player.addModule(window.bitmovin.player['container-ts'].default);
bitmovin.player.core.Player.addModule(window.bitmovin.player['container-mp4'].default);
bitmovin.player.core.Player.addModule(window.bitmovin.player['crypto'].default);
bitmovin.player.core.Player.addModule(window.bitmovin.player['drm'].default);
bitmovin.player.core.Player.addModule(window.bitmovin.player['engine-native'].default);

if (!yospaceConfig.disableServiceWorker) {
Expand Down
7 changes: 7 additions & 0 deletions tizen/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@
<script type="text/javascript" src="https://cdn.bitmovin.com/player/web/8/modules/bitmovinplayer-hls.js"></script>
<script type="text/javascript" src="https://cdn.bitmovin.com/player/web/8/modules/bitmovinplayer-dash.js"></script>
<script type="text/javascript" src="https://cdn.bitmovin.com/player/web/8/modules/bitmovinplayer-abr.js"></script>
<script type="text/javascript" src="https://cdn.bitmovin.com/player/web/8/modules/bitmovinplayer-drm.js"></script>
<script
type="text/javascript"
src="https://cdn.bitmovin.com/player/web/8/modules/bitmovinplayer-crypto.js"
></script>
<script
type="text/javascript"
src="https://cdn.bitmovin.com/player/web/8/modules/bitmovinplayer-container-ts.js"
Expand Down Expand Up @@ -152,6 +157,8 @@
bitmovin.player.core.Player.addModule(window.bitmovin.player['hls'].default);
bitmovin.player.core.Player.addModule(window.bitmovin.player['dash'].default);
bitmovin.player.core.Player.addModule(window.bitmovin.player['abr'].default);
bitmovin.player.core.Player.addModule(window.bitmovin.player['drm'].default);
bitmovin.player.core.Player.addModule(window.bitmovin.player['crypto'].default);
bitmovin.player.core.Player.addModule(window.bitmovin.player['container-ts'].default);
bitmovin.player.core.Player.addModule(window.bitmovin.player['container-mp4'].default);
bitmovin.player.core.Player.addModule(window.bitmovin.player['engine-native'].default);
Expand Down

0 comments on commit 94af617

Please sign in to comment.