PDA

View Full Version : embed YouTube channel?



mlegg
01-26-2013, 06:02 PM
on the bottom of this page (http://www.ipcamhd.com/indexflip.html) 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.


<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? :confused:

coothead
01-29-2013, 07:53 AM
Hi there mlegg,

use this modified 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

mlegg
01-29-2013, 04:13 PM
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

coothead
01-29-2013, 10:03 PM
Hi there mlegg,

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


coothead

coothead
01-31-2013, 06:36 PM
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. :D

coothead

mlegg
01-31-2013, 07:16 PM
thanks a ton!!!

coothead
01-31-2013, 07:40 PM
No problem, you're very welcome. ;)



coothead