lazy-load popup media files and switch to mediaelement.js