Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Carousel HTLM5 Video

Carousel HTLM5 Video

Scheduled Pinned Locked Moved General Discussion
36 Posts 10 Posters 1.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Richard
    Global Moderator
    wrote on Nov 12, 2020, 1:48 AM last edited by
    #22

    Hey @jakeclew

    Im sorry i have tried but i just cant get around Googles policy measures, they make videos muted and its very difficult to find a way to force that.

    The best i can offer is to give the user the ability to unmute if they wish:

    Adding this code to Custom <head> Content within Lay-options - Custom CSS & HTML:
    Screen Shot 2020-09-14 at 2.51.54 PM.png

    <script>
    window.laytheme.on("newpageshown", function(layoutObj, type, obj){
            
    jQuery('video').attr("controls","");
    
      });
    </script>
    

    I tried to beat Google, Google beat me - Im sorry i couldnt get there jake :(

    Best wishes
    Richard

    J 1 Reply Last reply Nov 18, 2020, 12:45 PM
    0
    • R Richard
      Nov 12, 2020, 1:48 AM

      Hey @jakeclew

      Im sorry i have tried but i just cant get around Googles policy measures, they make videos muted and its very difficult to find a way to force that.

      The best i can offer is to give the user the ability to unmute if they wish:

      Adding this code to Custom <head> Content within Lay-options - Custom CSS & HTML:
      Screen Shot 2020-09-14 at 2.51.54 PM.png

      <script>
      window.laytheme.on("newpageshown", function(layoutObj, type, obj){
              
      jQuery('video').attr("controls","");
      
        });
      </script>
      

      I tried to beat Google, Google beat me - Im sorry i couldnt get there jake :(

      Best wishes
      Richard

      J Offline
      J Offline
      jakeclew
      wrote on Nov 18, 2020, 12:45 PM last edited by
      #23

      @Richard-Keith Hey man, I don't understand though? Surely if the video can be stopped autoplaying when landing on the page. When the user clicks on the video the sound should then play?

      The problem I'm having is that I have autoplay unchecked, but when you land on the site the video's are playing automatically and I don't want that. I want the user to be able to click play which then should activate sound surely?

      Would you be able to help me with this?

      Cheers mate :)

      Best wishes

      Jale

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Richard
        Global Moderator
        wrote on Nov 23, 2020, 1:06 AM last edited by
        #24

        Dear @jakeclew

        Im having trouble with this one myself, i will forward & hopefully Armin can shed some light for us!

        Best
        Richard

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jakeclew
          wrote on Nov 23, 2020, 4:38 PM last edited by
          #25

          @Richard-Keith Thanks very much! That would be really great!

          1 Reply Last reply
          0
          • A Offline
            A Offline
            arminunruh
            Global Moderator
            wrote on Nov 25, 2020, 5:19 PM last edited by
            #26

            Hey everybody,

            true true. I need to fix this, going to work on this now

            1 Reply Last reply
            0
            • A Offline
              A Offline
              arminunruh
              Global Moderator
              wrote on Nov 26, 2020, 12:19 PM last edited by
              #27

              Hey @jakeclew

              Please update Lay Theme and the Carousel Addon.
              Now when you edit a HTML5 video in a carousel (double click it) you now have a new option: Show "Unmute/Mute" button

              Activate it and now you'll have a button that lets users activate the sound of your video!

              J 1 Reply Last reply Jan 3, 2021, 12:13 PM
              0
              • A arminunruh
                Nov 26, 2020, 12:19 PM

                Hey @jakeclew

                Please update Lay Theme and the Carousel Addon.
                Now when you edit a HTML5 video in a carousel (double click it) you now have a new option: Show "Unmute/Mute" button

                Activate it and now you'll have a button that lets users activate the sound of your video!

                J Offline
                J Offline
                jakeclew
                wrote on Jan 3, 2021, 12:13 PM last edited by
                #28

                @arminunruh Hey Armin, thank you for looking into this for us and getting it fixed, working a lot better now :) although, when I click on the sound icon to unmute the video it automatically clicks onto the next video within the carousel, could we look at that particular area within the frame being separate or brought to the front so that when the icon is clicked it stays on the same video?

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  arminunruh
                  Global Moderator
                  wrote on Jan 7, 2021, 4:47 PM last edited by
                  #29

                  oh that shouldn't happen of course!
                  lemme check

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    arminunruh
                    Global Moderator
                    wrote on Jan 7, 2021, 5:01 PM last edited by
                    #30

                    Ok i couldn't reproduce that bug.
                    I think you need to make sure you have really updated BOTH lay theme and the carousel addon.

                    If that still doesn't work:

                    can you send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      jakeclew
                      wrote on Jan 11, 2021, 4:37 PM last edited by
                      #31

                      @arminunruh Doh! My bad, thanks so much Armin, although I can't see where to update the Carousel? Hope you can help, cheers mate

                      1 Reply Last reply
                      0
                      • W Offline
                        W Offline
                        wardsnippe
                        wrote on Mar 8, 2021, 12:42 PM last edited by
                        #32

                        Hi @arminunruh, I am having trouble using the unmute button in my website (test.wardsnippe.nl). The button is not pressable in both Firefox and Safari. The video also auto plays in the carousel while I didn't check the autoplay checkbox. However the last issue is not that important to me.

                        How do I fix the unpressable issue on my mute/unmute button?

                        1 Reply Last reply
                        0
                        • RichardR Offline
                          RichardR Offline
                          Richard
                          Global Moderator
                          wrote on Mar 10, 2021, 1:13 AM last edited by
                          #33

                          Dear @wardsnippe

                          The option to Autoplay a video in the carousel is not given -
                          The video must autoplay if it's within a carousel slide.

                          • Possibly you were referring to the autoplay of the Carousel itself?

                          Testing a stand alone video in Chrome, Safari & Firefox i am able to click the Mute/unmute button.

                          If you are unable, could you first check these steps to make sure:

                          • Wordpress, Lay Theme & Laytheme's Addons are all up to date ?

                          • Any Custom CSS or JS that may interfere is temporarily removed.

                          • Any third-party plugins de-activated to see if this resolves the issue.

                          • License key not activated - (in website blank situations or button not available)

                          • If your WordPress Dashboard shows a warning "PHP Update required"
                            please update your PHP version in your webhost control panel.

                          • Additionally please take a look at https://laytheme.com/troubleshooting.html for known problems.

                          Hope this helps & talk soon :)

                          Richard

                          1 Reply Last reply
                          0
                          • willcanningW Offline
                            willcanningW Offline
                            willcanning
                            wrote on May 7, 2021, 10:40 PM last edited by
                            #34

                            Hi Richard,

                            Same problem for me:

                            https://directorslab.com/albert-moya-2

                            1 Reply Last reply
                            0
                            • willcanningW Offline
                              willcanningW Offline
                              willcanning
                              wrote on May 7, 2021, 11:01 PM last edited by
                              #35

                              Hey @wardsnippe @Richard! Fixed by positioning the button top-right. I think it was interfacing weirdly with our slide captions and numbers.

                              Code used was simply:

                              .lay-mute-unmute-button {
                              	top: 1%;
                              	right: 1%;
                              }
                              

                              Hope that helps :)

                              1 Reply Last reply
                              0
                              • RichardR Offline
                                RichardR Offline
                                Richard
                                Global Moderator
                                wrote on May 11, 2021, 4:22 AM last edited by
                                #36

                                Dear @willcanning

                                Awesome! thank you for the update 🌼You are correct, an issue with element overlap.

                                Beautiful website btw - "spacewalkers" :)


                                Best wishes
                                Richard
                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                I also code custom websites or custom Lay features.
                                💿 Email me here: 💿
                                info@laytheme.com

                                Before you post:
                                1. When using a WordPress Cache plugin, disable it or clear your cache.
                                2. Update Lay Theme and all Lay Theme Addons
                                3. Disable all Plugins
                                4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                                This often solves issues you might run into

                                When you post:
                                1. Post a link to where the problem is
                                2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                                3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                                Online Users
                                W
                                wua.frank
                                4 minutes ago
                                I
                                iinnas
                                7 minutes ago
                                R
                                rsepierre
                                19 minutes ago
                                L
                                leili
                                22 minutes ago
                                C
                                craigfeldspar
                                27 minutes ago
                                Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                                laytheme.com
                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Search