viro
viro copied to clipboard
ViroVideo is not working In Android device
Requirements:
Please go through this checklist before opening a new issue (I Did)
- [x] Review the documentation
- [x] Search for existing issues in: viromedia/viro & ViroCommunity/viro
- [x] Use the latest ViroReact release
Environment
My environment:
- Development OS: MacBook Pro
- Device OS & Version: Android OS version 12
- Version: ViroReact ^2.23.0 and React Native 0.69.0
- Device(s): Samsung A52
Description
The App Crashes when I Render the ViroVideo Component. Otherwise, it works in ios
Reproducible Demo
- [ ] Fix the issue
Code :
import { ViroVideo } from '@viro-community/react-viro';
const Video = () => {
return (
<ViroVideo
source={require('../../../assets/video/video.mp4')}
height={0.28575 }
width={0.508}
loop={true}
position={[0, 0, 0]}
rotation={[-90, 0, 0]}
scale={[0.1, 0.1, 0]}
/>
);
};
Demo:
https://user-images.githubusercontent.com/28574987/180815566-5c297b12-f588-4ec1-aae5-33ce81a7e0cf.mp4
Thanks in advance for any help :)
hi @ibenettaleb, I'm having the same issue, I think is related to #212