URL Tube

Developer

Mark Spurlock

3rd Party (Free)

523 downloads (last 90 days)

Creative Commons Attribution Non-Commercial Download v1.5

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

Using just the URL from a YouTube or Vimeo video, this plugin can create video embeds and thumbnails, of whatever size you like, for use in your templates.

EMBEDDING VIDEO

Just use the following tag, and pass the URL of the Youtube/Vimeo video as “src”. Any valid URL format should work:

{exp:url_tube src=“http://youtu.be/nU_cOAutCcs”}

OR…

{exp:url_tube src=“http://www.youtube.com/watch?v=nU_cOAutCcs&feature=youtu.be”}

And of course you can set up a custom field to contain either of these URLs, and pull the requested video from that:

{exp:url_tube src=”{video_field}”}

You can optionally pass in width and/or height. If neither is passed, the plugin uses the Youtube default size of 560 x 315. If only one is passed, the plugin calculates the other so as to make the aspect ratio 16/9.

{exp:url_tube src=“http://youtu.be/nU_cOAutCcs” width=“585” height=“329”}

THUMBNAIL PREVIEW IMAGES

If you don’t want to embed the video itself, but only output a thumbnail image for it, you can use the thumbnail tag:

{exp:url_tube:thumbnail src=“http://youtu.be/nU_cOAutCcs” width=“585” height=“329”}

Performance Note: This tag works best with YouTube videos. With Vimeo content, using too many of these tags can hurt your page’s load time.

OTHER STUFF

This plugin supports other stuff you might want to do, like adding query-string options (e.g. autoplay=1), giving your video “id” and “class” attributes for CSS to use, and extracting the Video ID. See the full description on Github.

Download URL Tube

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.5 Jun 20, 2012

URL Tube Links

This entry was created June 21, 2012, 11:02 am.
This entry was last updated November 18, 2013, 11:53 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

3 Reviews:

Mike Mella 10.16.15

Mike Mella
Rating - {addon_rating_average}

I just needed the thumbnail feature. Glad I found this add-on.

Sneed's Feed & Seed 07.30.13

Sneed's Feed & Seed
Rating - {addon_rating_average}

Does what it says on the tin, works perfectly, great support. ‘Nuff said.

DanTreasure 03.03.13

DanTreasure
Rating - {addon_rating_average}

Exactly what I was looking for! Piece of cake to set up and works perfectly! Cheers =)