opencast / opencast-admin-interface

A modern admin user interface for Opencast
https://admin-interface.opencast.org
Educational Community License v2.0
1 stars 23 forks source link

Fix video preview displaying wrong video #814

Closed Arnei closed 2 months ago

Arnei commented 2 months ago

The video preview player in the event assets details would try to display the media from the assets previously visited, which would lead to the player displaying no or the wrong video. This fixes that by ensuring that the player reloads when the url changes.

Fixes #466.

github-actions[bot] commented 2 months ago

Use docker or podman to test this pull request locally.

Run test server using develop.opencast.org as backend:

podman run --rm -it -p 127.0.0.1:3000:3000 ghcr.io/opencast/opencast-admin-interface:pr-814

Specify a different backend like stable.opencast.org:

podman run --rm -it -p 127.0.0.1:3000:3000 -e PROXY_TARGET=https://stable.opencast.org ghcr.io/opencast/opencast-admin-interface:pr-814

It may take a few seconds for the interface to spin up. It will then be available at http://127.0.0.1:3000. For more options you can pass on to the proxy, take a look at the README.md.

github-actions[bot] commented 2 months ago

This pull request is deployed at test.admin-interface.opencast.org/814/2024-07-10_07-02-15/ . It might take a few minutes for it to become available.