Is there an easy way to add additional players? I was able to do so by hacking the module, copying and existing module's entries and replacing the information with ones specific to the new player. Obviously this is not ideal, since it will need to be redone on every module update.

Could we have the module search for a separate file that is not included in the release, and add the players in that file, like, say additional_players.php? Maybe even add that file to the libraries/player folder.

I'm not really a coder, or I'd submit a patch for this myself. But it seems to me that separating out the player ode form the module code allows for cleaner upgrades and easier extensions... without having to add a completely new module, and know how to create installation code and all that.

Comments

PESTO3567’s picture

You can add new Players without hack the module! There's a example in the Documentation. I was able to add mediaelement.js in just a few minutes.

Anyway, i agree with you about separating out the player code form the module is a good idea. I did create another issues for this task.

Daniel.Moberly’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

Both D8 and D7 modules support adding your own players, as described by dotmagic. D8 version works through the Plugin system. I encourage anyone who has implemented their own player to contribute it back to this module in the form of a patch!