I am using Drupal 6.6 with SWF Tools, Flashnode and Flowplayer for playing mp3 audio files. After updating SWF Tools to latest version, the mp3 is not playing in firefox 3.0.7. But everything OK in internet explorer.

What is the reason? Can you please help me to solve this? Link http://www.kathakali.info/-page-385-kathakali-audio

Regards,
-S-

Comments

davebv’s picture

I have smimilar problem, I get this error:

202 the provider specified in this clip is not loaded, provider 'audio, clip: '[Clip] '

What I am doing wrong? Same problem tested in firefox and safari.

I play the files like this:

$files = array('file1.mp3', 'file2.mp3') ;
print swf($files);
Stuart Greenfield’s picture

@davebv - this sounds like you didn't install, or FlowPlayer can't find, the audio plugin. See if #401992: flowplayer 202 The provider specified in this clip is not loaded, Provider audio.clip: [clip] helps.

sunilkumar’s picture

Stuart Greenfield, what about mine? Any idea?
Regards,
-S-

Stuart Greenfield’s picture

@sunilkumar - I tried the link, and I get the same.

I'm not sure why this is. Can you just confim you're on SWF Tool 6.x-2.3, and it looks like you're using FlowPlayer2 with direct embedding.

Do the files playback if you use, say, the generic mp3 player?

I'll see if I can recreate this locally and help you!

Stuart Greenfield’s picture

This is really odd - it seems to work ok for me locally, but I can't play audio from your site on either Firefox or Safari.

What version of Drupal core are you using, just in case there is some obscure hiccup there. I'm going to have to try and create exactly the same set up as you have I think as I'm stuck at the moment.

--edit
I have taken the source of your page, and used your flashvars string in a page here, and now I get your behaviour, so it must be something to do with the flashvars. That helps as I can try manually eliminating each one in turn until I find what is breaking your content. Leave it with me for a while!
--/edit

Stuart Greenfield’s picture

Status: Active » Postponed (maintainer needs more info)

OK - I think I have isolated the issue - but I can't quite see WHY it is happening.

Please can you confirm the versions you have for the modules

  • flash node
  • SWF Tools
  • FlowPlayer

What appears to be happening is that various parameters are being set inside the code string that builds FlowPlayer. The problem is that the html_alt parameter is appearing inside the code string, and that is breaking the page under FF and Safari.

However, I dont' actually seem to be able to create this bug locally, so I'm puzzled as to what is causing it. Hence my question modules to try and pin down what your combination is to see why the modules aren't playing nicely!

Also, are you setting any special parameters via flash node?

Stuart Greenfield’s picture

Partially scrap my post #6. I still don't understand how the extra data is getting in to the FlowPlayer string, so I'd still like to know what module versions you're using.

However, I did a few more tests, and actually the code string does now seem to work. To test further I actually downloaded your source page, replaced the filename with something that I have locally, but otherwise left the string the same, and it works ok!!!!!

Your page looks strange though, I can see that in the head of your page you have the flash substitution text being inserted as metadata, and I have no idea how that's happening.

sunilkumar’s picture

Flash Node 6.x-3.1
Flowplayer 6.x-2.3
SWF Tools 6.x-2.3

The above data checked from Admin>build>Modules. Am I right?

admin/settings/swftools/embed shows Direct embedding - do not use javascript replacement selected and down "add javascript to all pages" check box is tick marked.

This is my settings, any problem?

Please bear with me, I am not techie.

Regards,
-S-

Stuart Greenfield’s picture

This is really strange - I tried that combination, and it is working ok here. There is a glitch in the code that's adding the other stuff, but it isn't giving me an issue (although I have now fixed the code to tidy it up).

But it does look like whatever is happening is somehow specific to your site or server.

I've noticed that you're trying OnePixelOut, and that's doing the same thing.

Out of interest, if I try to access the filepath to the audio files directly (as if I was wanting to download them) then I get a 403 - Forbidden Error, so it looks like maybe the files aren't being served.

Thinking some more, the fact you can SEE the audio players, this says that FireFox is getting the code to create the player and is able to activate it. Seeing as neither OnePixelOut nor FlowPlayer are working then it says the issue is maybe a server one?

You could try activating a JavaScript embededing method (try SWF Object2), to see if that gets things working.

However, the 403 error puzzles me, and if the players are trying to access a stream that is denied, then that will stop the file playing.

But it's weird that IE can play, but FireFox can't!!!

Is anyone else watching this thread that has some ideas as I'm stuck - I can't create this locally, so to me SWF Tools might not be the issue here.

Stuart Greenfield’s picture

Having now got to grips with the non working FlowPlayer3, can you also check your site event log. Are you seeing any page not found or access denied errors, suggesting that the player is looking either for the wrong file, or is being denied access? I still don't get why this should affect FF and not IE, but it's worth a look!

You also say

After updating SWF Tools to latest version

What version did you use before, and was that ok? We could maybe compare code "before" and "after" to see if that sheds any light?

sunilkumar’s picture

Yep, I updated to the present version from previous version of SWF Tools. With previous version everything was OK. After updating, I noticed the problem.

Site event log I will check later in the evening since I am now in office.

Regards,
-S-

Stuart Greenfield’s picture

When you post next can you be specific about the previous version number so I can compare what was changed and try to work out what broke - thanks!

--edit
Also, try this. One change recently in SWF Tools was to make it use relative urls. In the main swftools.module look at the very end and you find

function swftools_strip_base_root($file) {

  // Only produce relative url if using clean urls
  if (variable_get('clean_url', 0)) {
    return str_replace($GLOBALS['base_root'], '', $file);
  }

  return $file;

}

Change this to

function swftools_strip_base_root($file) {

  return $file;

}

and that will force it back to absolute paths. Clear your browser cache and try loading the page again.

Stuart Greenfield’s picture

Possible description of issue and solution:
http://www.longtailvideo.com/support/forum/Setup-Problems/8935/Flv-work-...

It was puzzling me why the flash player is loading up, even under FF, and it's just the audio that then won't play. The fact the player loads suggests the code is working fine. And the same flashvars get sent to the player for both IE and FF, so I don't think that can be the issue since if the flashvars were wrong then IE wouldn't work either.

Next, when I try to download one of your audio or video files directly I get a Forbidden error, but if I view a page in IE, let the file download, and THEN try to download the video or audio file directly it works. I think in that case I am getting served a file from my cache, bypassing your server.

Anyhow, the link I posted says that having hot link protection enabled can break the Wijering player under FF, but not IE. The problem is generic, so it would affect all media players. Below is a quote from the thread at the Wijering player website.

Found the problem. Hot link protection was enabled on the server and even though the site was listed as an acceptable site, FF ignored it and IE played it. Disabled hot link protection and everything works fine in both.

So is that something changed on the server around the same time you upgraded SWF Tools?

Other than that I'm stumped - all the modules are working fine for me here, so whatever is going on really does look like a server issue rather than the module itself.

sunilkumar’s picture

Stuart Greenfield,

I checked the server error log and found nothing!
About the previous version of SWF Tools, exactly I don't remember :):) Sorry for that part. I am a newbie and did not touch any server side settings.
Now I will try to replace those codes, but lack of experience is a problem. Let me try.

Thanks for all and hope for the best.

Regards,
-S-

sunilkumar’s picture

Anybody can help me?

Meanwhile let me reinstall the rpevious version, if available in Drupal.org
Regards,
-S-

sunilkumar’s picture

Hi Stuart,

Before updating I was using 6.1 dev. version. I tried to re sintall the old version 6.1, the result was same in Firefox. How can I solve this?

Regards,
-S-

sunilkumar’s picture

Status: Postponed (maintainer needs more info) » Fixed

Alas! I disabled hot link protection in cPanel and re-enabled it. It is working now in Firefox also!

Thanks Stuart for your kind comments. I changed the status to "fixed".

Regards,
-S-

Stuart Greenfield’s picture

Really glad you got it working :-)

I'll add the potential for hotlink protection to cause an issue to the FAQ page, when the documentation pages start working again!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.