We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb620c0 commit 3395dc8Copy full SHA for 3395dc8
lib/util/cmcd_manager.js
@@ -171,6 +171,10 @@ shaka.util.CmcdManager = class {
171
* @param {number} startTimeOfLoad
172
*/
173
setStartTimeOfLoad(startTimeOfLoad) {
174
+ if (!this.config_ || !this.config_.enabled ||
175
+ this.config_.version != shaka.util.CmcdManager.Version.VERSION_2) {
176
+ return;
177
+ }
178
if (this.video_ && this.video_.autoplay) {
179
const playResult = this.video_.play();
180
if (playResult) {
0 commit comments