Video APIs connect your YouTube channels and Vimeo folders to the Dashboard. Your videos are then synchronized automatically, so you can use them in your app and on your website without adding each video by hand.
How it works
- Add an API key for YouTube or Vimeo. The key gives the Dashboard access to your videos on that platform.
- Add a content source: a YouTube channel or a Vimeo folder, and choose which content to import.
- Synchronization: the Dashboard creates and updates feeds, categories and video items automatically, based on your configuration. The imported videos appear in Editorial › Videos.
- Use the videos: show them on a Grid screen through a content category (see below), embed a single video at any position in an article with the Video icon of the article editor, or add it to an event. See Articles and Events.
For a step-by-step walkthrough, see Connect a YouTube or Vimeo channel.
The video APIs page
Go to Imports › Video APIs. The page has two parts.
- API keys: all API keys with platform, name, key or type, status (for example Valid), content (the number of linked channels) and the date and time the key was last validated. Add API key adds a new YouTube or Vimeo key, Test API key checks whether a key still works.
- Content sources: the connected channels and folders, with a search. The YouTube tab shows your channels with the API key used, subscribers, number of videos, feeds and the imported content types. The Vimeo tab shows your folders with name, type, API key, number of videos and feeds. Add channel (YouTube tab) or Add folder (Vimeo tab) adds a new content source.
The icons in the Actions column of an API key let you Refresh it, open it with Edit API key or remove it with Delete API key. The icons of a channel let you Sync feeds (start a synchronization now), open it with Edit channel or remove it with Delete channel.
Important: Add channel is only available once you have added a YouTube API key, and Add folder only once you have added a Vimeo API key.
Add a YouTube API key
You need a YouTube Data API v3 key. You get it in the Google Cloud Console; a link is shown below the API key field.
- Click Add API key and select YouTube.
- Enter a Name to recognize the key, for example "Main YouTube API".
- Paste your key into API key.
- Leave Active switched on. The key is then used for synchronization.
- Click Create API key.
Back returns to the platform selection.
Add a Vimeo API key
Click Add API key, select Vimeo and choose the type of key:
- Vimeo: a standard Vimeo API key using your credentials, for folders and videos. Enter a Name (for example "Main Vimeo Account") and your Access token. You get the access token in the Vimeo Developer Console.
- Vimeo Livestream: a key for Vimeo Livestream using your account ID. Enter a Name (for example "Livestream Account") and the Account ID from your Vimeo Livestream settings.
Leave Active switched on and click Create API key.
Edit an API key
Click Edit API key in the Actions column to open the key.
- Name: the name of the key.
- API Key: shown masked. The key itself cannot be changed; to use another key, add a new one.
- Active: untick it to stop using the key for synchronization.
- Linked channels: the YouTube channels that use this key.
Click Save changes. Test API key checks the key, Delete removes it.
Add a YouTube channel
- Under Content sources, select the YouTube tab and click Add channel.
- In YouTube Channel, enter the channel's @handle (for example @yourstation), the full URL of the channel or the channel ID.
- Under API Key to use, select the key that fetches the channel data.
- Click Verify channel. The button becomes active once you have entered a channel.
- Choose which content you want to import: All videos, Livestreams, Shorts and/or Playlists (and which playlists exactly).
The channel then appears in the list. For private channels, the API key must have access permissions to the channel. You can change the content selection later with Edit channel.
Change channel settings
Click Edit channel in the Actions column of a channel.
- Refresh interval (hours): how often the channel is synchronized automatically, for example every 24 hours. The page also shows the last and the next refresh.
- Active: untick it to pause the synchronization of this channel.
- Content to import: choose what is synchronized from the channel: All videos, Livestreams, Shorts and/or Playlists.
- Playlists: when ticked, select the playlists to import. Refresh list loads the current playlists of the channel; use the search, Select all or Deselect all. Each playlist shows its number of videos.
Click Save changes. Sync feeds starts a synchronization right away; Delete removes the channel.
Add a Vimeo folder
To import videos from Vimeo, first add a Vimeo API key. Then select the Vimeo tab under Content sources and click Add folder.
Show imported videos in your app
All synchronized videos appear in Editorial › Videos. See Videos. To show them on a Grid screen (Grid medium or Grid large):
- Go to Settings › Apps, click the pencil icon of your app and select the Content categories tab.
- Click Add new category and enter the category title as Name.
- Under Feed, select the import folder of your videos, for example "Playlist: Mashup Videos" for an imported YouTube playlist.
- Click Add and then Save. See Content categories.
- Go to App editor › Navigation manager, click Edit screen next to your Grid screen and add this category as a tab.
- Click Push changes. See Navigation manager.
New videos of the channel then appear on the Grid screen automatically after each synchronization.
Important: The feed can only be selected when you add a category. It cannot be added to or changed for an existing category.
Video APIs, RSS feeds or videos?
- Video APIs: synchronize your YouTube channels and Vimeo folders automatically.
- RSS feeds: import articles, podcasts, videos and links from any RSS feed. See RSS feeds.
- Videos: see all videos, including the imported ones, and add a single video manually with its video URL, cover and title. See Videos.
Related articles
- Connect a YouTube or Vimeo channel
- Videos: all imported and manually added videos
- Content categories: link an import folder to a category
- Navigation manager: show a category on a Grid screen
- Articles: embed videos with the Video icon
- Events: add a video to an event
- RSS feeds