From 54d20d076eee64040a2d45a1ac572bc05d36659b Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 12 Oct 2009 00:16:12 +0200 Subject: [PATCH] generate css to resize carousel --- bin/mplayer.pl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/bin/mplayer.pl b/bin/mplayer.pl index 8a6ec71..84e7ef8 100755 --- a/bin/mplayer.pl +++ b/bin/mplayer.pl @@ -206,6 +206,21 @@ sub html5tv { write_file 'www/media.html', $html; + write_file 'www/media/video.css', qq| + +.jcarousel-skin-ie7 .jcarousel-container-horizontal, +.jcarousel-skin-ie7 .jcarousel-clip-horizontal { + width: $html5tv->{video}->{width}px; + height: $html5tv->{slide}->{height}px; +} + +.jcarousel-skin-ie7 .jcarousel-item { + width: $html5tv->{slide}->{width}px; + height: $html5tv->{slide}->{height}px; +} + + |; + } -- 2.20.1