Welcome to the Panopto Community

Please note: All new registrants to the Panopto Community Forum must be approved by a forum moderator or admin. As such, if you navigate to a feature that is members-only, you may receive an error page if your registration has not yet been approved. We apologize for any inconvenience and are approving new members as quickly as possible.

Is there an Iframe API? Possible to set cross-origin requests?

Hi all,

I would like to embed Panopto videos in an external web application. For this we would like to access the content of the iframe and use e.g. classic JavaScript functions of the video tag (e.g. onplay etc.).


My question:

Is there an Iframe API to access this content (maybe similar to the YouTube Iframe API (https://developers.google.com/youtube/iframe_api_reference?hl=en))?

Or is it at least possible to set cross-origin requests for the embedded iframes?


Best regards

Alex

Answers

  • Kevin BaumKevin Baum Panopto Employee

    Hi Alexander,

    We do not currently offer a Javascript API to interact with embedded video, but it is something we are working on for the future.

    Please let me know if you have any other questions.

    Thanks,

    Kevin

  • Hi Kevin,

    thanks for the answer.

    Is there the possibility to set cross-origin-requests for iframes, so i can access the inner content of the iframe?

    Thanks,

    Alex

Sign In or Register to comment.