Rotating Messages/Muting Video – Layout 3

Support Forums Gris – HTML Template Rotating Messages/Muting Video – Layout 3

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5148
    Nigel
    Participant

    Hi,

    A couple of questions for you, I have sent an email, but will post here too.

    I am using Video background with Layout 3.

    1. Rotating Messages Text – I’m trying to have the 3 messages rotate through as they do, however I only want them to rotate through once, then the 3rd message stays there. How can I go about this?

    2. Muting the Vimeo video in the background, I see there are Volume controls in the video_vimeo.js file, which is currently set at 0, fiddling around with this number I haven’t been able to mute it. How can I mute the background video?

    Look forward to a reply,

    Nigel.

    #5152
    CreaboxThemes
    Keymaster

    Hi Nigel,

    1. If you want to stop the messages rotate in the 3rd message you have to change the code in the script to this one:

      var i = 0;
          function messageRotate( index ) {
      	        var prev = ( (index == 0) ? (messageMax) : (index - 1) );
      	        var next = ( (index == messageMax) ? 0 : (index + 1 ) );
      	        
      	        if (i < 2){
      	        setTimeout ( function () {
      	            $(messageArray[prev]).fadeOut();
      	            setTimeout ( function () {
      	                $(messageArray[index]).fadeIn();
      	                setTimeout ( function () {
      	                     messageRotate(next);
      	                },2000 );
      	            },1000 );
      	        },2000 );
      	        i++;
      	    }
          }
    2. In the file video_vimeo.js, you have to change the protocol http://&#8230; to https://&#8230; in the line 15

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.