Closed ichengde closed 7 years ago
maybe use iphone-inline-video in ReactVR/js/Video/VRVideoPlayer.js to resolve this.
1c46c4e will fix this issue on iPhone iOS 10+. If you want to also support iPhone iOS 10-, you may still need to use something like iphone-inline-video. Check https://facebook.github.io/react-vr/docs/video-player.html for how to write a customized video player using 3rd party libraries and hook it into React VR.
I noticed that GitHub code be updated but React VR code version of npm package is previous. How find a good way to start and debug the latest code in addition to using npm to push a package? I tried to modify package.json using Local Paths in dependencies to build React VR application, but fail in resolve modules.
@andrewimm, what would be the best way to test with latest code?
I noticed that GitHub code be updated but React VR code version of npm package is previous. How find a good way to start and debug the latest code in addition to using npm to push a package? I tried to modify package.json using Local Paths in dependencies to build React VR application, but fail in resolve modules.
8681fc1 provides the way to test main build.
talk about iOS 9.x.x version bug. It can not be used, showing a white screen. It is not the reason for playing the video. It seems to be wrong but the plan may not support iOS 9?
Fixed in 1.2.0 release.
Description
Bug: play videos, forcing the fullscreen on Safari of the iPhone
iOs 10.x.x version: It plays videos, forcing the fullscreen on Safari of the iPhone.
iOS 9.x.x version: It can not be used, showing a white screen.
I noticed that GitHub code be updated but React VR code version of npm package is previous. How find a good way to start and debug the latest code in addition to using npm to push a package? I tried to modify package.json using Local Paths in dependencies to build React VR application, but fail in resolve modules.
Is it planned to be compatible with the most non VR equipment?
Expected behavior
It makes videos playable inline on the iPhone (prevents automatic fullscreen). It uses videos as WebGL/ThreeJS textures.
Actual behavior
It plays videos, forcing the fullscreen on Safari of the iPhone.
Reproduction
a minimal example
Additional Information