Forum Discussion
Rise 360 Youtube embed "This video is restricted from being viewed on this domain"
Hi Karl
Because we use a scorm connector system and the scorm course is on another server, we cannot upload the course directly to the LMS. We've found that the issue stems from Rise's way of embedding videos using "embed.ly". We have done a test of embedding a youtube video in a normal html and we have passed it through the connector system and it works correctly:
<iframe id="player" frameborder="0" allowfullscreen="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" title="xxx" width="640" height="360" src="https://www.youtube.com/embed/xxx"></iframe>
but at the moment we put like Rise does:
<iframe class="embed__media" src="//cdn.embedly.com/widgets/media.html?src=xxx;display_name=YouTube&url=xxx;image=xxx&key=xxx;type=text%2Fhtml& schema=youtube" alt="xxx" frameborder="0" scrolling="no" allowfullscreen="" title="xxx">
<iframe id="player" frameborder="0" allowfullscreen="1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" title="xxx" width="640" height="360" src="https://www.youtube.com/embed/xxx"></iframe>
</iframe>
It already gives us the error "Video unavailable. This video is restricted from being viewed on this domain". We have looked through the Rise code and we do not see anywhere where that iframe is built to try to eliminate it in the courses where we embed youtube videos.
Greetings and thank you