react-native-arkit icon indicating copy to clipboard operation
react-native-arkit copied to clipboard

Video

Open Tamiyadd opened this issue 6 years ago • 4 comments

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

Tamiyadd avatar May 17 '18 12:05 Tamiyadd

👍

Playing a video would be amazing.

RWOverdijk avatar Aug 10 '18 20:08 RWOverdijk

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

Jackyaung avatar Feb 01 '19 13:02 Jackyaung

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>

Jackyaung avatar Feb 01 '19 15:02 Jackyaung

<3

RWOverdijk avatar Feb 01 '19 15:02 RWOverdijk