Skip to content

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.

2 participants