Skip to content
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

getCurrentTime – Add fallback value when Media Element is Undefined #120

Merged
merged 1 commit into from
Dec 30, 2022

Conversation

pedrochamberlain
Copy link
Member

Summary

There's currently a faulty scenario in the getCurrentTime() method where there's an attempt to retrieve currentTime value from an undefined object returned by the current Shaka Player instance's MediaElement.

This PR fixes this scenario.

@jhonatangcavalcanti jhonatangcavalcanti merged commit a3a7551 into master Dec 30, 2022
@jhonatangcavalcanti jhonatangcavalcanti deleted the feature/fix-get-current-time branch December 30, 2022 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants