FormidableLabs / spectacle

A React-based library for creating sleek presentations using JSX syntax that gives you the ability to live demo your code.
https://commerce.nearform.com/open-source/spectacle/
MIT License
9.71k stars 690 forks source link

Is it possible to inline on website with working fullscreen mode? #1279

Open Epenance opened 1 year ago

Epenance commented 1 year ago

Question

Is it possible to somehow inline the slides say on the middle of a website while also having the support to fullscreen the presentation?

After digging around I found the option to inline the presentation by changing the backdrop styles to say:

const backdropStyle: React.CSSProperties = {
  position: 'relative',
  width: '100%',
  height: '500px',
}

This made my presentation show up inline on the website.

Now however when I press the fullscreen button, it just fullscreens the entire website and not only the presentation.

Is this possible? Am I doing it wrong?

ayushnau commented 10 months ago

@Epenance can you give me screenshot for inline case?