Closed JoshHCC closed 1 year ago
@JoshHCC closing -- this is not a bug. I was able to embed as expected, as seen in this chapter: https://integrations.pressbooks.network/ricksbook/chapter/chapter-1/
Be sure that you
www.myopenmath.com
to your allowlist and <iframe src="https://www.myopenmath.com/embedq2.php?id=110368" width="600" height="350"</iframe>
and it should work for you as a regular user.The path was missing www
in the allowlist and the iframe didn't have "
arounds the src attribute. I think both of those were contributing to your problem.
In the future -- try posting in the community forum (https://pressbooks.community/) for issues like this?
Steel, Thank you so much. We have been working on this for days. We appreciate your expert guidance. I was able to apply your fix successfully.
From: Steel Wagstaff @.> Sent: Thursday, December 1, 2022 4:41:22 PM To: pressbooks/pressbooks-book @.> Cc: Hill, Joshua @.>; Mention @.> Subject: Re: [pressbooks/pressbooks-book] Only Super Admins able to embed IFrame from My Open Math Lab (https://www.myopenmath.com/) (Issue #1137)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
@JoshHCChttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FJoshHCC&data=05%7C01%7Cjhill89%40hccfl.edu%7Ca4f30576ab0c4bd4240108dad3e4caeb%7C6c031f94c402433a92d22d3ce8516da3%7C0%7C0%7C638055276875588540%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=rCDj68TO%2F%2BjdYaC419H2MEuaGvtSf%2FNdxtxRyv9NtLI%3D&reserved=0 closing -- this is not a bug. I was able to embed as expected, as seen in this chapter: https://integrations.pressbooks.network/ricksbook/chapter/chapter-1/https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fintegrations.pressbooks.network%2Fricksbook%2Fchapter%2Fchapter-1%2F&data=05%7C01%7Cjhill89%40hccfl.edu%7Ca4f30576ab0c4bd4240108dad3e4caeb%7C6c031f94c402433a92d22d3ce8516da3%7C0%7C0%7C638055276875588540%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=o8CpKSCuHX%2F7IQc3hKzuNioJMq8stdlZz0jYEpPXr2o%3D&reserved=0
Be sure that you
The path was missing www in the allowlist and the iframe didn't have " arounds the src attribute. I think both of those were contributing to your problem.
In the future -- try posting in the community forum (https://pressbooks.community/https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpressbooks.community%2F&data=05%7C01%7Cjhill89%40hccfl.edu%7Ca4f30576ab0c4bd4240108dad3e4caeb%7C6c031f94c402433a92d22d3ce8516da3%7C0%7C0%7C638055276875588540%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=zt7l2puEY%2Fh2u1zLdvu%2FhtQDPW2PeNOr5HqVTBaKRmw%3D&reserved=0) for issues like this?
— Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpressbooks%2Fpressbooks-book%2Fissues%2F1137%23issuecomment-1334483685&data=05%7C01%7Cjhill89%40hccfl.edu%7Ca4f30576ab0c4bd4240108dad3e4caeb%7C6c031f94c402433a92d22d3ce8516da3%7C0%7C0%7C638055276875588540%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=F30eAZ8UP2lr4URpAKoSKoBuB7O2nvOrDwgTmFAf99Q%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA4QV2EE5DOMXHNJRT3AHKQDWLELQFANCNFSM6AAAAAASRHP3S4&data=05%7C01%7Cjhill89%40hccfl.edu%7Ca4f30576ab0c4bd4240108dad3e4caeb%7C6c031f94c402433a92d22d3ce8516da3%7C0%7C0%7C638055276875588540%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=jqXLVM9ztpqEecCCak0KhDjmKapEHu4qqXzNU07KUI8%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>
Please note: All correspondence to or from this office is subject to Florida’s Public Records law.
Only our Super Admins are able to embed iframes from My Open Math. We have whitelisted myopenmath.com. under sharing and privacy for our Pressbooks network. Has anyone else had success with the whitelisting of sites? Do you have any other suggestions for us?
Example Embed Code for problem: https://www.myopenmath.com/embedq2.php?id=110368
Steps to Reproduce
[embed]https://www.myopenmath.com/embedq2.php?id=110368[/embed]
Prerequisites
Description
Expected behavior:
Actual behavior:
System Information