GithubHelp home page GithubHelp logo

aurorafossorg / rachel-web Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 4.0 783 KB

Rachel Web Player: Seamless music for your website. Supports HTML5 on MP3, Youtube, SoundCloud and RSS Playlist

Home Page: https://rwplayer.aurorafoss.org/

License: GNU General Public License v3.0

Ruby 0.54% Shell 0.50% JavaScript 87.85% CSS 9.41% HTML 1.71%
rwplayer rwp scm music-player web web-based music player web-music-player aurorafoss html5 mp3 youtube soundcloud scmplayer scm-player tumblr modern-ui customizable

rachel-web's Introduction

Rachel Web Player Build Pipeline

Introduction

Rachel Web Player is a HTML5 Music Player based on SCM Music Player. It is a free and open source web music player, that brings a seamless music experience to your website. Support Tumblr, Blogger, Weebly, Tistory and more.

  • Continous Playback Cross Pages - Seamless playback throughout your website.
  • Full Featured Control - Play, pause, next, previous, seek, shuffle, repeat mode, volume and more.
  • Custom Skins - Match your look and feel. Choose or design your own skin with CSS.
  • Dynamic Playlist - Music from various sources: MP3, SoundCloud, Youtube, RSS in HTML5.
  • Flexible UI - Dockable player on top or bottom. Playlist can be toggled.
  • Setup Wizard - Create your Rachel Web Player without any pain.

Usage

Normally you don't need to download anything to use Rachel Web Player. Just go to https://rwplayer.aurorafoss.org/ and get the script via Setup Wizard. But if you want to self host or customize the source code, you are free to do it, according to LICENSE file.

For a minimal player setup you should load player.js script into your web page:

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

To start with, place files into your server, run index.html and you will be redirected to the Setup Wizard, configured for your self hosted Rachel Web Player.

API

Rachel Web Player provides full featured control on your music. Apart from Setup Wizard, you can also control Rachel Web Player via Javascript. The script exposes RWP to global scope with the following methods.

RWP.play();

Plays the current song.

RWP.pause();

Pause the currently playing song.

RWP.previous();

Loads the previous song in playlist.

RWP.next();

Loads the next song in playlist.

RWP.queue({title:'x',url:'y'});

Queue a song title x url y to the playlist.

RWP.play({title:'x',url:'y'});

Add a song title x url y to the playlist and play it.

RWP.volume(vol);

Sets the volume. Accepts an integer vol between 0 and 100.

RWP.skin('x');

Change skin of Rachel Web Player, with x being the link to a custom skin css file.

RWP.placement(pos);

Change placement of the player bar. Accepts a string pos "top" or "bottom"

RWP.loadPlaylist('x');

Loads the specified playlist url x.

RWP.loadPlaylist([{title:'x1',url:'y1'}, {title:'x2',url:'y2'}, ...]);

Loads the specified list of songs with their title and url respectively.

RWP.repeatMode(no);

Set the repeat mode of playlist. Accepted values of no are: 0 (play playlist once), 1 (repeat playlist), 2 (repeat item).

RWP.isShuffle(x);

Set whether playback order should be shuffled. Accepts a boolean x true or false.

RWP.showPlaylist(x);

Set whether playlist is being shown. Accepts a boolean x true or false.

Credits

Rachel Web Player is made possible with these open source projects:

  • Soundmanager 2 - Javascript Sound API supporting HTML5.
  • Knockout.js - Javascript MVVM framework does data binding and dependency tracking.
  • Require.js - Javascript Module loader using AMD (Asynchronous Module Definition).
  • Underscore.js - Javascript utility library.
  • jQuery.

Want to contribute

You can fork the source code, report issues or feature request on our gitlab. Make sure you read the CODE_OF_CONDUCT.md and LICENSE files carefully.

FAQ

Why this player no longer support Flash for older browsers? Just because Adobe Flash Player doesn't meet Free Software rules and we want freedom for everyone. Also, Flash is already deprecated for almost all browsers. You can, however fork the project and make your changes.

License

GNU General Public License Version 3, 29 June 2007

  • Copyright (C) 2015 Adrian C Shum
  • Copyright (C) 2018 Aurora Free Open Source Software

rachel-web's People

Contributors

cshum avatar jeffinitelyjeff avatar ljmf00 avatar reinhart1010 avatar

Stargazers

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