From a74102e3ed3d3b50334f632b816ffaa73dbe4072 Mon Sep 17 00:00:00 2001 From: alon ainbinder Date: Mon, 14 Jan 2019 12:29:46 +0200 Subject: [PATCH] KMS-18947 add iframe allow privilige for microphone and camera --- filter/kaltura/filter.php | 2 +- lib/editor/atto/plugins/kalturamedia/ltibrowse_container.php | 2 +- local/kaltura/attobsepreview.php | 2 +- .../moodle-local_kaltura-ltitinymcepanel-debug.js | 2 +- local/kaltura/yui/src/ltitinymcepanel/js/ltitinymcepanel.js | 2 +- local/kalturamediagallery/index.php | 2 +- local/mymedia/mymedia.php | 2 +- mod/kalvidassign/renderer.php | 2 +- mod/kalvidassign/single_submission_form.php | 2 +- mod/kalvidpres/mod_form.php | 2 +- mod/kalvidpres/renderer.php | 2 +- mod/kalvidres/mod_form.php | 2 +- mod/kalvidres/renderer.php | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/filter/kaltura/filter.php b/filter/kaltura/filter.php index 405f92f6..20dfc54d 100644 --- a/filter/kaltura/filter.php +++ b/filter/kaltura/filter.php @@ -202,7 +202,7 @@ function filter_kaltura_callback($link) { 'height' => $height, 'class' => 'kaltura-player-iframe', 'allowfullscreen' => 'true', - 'allow' => 'autoplay *; fullscreen *; encrypted-media *', + 'allow' => 'autoplay *; fullscreen *; encrypted-media *; camera *; microphone *;', 'src' => $url->out(false), 'frameborder' => '0' )); diff --git a/lib/editor/atto/plugins/kalturamedia/ltibrowse_container.php b/lib/editor/atto/plugins/kalturamedia/ltibrowse_container.php index d21bd8a7..9469ffdc 100644 --- a/lib/editor/atto/plugins/kalturamedia/ltibrowse_container.php +++ b/lib/editor/atto/plugins/kalturamedia/ltibrowse_container.php @@ -9,7 +9,7 @@ ?> -