mirror of
https://github.com/asciinema/asciinema.git
synced 2026-08-29 10:08:55 +02:00
Upgrade player to the latest version
This commit is contained in:
1842
assets/asciinema-player.css
vendored
1842
assets/asciinema-player.css
vendored
File diff suppressed because it is too large
Load Diff
2
assets/asciinema-player.min.js
vendored
2
assets/asciinema-player.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user