Skip to main content
Версия: v2.9.0


This page has miscellaneous guides related to developing Wails applications for Linux.

Video tag doesn't fire "ended" event

When using a video tag, the "ended" event is not fired when the video is finished playing. This is a bug in WebkitGTK, however you can use the following workaround to fix it:

videoTag.addEventListener("timeupdate", (event) => {
if ( - < 0.2) {
let ended = new Event("ended");;

Source: Lyimmi on the discussions board