diff options
author | Nathan Kinkade <nath@nkinka.de> | 2013-12-29 13:11:09 +0000 |
---|---|---|
committer | Nathan Kinkade <nath@nkinka.de> | 2013-12-29 13:11:09 +0000 |
commit | 75451124fe8856e832b49f04f038f7ec6f141350 (patch) | |
tree | 5fe40e4117314c5815873f6b18a888c3da59839c | |
parent | 1b8723433c40cd372ee0dc53ce51d60caf1e9e20 (diff) |
Do not autoplay videos.
-rw-r--r-- | modules/gallery/models/item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/models/item.php b/modules/gallery/models/item.php index 2dbd99bb..cfcd9877 100644 --- a/modules/gallery/models/item.php +++ b/modules/gallery/models/item.php @@ -801,7 +801,7 @@ class Item_Model_Core extends ORM_MPTT { $view->width = $movie_img->width; $view->height = $movie_img->height; $view->div_attrs = $movie_img->div_attrs; - $view->video_attrs = array_merge(array("controls" => "controls", "autoplay" => "autoplay", + $view->video_attrs = array_merge(array("controls" => "controls", "style" => "max-width: 100%"), $movie_img->video_attrs); $view->source_attrs = array("type" => legal_file::get_movie_types_by_extension($extension), "src" => $movie_img->url); |