(extract-video-id url)Extracts the video ID from a sotavideo.ai URL.
Takes a URL string as input. Returns the video ID as a string, or nil if the URL doesn't match the expected pattern.
Extracts the video ID from a sotavideo.ai URL. Takes a URL string as input. Returns the video ID as a string, or nil if the URL doesn't match the expected pattern.
(mock-video-metadata video-id)(mock-video-metadata video-id title)Generates mock video metadata for testing purposes.
Takes a video ID and an optional title. Returns a map containing mock metadata.
Generates mock video metadata for testing purposes. Takes a video ID and an optional title. Returns a map containing mock metadata.
(video-url video-id)(video-url video-id format)Generates a URL for a specific video on sotavideo.ai.
Takes a video ID and optionally a format (e.g., 'mp4', 'webm'). Returns the URL as a string. If no format is provided, the base URL is returned.
Generates a URL for a specific video on sotavideo.ai. Takes a video ID and optionally a format (e.g., 'mp4', 'webm'). Returns the URL as a string. If no format is provided, the base URL is returned.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |