Skip to content

Commit

Permalink
Merge pull request #1460 from SubjectXXX/master
Browse files Browse the repository at this point in the history
videojs-error-fix
  • Loading branch information
DanielnetoDotCom authored Feb 7, 2019
2 parents 8c53c57 + d9e4ea3 commit a0f371c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions admin/save.json.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@

$obj = new stdClass();
$obj->save = $p->save();
if($obj->save === false) error_log("[ERROR] Error saving plugin $pluginName data. Maybe plugin is not enabled?");

echo (json_encode($obj));
3 changes: 3 additions & 0 deletions view/include/video.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,9 @@
});
// in case the video is muted
setTimeout(function () {
if (typeof player === 'undefined') {
player = videojs('mainVideo');
}
if (player.muted()) {
swal({
title: "<?php echo __("Your Media is Muted"); ?>",
Expand Down

0 comments on commit a0f371c

Please sign in to comment.