---
title: Adding videos hosted on Google drive
description: "Install the Wp player plugin by Spacetree. To add a video to the LMS lesson, click on edit lesson. ![](https://support.spacetree.org/wp-content/uploads/2022/05/Screenshot-1-1-e1653912984739-1024x398.png) Paste Google drive player shortcode. Shortcode: [plyr src=\"google-drive-video-id\" type=\"gdrive\"] Replace the video ID with the google drive video ID. ![](https://support.spacetree.org/wp-content/uploads/2022/05/video-shortcode.png)…"
url: "https://support.spacetree.org/docs/adding-videos-hosted-on-google-drive/"
updated: "2022-05-30"
category: Miscellaneous
---

# Adding videos hosted on Google drive

Install the Wp player plugin by Spacetree.

To add a video to the LMS lesson, click on edit lesson.

![](https://support.spacetree.org/wp-content/uploads/2022/05/Screenshot-1-1-e1653912984739-1024x398.png)

Paste Google drive player shortcode.

Shortcode: [plyr src="google-drive-video-id" type="gdrive"]

Replace the video ID with the google drive video ID.

![](https://support.spacetree.org/wp-content/uploads/2022/05/video-shortcode.png)

## How to get the google drive video ID?

Right-click on the video hosted on Google drive

- Click on the get link
- Copy the video ID as highlighted in the image below.

![](https://support.spacetree.org/wp-content/uploads/2022/05/video-id-1024x596.png)
