summaryrefslogtreecommitdiff
path: root/modules/gallery/views
diff options
context:
space:
mode:
authorJoe7 <jozsef.rnagy@site.hu>2011-01-06 06:57:55 +0100
committerJoe7 <jozsef.rnagy@site.hu>2011-01-08 06:09:44 +0100
commit07acd2b750db4a8f77015474254cb1d9f8307d25 (patch)
tree223ccca7c7f70884ee91c7e6ec82d6dbf6c882e5 /modules/gallery/views
parentd74aad072d8ccca70efb1c8b673e8368566a1974 (diff)
Set video player to keep the aspect ratio of the video when playing in fullscreen
Fixes ticket #1154 - credit goes to floridave
Diffstat (limited to 'modules/gallery/views')
-rw-r--r--modules/gallery/views/movieplayer.html.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gallery/views/movieplayer.html.php b/modules/gallery/views/movieplayer.html.php
index 2e79b620..5c280a36 100644
--- a/modules/gallery/views/movieplayer.html.php
+++ b/modules/gallery/views/movieplayer.html.php
@@ -9,6 +9,9 @@
provider: "pseudostreaming"
},
{
+ clip: {
+ scaling: 'fit'
+ },
plugins: {
pseudostreaming: {
url: "<?= url::abs_file("lib/flowplayer.pseudostreaming.swf") ?>"