Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8295261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T14:31:40+00:00 2026-06-08T14:31:40+00:00

I am using Twitter Bootstrap’s modal box to pop-up a video lightbox when a

  • 0

I am using Twitter Bootstrap’s modal box to pop-up a video lightbox when a user clicks on a video thumbnail image (example: http://seniorshomecare.harmonyapp.com/how-we-can-help, use password: shc). If possible, I would like to have the video auto-play when the lightbox pops up and auto-stop when the user closes the lightbox. There are some similar questions to this, but none of them have helped me out much.

Any help would be greatly appreciated. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T14:31:43+00:00Added an answer on June 8, 2026 at 2:31 pm

    add &autoplay=1 to the youtube video url.

    http://support.google.com/youtube/bin/answer.py?hl=en&answer=1181821


    EDIT:

    You can use the Event show to trigger a function which add the code into the modal

    $('#myModal').on('show', function () {
      $('div.modal-body').html('<iframe src="http://www.youtube.com/v/itTskyFLSS8&amp;rel=0&amp;autohide=1&amp;showinfo=0&amp;autoplay=1" width="500" height="281" frameborder="0" allowfullscreen=""></iframe>'); 
    });
    

    Demo : http://jsfiddle.net/baptme/WrrM3/

    The solution is not complete, you will have to remove the iframe when closing the modal.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Twitter's Bootstrap modal functionality . When someone clicks submit on my form,
I just started using Twitter Bootstrap http://twitter.github.com/bootstrap/scaffolding.html and I'm looking for the grey/blue navbar
I am using Twitter Bootstrap, (CSS and JS). The problem comes from the Modal
I'm trying to do an image group with fancybox (I'm also using twitter bootstrap,
I'm using twitter bootstrap modal dialog. And it works fine while only opening it
I have a modal created using Twitter Bootstrap. I want to open using javascript.
I am trying to find only new tweets using Twitter Search. For example: http://search.twitter.com/search?tag=bruins&lang=en&rpp=100&result_type=recent&since=22451745267388417
For example, www.breakingnews.com is using Twitter Bootstrap, which does a great job at this
Any modal that I am creating using twitter bootstrap fails to appear. I'm not
Using Twitter Bootstrap's bootstrap-tab.js, I have: <ul class=tabnavcenter id=myTab> <li class=active><a href=#home data-toggle=tab>about</a></li> <li><a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.