GithubHelp home page GithubHelp logo

hhy5277 / angular-soundmanager2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from perminder-klair/angular-soundmanager2

0.0 1.0 0.0 413 KB

SoundManager2 Music Player for AngularJs

Home Page: http://perminder-klair.github.io/angular-soundmanager2/

License: MIT License

JavaScript 98.55% HTML 1.38% CSS 0.07%

angular-soundmanager2's Introduction

AngularJs Music Player

Not maintained anymore, no interest in AngularJs, contact me if anyone wants to maintain this repo. Twitter @pinku1

Join the chat at https://gitter.im/perminder-klair/angular-soundmanager2

A music player made with SoundManager 2 API for AngularJs to play music files.

SoundManager 2 brings reliable cross-platform audio to JavaScript.

Requirements: AngularJS 1.2+

Features

* Simple to use (use of directives)
* Playlist support
* Soundcloud support
* Easy to understand and extend API

Usage:

install via bower:

bower install angular-soundmanager2

include required file:

dist/angular-soundmanager2.js

include the angularSoundManager as a dependency for your app.

angular.module('myApp', ['angularSoundManager'])

That's it -- you're done!

Advanced API documentation available here: http://perminder-klair.github.io/angular-soundmanager2/

Example demo

Take a look at files under examples directory for demo and how to create player using AngularJs directives.

Live demo

HTML5 Audio() Support

* 100% Flash-free MP3 + MP4/AAC where supported
* Compatible with Apple iPad 3.2, iPhone/iOS 4 and newer
* Fallback to Flash for MP3/MP4 support, as needed
* SM2 API is transparent; HTML5/flash switching handled internally
* HTML5 API support approximates Flash 8 API features
* Some other formats (WAV/OGG) supported via HTML5, depending on browser
* See "useHTML5Audio" property for implementation details

Why I created this

There are a couple projects similar to this out there, but none were ideal for me and none of them was using awesome API of SoundManager2.

Feel free to fork this project and amend it according to your needs. This is just an start point!

Development

Install dependencies

npm install

Run grunt to watch files to update dist

grunt

Credits:

Credit goes to Scott Schiller for his excellent SoundManager2.

License:

Licensed under the MIT license

angular-soundmanager2's People

Contributors

abrkt avatar charcolios avatar gitter-badger avatar logisticregression avatar naz avatar perminder-klair avatar pinku1 avatar

Watchers

 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.