Code Monkey home page Code Monkey logo

jplayer-jukebox's Introduction

jPlayer Jukebox

jPlayer Jukebox is add-on to jPlayer that allows to play media files on the page by scanning all links and adding them to a playlist.

Demo

Demo is available at gyrocode.com/projects/jplayer-jukebox/.

Installation

Third-party hosted

  1. Include the following lines in HTML page right before the closing </head> tag.

    <!-- jQuery -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    
    <!-- jPlayer Jukebox add-on -->
    <link type="text/css" href="http://gyrocode.github.io/jplayer-jukebox/0.6.5/skin/uno/jplayer.uno.min.css" rel="stylesheet" />
    <script type="text/javascript" src="http://gyrocode.github.io/jplayer-jukebox/0.6.5/jplayer.jukebox.bundle.min.js"></script>
    
    <script type="text/javascript">
       $(document).ready(function(){
          // Initialize jPlayerJukebox
          var jpjb = new jPlayerJukebox({
             'jukeboxOptions': {
                'position': 'float-bl'
             }
          });
       });
    </script>
    

    If you are already using jQuery library on your page, you can skip the line that includes it above.

Self-hosted

  1. Follow instructions in jPlayer Quick Start Guide on how to download and install jPlayer on your server. It is recommended to upload jPlayer into a separate folder, for example /js/jplayer.

  2. Download jPlayer Jukebox add-on, unzip the ZIP file and upload the files into the same location where you have uploaded jPlayer files.

    For example, if you have uploaded jPlayer into /js/jplayer folder, then the add-on should be placed in /js/jplayer/add-on folder and Uno skin - in /js/jplayer/skin folder.

  3. Include the following lines in HTML page right before the closing </head> tag if you haven't done so already.

    <!-- jQuery -->
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    
    <!-- jPlayer Jukebox add-on -->
    <link type="text/css" href="/js/jplayer/skin/uno/jplayer.uno.min.css" rel="stylesheet" />
    <script type="text/javascript" src="/js/jplayer/jquery.jplayer.min.js"></script>
    <script type="text/javascript" src="/js/jplayer/add-on/jplayer.playlist.min.js"></script>
    <script type="text/javascript" src="/js/jplayer/add-on/jplayer.jukebox.min.js"></script>
    
    <script type="text/javascript">
       $(document).ready(function(){
          // Initialize jPlayerJukebox
          var jpjb = new jPlayerJukebox({
             'swfPath': '/js/jplayer',
             'jukeboxOptions': {
                'position': 'float-bl'
             }
          });
       });
    </script>
    

    If you have uploaded jPlayer into folder other than /js/jplayer folder, please modify the code accordingly.

    If you are already using jQuery library on your page, you can skip the line that includes it above.

Documentation

Documentation is available at gyrocode.com/projects/jplayer-jukebox/.

Feedback

Please leave your comments or suggestions here. Issues can be reported on github.com.

Known Limitations

Support for formats other than MP3 may not be available on all platforms.

Credits

Copyright

Gyrocode, gyrocode.com

License

MIT License, opensource.org/licenses/MIT

jplayer-jukebox's People

Contributors

mpryvkin avatar

Watchers

 avatar  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.