Video Compression for Flash, Apple Devices and Html5