wetfish / sync

Synchronize audio and video between friends! Supports HTML5 video, YouTube, and Vimeo
26 stars 8 forks source link

added Mute and Unmute functions with a slider #52

Closed Meleeman01 closed 4 years ago

Meleeman01 commented 4 years ago

resolves #27 so I figured what I was doing wrong was not using 2-way data binding on volume data object in the component, so now I have a slider that tracks the value and sets it for the media player. while I was at it I added a small little data storage for the different mute icons and having the change() volume change the icon when it's at different levels. I think in the future we should bind the media player to the data object in the component, which should make things a bit more concise. I'll add it to the refactoring issue.