-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add player method to set playback start time ahead of downloading chunks #123
Add player method to set playback start time ahead of downloading chunks #123
Conversation
@@ -168,6 +171,13 @@ shaka.player.HttpVideoSource.prototype.enableTextTrack = function(enabled) { | |||
|
|||
|
|||
/** @override */ | |||
shaka.player.HttpVideoSource.prototype.setPlaybackStartTime = | |||
function(startTime) { | |||
this.playbackStartTime_ = startTime; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Either this should be a no-op for HttpVideoSource, or this value should be used to set video.currentTime in attach().
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I've changed to a no-op.
Testing in progress... |
I'm going to try out the new CI system on you. |
All tests passed! |
Woohoo! |
Okay, I'm turning it over to Tim to finish review. |
Add player method to set playback start time ahead of downloading chunks
Thanks for taking care of this! |
The "if" fields do not need to use expression syntax (`${{ }}`), and some conditionals will be easier to read if we omit that. <!-- Please remember to: 1. Use Conventional Commits syntax (fix: ..., feat: ..., etc.) in commits and PR title (https://www.conventionalcommits.org/) 2. Tag any related or fixed issues ("Issue #123", "Closes #420") 3. Sign the Google CLA if you haven't (https://cla.developers.google.com) You may delete this comment from the PR description. -->
This release-please config file is a temporary measure until our first automated feature release from main. So we have to explicitly state the version number for this first release, and keep it up-to-date. After the release, we should be able to remove this file and let the workflow decide on version numbers automatically based on commit messages. <!-- Please remember to: 1. Use Conventional Commits syntax (fix: ..., feat: ..., etc.) in commits and PR title (https://www.conventionalcommits.org/) 2. Tag any related or fixed issues ("Issue #123", "Closes #420") 3. Sign the Google CLA if you haven't (https://cla.developers.google.com) You may delete this comment from the PR description. -->
The "if" fields do not need to use expression syntax (`${{ }}`), and some conditionals will be easier to read if we omit that. <!-- Please remember to: 1. Use Conventional Commits syntax (fix: ..., feat: ..., etc.) in commits and PR title (https://www.conventionalcommits.org/) 2. Tag any related or fixed issues ("Issue #123", "Closes #420") 3. Sign the Google CLA if you haven't (https://cla.developers.google.com) You may delete this comment from the PR description. -->
The "if" fields do not need to use expression syntax (`${{ }}`), and some conditionals will be easier to read if we omit that. <!-- Please remember to: 1. Use Conventional Commits syntax (fix: ..., feat: ..., etc.) in commits and PR title (https://www.conventionalcommits.org/) 2. Tag any related or fixed issues ("Issue #123", "Closes #420") 3. Sign the Google CLA if you haven't (https://cla.developers.google.com) You may delete this comment from the PR description. -->
6f274cb dropped a deprecated Closure build tool, but also upgraded the Closure compiler and Closure library. This introduced a failure caused by a duplicate extern in the newer compiler. This drops the now-unnecessary extern. <!-- Please remember to: 1. Use Conventional Commits syntax (fix: ..., feat: ..., etc.) in commits and PR title (https://www.conventionalcommits.org/) 2. Tag any related or fixed issues ("Issue #123", "Closes #420") 3. Sign the Google CLA if you haven't (https://cla.developers.google.com) You may delete this comment from the PR description. -->
The script for deploying the demo version index page has a function that chooses which versions to display. This script has a special mode meant for testing that shows a default list of demo versions. This mode was only supposed to trigger when run locally, but the check did not work properly, so the demo version index was deploying with a very out-of-date list of versions. This fixes that check. Closes #4074 <!-- Please remember to: 1. Use Conventional Commits syntax (fix: ..., feat: ..., etc.) in commits and PR title (https://www.conventionalcommits.org/) 2. Tag any related or fixed issues ("Issue #123", "Closes #420") 3. Sign the Google CLA if you haven't (https://cla.developers.google.com) You may delete this comment from the PR description. -->
The script for deploying the demo version index page has a function that chooses which versions to display. This script has a special mode meant for testing that shows a default list of demo versions. This mode was only supposed to trigger when run locally, but the check did not work properly, so the demo version index was deploying with a very out-of-date list of versions. This fixes that check. Closes #4074 <!-- Please remember to: 1. Use Conventional Commits syntax (fix: ..., feat: ..., etc.) in commits and PR title (https://www.conventionalcommits.org/) 2. Tag any related or fixed issues ("Issue #123", "Closes #420") 3. Sign the Google CLA if you haven't (https://cla.developers.google.com) You may delete this comment from the PR description. -->
This new configuration value allows users to determine how far the video seeks when you press the arrow keys on the video element. Closes #4245 <!-- Please remember to: 1. Use Conventional Commits syntax (fix: ..., feat: ..., etc.) in commits and PR title (https://www.conventionalcommits.org/) 2. Tag any related or fixed issues ("Issue #123", "Closes #420") 3. Sign the Google CLA if you haven't (https://cla.developers.google.com) You may delete this comment from the PR description. -->
No description provided.