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

Video #183

Open
Tamiyadd opened this issue May 17, 2018 · 4 comments
Open

Video #183

Tamiyadd opened this issue May 17, 2018 · 4 comments

Comments

@Tamiyadd
Copy link

Hi, it's possible to show video using SKVideoNode? how can i achieve that?
thanks

@RWOverdijk
Copy link

👍

Playing a video would be amazing.

@Jackyaung
Copy link

did you already get the way to achieve the SKVideoNode with react-native-arkit?

@Jackyaung
Copy link

Solved:
<ARKit.Sprite position={{ x: 0, y: 0.8, z: 0 }}>
<Video source={{uri:'http://192.168.2.239/storage/uploads/2018/12/10/5c0e5fe701ebcstation6-1.mp4'}}
style={{height:60,width:90}}
rate={1.0}
volume={10}
muted={false}
resizeMode={'cover'}
playWhenInactive={false}
playInBackground={false}
ignoreSilentSwitch={'ignore'}
progressUpdateInterval={250.0}
/>
</ARKit.Sprite>

@RWOverdijk
Copy link

<3

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

3 participants