Since YouTube can't be relied on for keeping this method the same, might I suggest that if you want to encorporate something like this, you do the following:
1) Have a server which translates a YouTube URL into the FLV URL.
2) Have your media player query your server for the FLV URL.
3) Have your media player do all the downloading with the FLV URL it got.
That way, your server is doing a simple calculation rather than some intensive process like downloading a video file, and you can change the process by which you get the FLV URL if YouTube ever decide to do that, meaning that your users won't have to reinstall your media player.
1) Have a server which translates a YouTube URL into the FLV URL.
2) Have your media player query your server for the FLV URL.
3) Have your media player do all the downloading with the FLV URL it got.
That way, your server is doing a simple calculation rather than some intensive process like downloading a video file, and you can change the process by which you get the FLV URL if YouTube ever decide to do that, meaning that your users won't have to reinstall your media player.