The problem:
You’ve got a client who wants to add video clips to their web pages. They are grabbing clips from all over the place; YouTube, Vimeo, Flickr. You’ve designed a beautiful template with space to accommodate a clip of a certain size. Your client adds an enormous, wide-screen movie and your template explodes.
The solution:
Electric Putty’s beautifully simple Media Resizer plug-in, available for both EE1.x and EE2.x. Simple wrap your output in the plug-in tag and it will resize any embedded media to the desired size. E.g.
{exp:ep_media_resizer width="550"}YOUR MEDIA EMBED CODE HERE{/exp:ep_media_resizer}Parms:
‘height’ The desired height of the media object - if not specified the new height will be calculated automatically from the desired width
‘width’ The desired width of the media object - if not specified the new width will be calculated automatically from the desired height
NOTE: If neither height or width params are set the object will be returned at its original size
Visit our new Electric Labs website for more information and to download free of charge.