Some functions of the video player will not be available if it is embedded in a cross-origin iframe which does not delegate various permissions. These include:
- Being able to start the video from the "Play" button outside the player
- Being able to use the "Copy transcript" button
- Enabling the full-screen button in the player
In the LMS context, the ContentFrame component tries to ensure that these permissions are available.
However, there are cases outside of our control where these permissions won't be available:
- If our LMS app is itself placed inside an iframe (by the LMS which launches the assignment) which doesn't have these permissions, it won't be able to delegate them down to the video player.
- If a third-party embeds our public Via service within an iframe
In the case where the video player does not have these permissions, it should gracefully handle the situation. It would be useful to also indicate to developers in the browser console how to fix the issue. This will help future Hypothesis developers and other publishers when they find new places to embed our player.
Some functions of the video player will not be available if it is embedded in a cross-origin iframe which does not delegate various permissions. These include:
In the LMS context, the ContentFrame component tries to ensure that these permissions are available.
However, there are cases outside of our control where these permissions won't be available:
In the case where the video player does not have these permissions, it should gracefully handle the situation. It would be useful to also indicate to developers in the browser console how to fix the issue. This will help future Hypothesis developers and other publishers when they find new places to embed our player.