• Hello, I’m using a layerslider with the WPLMS theme (themeforest) and I want play a video into slider.
    When I choose the video and import it, the plugin generate these HTML code

    <video width=”100%” height=”100%” preload=”metadata” controls>
    <source src=”/wp-content/uploads/2015/10/Finalizado.mp4″ type=”video/mp4″>
    </video>

    this code works in PC and mobile, but I don’t want show the player, so I erased the word “controls”.

    <video width=”100%” height=”100%” preload=”metadata”>
    <source src=”/wp-content/uploads/2015/10/Finalizado.mp4″ type=”video/mp4″>
    </video>

    If I do it, the video work in PC but fail in mobile version
    Somebody know can I write this code correctly?

    URL: http://so10minutos.com.br/como-funciona/

Viewing 4 replies - 1 through 4 (of 4 total)
  • How is it failing? Does it not play, or does it not show at all? Can you add “autoplay” inside of the video tag?

    Thread Starter danisfair

    (@danisfair)

    Hi Mr. Case
    in mobile version ir possible to see all things (words, images, etc) except the video.
    In this place you can see a black screen

    did you try this

    <video width="100%" height="100%" preload="metadata" autoplay>
        <source src="/wp-content/uploads/2015/10/Finalizado.mp4" type="video/mp4">
    </video>
    Thread Starter danisfair

    (@danisfair)

    Yes. I did it.
    But did’t works
    =(

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘html in LayerSlider’ is closed to new replies.