摘要 |
A media player is executed on an electronic device by implementing a runtime of a media player in a modular framework on the electronic device. The modular framework is configured to have each of multiple types of media player runtimes implemented therein and to host modules that configure any of the types of media player runtimes for respective device types. The runtime is configured for the electronic device using a module hosted by the modular framework. The module abstracts at least one resource in the electronic device available to the media player. The electronic device is prepared for execution of the media player on the electronic device, and the media player uses the resource during the execution based on configuration according to the module.
|