Pelican Parts
Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   Pelican Parts Forums > Miscellaneous and Off Topic Forums > Off Topic Discussions


Reply
 
LinkBack Thread Tools Rate Thread
Author
Thread Post New Thread    Reply
Registered
 
Join Date: Jul 2005
Location: Seattle
Posts: 5,823
Need some HTML help. Anyone?

I'm redesigning my website and I'm having a small issue I can't figure out.
I have embedded audio clips that only seem to work in Firefox. Won't work in IE, Safari, nothing except Firefox.

I'm using Adobe Dreamweaver CS5.

the coding that Dreamweaver give is as follows:
HTML Code:
<OBJECT id=audioplayer2 
            data="http://www.mysite.com/MP3/player.swf" 
            width=310 align=middle height=24 
            type=application/x-shockwave-flash>
              <embed src="MP3/zz.mp3" width="310" height="24" align="middle" autostart="false"></embed>
            </OBJECT>

One tester told me that the site wanted him to install Apple's Quicktime plugin, and he did... still didn't work. But I can't figure out why it would ask him to do that, becasue according to the code from what I can tell is Shockwave and/or Flash...no Quicktime involved???
If they ARE Quicktime based I'd rather dump it and go with something non Crapple.

anyone have any ideas why these won't seem to work in anything other than Firefox? If you want to see the actual page and it's workings, I'll PM it unless I have Z's or Wayne's permission to post it in public.

__________________
'85 911. White - 53,000 miles bought 3-16-07. "Casper"
'88 924S. Blue - 120k miles bought with 105k miles.
'94 968 Coupe - White - 108,000 miles bought 9-28-17
'09 Cayman - Grey - bought 9-8-20
Old 01-11-2011, 05:59 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #1 (permalink)
mca mca is offline
*****
 
mca's Avatar
 
Join Date: Apr 2006
Location: Charleston, SC
Posts: 2,359
Probably a cross domain issue.

Cross-domain policy for Flash movies

The embed source is supposed to be the swf ... and maybe the mp3 is a variable passed to the swf.
__________________
82 911SC Coupe Chiffon / Chocolate
9.5 JEs, 964 Cams, SSIs, Dansk Exhaust, CIS (SOLD)
Old 01-11-2011, 06:08 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #2 (permalink)
Registered
 
Join Date: Jul 2005
Location: Seattle
Posts: 5,823
Quote:
Originally Posted by mca View Post
Probably a cross domain issue.

Cross-domain policy for Flash movies

The embed source is supposed to be the swf ... and maybe the mp3 is a variable passed to the swf.
Reading, but not so sure I understand. The MP3's are hosted on my site, not another site. It seems if that were the case, they shouldn't work in Firefox either?
__________________
'85 911. White - 53,000 miles bought 3-16-07. "Casper"
'88 924S. Blue - 120k miles bought with 105k miles.
'94 968 Coupe - White - 108,000 miles bought 9-28-17
'09 Cayman - Grey - bought 9-8-20
Old 01-11-2011, 06:15 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #3 (permalink)
mca mca is offline
*****
 
mca's Avatar
 
Join Date: Apr 2006
Location: Charleston, SC
Posts: 2,359
Where is the player hosted?

data="http://www.mysite.com/MP3/player.swf"
__________________
82 911SC Coupe Chiffon / Chocolate
9.5 JEs, 964 Cams, SSIs, Dansk Exhaust, CIS (SOLD)
Old 01-11-2011, 06:17 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #4 (permalink)
Registered
 
Join Date: Jul 2005
Location: Seattle
Posts: 5,823
Quote:
Originally Posted by mca View Post
Where is the player hosted?

data="http://www.mysite.com/MP3/player.swf"

Sorry, the player is on my website... the actual coding for it is correct. I ommitte4d the URL.com so as not to "advertise" on the forum.
__________________
'85 911. White - 53,000 miles bought 3-16-07. "Casper"
'88 924S. Blue - 120k miles bought with 105k miles.
'94 968 Coupe - White - 108,000 miles bought 9-28-17
'09 Cayman - Grey - bought 9-8-20
Old 01-11-2011, 06:20 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #5 (permalink)
mca mca is offline
*****
 
mca's Avatar
 
Join Date: Apr 2006
Location: Charleston, SC
Posts: 2,359
In order to embed the player put this in the head tag of the html so that you are using swf object.

HTML Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>

<script type="text/javascript" src="swfaddress.js"></script>
Put this in the body of the html

HTML Code:
<script type="text/javascript">
	    // <![CDATA[
			var flashvars = false;
			var params = {
				  base: 'mp3/',
				  wmode: 'window',
				  menu: 'false'
			};
			
			var attributes = {}; 
			attributes.id = "mp3player"; 
			swfobject.embedSWF("mp3/player.swf", "flashcontent", "310", "24", "9.0.0", "", flashvars, params, attributes);
	
	    // ]]>
	    </script>
__________________
82 911SC Coupe Chiffon / Chocolate
9.5 JEs, 964 Cams, SSIs, Dansk Exhaust, CIS (SOLD)
Old 01-11-2011, 06:22 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #6 (permalink)
 
mca mca is offline
*****
 
mca's Avatar
 
Join Date: Apr 2006
Location: Charleston, SC
Posts: 2,359
get swfaddress.js here > Asual | SWFAddress - Deep linking for Flash and Ajax

gots to go to bed now ... i'll check back tomorrow.
__________________
82 911SC Coupe Chiffon / Chocolate
9.5 JEs, 964 Cams, SSIs, Dansk Exhaust, CIS (SOLD)
Old 01-11-2011, 06:24 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #7 (permalink)
Registered
 
Join Date: Jul 2005
Location: Seattle
Posts: 5,823
Quote:
Originally Posted by mca View Post
In order to embed the player put this in the head tag of the html so that you are using swf object.
.....
Doesn't seem to have worked. Not sure where in the body to place the second bit

I'll PM you the URL of the page.

Quote:
Originally Posted by mca View Post
get swfaddress.js here > Asual | SWFAddress - Deep linking for Flash and Ajax

gots to go to bed now ... i'll check back tomorrow.
Yoiks, OK, I think that may be way beyond me. I've been working on the site for a few months now, and HTML stuff pretty much baffles me when it comes to much more than editing text or placing an image (sometimes even placing an image in the corect place stumps me)
Took me severel hours last night to get the audio players to do something..anything at all.
__________________
'85 911. White - 53,000 miles bought 3-16-07. "Casper"
'88 924S. Blue - 120k miles bought with 105k miles.
'94 968 Coupe - White - 108,000 miles bought 9-28-17
'09 Cayman - Grey - bought 9-8-20

Last edited by WolfeMacleod; 01-11-2011 at 06:33 PM..
Old 01-11-2011, 06:30 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #8 (permalink)
Registered
 
slodave's Avatar
 
Join Date: Sep 2005
Location: Encino Man
Posts: 22,394
Garage
Send a message via Skype™ to slodave
I can help when I get back to town tomorrow night.
Old 01-11-2011, 06:54 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #9 (permalink)
Burn the fire.
 
Brando's Avatar
 
Join Date: May 2003
Location: Land of Liberty, NH
Posts: 6,501
Garage
Not working in IE?

Put all of your variables in the object tag into quotes. Make sure the source matches in the Object and Embed tags. Also, you're missing param tags. Try this:

HTML Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="310" height="24" id="audioplayer2" align="middle">
	<param name="allowScriptAccess" value="sameDomain" />
	<param name="allowFullScreen" value="false" />
	<param name="wmode" value="transparent">
	<param name="movie" value="MP3/player.swf" />
	<param name="quality" value="high" />
	<param name="bgcolor" value="#000000" />
	<embed name="audioplayer2" src="MP3/player.swf" width="310" height="24" align="middle" autostart="false" pluginspage="http://www.adobe.com/go/getflashplayer" quality="high" allowscriptaccess="sameDomain"></embed>	
</object>
And, if you are just embedding a straight MP3 file:

HTML Code:
<OBJECT DATA="MP3/zz.mp3" TYPE="audio/mpeg" width="310" height="24" id="audioplayer2" align="middle">
	<PARAM NAME="autostart" VALUE="false" />
	<PARAM NAME="hidden" VALUE="false" />
	<EMBED src="MP3/zz.mp3" autostart="false" hidden="false" width="310" height="24" id="audioplayer2" align="middle"></EMBED>
</OBJECT>
__________________
[x] Working | [_] Broken: 2017 Victory Octane
[x] Working | [_] Broken: 2005 Ram 1500 SLT w/5.7L Hemi

"Drive it like you stole it."

Last edited by Brando; 01-11-2011 at 07:26 PM..
Old 01-11-2011, 06:59 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #10 (permalink)
The Unsettler
 
stomachmonkey's Avatar
 
Join Date: Dec 2002
Location: Lantanna TX
Posts: 23,885
Send a message via AIM to stomachmonkey
You are embedding an mp3 as a Flash object which it is not.

Do you have Flash?

Embed your audio inside a swf, Flash file, and all will be right with the world.
__________________
"I want my two dollars"
"Goodbye and thanks for the fish"
"Proud Member and Supporter of the YWL"
"Brandon Won"
Old 01-11-2011, 07:07 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #11 (permalink)
Registered
 
Join Date: Jul 2005
Location: Seattle
Posts: 5,823
Quote:
Originally Posted by stomachmonkey View Post
You are embedding an mp3 as a Flash object which it is not.

Do you have Flash?

Embed your audio inside a swf, Flash file, and all will be right with the world.
Apparently, part of the issue does lie in the Player.swf portion of the coding. It seems I'm supposed to upload an SWF/Flash player file to the site somewhere....however, I'm unable to find ANY information on where to get it. Googling any sort of "play Flash on site" or "embed flash" or "SWF player" comes up with how to install Flash plugins and play back Flash content on my PC!
__________________
'85 911. White - 53,000 miles bought 3-16-07. "Casper"
'88 924S. Blue - 120k miles bought with 105k miles.
'94 968 Coupe - White - 108,000 miles bought 9-28-17
'09 Cayman - Grey - bought 9-8-20

Last edited by WolfeMacleod; 01-12-2011 at 01:13 AM..
Old 01-11-2011, 11:40 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #12 (permalink)
 
The Unsettler
 
stomachmonkey's Avatar
 
Join Date: Dec 2002
Location: Lantanna TX
Posts: 23,885
Send a message via AIM to stomachmonkey
Personally I would build yourself a nice little "gallery" in Flash, think some sort of Jukebox type deal.

If you're really nice to MCA he may help, he's an Actionscript guy. I've seen his work. He knows his stuff.

I might could be tempted to tackle it in exchange for some friends and family pricing on some pu's for an old Hagstrom lll that I have lying around in pieces and am contemplating hot rodding.

What's your timeframe for getting all this done?
__________________
"I want my two dollars"
"Goodbye and thanks for the fish"
"Proud Member and Supporter of the YWL"
"Brandon Won"
Old 01-12-2011, 06:31 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #13 (permalink)
Registered
 
Paul_Heery's Avatar
 
Join Date: Dec 2001
Location: Elsewhere, CT
Posts: 2,122
Garage
Wolfe,

I might suggest that you take a look at Wimpy MP3 Player

It is easy to setup and virtually idiot proof. I say "virtually idiot proof" because it comes with step-by-step instructions and an online configuration wizard. However, there are a couple of critical steps that you need to take to secure your content that are not covered by the wizard and a lot of people overlook them.

Check out their examples on that page.

Let me know if you need any help.

Paul
Old 01-12-2011, 09:02 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #14 (permalink)
The Unsettler
 
stomachmonkey's Avatar
 
Join Date: Dec 2002
Location: Lantanna TX
Posts: 23,885
Send a message via AIM to stomachmonkey
Quote:
Originally Posted by Paul_Heery View Post
Wolfe,

I might suggest that you take a look at Wimpy MP3 Player

It is easy to setup and virtually idiot proof. I say "virtually idiot proof" because it comes with step-by-step instructions and an online configuration wizard. However, there are a couple of critical steps that you need to take to secure your content that are not covered by the wizard and a lot of people overlook them.

Check out their examples on that page.

Let me know if you need any help.

Paul
Well there you go.
__________________
"I want my two dollars"
"Goodbye and thanks for the fish"
"Proud Member and Supporter of the YWL"
"Brandon Won"
Old 01-12-2011, 09:13 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #15 (permalink)
Registered
 
Join Date: Jul 2005
Location: Seattle
Posts: 5,823
Ahhaaa! I got it!
After working at this till 4 in the morning last night, my eyes were crossing so I went to sleep.
Before going to sleep, I remembered that another person had a similar file player setup as the one that was designed for me... the pages were designed by the same team. I was only given the sample layout files instead of a complete, working site, because our agreement was falling apart and they didn't come through with our original agreement (which didn't include a site, by the way)
Being unable to locate the file player, I went to the other site they had built and viewed the source code, looking for the SWF player file. Once I found it, I clicked and saved, then uploaded to my site.
Surprise, they were using the same embedded player.

No need to convert the MP3's to Flash...

This would have been so much easier if they'd provided the SWF player with the basic files when they sent them.

But I think it works



Now.. MCA... I may want to talk to you about some other stuffs...






Quote:
Originally Posted by Paul_Heery View Post
Wolfe,

I might suggest that you take a look at Wimpy MP3 Player

It is easy to setup and virtually idiot proof. I say "virtually idiot proof" because it comes with step-by-step instructions and an online configuration wizard. However, there are a couple of critical steps that you need to take to secure your content that are not covered by the wizard and a lot of people overlook them.

Check out their examples on that page.

Let me know if you need any help.

Paul
Paul, I think I ran across that page last night Once I start getting the hang of thism, I may want to skin something to look bettewr on the site.
Not real worried about securing the content, as they're user-submitted soundclips using my product. They get posted in several places.
__________________
'85 911. White - 53,000 miles bought 3-16-07. "Casper"
'88 924S. Blue - 120k miles bought with 105k miles.
'94 968 Coupe - White - 108,000 miles bought 9-28-17
'09 Cayman - Grey - bought 9-8-20

Last edited by WolfeMacleod; 01-16-2011 at 11:23 PM..
Old 01-12-2011, 09:15 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #16 (permalink)
mca mca is offline
*****
 
mca's Avatar
 
Join Date: Apr 2006
Location: Charleston, SC
Posts: 2,359
Glad you got it working. Sorry that I was out of pocket all day today. Trying to close on a construction loan and running around like mad getting paperwork together.

Anytime you have a question feel free to PM me. I'd be happy to lend a hand.

Cheers,
Craig
__________________
82 911SC Coupe Chiffon / Chocolate
9.5 JEs, 964 Cams, SSIs, Dansk Exhaust, CIS (SOLD)
Old 01-12-2011, 02:45 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #17 (permalink)
mca mca is offline
*****
 
mca's Avatar
 
Join Date: Apr 2006
Location: Charleston, SC
Posts: 2,359
Quote:
Originally Posted by stomachmonkey View Post
If you're really nice to MCA he may help, he's an Actionscript guy. I've seen his work. He knows his stuff.
Hey thanks! I needed that!
__________________
82 911SC Coupe Chiffon / Chocolate
9.5 JEs, 964 Cams, SSIs, Dansk Exhaust, CIS (SOLD)
Old 01-12-2011, 02:56 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #18 (permalink)
mca mca is offline
*****
 
mca's Avatar
 
Join Date: Apr 2006
Location: Charleston, SC
Posts: 2,359
Quote:
Originally Posted by WolfeMacleod View Post
Ahhaaa! I got it!
Nice site. Noticed that the products.jpg in the navigation isn't correct. The hover image is correct by the dormant image (products.jpg) looks odd.
__________________
82 911SC Coupe Chiffon / Chocolate
9.5 JEs, 964 Cams, SSIs, Dansk Exhaust, CIS (SOLD)
Old 01-12-2011, 03:00 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #19 (permalink)
Registered
 
VincentVega's Avatar
 
Join Date: Aug 2002
Location: MD
Posts: 5,733
FYI

4 sound clips are listed on the above referenced page but only the first 3 work.

Looks good

Old 01-12-2011, 07:03 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #20 (permalink)
Reply


 


All times are GMT -8. The time now is 04:53 AM.


 
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website -    DMCA Registered Agent Contact Page
 

DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.