video playback optimizations