How to embed a Google Drive folder in a website


posted by Mohd Fadzil on

No comments

Google Drive folders can be embedded and displayed in list and grid views:

List view

<iframe src="https://drive.google.com/embeddedfolderview?id=FOLDER-ID#list" width="800" height="600" frameborder="0"></iframe>

Grid View

<iframe src="https://drive.google.com/embeddedfolderview?id=FOLDER-ID#grid" width="800" height="600" frameborder="0"></iframe>


Q: What is a folder ID (FOLDER-ID) and how can I get it?

A: Go to Google Drive >> open the folder >> look at its URL in the address bar of your browser. For example:

Folder URL: https://drive.google.com/#folders/0B716ywBKT84AcHZfMWgtNk5aeXM
Folder ID: 0B716ywBKT84AcHZfMWgtNk5aeXM


Tq.

Fadzil Hanid. Powered by Blogger.