PyukiWiki CVS Commit
pyuki****@lists*****
2012年 2月 18日 (土) 23:28:03 JST
Index: PyukiWiki-Devel/v.cgi diff -u PyukiWiki-Devel/v.cgi:1.47 PyukiWiki-Devel/v.cgi:1.48 --- PyukiWiki-Devel/v.cgi:1.47 Sat Feb 18 23:03:38 2012 +++ PyukiWiki-Devel/v.cgi Sat Feb 18 23:28:03 2012 @@ -1,7 +1,7 @@ #!/usr/bin/perl ###################################################################### # v.cgi - This is PyukiWiki, yet another Wiki clone. -# $Id: v.cgi,v 1.47 2012/02/18 14:03:38 papu Exp $ +# $Id: v.cgi,v 1.48 2012/02/18 14:28:03 papu Exp $ # # "playvideo" version 2.2 $$ # Author: Nanami http://nanakochi.daiba.cx/ @@ -393,8 +393,6 @@ $author=&code_convert(\$author, $::defaultcode); $copyright=&code_convert(\$copyright, $::defaultcode); $title=$file if($title eq ''); - $width=$$info{ImageWidth} . "px"; - $height=$$info{ImageHeight} . "px"; my $iecompatible; if(-r "$::explugin_dir/iecompatiblehack.inc.cgi") { require "$::explugin_dir/iecompatiblehack.inc.cgi"; @@ -440,7 +438,7 @@ </head> <body> <div class="video-js-box" id="player"> -<video id="playvideo" class="video-js vjs-default-skin" width="$$info{ImageWidth}" height="$$info{ImageHeight}" controls="controls" preload="auto" autoplay="autoplay" data-setup="{}"@{[$loopflg ne 0 ? ' loop="loop"' : '']}> +<video id="playvideo" class="video-js vjs-default-skin" width="$width" height="$height" controls="controls" preload="auto" autoplay="autoplay" data-setup="{}"@{[$loopflg ne 0 ? ' loop="loop"' : '']}> $html5videotag </video> </div>