VionetoVioneto
Back to the magazine

VIONETO MAGAZINE Working with Vioneto

Send viewers to the next lesson when a video ends

After completing playback, an embedded lesson can show the next step. This enables you to link the Vioneto notification and verify the workflow using your own video.

Next to a dark blue video card with nearly full bar is an open notebook. A Turkish arrow points from the video card to the notebook.
The notification from the player can display the appropriate next step on the course page.Image: Vioneto · AI-generated illustration

After completing a video tutorial, the next step is often an exercise or a further lesson. On your course page, you can display this link once the video has been fully played. For Vioneto embedded videos, the player sends a completion signal. The course page then decides which task to present next.

Name the next step

In a fictional image editing course, the video shows how to select a crop. The learner then practices the same step on a different clip. The link "Practice for Image Crop" describes the objective. Place it below the player so the user has sufficient time after the last sentence to view the result. A permanent link back to the lesson overview also helps if playback is interrupted.

W3C WAI on understandable link naming

Link Vioneto embedding to the course page

Open the Vioneto API, Documentation, and then the Player Input Reference. The section on playback completion includes an example for the next lesson. Use the full embed link from "Share & Embed" and your exercise's URL. The course page includes the public helper player-control.js and connects the specific embedded frame using VionetoPlayer.connect. For this connection, no API key is required.

In this example, the website makes the pre-prepared link visible in the onComplete event. According to Vioneto, the player reports one completion event per loaded viewer session when the entire timeline has finished playing and the video reaches its end. A jump to the end alone does not fulfill this condition. The signal-dependent button remains hidden in onCompletionError. The standard link to the course overview remains functional.

Technical Player Input Reference delivered by Vioneto

Use the reference connection for this exact embedding. If your page also processes messages between windows, verify the expected origin, the sending window, and the message format. Set the link target on the page as a fixed, predefined destination address.

MDN on the origin and format of messages between browser windows

Review the playback preview and course path

  • Start the Vioneto closing test using your own publicly shared embed link and verify that your player is connected.
  • Play the video in a fresh viewer view until it ends. On your course page, verify that the intended exercise link appears exactly as expected.
  • Repeat the test in a fresh view with a pause or by skipping to a section of the video. Ensure that backward navigation remains available and that the notification appears only after complete playback.
  • Open the linked exercise with the intended participant access. If it is protected, the user must check the permissions themselves upon opening.

Vioneto: playback-completion demo (in German)

The message describes the display in the loaded view. If a course requires a permanent progress step or a completed exercise, set the appropriate condition within the learning system. In the example, the solution of the exercise remains the assessable learning step.

Define the end of a video lesson in the learning system

Topics

Sources and further reading

  1. https://vioneto.com/player-completion-check.html
  2. https://vioneto.com/api-player-reference.js
  3. https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
  4. https://www.w3.org/WAI/WCAG21/Techniques/html/H30.html