Reputation: 187
I am looking to develop an Office content add-in for PowerPoint. The purpose of this add-in is to embed HTML(an iframe) into a slide. Something similar to Web Video Player.
Looking at the docs, the way you would implement this is via Document.setSelectedDataAsync, however the HTML coercion type is not supported in PowerPoint.
Is there another way to insert/embed HTML content into PowerPoint, seeing as the add-in linked above is able to do it?
Upvotes: 2
Views: 1842
Reputation: 2668
Web video player shows the HTML directly in the content pane for the add-in instead of inserting it into the document. For example, you could use something like:
document.body.innerHTML = myCustomSlideHTML;
-Michael (developer of Web Video Player)
Upvotes: 1