A Google Drive document — for reading in the lesson
Already have material on Google Drive? Show it in the learning module alongside an explanation of what to read and notice.
Explanations, ready-made material and an assignment — in one WeStudy lesson.
FOR YOUR LESSON
When to use it
When a prepared file needs to be shown in the context of a topic.
What the learner will see
An individual file in an embedded viewer.
What to prepare
A file with viewing enabled and its embed code.
Before publishing
The example was tested with DOCX. Test other formats separately.
FEATURES
What you can embed from Google Drive
Google Drive can display an individual file in an embedded viewer. This example tests a Word document: the student reads it in WeStudy, while the original file stays on Drive. The material remains on the external service, while WeStudy displays it within the lesson.
This displays one file, not the entire Drive account or an arbitrary folder. A specific DOCX was tested in WeStudy; this does not prove all PDFs and videos will work the same way. Embedding an iframe does not make a private file public.
When to choose this method
Use Drive when the material is already a Word file and needs to be shown without conversion. For notes edited in the browser, the separate Google Docs integration is more convenient.
AN ORIGINAL LESSON IDEA
How to use Google Drive for learning
In a technical writing course, show an example project proposal. Ask students to identify its goal, audience, work stages and expected result. Then ask them to write their own one-page proposal using these four points and submit it to the instructor through WeStudy.
How to assess learning outcomes
Assess whether the student distinguishes the goal from the work stages and states a verifiable result. The embedded document is an example for analysis; their own proposal is the assessed work.
This is a suggested lesson scenario. It is not a published ready-made demo or the result of testing in your account.
MATERIAL PREVIEW
Google Drive interface and iframe code
An actual screenshot of the Google Drive check in a WeStudy test course, October 6, 2026. Open the screenshot at full size to see both editor panels.
TESTED EXAMPLE
Link and iframe code
GSoD-Proposal-GenPipes.docx — technical documentation project
<iframe
src="https://drive.google.com/file/d/1oKVp_7ZeYGMxhynfc97qUUcGNh2CNbX0/preview"
width="100%"
height="700"
title="Google Drive — document preview"
></iframe>A Word file opened in WeStudy using a Drive /preview URL. The document link is published in Google Season of Docs. This test did not confirm PDFs, videos or folder view.
Where to find the iframe address. In the code provided by the service, find the attribute src: its value is the address of the embedded material. Paste the entire code into WeStudy, keeping the provider’s parameters and permissions.
STEP-BY-STEP INSTRUCTIONS
How to add Google Drive to WeStudy
1. Get the code from Google Drive
Choose an individual learning file in Drive and enable viewing for the intended audience.
For the tested document, use the /file/d/…/preview URL in the block below. For your file, keep its own ID and access parameters.
Put the viewing URL in the src attribute of a complete iframe. This test code uses a public Google Developers file; test your own file separately.
2. Paste the iframe into the course material
The screenshot above shows Google Drive: the course menu on the left, the material in the middle, and the iframe field on the right.
In “Courses”, open the course and its content editor. Select a module and click “+ Add material”.
Go to “iFrame and Integrations” and choose the “iFrame” material type.
Under “General settings”, add a title, a short description, and an image. For example, name the material “Google Drive — practice” and explain the task to students.
In the “iFrame” section, paste the full Google Drive embed code into the “Paste the iframe element HTML code” field. You need the iframe HTML code rather than a regular website link. Obtain it only from a trusted HTTPS resource that allows embedding.
3. Check the learner’s view
- Open the published lesson with learner permissions: the material must be accessible without the author’s session.
- Perform the main action: advance a slide, start the player or complete an exercise.
- Check on a phone: readability, scrolling and access to buttons.
- Make sure the learner can see the assignment instructions and knows where to submit their answer.
Google Drive limitations and access
This displays one file, not the entire Drive account or an arbitrary folder. A specific DOCX was tested in WeStudy; this does not prove all PDFs and videos will work the same way. Embedding an iframe does not make a private file public.
A third-party service license is not automatically included in your WeStudy plan. Before launching the course, check publication, available modes and your account’s terms.
If the iframe does not open
Sign-in is requested
Check access to the material itself, not just the author’s page. A private source remains private inside an iframe.
Blank window or embedding blocked
Copy the official code again. If the service has an allowed-domain list, add the school’s actual domain. Do not replace the address with the editor URL.
Material stopped working
Check that publishing is still enabled, the link has not expired and access is still included in the required plan.
Bottom buttons are not visible
Increase the iframe height using the settings allowed by the provider, and check the result on a narrow screen.
Questions about Google Drive in WeStudy
This page confirms only the viewing of an individual public document. The Drive account URL does not replace an iframe link to a specific file.
No, this test used DOCX. A PDF requires a separate accessible file and a test of its viewer.
Google Drive can display an individual file in an embedded viewer. This example tests a Word document: the student reads it in WeStudy, while the original file stays on Drive.
Choose an individual learning file in Drive and enable viewing for the intended audience. For the tested document, use the /file/d/…/preview URL in the block below. For your file, keep its own ID and access parameters. Put the viewing URL in the src attribute of a complete iframe. This test code uses a public Google Developers file; test your own file separately.
The WeStudy field requires the complete iframe HTML code. An editor link, a homepage link or a regular Share button does not replace the embed code.
This displays one file, not the entire Drive account or an arbitrary folder. A specific DOCX was tested in WeStudy; this does not prove all PDFs and videos will work the same way. Embedding an iframe does not make a private file public.
An iframe displays third-party material. It does not itself synchronize scores, attempts or completion. For assessment, add a separate WeStudy assignment or test.
Sources and verification
WeStudy editorial team · Example checked: October 6, 2026.
A Word file opened in WeStudy using a Drive /preview URL. The document link is published in Google Season of Docs. This test did not confirm PDFs, videos or folder view. Display was tested in the WeStudy test editor. Before launch, check access with student permissions and the mobile view.
What else to add to your course
● YOUR NEXT STEP
Try WeStudy
for free
From your first idea to your own online school. Create, teach and grow your project with WeStudy.
30
days free
