Start by simplifying what you're working with and stripping it down to just the tag.
http://www.w3schools.com/html5/tag_video.asp[
^]
Then build up to implementing some javascript for controls etc.
As far as the SocketException goes, it's likely that you forgot to start a local webserver, or that you're not able to access the location you've specified (firewall, maybe?).
Cheers.