I guess the popular way of posting videos on the web remains uploading them to YouTube or Vimeo. That ways browser and device compatibility is taken care of. WebM videos would not play on Firefox, IE, Safari for example. But I would still love to get this particular code working as I have a lot of posts containing raw MP4 and WebM links which are supposed to be rendered.