update template

This commit is contained in:
rulingcom 2022-02-04 04:38:16 +00:00
parent 128d9a756d
commit 2eac1b98f0
1 changed files with 2 additions and 2 deletions

View File

@ -61,10 +61,10 @@
var $video = $self.find('video'); var $video = $self.find('video');
if ($self.hasClass('have-audio')){ if ($self.hasClass('have-audio')){
$self.removeClass('have-audio'); $self.removeClass('have-audio');
$(this).find('i.fas').attr('class','fas fa-volume-mute'); $(this).find('i.fas').attr('class','fas fa-volume-mute').attr('title','<%= I18n.t("ad_banner.unmuted") %>');
}else{ }else{
$self.addClass('have-audio'); $self.addClass('have-audio');
$(this).find('i.fas').attr('class','fas fa-volume-up'); $(this).find('i.fas').attr('class','fas fa-volume-up').attr('title','<%= I18n.t("ad_banner.muted") %>');
} }
if ($video.length>0){ if ($video.length>0){
$self.jPlayer("mute", !$self.data().jPlayer.options.muted); $self.jPlayer("mute", !$self.data().jPlayer.options.muted);