mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-22 04:19:11 -04:00
Created a new view "movieplayer.html.php", which is rendered by Item_Model::movie_img(). Changed movie.html.php to use movie_img to render the movie player link.
16 lines
429 B
PHP
16 lines
429 B
PHP
<?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>
|