test/lib: Consistent cols, rows, poster attributes for asciinema player
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
0bf6adc886
commit
081f7c8f4c
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue