![]() |
|
|
|
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 |
||
![]() |
|
*****
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) |
||
![]() |
|
Registered
Join Date: Jul 2005
Location: Seattle
Posts: 5,823
|
Quote:
__________________
'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 |
||
![]() |
|
*****
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) |
||
![]() |
|
Registered
Join Date: Jul 2005
Location: Seattle
Posts: 5,823
|
Quote:
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 |
||
![]() |
|
*****
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> 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) |
||
![]() |
|
![]() |
*****
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) |
||
![]() |
|
Registered
Join Date: Jul 2005
Location: Seattle
Posts: 5,823
|
Quote:
I'll PM you the URL of the page. Quote:
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.. |
||
![]() |
|
Registered
|
I can help when I get back to town tomorrow night.
|
||
![]() |
|
Burn the fire.
|
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> 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.. |
||
![]() |
|
The Unsettler
|
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" |
||
![]() |
|
Registered
Join Date: Jul 2005
Location: Seattle
Posts: 5,823
|
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.. |
||
![]() |
|
![]() |
The Unsettler
|
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" |
||
![]() |
|
Registered
|
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 |
||
![]() |
|
The Unsettler
|
Quote:
__________________
"I want my two dollars" "Goodbye and thanks for the fish" "Proud Member and Supporter of the YWL" "Brandon Won" |
||
![]() |
|
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:
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.. |
||
![]() |
|
*****
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) |
||
![]() |
|
*****
Join Date: Apr 2006
Location: Charleston, SC
Posts: 2,359
|
Hey thanks! I needed that!
__________________
82 911SC Coupe Chiffon / Chocolate 9.5 JEs, 964 Cams, SSIs, Dansk Exhaust, CIS (SOLD) |
||
![]() |
|
*****
Join Date: Apr 2006
Location: Charleston, SC
Posts: 2,359
|
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) |
||
![]() |
|
Registered
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 |
||
![]() |
|