Fixing an issue where the html5 player was not resetting properly.