test/lib: Consistent cols, rows, poster attributes for asciinema player

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2022-04-06 00:31:44 +02:00
parent 0bf6adc886
commit 081f7c8f4c
2 changed files with 2 additions and 2 deletions

View file

@ -117,7 +117,7 @@ for (var i = 0; i < perf_links.length; i++) {
ci_player.dispose(); ci_player.dispose();
ci_player = AsciinemaPlayer.create("/builds/latest/web/ci.cast", ci_player = AsciinemaPlayer.create("/builds/latest/web/ci.cast",
ci_video, ci_video,
{ startAt: seek, autoplay: true }); { cols: 240, rows: 51, poster: "npt:999:0", startAt: seek, autoplay: true });
window.scrollTo({ top: top, behavior: "smooth" }) window.scrollTo({ top: top, behavior: "smooth" })
}, false); }, false);

View file

@ -48,7 +48,7 @@ for (var i = 0; i < video___VIDEO_NAME__links.length; i++) {
__VIDEO_NAME___player = AsciinemaPlayer.create( __VIDEO_NAME___player = AsciinemaPlayer.create(
"/builds/latest/web/__VIDEO_NAME__.cast", "/builds/latest/web/__VIDEO_NAME__.cast",
__VIDEO_NAME___div, __VIDEO_NAME___div,
{ startAt: seek, autoplay: true }); { cols: 240, rows: 51, poster: "npt:999:0", startAt: seek, autoplay: true });
window.scrollTo({ top: top, behavior: "smooth" }) window.scrollTo({ top: top, behavior: "smooth" })
}, false); }, false);