Skip to content

Add interactive video view#1654

Draft
Arnei wants to merge 10 commits intoopencast:developfrom
Arnei:interactive-video
Draft

Add interactive video view#1654
Arnei wants to merge 10 commits intoopencast:developfrom
Arnei:interactive-video

Conversation

@Arnei
Copy link
Member

@Arnei Arnei commented Dec 1, 2025

Adds a new view to the editor. The view is for users to create and manage interactive elements in the Paella player such as textboxes and links, see opencast/opencast#7223.

Bildschirmfoto vom 2025-12-01 09-47-56

Adds a new view to the editor. In this view users can create
and edit interactive elements such as textboxes and quizzes.

This view is disabled by default.

Backend changes are required to load interactive elements
from and save them to Opencast.
Color interactive elements red if they would be deleted during cutting.
@Arnei Arnei added the type:feature A new feature or feature request label Dec 1, 2025
@Arnei Arnei marked this pull request as draft December 1, 2025 08:49
@github-actions
Copy link

github-actions bot commented Dec 1, 2025

This pull request is deployed at test.editor.opencast.org/1654/2025-12-16_09-03-44/ .
It might take a few minutes for it to become available.

@Arnei
Copy link
Member Author

Arnei commented Dec 1, 2025

The test deployment is failing because it is trying to request from https://https//develop.opencast.org/editor/ID-dual-stream-demo/edit.json

@gregorydlogan Could this be related to #1645 by chance?

Arnei added 2 commits December 4, 2025 15:55
The link field in the textbox editor of the interactive elements
could not be changed. This fixes that
The delete button for interactive elements would just
completely remove the element without any chance of recovery.
This is still the case, but there is now a confirmation modal
in place to make sure users don't delete by accident.
@gregorydlogan
Copy link
Member

Server selection stuff fixed by #1657, so this needs either a merge or a rebase after that.

A "T" should be more fitting than a "Σ".
The context menu is helpful for the cutting timeline, but
less so on the chapter or interactive elements timelines.
So this removes the context menu from those for now.
A quiz with no answers, while technically possible, makes not
a lot of sense. This changes it so that when creating a quiz,
two empty answers are already there
instead of zero.
Answers in quizzes can be either true or false.
Checkboxes make for a more intuitive way to represent that
than a labelled button.
Else the width goes unused, so why not use it.
Scales the width of the textbox box on the timeline
with the textbox duration (down to a minimum).
Also adds descriptive text in the interactive element editors.
@github-actions github-actions bot added the status:conflicts Conflicts with another pull request or issue label Dec 17, 2025
@github-actions
Copy link

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:conflicts Conflicts with another pull request or issue type:feature A new feature or feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants