Webm support

* Added some quick adjustments for webm support. Should allow for resizing as well.