Player, fix a bug with playing local media
Player, properly check and form local URLs

https://github.com/piemonte/player/issues/1