Forum Discussion
Embedding docs from sharepoint into Rise 360 embed block
I was able to get a Word doc that is stored in SharePoint to embed in a Rise course via the Multimedia Embed block today. I'm not sure if this is because of recent enhancements to the block, changes in SharePoint, or the security policy with my company's SharePoint configuration.
When SharePoint generates the embed code this is what I get (bold added to emphasize the core iframe tags):
<iframe src="https://PATH-TO-DOC-IN-SHAREPOINT">This is an embedded <a target="_blank" href="https://office.com">Microsoft Office</a> document, powered by <a target="_blank" href="https://office.com/webapps">Office</a>.</iframe>
As is, that did not work. I was getting an error in Rise "Please enter a valid URL or iframe." If I simplify the embed code by stripping out all the extra information between the open and close iframe tags it works. Like this:
<iframe src="https://PATH-TO-DOC-IN-SHAREPOINT"></iframe>
That allowed the document to embed within the Rise course as expected. I'd love to hear if anyone was able to get a doc embedded like this or using some other method.
when I tried to embed a document from a sharepoint file using the "standard" method of adding an iframe, it didn't work, but as long as sharepoint generated the embed code (with iframe), it works for me.