Hi there!
Firstly, great module! I've installed and got the MediaFront player 'working' in drupal 7.2, and it's great except that, when we set the preset settings to 'Disable Playlist' (as in one case, we will only want to play one animation) the video no longer loads.
I am loading flv files (although have also tested with mp4.
You can see an example of the video loading on a testing site here:
http://www.theme.notnotcowdesign.com/
And you can see the same preset, except with 'Disable' playlist setting here:
http://www.theme.notnotcowdesign.com/test-secondary
As you will see, the video does not load. I am using the default templates, and the only thing I can think is that they do not support single video playback with the playlist disabled?
Below is an expport of the settings for the second preset:
$preset = array (
'name' => 'player',
'description' => '',
'player' => 'osmplayer',
'connect' => array (
'iscontroller' => array (
),
'isplaylist' => array (
),
),
'settings' => array (
'id' => 'player',
'showPlaylist' => 1,
'file' => '',
'flashPlayer' => 'flash/mediafront.swf',
'image' => '',
'volume' => '80',
'autostart' => 0,
'autoLoad' => 1,
'streamer' => '',
'apiKey' => '',
'sessid' => '',
'api' => 2,
'drupalVersion' => 6,
'links' => array (
),
'linksvertical' => false,
'logo' => 'logo.png',
'link' => 'http://www.mediafront.org',
'logopos' => 'sw',
'logoWidth' => '49',
'logoHeight' => '15',
'logox' => '5',
'logoy' => '5',
'node' => '',
'shuffle' => 0,
'loop' => 0,
'repeat' => 1,
'pageLimit' => '10',
'protocol' => 'json',
'server' => 'drupal',
'template' => 'default',
'baseURL' => '',
'draggable' => false,
'resizable' => false,
'playlist' => '',
'args' => array (
),
'wildcard' => '*',
'gateway' => '',
'vertical' => '1',
'scrollSpeed' => '15',
'updateTimeout' => 20,
'hysteresis' => 40,
'dynamic' => false,
'scrollMode' => 'auto',
'pageLink' => 0,
'debug' => 1,
'embedWidth' => '950',
'embedHeight' => '505',
'skin' => 'default',
'autoNext' => 0,
'prefix' => '',
'showScrollbar' => 1,
'controllerOnly' => 0,
'wmode' => 'window',
'forceOverflow' => 0,
'volumeVertical' => false,
'incrementTime' => '1',
'quality' => 'default',
'zIndex' => '400',
'timeout' => '4',
'fluidWidth' => 0,
'fluidHeight' => 0,
'fullscreen' => 0,
'width' => '950',
'height' => '505',
'theme' => 'dark-hive',
'version' => '0.01',
'showController' => 1,
'disablePlaylist' => 0,
'playlistOnly' => 0,
'showNodeVoter' => 0,
'showTeaserVoter' => 0,
'showTitleBar' => 1,
'showWhenEmpty' => 1,
'playerPath' => 'sites/all/modules/mediafront/players/osmplayer/player',
'playerURL' => 'http://www.theme.notnotcowdesign.com/sites/all/modules/mediafront/player...',
),
);
I'm really hoping that it's something thick i'm doing at my end, but would like to know:) I also notice that 'drupalVersion' is set to 6 by default in the presets. Is that right?
Any help, much appreciated, fantastic work!
NNC
Comments
Comment #1
NotNotCow commentedActually, you'll probably notice that I posted the wrong preset code above, it should be for player2 as below (need more coffee obviously:)
$preset = array (
'name' => 'player2',
'description' => 'the same player but with playlist removed',
'player' => 'osmplayer',
'connect' => array (
'iscontroller' => array (
),
'isplaylist' => array (
),
),
'settings' => array (
'id' => 'player',
'showPlaylist' => 0,
'file' => '',
'flashPlayer' => 'flash/mediafront.swf',
'image' => '',
'volume' => '80',
'autostart' => 0,
'autoLoad' => 1,
'streamer' => '',
'apiKey' => '',
'sessid' => '',
'api' => 2,
'drupalVersion' => 6,
'links' => array (
),
'linksvertical' => false,
'logo' => 'logo.png',
'link' => 'http://www.mediafront.org',
'logopos' => 'sw',
'logoWidth' => '49',
'logoHeight' => '15',
'logox' => '5',
'logoy' => '5',
'node' => '',
'shuffle' => 0,
'loop' => 0,
'repeat' => 1,
'pageLimit' => '10',
'protocol' => 'json',
'server' => 'drupal',
'template' => 'default',
'baseURL' => '',
'draggable' => false,
'resizable' => false,
'playlist' => '',
'args' => array (
),
'wildcard' => '*',
'gateway' => '',
'vertical' => '1',
'scrollSpeed' => '15',
'updateTimeout' => 20,
'hysteresis' => 40,
'dynamic' => false,
'scrollMode' => 'auto',
'pageLink' => 0,
'debug' => 1,
'embedWidth' => '950',
'embedHeight' => '505',
'skin' => 'default',
'autoNext' => 0,
'prefix' => '',
'showScrollbar' => 1,
'controllerOnly' => 0,
'wmode' => 'window',
'forceOverflow' => 0,
'volumeVertical' => false,
'incrementTime' => '1',
'quality' => 'default',
'zIndex' => '400',
'timeout' => '4',
'fluidWidth' => 0,
'fluidHeight' => 0,
'fullscreen' => 0,
'width' => '950',
'height' => '505',
'theme' => 'dark-hive',
'version' => '0.01',
'showController' => 1,
'disablePlaylist' => 1,
'playlistOnly' => 0,
'showNodeVoter' => 0,
'showTeaserVoter' => 0,
'showTitleBar' => 1,
'showWhenEmpty' => 1,
'playerPath' => 'sites/all/modules/mediafront/players/osmplayer/player',
'playerURL' => 'http://www.theme.notnotcowdesign.com/sites/all/modules/mediafront/player...',
),
);
Comment #2
enjoylife commentedGiven the age of this issue, I am closing this issue. If you are still having problems, please open a new issue.