The custom parameter p2g_download allows you to control the behavior of the download function.

Example


p2g_download=owner|uploader|instructor:always,learner:none

Syntax


p2g_download=role|role:permission,role:permission

Allowed values


  • always
  • none


Roles


  • owner
  • uploader
  • IMS roles  (e.g. administrator, instructor, learner, observer)


Default

if you do not use this custom parameter the default behavior will be


p2g_download=owner|uploader:always


Purpose

In case you want instructors or learners to download video's for off-line playback.