Coder Social home page Coder Social logo

zagoshipda / speed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from emaxsaun/speed

0.0 1.0 0.0 192 KB

This is a small JavaScript library for use with the JW Player. It creates five dock buttons on the player to control the playback rate (HTML5 mode only).

License: MIT License

speed's Introduction

JW Player Speed Control

This is a small JavaScript library for use with the JW Player. It creates five dock buttons on the player to control the playback rate (HTML5 mode only). Speeds are set to 1/4, 1/2, 1, 1.5X, 2X.

Implementation:

The file speed.js simply needs to be loaded unerneath the closing script tag for your JW Player embed. It is that simple. Like so:

<script type="text/javascript" src="speed.js"></script>

Example:

<script type="text/javascript" src="jwplayer.js"></script>
<div id="player"></div>
<script type="text/javascript">
jwplayer('player').setup({
  'width': '575',
  'height': '400',
  'file': 'video.mp4'
  'image': "video.jpg"
});
</script>
<script type="text/javascript" src="speed.js"></script>

The source code is available for this script. There is just a .js file for JavaScript. Publishing the JavaScipt can be simply done with any text editor. Enjoy~! :)

speed's People

Contributors

emaxsaun avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.