HTML 5 is your friend!
Good tutorial here:
Everything you need to know about HTML5 video and audio - Dev.Opera
Also, try using jQuery to help.
Sorry if this is a bit vague.