Forum Discussion
agukmm
Nov 03, 2020Copper Contributor
Embed Code
How do we embed this code in a sharepoint site? <a href="https://URL" class="fbo-embed" data-fbo-id="416430" data-fbo-lightbox="yes" data-fbo-width="250px" data-fbo-height="188px" data-fbo-versi...
CHINCHUDO
Jan 05, 2021Copper Contributor
Use the Embed Code web part and an iframe is required. You wither have to just put the link you want to embed or use an iframe. What you are trying to do isn't possible with the Embed Code web part as is and the solution may or may not work.
If you want to add that code...
- create an html document with that code inside it and store the html doc on your SharePoint site.
- Get the URL to the html document
- Embed that link in the Embed Code web part.
NOTE: I would say use the iframe route but it doesn't seem to work. If you just put the link it should mostly work but you may find that it doesn't do what you want it to.
The Embed Code web part is a big disappointment. It is fine for embedding videos but not for custom code snip-its. I wish Microsoft would change it but they seem more worried about the security of ignorant users... (on internal sites no less). 🙄