Google Drive Video Importer
Import video files from Google Drive into the WordPress Media Library.
by Mali Adnan · github.com/malikad778/google-drive-import-plugin
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/malikad778/google-drive-import-plugin/archive/refs/heads/main.zipDescription
This WordPress plugin allows you to seamlessly import video files directly from your Google Drive into your WordPress Media Library. Streamline your content creation process by easily bringing your video assets from the cloud to your website.
Features
- Effortless Google Drive Integration: Connect your Google Drive account to your WordPress site with ease.
- Direct Video Import: Import video files (e.g., MP4) directly into your WordPress Media Library.
- Admin Interface: Manage your video imports through a user-friendly administration panel within WordPress.
- OAuth 2.0 Support: Securely authenticate with Google Drive using OAuth 2.0.
- MIME Type Handling: Automatically handles common video MIME types for smooth integration.
Installation
- Download the Plugin: Download the
google-drive-video-importer.zipfile. - Upload via WordPress:
- Navigate to
Plugins > Add Newin your WordPress admin dashboard. - Click on the
Upload Pluginbutton. - Choose the
google-drive-video-importer.zipfile and clickInstall Now.
- Navigate to
- Activate the Plugin: After installation, click
Activate Plugin.
Configuration
To configure the Google Drive Video Importer plugin, you will need to set up a Google API Project and obtain your Google Client ID and Client Secret.
- Create a Google API Project:
- Go to the Google Cloud Console.
- Create a new project or select an existing one.
- Navigate to
APIs & Services > Credentials. - Click
+ Create Credentialsand selectOAuth client ID. - Choose
Web applicationas the Application type. - Authorized redirect URIs: Add your WordPress admin URL followed by
/wp-admin/admin.php?page=gdvi-importer(e.g.,https://yourwebsite.com/wp-admin/admin.php?page=gdvi-importer). - Click
Create.
- Obtain Client ID and Client Secret:
- After creating the OAuth client ID, you will be provided with your Client ID and Client Secret.
- Copy these values.
- Configure Plugin in WordPress:
- In your WordPress admin dashboard, navigate to
Drive Video Import(under the main menu). - Enter your Google Client ID and Google Client Secret into the respective fields.
- Save Changes.
- In your WordPress admin dashboard, navigate to
- Authorize Google Drive Access:
- Follow the on-screen prompts to authorize the plugin to access your Google Drive files.
Usage
Once configured, you can start importing videos:
- Go to
Drive Video Importin your WordPress admin menu. - Browse your Google Drive files.
- Select the video files you wish to import.
- Click the
Importbutton.
Your imported videos will appear in your WordPress Media Library.