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;
}
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: