Panopto / Moodle-2.0-plugin-for-Panopto

Panopto's integration with the Moodle LMS.
http://www.panopto.com
GNU General Public License v3.0
18 stars 38 forks source link

Deny multiple instances on a page #175

Closed A0B closed 3 years ago

A0B commented 3 years ago

Hi !

Your Javascript takes into account the only first bloc _blockpanopto on a page.

Thus please considere to not allow more than one instance of the bloc on the same page. You could achieve this by adding the standart function _instance_allowmultiple() into _blockpanopto.php:

    /**
     * allow more than one instance of the block on a page
     *
     * @return boolean
     */
    public function instance_allow_multiple() {
        return false;
    }
jmalmsten-panopto commented 3 years ago

Hi,

This issue should be handled with the latest release.

Thanks, Joe