commit | 21f1f757864d7ec360ee1c7a00a6cb31d7af1231 | [log] [tgz] |
---|---|---|
author | qinmin <qinmin@chromium.org> | Tue Sep 16 02:15:48 2014 |
committer | Commit bot <commit-bot@chromium.org> | Tue Sep 16 02:19:39 2014 |
tree | 015c175ed10b33002f4389bd93bc126af74889d5 | |
parent | 3f2962f11b27ce5ad4819582264e4fdfa55e1d7e [diff] |
Fix 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 Review URL: https://codereview.chromium.org/572803002 Cr-Commit-Position: refs/heads/master@{#294979}