Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Tim Almdal
committed
Jun 30, 2009
1 parent
4943103
commit 8ed6d11
Showing
3 changed files
with
23 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters