Jump to content


Photo
- - - - -

DMS 2 Mute background video

video mute

  • Please log in to reply
4 replies to this topic

#1 opwolken

opwolken

    Member

  • Members

  • 22 posts
  • Framework Version:DMS 2.0
  • Country: Country Flag

Posted 07 April 2014 - 09:14 AM

Hello, 

 

Is it possible to create a mute button for the background video in DMS2? I can't figure it out... preferably with CSS, thank you.


Edited by opwolken, 07 April 2014 - 09:15 AM.


#2 batman

batman

    Bat Learning

  • Members

  • 2027 posts
  • LocationBuenos Aires, Argentina
  • Framework Version:DMS
  • Country: Country Flag

Posted 07 April 2014 - 09:35 AM

Hi @opwolken

I uploaded a video without sound on my Web, I had the same problem.

I believe that this is the only way.

:)



#3 opwolken

opwolken

    Member

  • Members

  • 22 posts
  • Framework Version:DMS 2.0
  • Country: Country Flag

Posted 07 April 2014 - 10:55 AM

Thanks for the reply @batman,

 

Have you come to any solutions to pause/play, not-repeat or other video modules of the like?



#4 jappareti

jappareti

    Newbie

  • Members

  • 2 posts
  • Framework Version:2.1.3
  • Country: Country Flag

Posted 28 May 2014 - 04:43 PM

Here's how to mute the background video. The video is played with the HTML5 video element, which has a muted attribute: http://www.w3schools...video_muted.asp

 

  1. Click on </> Custom
  2. Then Custom Scripts
  3. Paste this code:
 
<script>
jQuery(function(){
  jQuery(".bg-video").prop("muted", true);
});
</script>

  • Danny, batman and opwolken like this

#5 Danny

Danny

    Is Awesome!

  • Moderators
  • 15194 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 01 June 2014 - 12:15 PM

@jappareti thanks for sharing!







Also tagged with one or more of these keywords: video, mute