Skip to content

Commit

Permalink
Merge pull request #4392 from serlo/fix/interactive-vid-bugs
Browse files Browse the repository at this point in the history
fix(interactive-video): bugfixes/improvements
  • Loading branch information
elbotho authored Jan 13, 2025
2 parents 198951f + 05de00e commit 3247927
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/editor/src/i18n/strings/de/edit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,13 @@ export const editStrings = {
defaultTitle: 'Aufgabe',
autoOpenLabel: 'Automatisch öffnen',
autoOpenExplanation:
'Der Inhalt öffnet wird automatisch angezeigt, wenn das Video dort ankommt',
'Die Aufgabe wird automatisch geöffnet, wenn das Video dort ankommt',
mandatoryLabel: 'Verpflichtende Aufgabe',
mandatoryExplanation:
'Die Aufgabe muss richtig beantwortet werden, um das Video weiter abzuspielen',
forceRewatchLabel: 'Auto-Wiederholung',
forceRewatchExplanation:
'Wenn die Aufgabe falsch beantwortet wurde, kann der Lerner per Button den letzten Abschnitt noch mal anschauen',
'Wenn die Aufgabe falsch beantwortet wurde, kann der Lernende per Button den letzten Abschnitt noch mal anschauen',
editMark: 'Bearbeiten',
removeMark: 'Löschen',
removeAllMarks: 'Alle Aufgaben löschen',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export function EditMode({
videoSrc={videoSrc}
marks={staticMarks}
learnerInteractions={previewActive ? learnerInteractions : undefined}
checkSeekAndPlay={previewActive ? checkSeekAndPlay : undefined}
tools={
previewActive ? (
<MarkOverlay
Expand All @@ -68,7 +69,6 @@ export function EditMode({
/>
)
}
checkSeekAndPlay={checkSeekAndPlay}
/>
{showOverlayContentIndex === null || previewActive ? null : (
<OverlayContentModal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export function MarkOverlay({
function closeOverlay() {
if (!player) return
close()
player.currentTime = player.currentTime + 0.01
setTimeout(() => player.$el?.focus())
}

Expand Down

0 comments on commit 3247927

Please sign in to comment.