Quantcast
Channel: Questions in topic: "webgl"
Viewing all articles
Browse latest Browse all 2390

Video Player on WebGL stops working after calling the Stop() function

$
0
0
In the game I'm working on, the Video Player is used in WebGL. When the player hovers the mouse over an object a video plays. The video should stop playing when the mouse moves and resume when the mouse returns by using the **Stop()** and **Play()** functions respectively. Also, the URL changes depending on the player's action. ---------- Everything works as expected in the Unity editor but when the Stop() function is called in the WebGL build the video stops playing and I get an error saying: > The play() request was interrupted by a call to pause() ---------- Before you ask, the VideoPlayer source is already set to **URL**, *not* ***Video Clip***. ![alt text][1] Does WebGL have a problem with the Stop() function? ---------- Thanks in Advance :) [1]: /storage/temp/114194-video-player.png

Viewing all articles
Browse latest Browse all 2390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>