About
To enable video selection from your Vimeo account within Video Time, you need to create a Vimeo app and link it to your Moodle site. The setup is simplified by integrated guidance directly within your Moodle administration interface.
Using the integrated setup instructions
With Video Time Premium installed, go to Site administration > Plugins > Video Time > Overview and setup.
This page includes:
A step-by-step guide to connect your Vimeo account.
Pre-filled URLs tailored to your Moodle site; ready to be copied.
Quick links to all relevant configuration settings, so you don’t need to search for them individually.
Note: Path to PHP CLI must be configured if you want to connect your Vimeo account to Video Time immediately by running the discover video task manually. If an immediate connection isn’t needed, you can simply wait for the scheduled task to run.
Step-by-Step: Create and Connect a Vimeo App
Create a Vimeo app
Go to https://developer.vimeo.com/apps/new and log in with your Vimeo account
Enter a name and description for your app.
Example: Video Time Repository APIUnder Who can access this app?, check:
"No. The only Vimeo accounts that will have access to the app are my own."Agree to Vimeo’s Terms of Service and click Create App.
You should now be taken to your new app
Click Edit settings.
Enter an App description.
This will be displayed to admins when authenticating with Vimeo.Enter App URL, it must be set to https://yourmoodleinstallation.com/mod/videotime/plugin/repository/redirect.php
Click Update
Add a callback URL, it must be set to https://yourmoodleinstallation.com/mod/videotime/plugin/repository/redirect.php
Copy the Client Identifier (near the top) and the Client Secret (Manage App Secrets)
Set Client ID and Secret
Go to Site administration > Plugins > Video Time > Video Time plugins > Video Time Repository
Paste the Client ID and Client Secret into the appropriate fields and save.
Authenticate with Vimeo
Go to Site administration > Plugins > Video Time > Authenticate with Vimeo
Follow the prompts to connect your Moodle site with your Vimeo account.
Important: Vimeo supports multiple roles depending on your plan (viewer, contributor, admin, etc.), but there is always exactly one owner. The API app must be created with the owner account, because from a technical perspective, all videos belong to the owner. If the app was created under a different role, even if authentication appears to be set up correctly, the discover video task will not find any videos.
Scheduled tasks
Note: Every scheduled task returns the API request count received from Vimeo if available.
Discover videos
If the scheduled task "Discover Vimeo videos" is not run automatically, you can find it under Site administration > Server > Tasks > Schedule tasks and schedule or run it manually.
Process videos
If the scheduled task "Process videos" is not run automatically, you can find it under Site administration > Server > Tasks > Schedule tasks and schedule or run it manually.
Update video albums
If the scheduled task "Update video albums" is not run automatically, you can find it under Site administration > Server > Tasks > Schedule tasks and schedule or run it manually.
Alternative authentication process
As an alternative to adding the Client ID and Client Secret, you can create a personal access token in your Vimeo app. This token can then be linked in the config.php file of your Moodle installation by adding the following code:
$CFG->forced_plugin_settings = [
'videotimeplugin_repository' => [
'vimeo_access_token' => 'yourpersonalaccesstoken',
],
];
Important: To use this method, you must enter any text into the Client ID and Client Secret fields and save the settings. The system requires these fields to contain a value to recognize the connection.