Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add volume control to current track #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maflorezp
Copy link

Volume it's starting in 100% (Volume value is between 0 and 1), volume sharing between all tracks

Example:

HTML

Controller
$scope.setVolume = function () {
window.localStorage.setItem('volume', $scope.volume);
MediaManager.setVolume($scope.volume / 100);
};

Volume it's starting in 100% (Volume value is between 0 and 1), volume sharing between all tracks

Example:

HTML
    <input type="range" min="0" max="100" ng-model="volume" ng-change="setVolume()" title="">

Controller
    $scope.setVolume = function () {
        window.localStorage.setItem('volume', $scope.volume);
        MediaManager.setVolume($scope.volume / 100);
    };
@arielfaur
Copy link
Owner

I am not sure I understand what you are doing. Can you explain in more detail?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants