iEntry 10th Anniversary Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > HTML, XHTML and CSS

Reply
 
LinkBack Thread Tools
Old July 30th, 2007, 07:53 AM   #1
WebForumz Member
 

Join Date: Jul 2007
Location: France
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 matelot is on a distinguished road
Embedded music link

I'm building a page of music and lyrics for our panto group. The embed function - which produces a grey graphic to click and play - opens and plays on my local server, but not by simply opening up the page normally, or when posted to the web (.wav or .mp3).

Errors come up about several unknown plugins and applications (although it's OK under XAMPP), and warning that W3C doesn't support embed.

All I'm looking for is a dinky graphic to play the track when clicked (the first link gives the option to right click and download), or getting embed functional. Any ideas, peeps?

Cheers

Code:
<tr>
      <td><p>Title - right click Save As</p></td>
      <td><p>Click to play</p></td>
      <td><p>Lyrics</p></td>
    </tr>

<tr>
      <td><p><a href="music/lilimarlene.wav">lilimarlene.wav</a></p></td>
      <td><embed SRC="music/lilimarlene.wav" WIDTH="135" HEIGHT="45"
 hidden="false" autostart="true" loop="false"></td> PROBLEM AREA
      <td><p><a href="music/warDrinkingSongs.txt">War Drinking Songs</a></p></td>
    </tr>
matelot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old July 31st, 2007, 06:14 PM   #2
WebForumz Member
 

Join Date: Jul 2007
Location: London
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 dcpweb is on a distinguished road
Re: Embedded music link

Hi,

I would recommend you use a flash player to play audio files and compress your audio into mp3 files for fast and effective transfer. I would worked on many websites which I have used the following free music player: http://musicplayer.sourceforge.net/

You will require adobe flash or flash mx 2004 to configure this player but apart for this it was easy for me to modify and setup. you can view an example at this website: http://www.stephanie-benson.co.uk/

P Shah - www.dcpweb.co.uk
dcpweb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 1st, 2007, 06:44 AM   #3
WebForumz Member
 

Join Date: Jul 2007
Location: France
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 matelot is on a distinguished road
Re: Embedded music link

Many thanks. Got it up and running.

I've also uploaded two files from the zip with .as and .fla extensions, which seem to be variations of Word docs. Although there was no reference in the instructions, I take it they had been uploaded anyway?

One more point, on the stephanie-benson link, how was the player theme coloured, as there aren't any parameters set as far as I could find, and there isn't a playlist...

Cheers!

Last edited by matelot; August 1st, 2007 at 08:03 AM..
matelot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 1st, 2007, 08:31 AM   #4
WebForumz Member
 

Join Date: Jul 2007
Location: London
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 dcpweb is on a distinguished road
Re: Embedded music link

Hi,

the .fla file is the make file which you can open using flash 2004 mx. Once open in flash you can then change the colours (re-skin) and export as .swf file for testing and uploading. So in the zip file you should have:
  • .fla - flash make file
  • .swf - flash application file
  • .xspf - playlist file - this is basically an xml file with different extention
  • .as - action script file
you need to upload all files except the .fla file from the above. This file is only for editing the player, changing colours etc.

Regards

P Shah - www.dcpweb.co.uk
dcpweb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 1st, 2007, 09:10 AM   #5
WebForumz Member
 

Join Date: Jul 2007
Location: France
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 matelot is on a distinguished road
Re: Embedded music link

Thanks again. I'm now looking for a Linux version of MX 2004 - if not, no probs. But why no playlist on that linked site?

Cheers again.
matelot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 1st, 2007, 09:19 AM   #6
WebForumz Member
 

Join Date: Jul 2007
Location: London
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 dcpweb is on a distinguished road
Re: Embedded music link

Hi,

In your download zip did you not get a .xspf - playlist file.

uaw this link to find more info:

http://www.google.co.uk/search?hl=en...e+Search&meta=

regards

p shah - www.dcpweb.co.uk
dcpweb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 1st, 2007, 09:48 AM   #7
WebForumz Member
 

Join Date: Jul 2007
Location: France
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 matelot is on a distinguished road
Re: Embedded music link

Hi. No, one wasn't included, but I constructed one as it's straight forward. The playlist isn't the issue: it has to be referenced in the embed, but in stephanie's site html, there isn't a playlist referenced.

One of mine:
Code:
<embed src="http://www.theimpressionists.org/group/music/
xspf_player.swf?playlist_url=playlist.xspf" PLAYLIST MISSING HERE
    quality="high" bgcolor="#336699" name="xspf_player" allowscriptaccess="sameDomain"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer"
    align="center" height="168" width="400"> </embed>
That's what I couldn't understand. Otherwise I'm slowly getting my head around it.
matelot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 1st, 2007, 09:58 AM   #8
WebForumz Member
 

Join Date: Jul 2007
Location: London
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 dcpweb is on a distinguished road
Re: Embedded music link

Hi,

Yes you must put the path to the playlist file in the .as script.

I place all files into one directory e.g. music_player so the path for playlist would be:

www.dcpweb.co.uk/musicplayer/playlist.xspf - this url should be placed in the .as file.

the script below should just point to the .swf player only, no need to add playlist url here. e.g.

www.dcpweb.co.uk/musicplayer/player.swf

<embed src="www.dcpweb.co.uk/musicplayer/player.swf" PLAYLIST MISSING HERE
quality="high" bgcolor="#336699" name="xspf_player" allowscriptaccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
align="center" height="168" width="400"> </embed>

Let me know if you are still having problems.

Regards

p shah - www.dcpweb.co.uk
dcpweb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 1st, 2007, 10:09 AM   #9
WebForumz Member
 

Join Date: Jul 2007
Location: France
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 matelot is on a distinguished road
Re: Embedded music link

OK, I'll try that. I was following the sourceforge help file to the letter, so it seems that there's more than one way to skin a cat.

Cheers

Nope - if I edit the Default_Playlist URL, it defaults to Hideout Radio. Seems like the playlist has to be in the embed.
Interestingly, I've edited the .as file in places, and it has no effect whatsoever...

Last edited by matelot; August 1st, 2007 at 12:09 PM..
matelot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 2nd, 2007, 11:19 AM   #10
WebForumz Member
 

Join Date: Jul 2007
Location: France
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 matelot is on a distinguished road
Re: Embedded music link

OK, why does my player and custom playlist work in FF, but shows a default playlist of tons of rubbish in IE6?

Secondly, numerous sites have the same player, but none advocate editing any files, only copying and pasting generated HTML - which I've done variously.

Still looking for some assistance, peeps.

Cheers.
matelot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 2nd, 2007, 06:50 PM   #11
WebForumz Member
 

Join Date: Jul 2007
Location: London
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 dcpweb is on a distinguished road
Re: Embedded music link

Hi,

can you send post a link with the music player so I can see what is going on,

thanks

p shah - www.dcpweb.co.uk
dcpweb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 4th, 2007, 11:35 AM   #12
WebForumz Member
 

Join Date: Jul 2007
Location: France
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 matelot is on a distinguished road
Re: Embedded music link

OK. Sorted it, thanks. In the various parameters e.g. playlist - value etc., there were several & symbols to link parameters. Once I'd studied endless other players, I noticed that some had altered the entity to &amp;

Once done, all was ticketty boo. All these idiosyncracies are bemusing!

Cheers
matelot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
embed , link , music link


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Powerpoint embedded in a webpage christopher Flash and ActionScript 6 April 29th, 2009 11:46 PM
Link exchange PR4+ with sports, games, music realted sites Freeweb Link Building and Link Sales 0 March 6th, 2007 05:24 AM
flash music player that plays music throughtout saxy46 Flash and ActionScript 5 August 23rd, 2006 11:24 AM
Help, with creating a Music Player, to be embedded into a html code website sx-nutta Flash and ActionScript 1 January 25th, 2006 02:41 AM
ASP VS Embedded Web Server redkyna Classic ASP 2 April 13th, 2005 04:26 PM


Search Engine Optimization by vBSEO 3.2.0 RC8