1
0
This repository has been archived on 2021-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
gallery3-contrib/3.0/obsolete/web_client/application/views/movie_detail.html.php

32 lines
822 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<script>
var parent_path = "<?= $parent_path ?>";
var current_path = "<?= $resource->path ?>";
var resource_type = "movie";
</script>
<div id="movie">
<a id="movie-link" href="<?= $resource->url ?>" title="<?= $resource->title ?>"
style="display: block; height: <?= $resource->size->height ?>px; width: <?= $resource->size->width ?>px;" />
</div>
<script type="text/javascript">
flowplayer(
"movie-link",
{
src: "<?= url::file("lib/flowplayer.swf") ?>",
wmode: "transparent"
},
{
plugins: {
h264streaming: {
url: "<?= url::file("lib/flowplayer.h264streaming.swf") ?>"
},
controls: {
autoHide: 'always',
hideDelay: 2000
}
}
}
)
</script>