Hello friends
I want to resize a youtube video in my site.
Is it possible?
Please help.
Thanks

Recommended Answers

All 5 Replies

Hello friends
I want to resize a youtube video in my site.
Is it possible?
Please help.
Thanks

Well the basic HTML embed code looks something like

<object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/VID-ID"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/VID-ID" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object>

Replace the VID-ID parameter with the ID of your video and change the values in green to re size the player (Both the top and the bottom values need to be changed)
HTH,
Sam
P.S.
Admins: I didn't use HTML code tags because I couldn't colour them if i did =)

Member Avatar for rajarajan2017

Anyway you have to use the embed code of youtube so you can just change the width and height parameters according to your needs

Its better not to use any software for resizing video. Yes that's better to use embed code of youtube for exact size and wills.

Just go back to youtube and resize the video using the 'Embed' option.
Let me know if I can help you with any other blog related stuff.

Just change the width and height value in the embed code offered by YouTube. It's easy as ABC.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.