Strange behavior regarding video duration
There's some strange behavior related to interactive video / video that seems to be reproducible.
Have a look at https://www.youtube.com/watch?v=fV3FkdG8k-c
- When you load it on YouTube, it briefly shows a duration of 0:32 and then changes it to 0:31. Everything else runs fine.
- If you upload the same video to an H5P system as an mp4 file, it says the duration was 0:32. Everything runs fine.
- If you embed the same video to an H5P system from YouTube, it says the duration was 0:33, but it stops at 0:32, yet displays 0:33 and leaves a small part of the slider background visible.
Other videos embedded from YouTube seem to suffer from the same problem.
I never noticed that before and I'm not sure whether it's a new issue with getDuration() from YouTube's API or a permanent issue that just has not been detected until now.