.mp4
to Google Drive, set it to "Anyone with the link" access, and extract the File ID from the share URL.https://drive.google.com/uc?export=download&id=YOUR_FILE_ID
.<video>
tag using the direct link as the source.Yes, you can embed a .mp4
video hosted on Google Drive into a Webflow site, but it requires generating a direct link and using Webflow’s Embed element.
.mp4
video to Google Drive.Copy the file's File ID from the share link.
For example, from this link:https://drive.google.com/file/d/1AbCdEfGhIjKlm/view?usp=sharing
The File ID is 1AbCdEfGhIjKlm
.
Construct the direct source link as follows:https://drive.google.com/uc?export=download&id=YOUR_FILE_ID
Replace YOUR_FILE_ID
with your actual file ID.
In the Webflow designer, drag an Embed element into the canvas.
Paste the following custom HTML (inline-only as per Webflow's support):
<video width="100%" controls preload="metadata"> <source src="https://drive.google.com/uc?export=download&id=1AbCdEfGhIjKlm" type="video/mp4"> Your browser does not support the video tag. </video>
Click Save & Close after entering the code.
You can embed .mp4
videos hosted on Google Drive into Webflow by generating a direct download link and inserting a custom video tag inside an Embed element. However, it's not ideal for high traffic or large files—consider this a workaround rather than a robust solution.