Commit 4d7fa85
committed
feat(demo): enable native player controls on hover
Flip the asciinema-player from controls:false to controls:"auto" so
visitors can pause/seek the hero scan demo via the native control bar.
The bar reveals on hover and auto-hides otherwise, keeping the hero
clean; autoPlay/loop are unchanged. The bar is transparent with icons
inheriting --term-color-foreground, so it adapts to both cast themes
with no extra CSS.1 parent 52aa1a1 commit 4d7fa85
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
71 | 77 | | |
72 | 78 | | |
73 | 79 | | |
| |||
0 commit comments