updating for html5 player