Videos 1.2.4 #

  • Jun 22, 2017

Improved Embed URLs are now provided without protocol (Example: //…)

Improved The YouTube gateway now provides secure URLs for videos

Fixed Fixed a bug where Vimeo videos using custom URLs could not be found

Videos 1.2.3 #

  • Apr 07, 2017

Fixed Fixed a bug with statistics for YouTube videos.

Videos 1.2.2 #

  • Nov 11, 2016

Fixed Fixed a bug where the plugin was throwing an error when the connected YouTube account had no playlist

Videos 1.2.1 #

  • Aug 15, 2016

Added Added BaseGateway::supportsSearch()

Added Data for video gateways is now being passed to the Explorer

Improved Optimized API responses to increase Vimeo’s rate limits

Improved The video field’s preview only show plays if available

Improved Improved the Explorer to handle gateways that don’t support search

Fixed Fixed a bug where the Explorer couldn’t load more videos

Fixed Fixed a bug with video thumbnails

Videos 1.2.0 #

  • Jun 06, 2016


Added Added VideosPlugin::getDescription()

Added Added VideosPlugin::getReleaseFeedUrl()

Added Videos gateway classes can now be extended by defining a getVideosGateways() on a Craft plugin class

Improved Improved installation process

Improved Videos now has its own logs

Field Type

Fixed Fixed a bug where Browse videos... link could overlap the input's placeholder

Fixed Fixed a bug where Videos field type was not working with Quick Post widget


Added Added width and height attribute to Videos_VideoModel (only supported by the Vimeo gateway so far)

Added Videos_VideoModel now has a raw attribute which gets populated with the raw response from the gateway's API


Added Showing a lock icon to private videos in video listings

Fixed Fixed a bug where explorer modal had wrong dimensions on large screens

Improved Improved explorer modal error handling

Improved Removed unused variable $explorerNav

Back-End Dev

Added The OAuth flow can now be customized for video gateways with enableOauthFlow() which returns true by default

Fixed Fixed a bug where $explorerNav property was missing from VideosController

Fixed Fixed a bug where the plugin couldn't get the account when used with OAuth 1.0

Fixed Fixed a bug where Videos_GatewaysService::loadGateways() was trying to retrieve the token from the gateway handle instead of the oauth provider handle

Fixed Fixed a bug where YouTube gateway was complaining when stats.privacyStatus was not part of the API response

Fixed Fixed compatibility with OAuth 2.0 where getAccount() method has been replaced by getResourceOwner() for OAuth providers

Improved Gateway's extractVideoIdFromUrl(), apiCreateClient(), getEmbedFormat() methods are now public

Improved Improved VideosController::actionGetExplorerModal() error handling

Improved Moved BaseGateway::apiPerformGetRequest() to YouTube and Vimeo gateway classes

Improved Moved VideosController::actionSettings() to Videos_SettingsController::actionIndex()

Improved Moved VideosService::getExplorerNav() to VideosController::getExplorerNav()

Improved Videos Explorer now has its own controller (Videos_ExplorerController)

Improved VideosController::actionGetExplorerModal() is now always returning a json response

Improved VideosController::actionGetExplorerModal() now requires an AJAX request

Videos 1.1.39 #

  • Jan 14, 2016

Fixed Fixed namespacing bug in BaseGateway

Videos 1.1.38 #

  • Jan 13, 2016

Added Added VideosPlugin::getDocumentationUrl()

Improved Explorer's modal is now loaded through an AJAX request

Fixed Fixed videos/settings CP route

Fixed Fixed a bug where Craft elements were not initialized in the Explorer

Fixed Fixed an issue where Explorer's sidebar was not taking full height

Fixed Fixed playModal opening

Improved Improved Explorer's video preview behavior

Improved Refreshed Compressed JS files

Improved Removed Videos_RequestCriteriaModel

Improved Removed VideosHelper::log()

Improved Removed VideosService::sendRequest()

Improved Removed unused templates/_elements/videos.html

Improved Removed Videos Explorer CP section

Improved Removed Videos_PluginController

Improved Removed Videos_PluginService

Videos 1.1.37 #

  • Jan 09, 2016

Improved YouTube Favorites are now treated as a playlist for accounts created before YouTube API v3

Improved Videos is now using its own log files

Fixed Fixed a bug where YouTube was not using the largest thumbnail before resizing it, resulting in poor quality thumbnails

Improved Improved Videos install process

Improved Removed auto download/install of dependencies

Videos 1.1.36 #

  • Nov 24, 2015


Added Added support for OAuth 1.0+

Added Added support for Craft CMS 2.5

Added Added plugin icons

Improved Providers configuration URLs have changed from oauth/{handle} to oauth/providers/{handle}

Improved Renamed gateways getOAuthParams() to getOauthAuthorizationOptions()

Improved Renamed gateways getOAuthProvider() to getOauthProvider()

Improved Renamed gateways getOAuthScope() to getOauthScope()

Added Added VideosHelper

Added Added Videos_VideoModel::getDuration()

Added Added Videos_VideoModel::getGateway()

Added Added Videos_VideoModel::getThumbnail()

Added Added Videos_RequestCriteriaModel

Added Added BaseGateway


Added Added Videos_OauthController

Added Added VideosController::actionExplorer()

Added Added VideosController::actionFieldPreview()

Added Added VideosController::actionGetVideos()

Improved Moved VideosController::actionConnect() to Videos_OauthController::actionConnect()

Improved Moved VideosController::actionDisconnect() to Videos_OauthController::actionDisconnect()

Improved Removed VideosController::actionGetGatewaysWithSections()

Improved Removed VideosController::actionGetVideosFromUrl()

Improved Removed VideosController::actionLookupVideo()

Improved Removed VideosController::actionManager()


Added Added Videos_CacheService

Added Added Videos_GatewaysService

Added Added Videos_OauthService

Added Added VideosService::getExplorerNav()

Added Added VideosService::sendRequest()

Improved Moved VideosService::deleteToken() to Videos_OauthService

Improved Moved VideosService::getGateway() to Videos_GatewaysService

Improved Moved VideosService::getGateways() to Videos_GatewaysService

Improved Moved VideosService::getToken() to Videos_OauthService

Improved Moved VideosService::loadGateways() to Videos_GatewaysService

Improved Moved VideosService::saveToken() to Videos_OauthService

Improved Removed VideosService::_getVideoObjectById()

Improved Removed VideosService::_getVideoObjectByUrl()

Improved Removed VideosService::getGatewayOpts()

Improved Removed VideosService::getGatewaysWithSections()

Improved Removed VideosService::getParams()

Improved Removed VideosService::getScopes()

Improved Removed VideosService::getVideoThumbnail()


Improved Removed VideosVariable::getGateways()

Improved Removed VideosVariable::getGateway()

Improved Removed VideosVariable::getGatewayOpts()

Improved Removed VideosVariable::getToken()

Videos 1.0.31 #

  • May 16, 2015

Fixed Fixed a bug where Videos Settings section was throwing an exception if one the providers was not configured

Videos 1.0.30 #

  • May 10, 2015

Added Added Videos_PluginController

Added Added Videos_PluginService

Improved Plugin requires OAuth 0.9.70+

Improved Logging error when unable to get an account

Improved Improved plugin settings

Improved Removed unused index template

Videos 1.0.23 #

  • Mar 28, 2015

Added Added CSRF Protection support

Improved Requires OAuth 0.9.64+

Videos 1.0.22 #

  • Mar 18, 2015

Added Added AnalyticsPlugin::getRequiredPlugins()

Added Added AnalyticsPlugin::getPluginDependencies()

Added Added AnalyticsPlugin::getPluginDependency()

Added Added dependency checker to check dependencies with other plugins

Improved The plugin now requires OAuth 0.9.63 or above

Improved Changed namespaces to Dukt\Videos\App and Dukt\Videos\Gateways

Improved Moved dukt/videos external library into videos/src/Gateways

Improved Improved example templates

Improved Improved the way a token is deleted: deleting the token instead of setting it to null

Improved Removed deprecated load gateways method in VideosService

Improved Removed all use of encodedToken as it’s no longer supported by the OAuth plugin

Improved Improved the way Videos plugin is getting back to the page which initiated the connect action

Improved Improved the way the token is passed to the gateway

Improved Dukt\Videos\Gateways\YouTube\Service::getCollectionsPlaylists() now returns false if there is a problem with the API request

Improved Token providerHandle and pluginHandle are now automatically populated in token response

Fixed Fixed a bug with the manager when a YouTube account had no playlists or favorite videos

Fixed Fixed a bug where manager would crash when YouTube playlists were not found

Videos 1.0.20 #

  • Nov 06, 2014

Added Added the ability to give a class to the embed's iframe with "iframeClass" embed option

Improved Moved videos-resources external library inside the plugin

Improved Moved dukt/videos-app external library inside the plugin

Improved Removed dukt/oauth library

Improved Replaced symfony/finder by Craft's IOHelper class

Fixed Fixed a bug where video iframe wouldn't launch on SSL enabled websites

Videos 1.0.19 #

  • Sep 03, 2014

Fixed Fixed a bug where Videos was not loading for non-admin users with access to the control panel

Videos 1.0.18 #

  • Jun 26, 2014

Added Added raw attribute to Videos_VideoModel for storing raw video object from API

Added Added support for new OAuth authentication logic

Improved Updated Vimeo example to show video downloads for PRO accounts

Improved Fixed composer.json for dukt/videos

Fixed Fixed a bug where video gateways were bugging when one of their section had no children

Videos 1.0.12 #

  • Apr 18, 2014

Added Added YouTube API v3 support

Added Added Vimeo API v3 support

Added Added symfony/finder

Added Added google/apiclient

Added Play buttons now fade in when video thumbnails are hovered

Added Added a no videos message when the video list is empty

Added Added spinners when video browser is loading

Added Added spinner when thumbnails are loading

Added Added YouTube/Vimeo template examples

Added Added video duration in video listings

Added Added missing i18n translations

Added Added craft.videos.getEmbed(videoUrl, options)

Improved Improved loadGateways(), getGateways(), getGateway(), getGatewaysWithSections() methods

Improved Improved video selected state

Improved Disabled gateway sections when they don't have chlds

Improved Improved field preview video thumbnail

Improved Updated ekko-lightbox

Improved Videos variables now throw errors only when devMode is enabled

Fixed Enabled manager submit button on video selection, and disabled it when no video is selected

Fixed Fixed a bug where some api responses were cached even when enableCache set to false

Videos 0.9.10 #

  • Feb 05, 2014

Fixed Fixed a bug where thumbnail generation was looping forever, causing the server to return error 500 or nothing at all

Videos 0.9.9 #

  • Jan 31, 2014

Added Videos field type now displays a text input for quickly copy/pasting video URL

Added Videos Manager now uses KnockoutJS instead of AngularJS

Added Removed dependencies with dukt/oauth

Improved Improved field type video preview

Improved Replaced Add/Change/Remove buttons by Browse videos link

Videos 0.9.7 #

  • Dec 19, 2013

Fixed Fixed bug with $this and $wrap

Videos 0.9.6 #

  • Dec 13, 2013

Added Added support for OAuth Craft plugin

Added Added Video field Matrix support

Added Added craft.videos.getEmbed()

Added Added Dukt_videos.language JS variable

Added Added example templates

Improved Reorganized services and endpoint controller

Improved Improved translations logic

Improved Removed Guzzle dependencies

Improved Improved error handling

Fixed Fixed a bug that was preventing a video from being saved

Videos 0.9.4 #

  • Aug 02, 2013

Improved Returning embed as raw by default

Fixed Fixed bug with Videos_VideoModel->embed()

Videos 0.9.3 #

  • Jun 21, 2013

Added Added VideosService->render() for rendering custom path templates

Improved Redirect URLs

Fixed Fixed '$this' context bug in VideosService

Fixed Styles of the sidebar

Videos 0.9.2 #

  • Jun 06, 2013

Added Bringing back video search auto-complete

Improved Displaying a message when no service is set up

Improved Removed VideosVariable->serviceRecord() duplicate of VideosVariable->getService()

Improved VideosService->servicesObjects() doesn't support single service anymore

Fixed Fixed bugs with localization

Fixed Fixed bug with scrollbar

Fixed Fixed bug with Videos_SettingsController->getServiceRecord()

Fixed Bug with status color

Videos 0.9.1 #

  • Apr 23, 2013

Added Add / Remove a video as favorite

Added Endpoint information for configuration instructions

Added Renamed plugin to "Videos"

Added Load more when scrolling down

Improved Replaced VideosService->serviceSupportsRefresh() by Videos_ServiceModel->tokenExpires()

Improved Video listings

Improved Improved app size for HD

Improved Service settings

Fixed Fixed bug with public function actionRefreshServicesTokens()

Fixed Bug with Ajax requests

Fixed Bug with spinners

Videos 0.9.0 #

  • Apr 10, 2013

Added Videos for Craft CMS