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

WebView renderer and Video #973

Closed
nuthinking opened this issue Feb 7, 2017 · 7 comments
Closed

WebView renderer and Video #973

nuthinking opened this issue Feb 7, 2017 · 7 comments

Comments

@nuthinking
Copy link

Just a question? Which HTML rendered is used by RN on Windows? Edge or WebKit? Also, is a WebView still the best way to playback videos?

Thanks a lot for any info!

@rozele
Copy link
Collaborator

rozele commented Feb 7, 2017

The WebView uses the default WebView for UWP, which I assume is Edge. WebView will work for playing videos, but so will https://github.com/react-native-community/react-native-video.

@nuthinking
Copy link
Author

nuthinking commented Feb 8, 2017

Thanks @rozele Do you know if all these options support MediaSource for streaming (with random access)? https://developer.mozilla.org/en-US/docs/Web/API/MediaSource

@nuthinking
Copy link
Author

Is there basically any format/protocol that is not supported natively in React Native for windows (without WebView)? E.g. some Windows proprietary encrypted format. Thanks!

@rozele
Copy link
Collaborator

rozele commented Feb 8, 2017

@nuthinking The react-native-video component is built using MediaPlayerElement, which was introduced with Windows 10 Anniversary (10.0.14393). So, react-native-video should support anything supported by MediaPlayerElement.

@nuthinking
Copy link
Author

Thanks @rozele for all these info!

@matthargett
Copy link
Contributor

@kevinvangelder just for complete info in this issue, what did we end up doing for the video element in our RNW WPF test?

@kevinvangelder
Copy link
Contributor

We were using my branch of React Native Video. It wasn't perfect but most of the basics were in place. TheWidlarzGroup/react-native-video#385

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

4 participants