DescriptionFix an issue that video is not seekable
When updating the ReadyState, HTMLMediaElement will immediately check the duration.
If at that time has_valid_metadata_ is false, we will return NaN.
So the has_valid_metadata_ has to be set before ReadyState is updated.
BUG=414499
Committed: https://crrev.com/21f1f757864d7ec360ee1c7a00a6cb31d7af1231
Cr-Commit-Position: refs/heads/master@{#294979}
Patch Set 1 #
Total comments: 2
Patch Set 2 : add comments #Messages
Total messages: 9 (2 generated)
|