shaka-player 4.7.2 → 4.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/deps.js +1 -1
- package/dist/locales.js +31 -31
- package/dist/shaka-player.compiled.d.ts +4 -0
- package/dist/shaka-player.compiled.debug.d.ts +4 -0
- package/dist/shaka-player.compiled.debug.externs.js +5 -0
- package/dist/shaka-player.compiled.debug.js +314 -311
- package/dist/shaka-player.compiled.debug.map +3 -3
- package/dist/shaka-player.compiled.externs.js +5 -0
- package/dist/shaka-player.compiled.js +1120 -1121
- package/dist/shaka-player.compiled.map +3 -3
- package/dist/shaka-player.ui.d.ts +4 -0
- package/dist/shaka-player.ui.debug.d.ts +4 -0
- package/dist/shaka-player.ui.debug.externs.js +5 -0
- package/dist/shaka-player.ui.debug.js +339 -334
- package/dist/shaka-player.ui.debug.map +3 -3
- package/dist/shaka-player.ui.externs.js +5 -0
- package/dist/shaka-player.ui.js +1207 -1208
- package/dist/shaka-player.ui.map +3 -3
- package/lib/ads/client_side_ad.js +13 -2
- package/lib/ads/client_side_ad_manager.js +8 -5
- package/lib/cea/cea608_memory.js +1 -1
- package/lib/cea/cea_decoder.js +1 -1
- package/lib/dash/dash_parser.js +0 -1
- package/lib/hls/hls_parser.js +27 -2
- package/lib/media/media_source_engine.js +14 -9
- package/lib/media/presentation_timeline.js +11 -0
- package/lib/net/networking_utils.js +3 -1
- package/lib/offline/session_deleter.js +0 -8
- package/lib/player.js +12 -6
- package/lib/text/vtt_text_parser.js +5 -0
- package/lib/util/periods.js +284 -230
- package/package.json +1 -1
- package/ui/hidden_seek_button.js +5 -1
- package/ui/play_button.js +17 -0
- package/ui/small_play_button.js +2 -2
|
@@ -1101,6 +1101,10 @@ declare namespace shaka.media {
|
|
|
1101
1101
|
getSegmentAvailabilityStart ( ) : number ;
|
|
1102
1102
|
isInProgress ( ) : boolean ;
|
|
1103
1103
|
isLive ( ) : boolean ;
|
|
1104
|
+
/**
|
|
1105
|
+
* Returns if the presentation timeline's start time is locked.
|
|
1106
|
+
*/
|
|
1107
|
+
isStartTimeLocked ( ) : boolean ;
|
|
1104
1108
|
/**
|
|
1105
1109
|
* Lock the presentation timeline's start time. After this is called, no
|
|
1106
1110
|
* further adjustments to presentationStartTime_ will be permitted.
|
|
@@ -1101,6 +1101,10 @@ declare namespace shaka.media {
|
|
|
1101
1101
|
getSegmentAvailabilityStart ( ) : number ;
|
|
1102
1102
|
isInProgress ( ) : boolean ;
|
|
1103
1103
|
isLive ( ) : boolean ;
|
|
1104
|
+
/**
|
|
1105
|
+
* Returns if the presentation timeline's start time is locked.
|
|
1106
|
+
*/
|
|
1107
|
+
isStartTimeLocked ( ) : boolean ;
|
|
1104
1108
|
/**
|
|
1105
1109
|
* Lock the presentation timeline's start time. After this is called, no
|
|
1106
1110
|
* further adjustments to presentationStartTime_ will be permitted.
|
|
@@ -2532,6 +2532,11 @@ shaka.media.PresentationTimeline = class {
|
|
|
2532
2532
|
* windows to jump around on updates.
|
|
2533
2533
|
*/
|
|
2534
2534
|
lockStartTime() {}
|
|
2535
|
+
/**
|
|
2536
|
+
* Returns if the presentation timeline's start time is locked.
|
|
2537
|
+
* @return {boolean}
|
|
2538
|
+
*/
|
|
2539
|
+
isStartTimeLocked() {}
|
|
2535
2540
|
/**
|
|
2536
2541
|
* Gives PresentationTimeline a Stream's minimum segment start time.
|
|
2537
2542
|
* @param {number} startTime
|