Module:Panopto/doc: Difference between revisions
temp>Admin Created page with "'''Module:Panopto''' provides utility functions for parsing Panopto URLs and extracting video UUIDs. It accepts any Panopto URL containing a UUID in the standard 8-4-4-4-12 hexadecimal format. == Usage == <pre>{{#invoke:Panopto|extractUUID|URL}}</pre> == Example == <pre>{{#invoke:Panopto|extractUUID|https://swarthmore.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=12345678-abcd-efgh-ijkl-mnopqrstuvwx}}</pre> Returns: <code>12345678-abcd-efgh-ijkl-mnopqrstuvwx</code..." |
m 1 revision imported |
(No difference)
| |
Revision as of 13:27, 6 May 2026
Module:Panopto provides utility functions for parsing Panopto URLs and extracting video UUIDs. It accepts any Panopto URL containing a UUID in the standard 8-4-4-4-12 hexadecimal format.
Usage
{{#invoke:Panopto|extractUUID|URL}}
Example
{{#invoke:Panopto|extractUUID|https://swarthmore.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=12345678-abcd-efgh-ijkl-mnopqrstuvwx}}
Returns: 12345678-abcd-efgh-ijkl-mnopqrstuvwx
If no UUID is found in the provided input, the module returns No UUID found.
Notes
- The module is case-insensitive — UUIDs in uppercase or mixed case will be normalised to lowercase
- The URL parameter can be passed as a named parameter (
url=) or as the first unnamed parameter
See also
- Widget:Panopto — embeds a Panopto video using a UUID returned by this module
- Extension:Scribunto — required for Lua modules