Upgrade player to the latest version

This commit is contained in:
Marcin Kulik
2026-01-09 14:41:04 +01:00
parent fe10529db2
commit 8f4172c732
3 changed files with 59 additions and 1787 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -72,7 +72,7 @@
window.player = AsciinemaPlayer.create(src, document.body, opts);
window.player.addEventListener('reset', () => {
window.player.addEventListener('metadata', () => {
const el = window.player.el.getElementsByClassName('ap-player')[0];
const style = window.getComputedStyle(el);
const color = style.getPropertyValue("--term-color-background");