// Set it to 1 hour (also means the end if the video is shorter) to make the preview frame show more.
poster: 'npt:1:0:0',
});
- // Related: https://github.com/asciinema/asciinema-player/blob/develop/src/components/Terminal.js :
- // Old PR: Fix UI regression of asciinema player https://github.com/go-gitea/gitea/pull/26159
- opts.container.querySelector('.ap-term')!.style.overflow = 'hidden';
opts.container.querySelector('.ap-player')!.style.borderRadius = '0';
return true;
} catch (error) {