video start automatically !!!


Topic: video start automatically !!!

Igor Meli asked 6 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>

Piotr Glejzer staff commented 6 years ago

Hi, can you try this ? Add to your iframe tag , autostart="0" . Did it help? Best, Piotr

Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Open

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No