When using the current VideoTexture class in Away3D 4, is there a way to access & monitor the following:
1. State Changes: buffering, connectionError, etc
2. Progress Events: bytesLoaded, bytesTotal, etc
3. Time Data: playheadTime, totalTime
Also, is there a way to add an event listener to a VideoTexture so, for example, an action would only take place when the video has reached a ‘ready’ state. (such as creating a mesh only when the video has loaded enough content).
——————————
Here are a few other current issues I’m seeing with VideoTexture:
a. The current VideoTexture doesn’t loop properly. It often loops several times then, eventually, stop visually updating on the screen (despite hearing the sound)
b. When the VideoTexture autoPlay boolean is set to false, the first frame of the video should, at least, show itself (instead of just being white)
c. Online (progressive) video files do not appear to fully load into the application. The VideoTexture class seems to only load in a few seconds of content (not progressively load the entire video file). And, as there is no access to either the bytesLoaded or bytesTotal of a video file, we cannot accurately evaluate how much of the video has actually loaded.