summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-04-23 06:48:41 +0000
committerBharat Mediratta <bharat@menalto.com>2009-04-23 06:48:41 +0000
commit2890eb75897d2157f3ccb02e1216b828bdf470a0 (patch)
tree95bfe57c5dcff76f8a6b8d7150eb5b76822dc3c1
parentb1a15f21302c12da480591d4d5d3d4396b78ce90 (diff)
Auto-hide the control toolbar so that it doesn't obscure the movie any longer than it has to. This resolves ticket #199.
-rw-r--r--themes/default/views/movie.html.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/themes/default/views/movie.html.php b/themes/default/views/movie.html.php
index 3f88c3fd..bde147ad 100644
--- a/themes/default/views/movie.html.php
+++ b/themes/default/views/movie.html.php
@@ -20,7 +20,13 @@
<script>
flowplayer("gMovieId-<?= $item->id ?>", "<?= url::abs_file("lib/flowplayer.swf") ?>", {
plugins: {
- h264streaming: { url: "<?= url::abs_file("lib/flowplayer.h264streaming.swf") ?>" }
+ h264streaming: {
+ url: "<?= url::abs_file("lib/flowplayer.h264streaming.swf") ?>"
+ },
+ controls: {
+ autoHide: 'always',
+ hideDelay: 2000,
+ }
}
})
</script>