Forum Replies Created

Viewing 1 replies (of 1 total)
  • 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:

    "iframe[src*='animoto.com']",

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

    return this.each(function(){
          var selectors = [
            "iframe[src*='player.vimeo.com']",
            "iframe[src*='youtube.com']",
            "iframe[src*='youtube-nocookie.com']",
            "iframe[src*='kickstarter.com'][src*='video.html']",
            "iframe[src*='animoto.com']",
            "object",
            "embed"
          ];
Viewing 1 replies (of 1 total)