diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-02-25 05:27:29 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-02-25 05:27:29 +0000 |
| commit | 515c081f794c0e020241956f291381361e28489a (patch) | |
| tree | 3c1f4a153d046db9f3a4a39df4954bbc33a227f1 /themes | |
| parent | 585ea819579405bbfe772d2e7fa647f54d5a17e2 (diff) | |
Add support MP4 movies also. Flowplayer supports them and can stream
them using the h264streaming plugin. Everything else is a fairly
minor change.
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/default/views/movie.html.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/themes/default/views/movie.html.php b/themes/default/views/movie.html.php index 365faded..3f88c3fd 100644 --- a/themes/default/views/movie.html.php +++ b/themes/default/views/movie.html.php @@ -17,7 +17,13 @@ href="<?= $item->file_url(true) ?>" style="display: block; width: <?= $item->width ?>px; height: <?= $item->height ?>px"> </a> - <script>flowplayer("gMovieId-<?= $item->id ?>", "<?= url::abs_file("lib/flowplayer.swf") ?>")</script> + <script> + flowplayer("gMovieId-<?= $item->id ?>", "<?= url::abs_file("lib/flowplayer.swf") ?>", { + plugins: { + h264streaming: { url: "<?= url::abs_file("lib/flowplayer.h264streaming.swf") ?>" } + } + }) + </script> <div id="gInfo"> <h1><?= $item->title ?></h1> |
