Forums | Mahara Community

Support /
Resizing embedded YouTube in blog


anonymous profile picture
Account deleted
Posts: 2

21 November 2010, 19:09

I would like to embed videos in my blog posts rather than making them an 'object' on a portfolio.Mahara supports this, but I can't get the videos to constrict to the proper dimensions on the portfolio view despite having the correct parameters in the code.

My portfolio: http://goo.gl/F90bj

You'll notice one of my videos is misbehaving and is very large despite the parameters in the code for it to be 280x235.

Any help is MUCH appreciated!! Thank you!!
-Bob

 

 

Code I'm using (provided by YouTube):

<object width="280" height="235"><param name="movie" value="http://www.youtube.com/v/O-LvCG9X3tQ?fs=1&amp;hl=en_US&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/O-LvCG9X3tQ?fs=1&amp;hl=en_US&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="280" height="235"></embed></object>

 

I have also unsuccessfully tried:

<embed src="http://www.youtube.com/v/O-LvCG9X3tQ?fs=1&amp;hl=en_US&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6" height="280"></embed>

Kristina Hoeppner's profile picture
Posts: 4717

22 November 2010, 1:16

Hello Bob,

Which video would that be? I use Firefox 3.6.12 on Mac OS 10.6, and all videos are of the same size.

BTW, if I'm in The City visiting and have tooth problems, I now know whom to contact. Wink

Cheers

Kristina

anonymous profile picture
Account deleted
Posts: 2

22 November 2010, 2:09

oh yes, I'm sorry, I've deleted the video since because it was so ugly.  This is what it looked like before and I couldn't get it to size properly.

http://goo.gl/ooP3j

And of course you're more than welcome to visit us at the UCSF Dental clinic.  707 Parnassus Ave.

3 results