Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • daria_kas Friend
    #922832

    I have a mask over video like in the demo, and a button for play or pause.
    the button works if i embed vimeo video like so:

    <div class="video-wrapper"><button class="btn btn-play"><i class="fa fa-play"> <button class="btn btn-pause"><i class="fa fa-pause"><div class="mask">
    <iframe id="player1" width="100%" height="100%" frameborder="0" allowfullscreen="" mozallowfullscreen="" webkitallowfullscreen="" src="//player.vimeo.com/video/163974817?autoplay=1&loop=1&title=0&byline=0&portrait=0&api=1&player_id=player1">

    but not on youtube video :

    <div class="video-wrapper"><button class="btn btn-play"><i class="fa fa-play"> <button class="btn btn-pause"><i class="fa fa-pause"><div class="mask">
    <iframe id="player1" width="100%" height="100%" frameborder="0" allowfullscreen="" mozallowfullscreen="" webkitallowfullscreen="" src="https://www.youtube.com/embed/1rp_65VkU_k?autoplay=1&loop=1&title=0&byline=0&portrait=0&api=1&player_id=player1" >

    when embedding youtube as above, the video is playing behind the mask, the button on top shows but cannot be clicked. the video just plays without stopping. same code for vimeo works just fine. I really need to use youtube though. please help.

    Ninja Lead Moderator
    #923234

    Hi,

    By default the video on JA Nuevo template only supports vimeo and not youtube, if you want to run with youtube, maybe you can follow the user guide for reference here and find Replace with youtube video? section

    Regards

    daria_kas Friend
    #929422

    HI, I have another question. How can I make the megamenu transparent? thank you very much

    Ninja Lead Moderator
    #929749

    HI, I have another question. How can I make the megamenu transparent? thank you very much

    This way will help you to make a custom the megamenu to transparent

    Create templates/ja_nuevo/css/custom.css file and add new rule

    .navbar-nav > li > .dropdown-menu, .navbar-nav > li.open > .dropdown-menu {
        background: transparent;
    }
Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Ninja Lead 8 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum