Results 1 to 7 of 7

Thread: embed YouTube channel?

  1. #1
    Join Date
    Jan 2009
    Location
    NH
    Posts
    364
    Thanks
    54
    Thanked 10 Times in 10 Posts

    Question embed YouTube channel?

    on the bottom of this page I tried to embed a YouTube channel based off of the code I found in the YouTube help. John helped me with the 3D flip code for that page in the past few days.

    Code:
    <script src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/youtube.xml&amp;up_channel=tenviscamera&amp;synd=open&amp;w=900&amp;h=400&amp;title=&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script>
    The code shows a 900 wide area but the embedded channel is only approx 280px wide X 340px high.

    How can I fix it so that the embedded channel takes up the 900 x 400 area?

  2. #2
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    693
    Thanks
    1
    Thanked 113 Times in 111 Posts

    Default

    Hi there mlegg,

    use this modified code...
    Code:
    
    <script src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/youtube.xml&amp;
    up_channel=tenviscamera&amp;
    synd=open&amp;
    w=280&amp;
    h=340&amp;
    title=&amp;
    border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;
    output=js">
    </script>

    coothead

  3. #3
    Join Date
    Jan 2009
    Location
    NH
    Posts
    364
    Thanks
    54
    Thanked 10 Times in 10 Posts

    Default

    I copied that code coothead, thanks. Is there a way to modify it so I can get a 900 wide? This isn't my YouTube channel, it's from the company that we sell their products

  4. #4
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    693
    Thanks
    1
    Thanked 113 Times in 111 Posts

    Default

    Hi there mlegg,

    sorry, but I misread your post.
    I thought that you wanted to resize the container to fit the content.
    There is nothing in the parameter code to do the reverse.


    coothead

  5. #5
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    693
    Thanks
    1
    Thanked 113 Times in 111 Posts

    Default

    Hi there mlegg,

    by de-constructing the code, I managed to achieve the dimensions that you desired.

    Check out the attachment, to see the fruits of my labours.

    coothead
    Attached Files Attached Files

  6. The Following User Says Thank You to coothead For This Useful Post:

    mlegg (01-31-2013)

  7. #6
    Join Date
    Jan 2009
    Location
    NH
    Posts
    364
    Thanks
    54
    Thanked 10 Times in 10 Posts

    Default

    thanks a ton!!!

  8. #7
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    693
    Thanks
    1
    Thanked 113 Times in 111 Posts

    Default


    No problem, you're very welcome.


    coothead

Similar Threads

  1. YouTube playlist embed question
    By mlegg in forum HTML
    Replies: 32
    Last Post: 10-06-2012, 08:35 PM
  2. Loading YouTube videos using the most recent YouTube embed code
    By molendijk in forum Submit a DHTML or CSS code
    Replies: 11
    Last Post: 05-29-2012, 12:04 AM
  3. How embed youtube comment in website?
    By davelf in forum HTML
    Replies: 1
    Last Post: 02-09-2012, 02:14 AM
  4. Replies: 13
    Last Post: 02-24-2011, 12:36 PM
  5. Question Regarding Embed Youtube
    By Didymus in forum Looking for such a script or service
    Replies: 1
    Last Post: 01-23-2011, 11:22 PM

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
  •