update icons for mute and unmute
This commit is contained in:
parent
48ad35555d
commit
eab1b1b4f2
15 changed files with 120 additions and 26 deletions
6
app/static/js/ascroll.js
Normal file → Executable file
6
app/static/js/ascroll.js
Normal file → Executable 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue