add mute button to html5 video player
$("video").prop('muted', true);
$(".mute-video").click(function () {
if ($("video").prop('muted')) {
$("video").prop('muted', false);
$(this).addClass('unmute-video'); // changing icon for button
} else {
$("video").prop('muted', true);
$(this).removeClass('unmute-video'); // changing icon for button
}
console.log($("video").prop('muted'))
});
Also in HTML:
- game engine
- color de las letras en html
- html
- redirect html
- dl tag html
- html sticky touch hover
- html template page
- add link behind a button in html
- Sending HTML Code Through JSON
- There is no formatter for 'django-html' files installed.
- bootstrap position
- html create a multi-line text input
- hr tag in html
- how to write superscript in html
- html href to gmail
- jquery option selected value
- bootstrap 4 checkbox
- meta name viewport
- datatable pdfHtml5 pagesize
- whatsapp html
- html title attribute css
- bootstrap table dense
- html hide till button click
- Finding HTML Elements