We produce videos using Camtasia, and our method of posting them is as follows:
- Zip the entire directory associated with the produced content
- Add a resource of type File
- Enter a name
- Enter a description
- Upload the zip file
- Unzip the package
- Set the [foo]_player.html as the main file
- We then display this file in a popup with specific dimensions
The popup's URL looks something like this:
example.com/moodle/pluginfile.php/1175/mod_resource/content/5/<filename>_player.html
We would like to be able to embed these videos in MediaWiki, and we have an extension that allows us to do that. This wouldn't be very difficult, except for the numbers in the URL: they don't have a rhyme or reason associated with them.
- 1175 is the context id
- 5 is something else (don't know that it has a name, but if you snip it off, it 404s)
In a perfect world, there would be a generic, unchanging GUID that I could use a pointer to this resource. Does such a thing exist?
(In the meantime, I know I can just have the user specify the two numbers when I extend the MW extension, but that's really pretty ugly, as these numbers have no semantic meaning to the person embedding the video.)
This is Moodle 2.4.3