johndyer/mediaelement — Issue #326: Mediaelement should support AMD
Author: jd-boyd
Created: 2011-12-12 21:30:24+00:00
State: open

Jquery 1.7 adds support for the Asynchronous Module Definition (AMD) API ( https://github.com/amdjs/amdjs-api/wiki/AMD ). It would be great if mediaelement would also now support this. Usually the easiest, most flexible way to do this is to find the appropriate Universal Module Definition pattern from https://github.com/umdjs/umd (probably their simple jqueryPlugin template, https://github.com/umdjs/umd/blob/master/jqueryPlugin.js ), and apply it to mediaelement.

Looking through the codebase for mediaelement, it does look like this might be more involved than some simpler jquery plugins are.