Support » Plugin: Animoto Embeds » Animoto Embeds – request to resize once posted
3 years, 7 months 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.
3 years, 2 months 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:
var selectors = [