Mute vidéo principale quand on ouvre une popup
This commit is contained in:
parent
ceb7ce4798
commit
a5f3ee7888
1 changed files with 2 additions and 0 deletions
|
@ -228,6 +228,7 @@
|
|||
}
|
||||
|
||||
$('#youtubeModal').on('show.bs.modal', function (event) {
|
||||
document.getElementById("masthead-video").muted = false;
|
||||
var button = $(event.relatedTarget);
|
||||
var youtube_id = button.data('youtubeid');
|
||||
var modal = $(this);
|
||||
|
@ -238,6 +239,7 @@
|
|||
});
|
||||
|
||||
$('#vimeoModal').on('show.bs.modal', function (event) {
|
||||
document.getElementById("masthead-video").muted = false;
|
||||
var button = $(event.relatedTarget);
|
||||
var vimeo_id = button.data('vimeoid');
|
||||
var modal = $(this);
|
||||
|
|
Loading…
Add table
Reference in a new issue