Embed Google Slides (PowerPoint) into Databricks Interactive Notebooks Use the following code to embed your slides:slide_id = '1CYEVsDqsdfg343fwg4...
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ10-08-2021 07:55 AM
Embed Google Slides (PowerPoint) into Databricks Interactive Notebooks
Use the following code to embed your slides:
slide_id = '1CYEVsDqsdfg343fwg42MtXqGd68gffP-Y16CR59c'
slide_number = 'id.p9'
displayHTML(f'''
<iframe
src="https://docs.google.com/presentation/d/{slide_id}/embed?slide={slide_number}&rm=minimal"
frameborder="0"
width="75%"
height="600"
></iframe>
''')
Steps to implement
- Modify width and height iframe parameters to suit your notebook's dimensions.
- Modify the Slide ID to the ID of your presentation. It is in the highlighted part of the URL below.
- Optionally, modify the slide_number to either the slide id you want to start on or the number (order) of the slide you would like to start on.
โ ๏ธ โโโโโโโโโ โโโโ โMake sure to share the slide first! You will see the URL slightly change with a dash extension. Otherwise, the embedding will throw an error.
Labels:
- Labels:
-
Notebooks
-
Presentation
1 REPLY 1

Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ10-08-2021 01:19 PM
@Artem Yevtushenkoโ - Thank you for sharing this solution.

