Results 1 to 1 of 1

Thread: YouTube header background Bootstrap

  1. #1
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default YouTube header background Bootstrap

    Hey all,

    I'm trying to ad a YouTube video header to my site (this is now a self-hosted file).
    I tried to use this: http://codepen.io/ccrch/pen/GgPLVW, and the result can be seen here.
    It works wonderfully, but it is not responsive. How do I add autoresize?
    Thanks.

    ------
    EDIT:

    The above has been solved. Now there's a next issue.
    I added a YouTube video header to my site.
    This is the code:
    Code:
        <div style="max-width:100%;margin:0 auto;">
          <div style="position: relative;padding-bottom: 56.25%; height: 0; overflow: hidden;">
            <iframe frameborder="0" allowfullscreen="" mute=true src="http://www.youtube.com/embed/MVqAA9_7gR4??showinfo=0&autoplay=1" style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; max-width: 100%; max-height: 100%;"></iframe>
          </div>
        </div>
    I would like to be able to mute and unmute this YouTube video, as there are more videos on the site.
    How is that possible, please?
    Thanks.

    ------
    EDIT:
    Resolved
    Last edited by chechu; 02-28-2016 at 11:24 AM.

Similar Threads

  1. Replies: 2
    Last Post: 09-12-2014, 07:35 AM
  2. CSS background header in 'top section'
    By Susie56 in forum CSS
    Replies: 2
    Last Post: 04-10-2013, 05:30 PM
  3. Replies: 2
    Last Post: 06-24-2010, 04:49 AM
  4. Accordion menu script header open background image?
    By isntworkdull in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 03-27-2010, 12:45 AM
  5. header div that needs link in background
    By soulscriber in forum CSS
    Replies: 1
    Last Post: 03-17-2007, 05:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •