refactor
now record properly for both webkit browsers and firefox
media player improved
video render en canvas