History: Module last_youtube_playlist_videos
Source of version: 6 (current)
Copy to clipboard
{syntax type="markdown" editor="wysiwyg"} # {{page}} {DIV(float=right,width="200px")}{BOX()} {DIV(style='text-align: center')}Related Topics{DIV} - ((PluginYouTube)) - ((Modules)){BOX}{DIV} "It displays a playlist of videos from youtube" ## Usage {CODE(caption="Module")} {MODULE(module=last_youtube_playlist_videos, id=yourplaylistid, dev_key=your_youtube_api_key)} {MODULE} {CODE} ## Parameters {PLUGINMANAGER(module=last_youtube_playlist_videos) /} ### YouTube API Key You need to have a Google YouTube API Key v3 by the time of this writing (2018). In short, thant requires that you have a Google account to access the Google API Console, request an API key, register your application, create a project, create credentials, and make sure the status is ON for the YouTube Data API v3. See: https://developers.google.com/youtube/v3/getting-started In addition, since ((Tiki19))+, you need to install the external package google/apiclient through the ((Packages)) Control Panel. ## Example This code: {CODE()} {module module="last_youtube_playlist_videos" id="PLM2ch5TKp0OdwhnWPhNHOZqTnZGzuR3DF" dev_key="AIzaSyCW-_h9DTf4tzNPqsbbBLkh2b970RWaK5o"} {CODE} Would produce: {module module="last_youtube_playlist_videos" id="PLM2ch5TKp0OdwhnWPhNHOZqTnZGzuR3DF" dev_key="AIzaSyCW-_h9DTf4tzNPqsbbBLkh2b970RWaK5o"} {include page="Module and Plugin Includes" start="startinclude1" stop="stopinclude1"}