Search code examples
javascripthtmlflashredraw

Javascript animation not smooth with embedded video


I have a Vimeo video on a twitter bootstrap carousel. When I click the next button on the carousel, the animation lags a lot. This is probably because the embedded flash object redraws at a slower rate. Are there any workarounds for this.


Solution

  • Add a callback to your next() action that hides the vimeo and shows a static image or something. That will keep the redrawing from including the flash container.