I'm using a sandbox test environment using MAMP Pro where I have a multitude of sites in their individual folders in the form of http://xx.xxx.xx.xx/[site].
I'm encoding both mp4 and FLV files. In looking at the HTML5 output, the mp4 output seems to be parsed correctly, but the swftools output is incorrect.
I have <object id="swftools-4d34a79666ba1" width="640" height="480" type="application/x-shockwave-flash" name="swftools-4d34a79666ba1" data="/[site]/sites/all/libraries/mediaplayer4/player.swf" style="visibility:visible;"> and <code><param name = "base" value="/[site]/sites/default/files/">
Likewise, the swfobject.embedSWF is wrong; either [site] should not appear at all or the full URL should appear, I would think. In any event, the HTML Player fails.
I assume you'd only have this issue if a site was living in a subdirectory. I've tried changing the base URL in both the .htaccess file and in settings.php, to no avail. I'm thinking this is why I might have been having such difficulty with cross-platform video - guidance here much appreciated!
Comments
Comment #1
hypertext200There is an issue with Flashfall back, so go to themes/ and select the HTML5 player.
echo theme('video_flv', $video, $node);Comment #2
bcobin commentedNope.
The second bit of code is what's already there; replacing
echo theme('video_flv', $video, $node);with$video->player = 'flv';doesn't output anything at all.Much obliged for looking into this and for the quick response, heshan.lk - any other ideas? Thanks!
Comment #3
hypertext200This object is generating by the SWFTools module, what we are doing is just pass the video object with the path.
Comment #4
bcobin commentedOK - I'm now installed on IP and the HTML5 Player still doesn't work. In FF, there's a dimmed preview image with no player and in Mac, the Quicktime Player initializes, which is wrong. No HTML5 Player.
So still no solution for cross-platform video... any ideas?
Comment #5
hypertext200Please clear you cache and see?
to support HTML5 video you should have MP5 and OGG videos, check player settings and change player to HTML5
Comment #6
bcobin commentedI've cleared all caches - no change.
For OGG, see comment #7 here: http://drupal.org/node/1043144
Player is set to HTML5.
Regardless - shouldn't FF fall back to Flash usine HTML5 player and shouldn't the HTML5 player be visible in Mac - even without OGG?
Comment #7
parasox commentedYes I'm unclear on that too, MP4 *AND* OGG? Or is just MP4 okay?
Comment #8
hypertext200HTML5 will need mp4 and ogg
Comment #9
bcobin commentedSee comment #7 on http://drupal.org/node/1043144 re: non-working OGG preset in Video.
Comment #10
bryanb229 commentedSubscribing.