• I’m using the default mejs audio player and am trying to figure out how to add additional features to the media player. Mediaelement has a repository of plugins available, but I’m having trouble finding a way to actually implement any of these plugins.

    For example, I’ve tried to download the skip-back plugin dist assets and enqueue them via the wp_enqueue_scripts hook (requiring wp-mediaelement as a dependant) but it returns an error from mediaelement-migrate.js:

    error building jumpforward TypeError: n.replace is not a function

    Additionally, I’ve tried to use the mejs_settings filter hook to add in the Jump Forward as a feature, but that doesn’t seem to help or really do anything.

    add_filter('mejs_settings', function( $settings ) {
    	return array_merge( $settings, array(
    		'features' => array( 'jumpforward' )
    	) );
    } );

    The end goal is learning to add a skip-back mejs plugin onto the default media player. I’m not looking to replace this with a plugin but understand if WordPress supports this kind of customization. Any thoughts or ideas would be helpful!

    • This topic was modified 1 year, 7 months ago by Howdy_McGee.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    For example, I’ve tried to download the skip-back plugin 

    I recommend asking at that plugin’s support so its developers and support community can help you with this.

    Thread Starter Howdy_McGee

    (@howdy_mcgee)

    @t-p This is more of a WordPress question than a MediaElement question. It’s WordPresseses implementation of the library, and how its library extensions/features can be included. As far as I know, MediaElement is not under the WordPress development/support umbrella.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Mediaelement Audio Player – Additional Features’ is closed to new replies.