Forums | Mahara Community
Support
/
Resizing embedded YouTube in blog
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&hl=en_US&rel=0&color1=0x2b405b&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&hl=en_US&rel=0&color1=0x2b405b&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&hl=en_US&rel=0&color1=0x2b405b&color2=0x6b8ab6" height="280"></embed>
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.
Cheers
Kristina
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.
And of course you're more than welcome to visit us at the UCSF Dental clinic. 707 Parnassus Ave.