Link to home
Start Free TrialLog in
Avatar of chodoy
chodoy

asked on

Can an audio only FLV play directly in Dreamweaver CS3?

Dreamweaver goes thru the process of creating the player and making the FLVPlayer_Progressive.swf and skin swf--same as with an FLV video, which I've gotten to work many times. But on audio only FLVs it just won't play.

Could this be a bug, or am I missing something? Thanks for your help.
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Hi chodoy,

CS3 won't play anything in the interface.  Can you play the audio file by loading everything up to the server?
Avatar of chodoy
chodoy

ASKER

Yes, that is true. But it should do a browser preview, and I did try uploading with no success as well.
Can you give me a link so I can test?
Avatar of chodoy

ASKER

HI Jason,
Okay I set up a test: http://chodoy.com/audio-flv-test/audio-flv.html. Thanks!

--Janice
Did you upload the Scripts/AC_RunActiveContent.js file and folder?

Also, what's the name of the .flv file?

Avatar of chodoy

ASKER

Oh yes, I just uploaded it, but still no go. The FLV is: scholarship-podcast-remix.flv
Is this a Windows or a *nix host?
Avatar of chodoy

ASKER

Linux. But I've tried this before on other sites with different hosting companies.
Weird.  Your code is basically correct, so that isn't the issue and since you are on *nix, we are not running into the FLV mime type bug.

Try this:

Remove the following code:

<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','300','height','60','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=scholarship-podcast-remix&autoPlay=false&autoRewind=true','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive' ); //end AC code
    </script>

      <noscript>

and

</noscript>

Let's just leave the file with embed tags only and retest.
Avatar of chodoy

ASKER

Still the same, sadly. My workaround had been to embed the FLV in Flash, then export the SWF to then bring into Dreamweaver. But it just seems like it should work directly.
>> But it just seems like it should work directly.

It should.

Let's also remove the check for Flash:

<script type="text/javascript">
function MM_CheckFlashVersion(reqVerStr,msg){
  with(navigator){
    var isIE  = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
    var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
    if (!isIE || !isWin){  
      var flashVer = -1;
      if (plugins && plugins.length > 0){
        var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
        desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
        if (desc == "") flashVer = -1;
        else{
          var descArr = desc.split(" ");
          var tempArrMajor = descArr[2].split(".");
          var verMajor = tempArrMajor[0];
          var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
          var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
          flashVer =  parseFloat(verMajor + "." + verMinor);
        }
      }
      // WebTV has Flash Player 4 or lower -- too low for video
      else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;

      var verArr = reqVerStr.split(",");
      var reqVer = parseFloat(verArr[0] + "." + verArr[2]);
 
      if (flashVer < reqVer){
        if (confirm(msg))
          window.location = "http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
      }
    }
  }
}
</script>

and

 onload="MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Adobe Flash Player. Do you want to download it now?');"

Finally, what version of Flash do you have loaded?  Is it possible that the audio file is not functioning with the newest version of Flash (10, I believe)?
Avatar of chodoy

ASKER

I am running Flash 9. Still no luck.
Weird.  Have you tried to play the file using swfobject and the JW Media Player instead of the Adobe built-in stuff?
Avatar of chodoy

ASKER

No, how do I do that?
ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chodoy

ASKER

Okay, I'll check it out. Thanks for trying!
chodoy,

Thanks for the points even though I didn't deserve them

Can you try one more thing?  Can you embed a normal FLV file (with video)?  Let's see if it's an encoding error with the audio-only version...
Avatar of chodoy

ASKER

Yes, with video consistently works.
About the only thing I can think of then is that the encoding for the audio-only is incompatible with FLV_Player_Progressive.swf.  Have you tried just embedding the mp3 file?
Avatar of chodoy

ASKER

Yes that works. But then there are still those Windows users that don't have Quicktime installed. Flash seems to be the best saturation.
Right.  That's why I suggested the JW Media Player instead.  The player handles just about anything you can throw at it...
Avatar of chodoy

ASKER

At least I feel better knowing I wasn't just missing something stupid. Thanks for all the help.