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

ReactPlayer.canPlay() doesnt work on blobs #1023

Closed
yanivkalfa opened this issue Sep 23, 2020 · 0 comments
Closed

ReactPlayer.canPlay() doesnt work on blobs #1023

yanivkalfa opened this issue Sep 23, 2020 · 0 comments

Comments

@yanivkalfa
Copy link

yanivkalfa commented Sep 23, 2020

Current Behavior

Some files wont play as blobs but the same file through URL works fine.
ReactPlayer.canPlay() doesnt work on blobs at all

Expected Behavior

ReactPlayer.canPlay() will return correct boolean corresponding to its ability to play it or not.

Environment

For example this file cannot be played as blob - and ReactPlayer.canPlay() correctly returns false.
https://drive.google.com/file/d/1hLTu3tS7f-THwk-pOFWx1DLd9XxluTYX/view?usp=sharing

However this file plays perfectly fine and ReactPlayer.canPlay() returns false anyways.
https://drive.google.com/file/d/1dUMSV8AVtmCCPW006JrOVxEcmR7wAk-6/view?usp=sharing

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

No branches or pull requests

1 participant