Add media element attributes

Fixes #1124.

I didn't add `volume` because it requires more complicated logic to control properly and I didn't add `paused` because to set it we need to call play() or pause() -- perhaps a mutation method is appropriate.
Merge pull request #1128 from spicyj/media-attrs

Add media element attributes