I figured out a workaround to this.
Basically, I just tell the standalone player to go to some url that I control.
That URL then does an http redirect to the long complex URL that cannot be changed (which the standalone player was changing deep in its internals).
Luckily the standalone player can follow redirects and this works just fine.
Dan