Learn how to integrate Fermion recorded videos into your website using our SDK, including public and private video embedding options with origin whitelisting.
Manage features
tab on your instructor dashboard and enable Video library
:
Video library
and upload a video if you haven’t:
6779080e80ec97e953a17971
). You’ll need this ID for embedding.
https://example.com
)FERMION_API_KEY
with your actual API key -
Provide a unique user ID for each viewer - Recommended token validity is
10h-20hplay()
and pause()
methods.
getPubliclyEmbedPlaybackIframeCode
or getPrivateEmbedPlaybackIframeCode
.
This allows play()
and pause()
to find the iframe automatically without
you passing the iframe element.getPubliclyEmbedPlaybackIframeCode
or getPrivateEmbedPlaybackIframeCode
.
They are not available when using manual M3U8 playback.getM3U8PlaybackUrl
method fetches the M3U8 manifest, patches it with the necessary decryption key, and returns a blob URL that your player can use.
get-signed-url-data-for-recorded-video-playback
API endpoint from your
backend server with your Fermion API key. Refer to API
Reference for
more information.