Added ability to change video rate