Skip to content

knightfox1337/AngularVolumeModule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

AngularVolumeModule

This project was developed to provide a volume bar from a html5 audio source. This is still in development and will be updated in due course.

How to use

The directive allows you to ajdust in various features such as:

  • Bar Colour (default #00CCFF) [bar-color]
  • Audio Source (required) [audio-source]
  • Bar Spacing (default 1) [bar-spacing]
  • Bar Amount (default 100) [bar-amount]

Required js

    $scope.audio = new Audio(); // var that holds html5 audio
	$scope.audio.src="adrenaline.mp3"; //attach source (mp3 file)

Element

    <volume-Module audio-source="audio"></volume-Module>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published