Fix and improve audio and video elements.

cc @remyzorg :)