2a97d7fd by oldcookie Committed by David LaPalomento

Added parsing of PRIV tags

1 parent 1811ffc3
...@@ -118,7 +118,7 @@ videojs.Hls.prototype.src = function(src) { ...@@ -118,7 +118,7 @@ videojs.Hls.prototype.src = function(src) {
118 for (i = 0; i < metadata.frames.length; i++) { 118 for (i = 0; i < metadata.frames.length; i++) {
119 frame = metadata.frames[i]; 119 frame = metadata.frames[i];
120 time = metadata.pts / 1000; 120 time = metadata.pts / 1000;
121 textTrack.addCue(new window.VTTCue(time, time, frame.value || frame.url)); 121 textTrack.addCue(new window.VTTCue(time, time, frame.value || frame.url || frame.id === 'PRIV' && String.fromCharCode.apply(null, frame.data)));
122 } 122 }
123 }); 123 });
124 })(); 124 })();
......