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