Animoto Embeds
Animoto Embeds - request to resize once posted (2 posts)

  1. ops0603
    Posted 2 years ago #


    Downloaded your plug-in as I use Animoto extensively, and it works beautifully on my blog. However, I would like to increase the default size of the video that gets embedded, so how would I do that ?

    What is the additional HTML code that I need to enter along with the URL to embed a video that would be 580 px wide and 300 px high?

    Please advise, and I look forward to hearing back from you.



  2. greg--j
    Posted 2 years ago #

    To make your embedded videos automatically 580px wide just add this in your functions.php file:

    if ( ! isset( $content_width ) )
    	$content_width = 580;

    It should work, but if you need to take responsive theme into account, i'd suggest you use fitvids.js . Just add this line to your fitvids.js if you happen to use it:


    You'll notice where this line fits, so the whole part will look like this:

    return this.each(function(){
          var selectors = [

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic