html-slideshow icon indicating copy to clipboard operation
html-slideshow copied to clipboard

Advice wanted: iframe fallback to img

Open vibrog opened this issue 14 years ago • 2 comments

Consider wanting to use iframes in a presentation relying on having an Internet connection, but wanting to be able to use "cached" screenshots if in an offline setting.

<iframe src="http://example.com">
  <img src="screenshot-example.com.png"/>
</iframe>

How can that be solved in a neat way?

vibrog avatar May 12 '11 07:05 vibrog

Did you ever find a solution for this? What about adding a "offline" setting that uses JavaScript to remove the iframes wrapping your fallback content?

robflaherty avatar Sep 04 '11 13:09 robflaherty

No. My initial thought was to rely on the <object>-element's alternative/hierarchical nature.

vibrog avatar Sep 10 '11 06:09 vibrog