cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Embed Google Slides (PowerPoint) into Databricks Interactive Notebooks Use the following code to embed your slides:slide_id = '1CYEVsDqsdfg343fwg4...

Artem_Yevtushen
New Contributor III

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

  1. Modify width and height iframe parameters to suit your notebook's dimensions.
  2. Modify the Slide ID to the ID of your presentation. It is in the highlighted part of the URL below.
  3. 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.

8F9761FE-B986-48EB-8461-0AAEA891DEDB_4_5005_c⚠️ ‎‎‎‎‎‎‏‏‎ ‎‏‏‎ ‎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.

1 REPLY 1

Anonymous
Not applicable

@Artem Yevtushenko​ - Thank you for sharing this solution.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.