mediaelement / mediaelement-plugins

Plugins for the main mediaelement project
405 stars 137 forks source link

source-chooser: fix "TypeError: filter is not a function" exception #178

Open mcayland opened 4 years ago

mcayland commented 4 years ago

When clicking the source chooser button a "TypeError: filter is not a function" error message appears in the console.

This error appears to be caused by the conversion of mejs.Utils away from jQuery which used to allow mejs.Utils.siblings() to take a class selector string: the current implementation requires the second parameter to be a filter function.