WIP WebM support (very broken, infinite loop)