Hi everyone. I'm having real issues getting video to playback consistently.
I am using short videos to transition between layouts in my game. The first time a video plays, performance is choppy and there is a strange glitch in Safari when it seems to repeat a flash frame at the end.
Once a video has played once however, repeat plays are buttery smooth.
The videos are very short and small and Ive tried all kinds of variations in bitrate, frame rate etc. Nothing seems to make any difference.
It appears that the 'preload' function of the videos isn't working and that they only load on play. And that for some reason first playback is poor. This seems to happen on all browsers however Safari is much worse than Chrome.
Here is a link to a small project that will demonstrate the issue:
Can anyone please tell me what I'm doing wrong and if there's a way to get better video playback performance on videos the first time they are played?
Our game uses video transitions a lot as you can see so we'd really like to get to the bottom of this if we can. All help greatly appreciated! Thanks!
(current video encoding settings are: H264 mp4 / main profile VBR 3Mbs / 1600x900 / encoding from After Effects in Adobe Media Encoder)