update icons for mute and unmute

This commit is contained in:
imohkay 2021-10-26 15:56:07 +05:30
commit eab1b1b4f2
15 changed files with 120 additions and 26 deletions

6
app/static/js/ascroll.js Normal file → Executable file
View file

@ -170,11 +170,11 @@ function showOverlay(event) {
overlay.style.display = 'flex'
overlay.style.alignItems = 'center'
overlay.style.justifyContent = 'center'
overlay.style.fontSize = '45px'
//overlay.style.fontSize = '45px'
video.controls = false
var off = `🔇`
var on = `🔊`
var off = `<span class="annotation-icon-wrapper animated"><span class="text f-icon-volume_off annotation-icon"></span>`
var on = `<span class="annotation-icon-wrapper"><span class="f-icon-volume_down annotation-icon"></span></span>`
if (video.muted) {
overlay.innerHTML = off