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

BaptisteB

Baptiste

@Baptiste
About
Posts
68
Topics
20
Shares
0
Groups
0
Followers
1
Following
2

Posts

Recent Best Controversial

  • Fullscreen slider images flash in Safari
    BaptisteB Baptiste

    Hey @jwk and @Richard,
    I don't have any answer for that but for your info, I have had the same issue since a long time ago now, with or without CSS and on different websites. It doesn't appear each time and it's only on Safari. A solution would be nice.

    General Discussion

  • Project Thumbnails with changing backgrounds...
    BaptisteB Baptiste

    @Hayo-Gebauer DM

    General Discussion

  • Scroll on iFrame (vimeo)
    BaptisteB Baptiste

    Ok I'll answer to my own question for people who ask or have the same issue haha. If you use the iframe, using the vimeo api is, for the moment, the best way I found to solve that problem for Firefox and Chrome.

    Insert the iframe :

     <div class="iframeVimeo" style="padding:56.25% 0 0 0;position:relative;"><iframe src="yourvideocolor=ffffff&title=0&byline=0&portrait=0" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe></div>
    

    Add css to block the pointer event on that iframe :

    .iframeVimeo iframe { pointer-events: none; }
    

    And then add the JS for the api and the click on the play button :

     <script src="https://player.vimeo.com/api/player.js"></script>
    
    <script type="text/javascript">
    var player = new Vimeo.Player(document.querySelector('.iframeVimeo iframe'));
    var iframe = document.querySelector('.iframeVimeo').addEventListener('click', function() {
        player.getPaused().then(function(paused) {
            if (paused) {
                player.play();
            } else {
                player.pause();
            }
        }).catch(function(error) {
        });
    });</script>
    

    It should works ✌️

    General Discussion

  • POST THUMBNAIL
    BaptisteB Baptiste

    @pintomike
    You can add a thumbnail here :
    Lay options > Misc options

    Capture d’écran 2016-02-10 à 12.23.32.png
    B.

    General Discussion

  • Use of oEmbed for video/media implementation
    BaptisteB Baptiste

    Soundcloud and instagram will be cool.

    Feedback every youtube vimeo video embed

  • (lightbox) Close button
    BaptisteB Baptiste

    Hi Armin, do we have any options to change the close button for the lightbox addon?
    To change the cross by an other or maybe an image for exemple.
    Thanks.

    Addons button close change lightbox

  • Image Hover Add-on / Using without active link
    BaptisteB Baptiste

    @Richard, no no, no problems, I'm just curious about new features.
    I'll do it with custom code for the moment.

    Thanks anyway,

    Best.

    Addons
  • Login

  • Don't have an account? Register

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