Created
August 8, 2019 08:41
-
-
Save michael-riha/f9b1ec0f0b03385887db1cceaa4d8589 to your computer and use it in GitHub Desktop.
This is an Snippet on how to change meta-data for videoJS-Adapter with Bitmovin Analytics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.getElementById('change-source').onclick = function () { | |
analytics.sourceChange({ | |
title: 'someVideoTitle', | |
videoId: 'video-1234' | |
}); | |
player.src({ | |
src: 'https://d2zihajmogu5jn.cloudfront.net/bipbop-advanced/bipbop_16x9_variant.m3u8', | |
type: 'application/x-mpegURL' | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment