Igor Meli free asked 5 years ago


Good Morning! I am a young developer and passionate about MDB. I have a problem about embedding videos in my site. When I make use of the different classes you have given on the mdb site, when I update my page, the videos automatically start. How to avoid it? Thank you That is my code <div class="row mt-5"> <div class="col-lg-6"> <div class="embed-responsive embed-responsive-16by9" style="border: 1px solid red;"> <iframe class="embed-responsive-ite " src="assets/videos/Ko-c Balancé feat Tenor (Official video).mp4" allowfullscreen></iframe> </div> <p class="blue-text font-weight-bold text-center mt-3"> Lorem ipsum dolor</p> <hr class="grey" style=" height: 1px; margin-top: -12px"> <p class="text-justify">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce elementum, nulla vel pellentesque consequat, ante nulla hendrerit arcu, ac tincidunt mauris lacus sed leo. vamus suscipit molestie vestibulum.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce elementum, nulla vel pellentesque consequat, ante nulla hendrerit arcu, ac tincidunt mauris lacus sed leo. vamus suscipit molestie vestibulum.vamus suscipit molestie vestibulum</p> </div> <div class="col-lg-6"> <div class="embed-responsive embed-responsive-16by9" style="border: 1px solid red;"> <iframe class="embed-responsive-ite" src="assets/videos/Mr Leo On se connait pas.mp4" allowfullscreen></iframe> </div> <p class="blue-text font-weight-bold text-center mt-3"> Lorem ipsum dolor</p> <hr class="grey" style=" height: 1px; margin-top: -12px"> <p class="text-justify">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce elementum, nulla vel pellentesque consequat, ante nulla hendrerit arcu, ac tincidunt mauris lacus sed leo. vamus suscipit molestie vestibulum.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce elementum, nulla vel pellentesque consequat, ante nulla hendrerit arcu, ac tincidunt mauris lacus sed leo. vamus suscipit molestie vestibulum.vamus suscipit molestie vestibulum</p> </div> </div>

Ollie Vincent pro answered 5 years ago


Hi, you could try adding autoplay="false" into your iframe code Thanks

Igor Meli free commented 5 years ago

Thank you but I made use of this code before asking my question but no solution. I wonder if my file is incomplete. What other solution can you bring? I even used : autostart="false""


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags