I've been using this code to start a video:
I'm doing it like this so I can skip the video with a button press using a parallel event and have other events running in the background.
I'm also trying to have the video start at a specific time in its duration, but the script that I thought would do that won't work. Instead, it just starts from the beginning like it's not even there. This is the full script I'm using:
JavaScript:
Video.play("movies/something.webm");
I'm also trying to have the video start at a specific time in its duration, but the script that I thought would do that won't work. Instead, it just starts from the beginning like it's not even there. This is the full script I'm using:
JavaScript:
Video.play("movies/something.webm");
document.getElementById("gameVideo").currentTime = 5