repository pod is a moodle repository plugin that enable to create file resource linked by reference to an external POD v2 server
- See https://github.com/EsupPortail/pod/wiki for POD server informations
- pod version supported from 2.8.2
- search working over 2.8.2
- Enable to create video or audio file reference with a POD server filtering on current username
- search enabled
- paging enabled for listing and searching in filepicker
- override of renderer to check resource existence on POD server
from moodle plugin repository
Install repository/pod in your own repository directory
fill plugin setting field :
- pod_url : POD webservice base url
- pod_api_key : POD webservice API key (Token generated into pod admin interface)
- page_size : page size :you must put the same value than in pod settings.py file (PAGE_SIZE) webservice and then enabling paging on filepicker
- usernamehook : will only be available if a hookfile.php is located in repository/pod of your moodle installation
- check this if you have to apply username hook
- username hook enable you to map moodle username with pod uid
- in hooklib.php define a repository_pod_moodle_uid_to_pod_uid function that will make a trnaformation from moodle user object to obtain corresponding pod uid
- enrichedviewmode :
- If checked, Pod resource will be displayed with Pod enriched media player instead of Moodle internal media player
- except for automatic and embed mode
- pay attention that draft and authentified required Pod resource will trigger authentication when displaying Pod resource
- Note that it is possible to create to Pod instance of same server enabling you to propose bith enriched and direct files Pod repositories
- apply patch included
patch -p1 /moodle_dirroot/repository/filepicker.js < patch/repository_filepicker_js.patch
- by default moodle does not restore external repository in course to prevent file breaking
- but you can enable this by installing following patch on your moodle version
patch -p1 /moodle_path/backup/moodle2/restore_stepslib.php < /moodlepath/patch/backup_moodle2_restore_stepslib.patch
- sometime, in edit mode, video take to much places
- to solve that add video{max-width:100%} to your custom css field in theme configuration
Contributions of any form are welcome. Github pull requests are preferred. Fill free to commit any bugs, improvements, or feature requiests in our [issue tracker][issues].
- Celine Perves
- Matthieu Fuchs
- Pascal Mathelin
- Claude Yahou
- Celine Perves
- Matthieu Fuchs