How to play videos hosted on Google Drive in WordPress

Product:

WonderPlugin Gallery

Tutorial:

This tutorial will guide you how to play MP4 videos hosted on Google Drive in WordPress with WonderPlugin Gallery.

Step 1 - Get the Google Drive direct link of the video

Upload your video files to Google Drive, then follow this tutorial to get its shareable link and convert it to the direct link: https://www.wonderplugin.com/online-tools/google-drive-direct-link-generator/.

By default, the video file size needs to be under 100MB, otherwise Google Drive will complain it can't scan the virus and will refuse to directly output the video file.

If your video file size is larger than 100MB, open the generated Google Drive direct link with Google Chrome, right click the button "Download anyway", then click Copy Link Address from the context menu.

Step 2 - Add the Google Drive direct link to WonderPlugin Gallery

In WonderPlugin Gallery, step 1, click the button "Add Video" and enter the Google Drive direct link to the "MP4 video URL" input box.

An online demo is as follows: