Your ViewMedica embed is not allowed because we could not detect the embedding domain. Check that you are not using a third-party plugin to lazily load the ViewMedica On-Demand iframe and that you are using a compatible referrer policy.
This error is caused by the ViewMedica On-Demand player not receiving the referrer from your webpage. The player needs to receive the referrer from your webpage for security purposes.
The two most common reasons for the referrer to be missing is:
Lazy loading iframes with a 3rd-party optimization plugin or service that strips the referrer (accidentally or as a side effect)
A
Referrer-Policy
that explicitly omits referrer to cross-origins
Lazy loading iframes
Many websites use 3rd-party plugins or services to optimize their performance. While not all 3rd-party lazy load options break the referrer, this is a good place to start troubleshooting.
Disable the lazy loading for iframes option in your optimization plugin or service if you see this error. Clear your browser's cache, refresh the page and check to see if the player loads without the error.
The ViewMedica On-Demand Player is built to lazy load by default. So, this will have a minimal impact on the performance of your website. We use the "loading" attribute that is available in the vast majority of browsers in use today.
Incompatible Referrer Policy
A referrer policy is a security header that defines how much information is passed along when a user navigates from one page to another. You can set a referrer policy in different ways, including your browser default, a page-level policy, and an element-level policy.
Check that you have a referrer policy set and that it's compatible with the ViewMedica On-Demand player. A referrer policy set to no-referrer
or same-origin
is NOT compatible.