Skip to content

ivorpad/mediaelement-changespeed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

MediaElementJS: Change Speed

Simplified the speed plugin to handle speed changes on click instead of a menu.

Usage

<script src="/path/to/mediaelement-and-player.js"></script>
<script src="/path/to/speedchange.js"></script>
const player = new MediaElementPlayer(
  document.querySelector("audio"), 
{
  defaultSpeed: '1.00',
  speeds: ['1.25','1.50', '2.00'],
  features: [
    [...],
    "changespeed"
  ]
});

About

Simplified the speed plugin to handle speed changes on button click instead of a menu

Resources

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors