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..." |
No edit summary |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 21: | Line 21: | ||
* [[Widget:Panopto]] — embeds a Panopto video using a UUID returned by this module | * [[Widget:Panopto]] — embeds a Panopto video using a UUID returned by this module | ||
* | * <code>Extension:Scribunto</code> — required for Lua modules | ||
Latest revision as of 18:10, 21 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