summaryrefslogtreecommitdiff
path: root/modules/gallery/views/movieplayer.html.php
blob: 28324a540fc93f9273049afaa3529bc9fe81e295 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php defined("SYSPATH") or die("No direct script access.") ?>
<?= html::anchor($item->file_url(true), "", $attrs) ?>
<script>
  flowplayer("<?= $attrs["id"] ?>", {src: "<?= url::abs_file("lib/flowplayer.swf") ?>",
      wmode: "transparent"}, {
    plugins: {
      h264streaming: {
        url: "<?= url::abs_file("lib/flowplayer.h264streaming.swf") ?>"
      },
      controls: {
        autoHide: 'always',
        hideDelay: 2000
      }
    }
  })
</script>