Based on MP4.js