Update player

This commit is contained in:
Marcin Kulik 2015-12-26 12:51:52 +00:00
parent e3c04e1461
commit 54769d5e4e
3 changed files with 680 additions and 675 deletions

View File

@ -4,9 +4,10 @@ function tryCreatePlayer(parentNode, asciicast, options) {
function createPlayer() { function createPlayer() {
asciinema_player.core.CreatePlayer( asciinema_player.core.CreatePlayer(
parentNode, parentNode,
asciicast.width, asciicast.height,
asciicast.url, asciicast.url,
{ {
width: asciicast.width,
height: asciicast.height,
snapshot: asciicast.snapshot, snapshot: asciicast.snapshot,
speed: options.speed, speed: options.speed,
autoPlay: options.autoPlay, autoPlay: options.autoPlay,

File diff suppressed because it is too large Load Diff

View File

@ -149,6 +149,7 @@
.asciinema-terminal .line span { .asciinema-terminal .line span {
padding: 0; padding: 0;
display: inline-block; display: inline-block;
overflow: hidden;
} }
.asciinema-terminal .line { .asciinema-terminal .line {
display: block; display: block;