Video Link

Developer

Click Rain

3rd Party (Free)

455 downloads (last 90 days)

MIT License Download v1.5.1

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

Add-On Type(s)

Fieldtype

Tags

Video Link is a Grid-compatible Field Type add-on for ExpressionEngine that enables easy and user-friendly embedding of user-defined YouTube and Vimeo videos.

Video Link is a Grid- and Matrix-compatible Field Type add-on for ExpressionEngine that enables easy and user-friendly embedding of user-defined YouTube and Vimeo videos.

Have you ever asked your users to input just the code of a YouTube video into an ExpressionEngine text field? Or allowed the user to paste in the entire URL of a YouTube video, but then had to parse out the code in order to do something useful? Then Video Link is what you need.

Installation

  • Copy the “system/expressionengine/third_party/videolink” folder to ExpressionEngine’s third-party add-ons directory. (e.g. /system/expressionengine/third_party/)
  • Copy the “themes/third_party/videolink” folder to ExpressionEngine’s third- party themes directory. (e.g. /themes/third_party/videolink/)
  • Log into your ExpressionEngine control panel.
  • Open the Field Types tab.
  • Click “Install” by “Video List”.

Usage

Set “Video Link” as the Field Type.

Google API Key

Starting in April 2015, Google requires an API Key in order to query YouTube
data, so this add-on needs an API Key. To get this key, follow the following
instructions.

  1. Navigate to console.developers.google.com
  2. Create a project
    • Select “Create a project…” from the “Select a project” dropdown
    • Name the project something reasonable
    • Select “Create”
  3. Enable the YouTube Data API for the project

    • Select “APIs & Auth” -> “APIs” in the sidebar
    • Select on “YouTube Data API”
    • Select on “Enable”
  4. Create an API Key

    • Select “APIs & Auth” -> Credentials” in the sidebar
    • Select “Create new Key”
    • Select “Browser Key”
    • (Optional) Enter the URL of the ExpressionEngine control pannel in the HTTP referrers for security
    • Select “Create”
  5. Add the API Key to ExpressionEngine’s config

    • Copy the new API Key
    • If you use master config, put $env_config[‘videolink:googleapikey’] = ‘your new api key’; in config.master.php
    • If you do not use master config, put $config[‘videolink:googleapikey’] = ‘your new api key’; in system/expressionengine/config/config.php

Tags

  • {your-field-name} — The entire URL that the user typed or pasted into the field.
  • {your-field-name:embed_url} — A URL that is fit for embedding. E.g. “//www.youtube.com/embed/XXXXX” or “//player.vimeo.com/video/XXXXX”
  • {your-field-name:embed} — An iframe embed. Use {your-file-name:embed width=“620”} or {your-file-name:embed width=“500” height=“380”} to include a size.
  • {your-field-name:title} — The title of the video.
  • {your-field-name:thumbnail} — The thumbnail of the video. Note: this is an ‘http:’ URL, because that is what both YouTube and Vimeo return.
  • {your-field-name:type} — returns either “youtube”, “vimeo”, or “unknown”.
  • {your-field-name:valid} — returns “yes” for YouTube and Vimeo URLs, and an empty string for unknown URLs.
  • {if your-field-name:valid}...{/if} — determine if a valid YouTube or Vimeo embed has been entered.

Pass-through Parameters

For {your-field-name:embed} and {your-field-name:embed_url}, you can pass parameters that will get added to the appropriate embedded URL. Prefix the parameter with the video service, and the parameter will be added when the URL is created.

For example, using the following tag,

{your-field-name:embed youtube:showinfo="0" vimeo:title="0" vimeo:byline="0"}

If the video is a YouTube video, it will use the URL //www.youtube.com/embed/XXXXX?rel=0&showinfo=0. If the video is a Vimeo video, it will use the URL //player.vimeo.com/video/XXXXXX?title=0&byline=0.

Note: YouTube videos default to youtube:rel=“0”, but you may override that with youtube:rel=“1”.

Consult the respective official documentation for YouTube options and Vimeo options.

Download Video Link

EE Support Downloads Add-On Version Release Date
2.7.0+ Download 1.5.1 Jun 8, 2015

Video Link Links

This entry was created October 22, 2013, 10:04 am.
This entry was last updated April 20, 2016, 11:49 am.

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.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!