Skip to main content

embed_token

Function embed_token 

Source
pub fn embed_token(
    token_security_key: &str,
    video_id: &str,
    expires_unix_seconds: i64,
) -> String
Expand description

The Bunny Embed View Token for a video: SHA256_HEX(token_security_key + video_id + expires). Exposed for callers that build the URL themselves; prefer embed_url_signed.