From 8300c867a1eb2a709aa0a0c019dfa47a670024dc Mon Sep 17 00:00:00 2001 From: shadlaws Date: Sun, 30 Dec 2012 10:03:36 +0100 Subject: #1931, #1932, #1933, #1934 - movieplayer view and movie_img function in items model Many changes to movieplayer view and movie_img function in items model: - include control bar height when dimensioning movie player - provide a default "guess" at height and width when they are set as zero in items table - resize movie player once the video is loaded based on its actual metadata - add get_movie_img event to provide flexibility for altering/replacing the default Flowplayer v3 --HG-- extra : rebase_source : 5d1e9bb66ebf3e3fed5e1b9ee63790a204f21450 --- modules/gallery/models/item.php | 69 ++++++++++++++++++++++++++++++++--------- 1 file changed, 54 insertions(+), 15 deletions(-) (limited to 'modules/gallery/models') diff --git a/modules/gallery/models/item.php b/modules/gallery/models/item.php index 931da382..8f127532 100644 --- a/modules/gallery/models/item.php +++ b/modules/gallery/models/item.php @@ -663,31 +663,70 @@ class Item_Model_Core extends ORM_MPTT { } /** - * Return a flowplayer