Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Stable release for SilverStripe 3.x

Compare
Choose a tag to compare
@edlinklater edlinklater released this 29 Oct 23:37
· 20 commits to master since this release
a205b94

Provides a YouTubeField for use in the CMS/ModelAdmin. It accepts input of various common YouTube URL formats and converts them for storage in database as the 11-character YouTube ID.

You can provide a key for the YouTube v3 API, which is used to display a preview (title, thumbnail, length) under the field when a valid ID has been provided.

New in this release:

  • Preview will be loaded when opening a page in the CMS that contains a YouTubeField. Previously it was only loaded when updating ID/URL in the field.
  • Local caching of JSON data from YouTube API, to avoid repeated lookups of the same data.
  • Fixed error in README (public static getCMSFields() should have been public function getCMSFields())