title: Control MediaPlayer volume with progressbar
body: <p>I've got 2 mediaplayer playing different sounds. I want to use ProgressBar to control MediaPlayer sound. <img src="https://i.stack.imgur.com/FB0UT.png" alt="enter image description here"></p>
  
  <p>I know how to control system sound with progress bar but it sets both mediaplayers volume to same, this is what i want:</p>
  
  <ul>
  <li>If progress bar value is 50 then set MediaPlayer1 and MediaPlayer2 volume to 50</li>
  <li>If progress bar value is 25 then set MediaPlayer1 volume to 75 and MediaPlayer2 volume to 25</li>
  <li>If progress bar value is 0 then set MediaPlayer1 volume to 100 and MediaPlayer2 volume to 0</li>
  <li>If progress bar value is 75 then set MediaPlayer1 volume to 25 and MediaPlayer2 volume to 75</li>
  <li>If progress bar value is 100 then set MediaPlayer1 volume to 0 and MediaPlayer2 volume to 100</li>
  </ul>