clapper-playback-speed-electron

1.5.1 • Public • Published

clapper-playback-speed-electron

Adapted for electron

Project Url : https://github.com/lindalberto-rufino-rt7/clapper-playback-speed-electron

Plugin for Clappr

Extended from ClapprPlaybackSpeedPluginExtended

Development

For npmjs npm i clapper-playback-speed-plugin-extended open folder node_modules/clapper-playback-speed-electron

yarn install
yarn dev

Build

yarn build

Usage

You can take the js file from dist folder directly or build and copy the file

<script src="clappr.js"></script>
<script src="playback.js"></script>
<script>
new Clappr.Player({
  source: "http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4",
  poster: "https://upload.wikimedia.org/wikipedia/commons/thumb/2/28/HelloWorld.svg/512px-HelloWorld.svg.png",
  parentId: "#player",
  ...
  plugins: [PlaybackSpeedPlugin],
  playbackSpeedPluginConfig: {
          playbackSpeeds: [
            {value: 0.25, label: '0.25x'},
            {value: 0.5, label: '0.5x'},
            {value: 0.75, label: '0.75x'},
            {value: 1.0, label: 'Normal'},
            {value: 1.5, label: '1.5x'},
            {value: 2, label: '2x'},
            {value: 3, label: '3x'},
          ],
        }
});
</script>

Sample

Support

lindalberto.rufinO@rt7.com.br

This is extended version of https://github.com/Lethea/clapper-playback-speed-plugin-extended

Readme

Keywords

Package Sidebar

Install

npm i clapper-playback-speed-electron

Weekly Downloads

0

Version

1.5.1

License

MIT

Unpacked Size

2.79 MB

Total Files

18

Last publish

Collaborators

  • lindalberto.rufino