viromedia / viro

ViroReact: AR and VR using React Native
MIT License
2.31k stars 483 forks source link

VideoTexture video not stop and pause #594

Open YudizMohitS opened 5 years ago

YudizMohitS commented 5 years ago

Hay there!

I am using your lib for playing 360 videos in the portal, but if I want to stop or pause that video so how can I do it?

I am using this method to pause that video but can't help me videoTexture.pause()

Load video using

val parse = Uri.parse("http://w5.touristwise.co.uk/cms/uploads/poi/360/door1.mp4") videoTexture = VideoTexture(mViroView.viroContext, parse) videoTexture.playbackListener = this videoTexture.loop = true videoTexture.play()

I am using ViroCore 1.0 aar version.

YudizMohitS commented 5 years ago

Still same problem in Virocore 1.14 aar version