Forum Discussion
Hello! I'm trying to embed the following code within my course but nothing happens:
<div style='position: relative;width: auto;padding: 0 0 65%;height: 0;top: 0;left: 0;bottom: 0;right: 0;margin: 0;border: 0 none' id="experience-5d0bbe90702f7" data- aspectRatio="1.5385"><iframe allowfullscreen src='//view.ceros.com/solium/shareworks- participant-training-noop' style='position: absolute;top: 0;left: 0;bottom: 0;right: 0;margin: 0;padding: 0;border: 0 none;height: 1px;width: 1px;min-height: 100%;min-width: 100%' frameborder='0' class='ceros-experience' scrolling='no'></iframe></div><script type="text/javascript" src="//view.ceros.com/scroll-proxy.min.js" data-ceros-origin- domains="view.ceros.com"></script>
I tried removing the "<div style='position: relative;width: auto;padding: 0 0 65%;height: 0;top: 0;left: 0;bottom: 0;right: 0;margin: 0;border: 0 none' id="experience-5d0bbe90702f7" data- aspectRatio="1.5385" before the "<ifrome> code starts (this code was sent to us by the publisher of the content so I don't know anything about how this code was built- sorry!).
I don't think I see anything wrong with the double quotes unless that applies to every time I see any quotation marks. I'm open to any help - thank you in advance!
Hello, Jess. Try these 3 tips:
First, I would cut this code down to this section:
<iframe src='//view.ceros.com/solium/shareworks- participant-training-noop' style='position: absolute;top: 0;left: 0;bottom: 0;right: 0;margin: 0;padding: 0;border: 0 none;height: 1px;width: 1px;min-height: 100%;min-width: 100%' frameborder='0' class='ceros-experience' scrolling='no'></iframe>
Second, the URL for the content should be an absolute link, and it looks like they've give you a relative link. Absolute links have https: in front of them. We need that for the content in Rise 360 because you aren't already on the website that is hosting this content.
And lastly, you'll need to have double quotation marks around the absolute URL:
"https://domainname/view.ceros.com/solium/shareworks- participant-training-noop"
Just replace domainname with the domain used in the absolute URL that they give you. I hope that helps!
- JessSerafin5 years agoCommunity Member
Thank you so much! It appears to be working now!
[Paylocity logo]
Jess Serafin
Benefit Program Specialist
224.857.5246
[Follow us on Facebook!][Follow us on Twitter!][Follow us on LinkedIn!][Follow us on Instagram!]
jserafin@paylocity.com