Skip to content

Commit

Permalink
Change default player and fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
albacodina committed Jul 29, 2024
1 parent 0b8231d commit 362b9de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Controller/MediaPackageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function importAction(Request $request, string $id): RedirectResponse
throw new AccessDeniedException('Not allowed. Configure your OpencastBundle to show the Importer Tab.');
}

$this->opencastImportService->importRecording($id, $request->get('invert'), $this->getUser());
$this->opencastImportService->importRecording($id, filter_var($request->get('invert'), FILTER_VALIDATE_BOOLEAN), $this->getUser());

if ($request->headers->get('referer')) {
return $this->redirect($request->headers->get('referer'));
Expand Down
2 changes: 1 addition & 1 deletion Resources/doc/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Mandatory:
- `host` is the Opencast server URL (Engage node in cluster).
- `username` is the name of the account used to operate the Opencast REST endpoints (org.opencastproject.security.digest.user). If empty, the connection is as an anonymous user.
- `password` is the password for the account used to operate the Opencast REST endpoints (org.opencastproject.security.digest.pass).
- `player` is the Opencast player URL or path (default `/engage/ui/watch.html`). Use `/engage/theodul/ui/core.html` for Opencast 2.x and `/paella/ui/watch.html` if [paella player](http://paellaplayer.upv.es/) is being used.
- `player` is the Opencast player URL or path (default `/engage/ui/watch.html`). Use `/engage/theodul/ui/core.html` for Opencast 2.x and `/paella7/ui/watch.html` if [paella player](http://paellaplayer.upv.es/) is being used.

Optional:
- `default_tag_imported` set code of tag that you want to set when imports an mmo to PuMuKIT from Opencast.
Expand Down

0 comments on commit 362b9de

Please sign in to comment.