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. Video controls on a fullscreen video background

Video controls on a fullscreen video background

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 129 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
    Roch
    wrote on Feb 21, 2024, 3:53 PM last edited by
    #1

    Hello,

    Is it possible to easily have the "unmute/mute" and "Play icon" options on a full-screen video background?

    Like on this site:
    https://erynnlamont.com/pure-beauty-original/

    Thanks in advance!

    1 Reply Last reply
    0
    • A Offline
      A Offline
      arminunruh
      Global Moderator
      wrote on Feb 22, 2024, 12:41 PM last edited by
      #2

      he put a browser height row there on that website
      inside, he/she put a video element there which is full-width
      and then used the custom css:

      Enter the custom css in "lay options" -> "custom css & html".

      .html5video video {
      height: 100vh;
      right: 0;
      top: 0;
      left: 0;
      margin: auto;
      bottom: 0;
      }

      .html5video .ph {
      background-color: black;
      height: 100vh;
      padding-bottom: 0 !important;
      }

      .lay-mute-unmute-button {
      top: 70px;
      left: 1.6vw;
      right: auto;
      bottom: auto;
      cursor: pointer;
      }

      1 Reply Last reply
      0
      • H Offline
        H Offline
        heycasm
        wrote on Feb 25, 2024, 7:46 PM last edited by
        #3

        Hi, adding to that I'd like to know if it's possible to put text on top of that full frame video? Like if I use it as the Landing Page and I want to put the Title in the middle that changes color if you click on it and then your'e on the page with all the projects.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          arminunruh
          Global Moderator
          wrote on Feb 26, 2024, 1:15 PM last edited by
          #4

          so you can just use a browser height row and that lets you put a text on top!
          https://laytheme.com/documentation/gridder-elements.html#elements-above-other-elements

          that changes color if you click on it

          you want the text to change its color when you click on it. theres no setting for this, maybe you can code it on your own? :O

          https://linuxhint.com/change-button-color-on-click-css/

          1 Reply Last reply
          0
          • R Offline
            R Offline
            Roch
            wrote on Feb 27, 2024, 5:52 AM last edited by
            #5

            Works great!
            Thanks a lot!

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

            1/5

            Feb 21, 2024, 3:53 PM


            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
            J
            johgra
            less than a minute ago
            A
            alasdair17
            17 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.
            1 out of 5
            • First post
              1/5
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search