Problem Description
After using the Video.SetPlaybackTime method with the video object, the following error occurs:
Javascript error
Uncaught InvalidStateError: Failed to set the "CurrentTime" property on "HTMLMediaElement": The element's
readyState is HAVE_NOTHING, line 686 (col 3)
If this method is not used, the video object works fine and plays the video within my game.
Attach a Capx
Not needed
Description of Capx
N/A
Steps to Reproduce Bug
- Use the SetPlaybackTime method with the video object
Observed Result
Javascript error displayed (see error in first part of this template). Error doesn't occur if
the video.setplaybacktime method is removed from the code (video plays normally after
using video.play method).
Expected Result
Video should play back faster than normal (video lasts 2 minutes, but set playback time to 15 seconds for testing purposes)
Affected Browsers
- Chrome: (YES)
- FireFox: (Not Tested)
- Internet Explorer: (YES)
Operating System and Service Pack
Windows 7 Professional, latest service pack
Construct 2 Version ID
Construct 2, Release 178 (64 bit)
OpenGL information: Rendering with OpenGL 4.4.0, with NVidia GTX 770 card (using latest NVidia driver, ver 340.52)