mute sur l'élément dash
This commit is contained in:
parent
6a9ffd244e
commit
45a1545531
@ -206,7 +206,7 @@
|
|||||||
var video_button = document.getElementById("video-sound");
|
var video_button = document.getElementById("video-sound");
|
||||||
|
|
||||||
function masthead_video_mute(mute) {
|
function masthead_video_mute(mute) {
|
||||||
masthead_video.muted = mute;
|
player.setMute(mute);
|
||||||
if (mute) {
|
if (mute) {
|
||||||
video_button.children[0].children[0].setAttribute("xlink:href", "/vector/sprite.svg#sound-off");
|
video_button.children[0].children[0].setAttribute("xlink:href", "/vector/sprite.svg#sound-off");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user