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