-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
minimap plugin: added ability to use a customized regions plugin #1943
Conversation
… HTML5 audio tag and use it with WebAudio features.
- Put the possibility of handle audio tag with API Web Audio directly in the MediaElement backend, setting a new wavesurfer boolean parameter, 'mediaElementWebAudio', to true.
- fixed version number and switch-case
- updated changelog and added examples.
…for Region class, and moved both to plugin/regions dir - added findInDirectory function in the plugin build file, so the plugins entries can be found also if in deeper directories, recursively
# Conflicts: # CHANGES.md # src/plugin/regions/region.js
- updated the way of building plugins, in particular using parent directory name for the plugin when its name is index.js - updated versioning and comments
… plugin through a new parameter `regionsPluginName`
# Conflicts: # CHANGES.md
Hi, I think that the |
Sounds good; in a new one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
Short description of changes:
To support customized regions plugin, it was added new parameter into
minimap
plugin,regionsPluginName
, which could be setted to your custom region plugin name.Breaking in the external API:
New parameter
regionsPluginName
forminimap
plugin.showRegions
totrue
and you're using a customized regions plugin calling it with a custom name, set its name toregionsPluginName
parameterBreaking changes in the internal API:
regionsPluginName
inminimap
parametersthis.regionsPlugin
, so it can be accessed from outsideRelated Issues and other PRs:
PR #1934 #1928