$dim = getimagesize($dir . 'video.jpg');
}
- $res = '<style type="text / css">';
+ $res = '<style type="text/css">';
$res .= 'html, body {margin: 0;padding: 0;height: 100%;color:#fff;overflow:hidden;}';
$res .= 'body,video{background:#' . $background . ';}';
$res .= 'video{width:100%;height:100%;display:none;}';
$video .= ' autoplay="autoplay"';
}
if (($displayPoster || $ios) && isset($poster)) {
- $video .= ' poster="' . $web . 'video . jpg"';
+ $video .= ' poster="' . $web . 'video.jpg"';
}
$video .= '>';
$video .= '</video>';