change URL to the one used by player itself, performance tweaks
support older browsers