Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

How can I add music to my homepage in Google Page Creator?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> General Topics
View previous topic :: View next topic  
Author Message
Brewster Pilot



Joined: 25 Feb 2006
Posts: 604
Location: Helsinki, Finland

PostPosted: Thu Mar 23, 2006 12:21 pm    Post subject: How can I add music to my homepage in Google Page Creator? Reply with quote

So? How can I add background music to my homepage in Google Page Creator? Is it possible? All help appreciated.
Back to top
View user's profile Send private message Send e-mail
Jesper



Joined: 14 Sep 2002
Posts: 2063
Location: Denmark (GMT+01.00)

PostPosted: Fri Mar 24, 2006 3:11 am    Post subject: Reply with quote

Not sure how'd you do it in Google's creator, I never tried it. I am using a plain text editor to write my html. Here are the correct tags to fill in

Example 1:
Code:
<embed src="yoursound.mid" hidden="true" autostart="true"><!-- Gecko Browsers are supposed to use this -->
<noembed><bgsound src="yoursound.mid"></noembed><!-- This is for MSIE only -->


Example 2:
Code:
<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
 <param name="FileName" value="yoursound.mp3">
</object>


Example 3:
Code:
<object type="audio/x-mpeg" data="yoursound.mp3"></object>


Learn HTML here
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Iceman



Joined: 14 Sep 2002
Posts: 1077
Location: Mesa Arizona

PostPosted: Fri Mar 24, 2006 3:18 am    Post subject: Reply with quote

you need the monkey....http://webmonkey.com/
Back to top
View user's profile Send private message
Vinay



Joined: 27 Jan 2006
Posts: 83
Location: INDIA

PostPosted: Fri Mar 24, 2006 10:07 am    Post subject: Reply with quote

Jesper is right

You require only your browser to make the change. Just open the page you created and click on View and on Source in IE.

IN the notepad type

Code:
<embed src="name.mp3">


and save the file. Embed src stands for embedded source.

Refresh IE and press Enter selecting address bar, you can hear the music or song.

The same code can be used to play movie files. only thing is that the name and the type of the file (mp3, mpeg, mpg) etc must be correctly given.
Back to top
View user's profile Send private message
Brewster Pilot



Joined: 25 Feb 2006
Posts: 604
Location: Helsinki, Finland

PostPosted: Fri Mar 24, 2006 3:27 pm    Post subject: Reply with quote

Ok, two questions-

1. It doesn't seem to work in Firefox which I'm using. Any solutions to this, because I've seen it work in my Internet Explorer.

2. If I have a sound file, like this for example http://brewsterpilot.googlepages.com/DeannaDurbin-ItsFoolishButItsFun-.mp3 it is 3mb large! With what programs should I make it smaller and to what format for easy internet listening?

Thanks for your replies guys!
Back to top
View user's profile Send private message Send e-mail
Vinay



Joined: 27 Jan 2006
Posts: 83
Location: INDIA

PostPosted: Fri Mar 24, 2006 11:30 pm    Post subject: Reply with quote

For your first question:

The code will work with IE because it plays the file using WMPlayer.

In Mozilla or firefox it requires the quicktime plugin to play the file.

When you open the file for the first time, I think it asks you

1. Download to disk
2. Open using default application etc

If you choose the default application option it will open either winamp or WMPlayer and plays the file.

Check this out:
http://www.webmasterworld.com/forum21/11810.htm

For your second question there are two options.

It will not be good for you to break the file into many files and play the different files.

1. Give an option for the user to decide whether he want to listen it downright.

2. The user is ready to download the compressed file (compressed using winzip). The user requires winzip.
Back to top
View user's profile Send private message
Jesper



Joined: 14 Sep 2002
Posts: 2063
Location: Denmark (GMT+01.00)

PostPosted: Sat Mar 25, 2006 5:44 am    Post subject: Reply with quote

Vinay wrote:
Jesper is right

You require only your browser to make the change. Just open the page you created and click on View and on Source in IE.

IN the notepad type

Code:
<embed src="name.mp3">


and save the file. Embed src stands for embedded source.

Refresh IE and press Enter selecting address bar, you can hear the music or song.

The same code can be used to play movie files. only thing is that the name and the type of the file (mp3, mpeg, mpg) etc must be correctly given.


Dead wrong <embed> doesnt work properly with MSIE, hence my 1st example Wink
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Jesper



Joined: 14 Sep 2002
Posts: 2063
Location: Denmark (GMT+01.00)

PostPosted: Sat Mar 25, 2006 5:52 am    Post subject: Reply with quote

You should not use wav or mp3 files for bgsound, cause the files are usually too huge and uses a lot of bandwidth to stream.
Instead you should make alink to file so people can download it if they wants to listen to it.

Imagine a visitor using a 56k modem has to stream 3MB it would take forever Wink

cut the file down to 8-9 secs and have it loop instead or find a midi *.mid file and use that for sound.

Dont forget to add an option to turn off sounds cause many people finds it annoying that websites plays music.

As said before it doesnt work in FF unless you have the correct plugins, see https://pfs.mozilla.org/plugins/?application=firefox and http://plugindoc.mozdev.org/ for details.

MSIE doesnt use WinAMP or Media Player to play bgsound it is a feature built'in IE, and <bgsound> is a MSIE only feature.

Oh and PS... IE nor FF asks you what you want to do with the file cause it is NOT a link but a part of the webdesign (core / code)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Etienne



Joined: 10 Jan 2002
Posts: 641
Location: Canada

PostPosted: Sat Mar 25, 2006 8:42 am    Post subject: Reply with quote

I'll quote an old cyber friend of mine, on web designing :

"Unless you're a 12 year old girl making a page about Pretty Ponies and Wicca, skip the ****ing music already!"

Really. I've never been on a web page where I didn't turn off the music. They're usually annoying as heck, come over what you're already playing, or slow everything incredibly. Think about it seriously before you act.
Back to top
View user's profile Send private message Send e-mail AIM Address
Vinay



Joined: 27 Jan 2006
Posts: 83
Location: INDIA

PostPosted: Sat Mar 25, 2006 9:00 am    Post subject: Reply with quote

Quote:
Dead wrong <embed> doesnt work properly with MSIE, hence my 1st example


If MSIE is Microsoft Internet Explorer then embed code works fine with it. I have checked it before typing here. It plays using the Windows Media Player. The windows media player is embedded in the webpage and you can play mp3's or any files that WMP can play.

Quote:
MSIE doesnt use WinAMP or Media Player to play


You are confusing me a lot. I think the MicroSoft Internet Explorer will be unable to play the music file, if Media player is uninstalled. So to play the music Internet Explorer requires Media player.

Regarding Winamp I was mentioning about using Mozilla. In Mozilla when I tried to play the files for the first time it asked me the option to select to play using defeault application or to save to disk. Since My default application is Winamp it played the file using winamp. From the next time onwards it asked me to get the plugin.
Back to top
View user's profile Send private message
Jesper



Joined: 14 Sep 2002
Posts: 2063
Location: Denmark (GMT+01.00)

PostPosted: Sat Mar 25, 2006 12:41 pm    Post subject: Reply with quote

Quote:
"Unless you're a 12 year old girl making a page about Pretty Ponies and Wicca, skip the ****ing music already!"
Amen

Quote:
MicroSoft Internet Explorer will be unable to play the music file, if Media player is uninstalled. So to play the music Internet Explorer requires Media player.
I find that hard to believe.

[edit]...
oh and
Quote:
Right up front, I should point out that the EMBED command is not "standard" HTML. That means it is not one of the commands the W3 has proclaimed is good for all browsers. EMBED is a command that is understood by the Netscape Navigator browser alone.
If you use EMBED, you should always follow it with the BGSOUND="----" command, placing the sound file name where I have the "----". That's Internet Explorer's method of playing a background sound.
Use both. Then all browsers will be able to play the sound.

[/edit]
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Vinay



Joined: 27 Jan 2006
Posts: 83
Location: INDIA

PostPosted: Mon Mar 27, 2006 9:22 am    Post subject: Reply with quote

Quote:
MicroSoft Internet Explorer will be unable to play the music file, if Media player is uninstalled. So to play the music Internet Explorer requires Media player.


Try it yourself

Uninstall WMP, you get the older version of WMP. Remove this one also. Now open the webpage and listen for any Music

After the trial back to WMP installation Laughing
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> General Topics All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group