mediaelement / mediaelement-plugins

Plugins for the main mediaelement project
406 stars 138 forks source link

Hint to add plugins to the "features" option #84

Closed cezzre closed 7 years ago

cezzre commented 7 years ago

I was trying to install MediaElement.js with Source Chooser and I struggled a bit before understanding that I had to add sourcechooser to the list of features.

Would be great to add a hint somewhere in the docs.

new MediaElementPlayer('#player', {
    features: ['playpause', 'current', 'progress', 'duration', 'volume', 'sourcechooser'],
});
rafa8626 commented 7 years ago

If you wanna create a PR for this, I'd be happy to review it. You might wanna add those on each of the docs as a Javascript mini snippet

rafa8626 commented 7 years ago

A snippet for each plugin has been added on the docs area. Closing this issue and please star the project to support it. Thanks