Added zoom support to webm
This commit is contained in:
parent
29bdc5da22
commit
b554e7505b
@ -42,7 +42,12 @@ class VideoFileHandlerTheme extends Themelet {
|
||||
$html .= $html_fallback;
|
||||
} else {
|
||||
$html .= "
|
||||
<video controls " . ($autoplay ? 'autoplay' : '') . " width=\"100%\" " . ($loop ? 'loop' : '') . ">
|
||||
<video controls class='shm-main-image' id='main_image' alt='main image'"
|
||||
. ($autoplay ? ' autoplay' : '')
|
||||
. ($loop ? ' loop' : '')
|
||||
. " data-width='{$image->width}' "
|
||||
. " data-height='{$image->height}'>
|
||||
|
||||
<source src='{$ilink}' type='{$supportedExts[$ext]}'>
|
||||
|
||||
<!-- If browser doesn't support filetype, fallback to flash -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user