On my local installation of Drupal 6 with XAMPPLITE, Flowplayer works just fine. Here's the source:

jQuery.extend(Drupal.settings, { "basePath": "/drupal/", "flowplayerSwf": "modules/flowplayer/flowplayer/flowplayer.swf", "flowplayer": { "#video-plain": { "clip": { "url": "http%3A%2F%2Flocalhost%2Fdrupal%2Fsystem%2Ffiles%2Fvideos%2F101kaime-01.mp4", "autoPlay": 0, "autoBuffering": 0, "scaling": "fit" }, "plugins": { "controls": { "play": true, "scrubber": true, "time": true, "mute": true, "volume": true, "fullscreen": true, "stop": false, "backgroundGradient": "none" } } } } });

But then on the actual site, Flowplayer doesn't work. It gives
200, Stream not found, NetStream.Play.StreamNotFound, clip: '[Clip] 'http://shitteru2.net/shit2/sites/default/files/''

Here's the snippet that calls Flowplayer:

jQuery.extend(Drupal.settings, { "basePath": "/shit2/", "flowplayerSwf": "sites/all/modules/flowplayer/flowplayer/flowplayer.swf", "flowplayer": { "#video-plain": { "playlist": [ "http://shitteru2.net/shit2/sites/default/files/", { "url": "http%3A%2F%2Fshitteru2.net%2Fshit2%2Fsites%2Fdefault%2Ffiles%2Fanime%2Fkami+nomi+zo+shiru+sekai%2Fkaminomi-01_0_10.mp4", "autoPlay": 0, "autoBuffering": 0 } ], "clip": { "scaling": "orig" }, "plugins": { "controls": { "play": true, "scrubber": true, "time": true, "mute": true, "volume": true, "fullscreen": true, "stop": false, "backgroundGradient": "none" } } } } });

As you can see, the error path (sites/default/files) is part of a playlist: term that wasn't there in my local installation. Where is this playlist option defined? I want to turn it off - I didn't even know Flowplayer supported playlists until I looked at this.


Anonymous’s picture

bump... getting desperate here...

mhrouda’s picture

I have the same problem. It adds the directory as the first item in the playlist which causes the "200, stream not found...". You can enable the "Playlist buttons" on the swftools/flowplayer3 config screen. This will allow users to skip the bad entry in the playlist (i.e. the directory) and play the video you intended.

Using Drupal 6, SWF Tools, Flowplayer 3.

embedded via javascript it looks like....

<script type="text/javascript"> 
swfobject.embedSWF("http://lssnet/kb/sites/all/modules/swftools/shared/flowplayer3/flowplayer-3.2.5.swf", "swfobject2-id-12950265781", "800", "600", "9", "", { "config": "{ \'playlist\': [ { \'url\': \'http://lssnet/kb/sites/default/files/videos/\', \'autoPlay\': true }, { \'url\': \'http://lssnet/kb/sites/default/files/videos/Patient_Portal.flv\' } ], \'canvas\': { \'height\': \'375\', \'width\': \'500\', \'backgroundRepeat\': \'repeat\', \'backgroundGradient\': \'low\', \'backgroundColor\': \'#000000\' }, \'clip\': { \'autoPlay\': false, \'autoBuffering\': false, \'scaling\': \'scale\', \'accelerated\': false, \'linkWindow\': \'_blank\', \'live\': false }, \'plugins\': { \'controls\': { \'backgroundGradient\': \'medium\', \'progressGradient\': \'medium\', \'bufferGradient\': \'none\', \'sliderGradient\': \'none\', \'autoHide\': \'fullscreen\', \'play\': true, \'volume\': true, \'mute\': true, \'time\': true, \'stop\': false, \'playlist\': true, \'fullscreen\': true, \'scrubber\': true, \'backgroundColor\': \'#000000\', \'timeColor\': \'#01daff\', \'durationColor\': \'#ffffff\', \'progressColor\': \'#015b7a\', \'bufferColor\': \'#6c9cbc\', \'sliderColor\': \'#000000\', \'buttonColor\': \'#889aa4\', \'buttonOverColor\': \'#92b2bd\' } } }", "width": "800", "height": "600" }, { "swliveconnect": "default", "play": "true", "loop": "true", "menu": "false", "quality": "autohigh", "scale": "showall", "align": "l", "salign": "tl", "wmode": "opaque", "bgcolor": "#FFFFFF", "version": "9", "allowfullscreen": "true", "allowscriptaccess": "sameDomain", "width": "800", "height": "600", "base": "http://lssnet/kb/sites/default/files/videos/", "src": "http://lssnet/kb/sites/all/modules/swftools/shared/flowplayer3/flowplayer-3.2.5.swf" }, { "id": "swf12950265781" });
endless.m’s picture

I have exactly the same problem of Ritchan...
I use Video module and Flowplayer API on more than one website, and on the others alla works fine. The strangeness is which I usually use the same structure on all the websites...

I tried to switch on SWF Tools, flowplayer initializes, but did not play the video, is just "empty", no errors showed... may be the video_upload field didn't pass the correct url to SWF Tools, but I have setted SWF Tools as source in the Video module setting...

Someone has fixed this problem?

paulap’s picture

...and no solution!

marcopanichi’s picture

after one month spent searching a solution...i've found a solution: disable playlist theming on modules/video/video_formatter.inc

see my comment: