Skip to content

Commit

Permalink
Use the built-in policy in demo page per default
Browse files Browse the repository at this point in the history
  • Loading branch information
dweinber committed Oct 3, 2024
1 parent 2a1d2f7 commit d4becbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,8 @@
});
});

yospacePlayer.setPolicy(simplePolicy);
// We are using the default, built-in policy in the demo. Another policy can easily be set using this method:
// yospacePlayer.setPolicy(simplePolicy);

yospacePlayer.on('segmentplayback', function (event) {
if (event.mimeType === 'video/mp4') {
Expand Down

0 comments on commit d4becbc

Please sign in to comment.