Skip to content

Commit

Permalink
backporting of method updateStartTime
Browse files Browse the repository at this point in the history
  • Loading branch information
jobispo committed May 20, 2024
1 parent a53f00f commit e27e66e
Show file tree
Hide file tree
Showing 17 changed files with 605 additions and 511 deletions.
7 changes: 7 additions & 0 deletions dist/shaka-player.compiled.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,13 @@ declare namespace shaka {
* <code>detach</code>, or <code>unload</code>.
*/
unload (initializeMediaSource ? : boolean ) : Promise < any > ;
/**
* Provides a way to update the stream start position during the media loading
* process. Can for example be called from the <code>manifestparsed</code>
* event handler to update the start position based on information in the
* manifest.
*/
updateStartTime (startTime : number ) : any ;
/**
* Return whether the browser provides basic support. If this returns false,
* Shaka Player cannot be used at all. In this case, do not construct a
Expand Down
7 changes: 7 additions & 0 deletions dist/shaka-player.compiled.debug.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,13 @@ declare namespace shaka {
* <code>detach</code>, or <code>unload</code>.
*/
unload (initializeMediaSource ? : boolean ) : Promise < any > ;
/**
* Provides a way to update the stream start position during the media loading
* process. Can for example be called from the <code>manifestparsed</code>
* event handler to update the start position based on information in the
* manifest.
*/
updateStartTime (startTime : number ) : any ;
/**
* Return whether the browser provides basic support. If this returns false,
* Shaka Player cannot be used at all. In this case, do not construct a
Expand Down
8 changes: 8 additions & 0 deletions dist/shaka-player.compiled.debug.externs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2140,6 +2140,14 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
* @return {!Promise}
*/
unload(initializeMediaSource) {}
/**
* Provides a way to update the stream start position during the media loading
* process. Can for example be called from the <code>manifestparsed</code>
* event handler to update the start position based on information in the
* manifest.
* @param {number} startTime
*/
updateStartTime(startTime) {}
/**
* Tell the player to load the content at <code>assetUri</code> and start
* playback at <code>startTime</code>. Before calling <code>load</code>,
Expand Down
33 changes: 17 additions & 16 deletions dist/shaka-player.compiled.debug.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/shaka-player.compiled.debug.map

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions dist/shaka-player.compiled.externs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2140,6 +2140,14 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
* @return {!Promise}
*/
unload(initializeMediaSource) {}
/**
* Provides a way to update the stream start position during the media loading
* process. Can for example be called from the <code>manifestparsed</code>
* event handler to update the start position based on information in the
* manifest.
* @param {number} startTime
*/
updateStartTime(startTime) {}
/**
* Tell the player to load the content at <code>assetUri</code> and start
* playback at <code>startTime</code>. Before calling <code>load</code>,
Expand Down
483 changes: 242 additions & 241 deletions dist/shaka-player.compiled.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/shaka-player.compiled.map

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions dist/shaka-player.ui.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,13 @@ declare namespace shaka {
* <code>detach</code>, or <code>unload</code>.
*/
unload (initializeMediaSource ? : boolean ) : Promise < any > ;
/**
* Provides a way to update the stream start position during the media loading
* process. Can for example be called from the <code>manifestparsed</code>
* event handler to update the start position based on information in the
* manifest.
*/
updateStartTime (startTime : number ) : any ;
/**
* Return whether the browser provides basic support. If this returns false,
* Shaka Player cannot be used at all. In this case, do not construct a
Expand Down
7 changes: 7 additions & 0 deletions dist/shaka-player.ui.debug.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,13 @@ declare namespace shaka {
* <code>detach</code>, or <code>unload</code>.
*/
unload (initializeMediaSource ? : boolean ) : Promise < any > ;
/**
* Provides a way to update the stream start position during the media loading
* process. Can for example be called from the <code>manifestparsed</code>
* event handler to update the start position based on information in the
* manifest.
*/
updateStartTime (startTime : number ) : any ;
/**
* Return whether the browser provides basic support. If this returns false,
* Shaka Player cannot be used at all. In this case, do not construct a
Expand Down
8 changes: 8 additions & 0 deletions dist/shaka-player.ui.debug.externs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2247,6 +2247,14 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
* @return {!Promise}
*/
unload(initializeMediaSource) {}
/**
* Provides a way to update the stream start position during the media loading
* process. Can for example be called from the <code>manifestparsed</code>
* event handler to update the start position based on information in the
* manifest.
* @param {number} startTime
*/
updateStartTime(startTime) {}
/**
* Tell the player to load the content at <code>assetUri</code> and start
* playback at <code>startTime</code>. Before calling <code>load</code>,
Expand Down
33 changes: 17 additions & 16 deletions dist/shaka-player.ui.debug.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/shaka-player.ui.debug.map

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions dist/shaka-player.ui.externs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2247,6 +2247,14 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
* @return {!Promise}
*/
unload(initializeMediaSource) {}
/**
* Provides a way to update the stream start position during the media loading
* process. Can for example be called from the <code>manifestparsed</code>
* event handler to update the start position based on information in the
* manifest.
* @param {number} startTime
*/
updateStartTime(startTime) {}
/**
* Tell the player to load the content at <code>assetUri</code> and start
* playback at <code>startTime</code>. Before calling <code>load</code>,
Expand Down
Loading

0 comments on commit e27e66e

Please sign in to comment.