How to play a sound whensomeone enters?
+2
TE Xifex
GeorgeCusterd
6 posters
Page 1 of 1
How to play a sound whensomeone enters?
I'm try to play a sound on my website like when someone enters it, they hear a certain sound.
The sound? If any of you play Battlefield 2, well you know what I'm talking about. The sound when you go to the login screen after the trailer video and there's a woman that says, "Welcome to duty."
So, first of all, how to get this sound like download it or whatever? Next, how do I put it on my site?
Thank you so much
The sound? If any of you play Battlefield 2, well you know what I'm talking about. The sound when you go to the login screen after the trailer video and there's a woman that says, "Welcome to duty."
So, first of all, how to get this sound like download it or whatever? Next, how do I put it on my site?
Thank you so much
Re: How to play a sound whensomeone enters?
GeorgeCusterd wrote:I'm try to play a sound on my website like when someone enters it, they hear a certain sound.
The sound? If any of you play Battlefield 2, well you know what I'm talking about. The sound when you go to the login screen after the trailer video and there's a woman that says, "Welcome to duty."
So, first of all, how to get this sound like download it or whatever? Next, how do I put it on my site?
Thank you so much
To play a song or sound byte is must be done like this.
<EMBED SRC="xfiles.mid" VOLUME="50" HEIGHT="60" WIDTH="144">
http://www.webreference.com/js/column20/embed.html
Volume sets volume height for height and width for width. Also since forumotion is not going to be your FTP site or host site to play the sound you must find a host on the net that could stream the audio for you so it plays when someone visits your site.
TO do that you'd replace xfiles.mid with the URL filepath of where your chosen aduio file is stored. Ex <EMBED SRC="www.bobdole.net/bobdoleaudio/bobdole.mp3" volume="80" Height="50" width="50">
TE Xifex- New Member
- Posts : 24
Reputation : 0
Language : English
Re: How to play a sound whensomeone enters?
This will show as a small dot & can be placed in a widget (existing or new)
or you can place it in your homepage message box. It's flash/triggered and
needs to be placed in plain sight (upper part of the screen/viewing area).
"Welcome to duty"
or you can place it in your homepage message box. It's flash/triggered and
needs to be placed in plain sight (upper part of the screen/viewing area).
"Welcome to duty"
- Code:
<embed src="http://www.youtube.com/v/FhJhjA744iA&hl=en&fs=1&rel=0&autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="false" width="1" height="1"></embed>
Re: How to play a sound whensomeone enters?
RoNo wrote:This will show as a small dot & can be placed in a widget (existing or new)
or you can place it in your homepage message box. It's flash/triggered and
needs to be placed in plain sight (upper part of the screen/viewing area).
"Welcome to duty"Long live BF2
- Code:
<embed src="http://www.youtube.com/v/FhJhjA744iA&hl=en&fs=1&rel=0&autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="false" width="1" height="1"></embed>
rono your awesome dude. man i have already learned a few things from you thanks man.
so what if i upload something to youtube. like a 3 sec sound effect or what ever i can just place link like you have in the code above and it will work?
thats awesome... lol thanks again
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: How to play a sound whensomeone enters?
long live bf2 and ronoRoNo wrote:This will show as a small dot & can be placed in a widget (existing or new)
or you can place it in your homepage message box. It's flash/triggered and
needs to be placed in plain sight (upper part of the screen/viewing area).
"Welcome to duty"Long live BF2
- Code:
<embed src="http://www.youtube.com/v/FhJhjA744iA&hl=en&fs=1&rel=0&autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="false" width="1" height="1"></embed>
Uhmmm I have no experience in HTML coding but I put that code you gave me in the homepage message but no sound? Do I have to do something else?
Re: How to play a sound whensomeone enters?
- Spoiler:
- GeorgeCusterd wrote:
long live bf2 and ronoRoNo wrote:This will show as a small dot & can be placed in a widget (existing or new)
or you can place it in your homepage message box. It's flash/triggered and
needs to be placed in plain sight (upper part of the screen/viewing area).
"Welcome to duty"- Code:
<embed src="http://www.youtube.com/v/FhJhjA744iA&hl=en&fs=1&rel=0&autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="false" width="1" height="1"></embed>
Uhmmm I have no experience in HTML coding but I put that code you gave me in the homepage message but no sound? Do I have to do something else?
do you have you html enabled for the forum?
i tried the code on my test board and it worked OK.
you will see the whole code come up if your html is not on for the forum.
if it's not on. then you can enable it here.
admin panel>general>Messages and Emails>configuration.
scroll down to allow html and hit save.
now go to your profile preferences and click always allow html and click save.
as far as the coding. if you upload your own sound effects then you would just replace this link https://www.youtube.com/v/FhJhjA744iA&hl=en&fs=1&rel=0&autoplay=1" with your new one.
but lets wait for rono to confirm that just to make sure.
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: How to play a sound whensomeone enters?
That's right... as kirk pointed out: you need to enable Html.
For other sounds: replacing the link with another YouTube Url works
with parameters added to the end of the Url (autoplay=1 etc)
For other sounds: replacing the link with another YouTube Url works
with parameters added to the end of the Url (autoplay=1 etc)
Re: How to play a sound whensomeone enters?
Well actually, my friend said he heard the sound. You see my portal page is my homepage. But my home (forum) is where the sound plays. But, it only plays if you go by a link or you go to the forum first. Does that make sense? See my website and see where I put the HTML coding please
@ www.fox-games.forumn.org
long live bf2 and RoNo
@ www.fox-games.forumn.org
long live bf2 and RoNo
Re: How to play a sound whensomeone enters?
ware are you putting the code and what page to you want it on.
if your placing it in your portal it should just play in the portal.
now if you have it in your home page message then you should only hear it on the home page/index
i mean you could put it in a template or widget and have play on every page.
but that might get a lil annoying after a wile... lol meaning it will play for every post page/click... lol i don't think you want that?
so let us know where you want it and we should be able to help ya.
thanks
-----------------------------
OK scrap all of what i said above. you want it in your portal only.
take the code out of your home page message. and place it in the portal widget>Affiliates
then when you go to the portal you will here it every time.
if your placing it in your portal it should just play in the portal.
now if you have it in your home page message then you should only hear it on the home page/index
i mean you could put it in a template or widget and have play on every page.
but that might get a lil annoying after a wile... lol meaning it will play for every post page/click... lol i don't think you want that?
so let us know where you want it and we should be able to help ya.
thanks
-----------------------------
OK scrap all of what i said above. you want it in your portal only.
take the code out of your home page message. and place it in the portal widget>Affiliates
then when you go to the portal you will here it every time.
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: How to play a sound whensomeone enters?
Yes I only want it in the portal only. But, now it says the text but doesnt play anything. And, it widens the sidebar so it makes it look wierd. Please help. Thank you.
Long live bf2, RoNo, and kirk
BTW now it plays on every page
Long live bf2, RoNo, and kirk
BTW now it plays on every page
Re: How to play a sound whensomeone enters?
i noticed the text appearing when you had it on the homepage. but the sound was still playing? strange?
let me try something.
you may have to make a custom block for the portal and center it. but that dose not explain why the code is coming up as text.Plus you have your widget showing through the whole forum. but did not have the affiliates that way. so i have to test a few things. I'm sure it's just a minor problem. i hope.. lol
and your html has to be on because i heard it play when i was at your forum.
hang in there will get it worked out.
---------------------------------------------------
ok are you sure you have the html enabled on the forum?
the code that rono provided works for me. and you will not have to create a custom block to have centered. when i post rono's code in my portal. it works fine and you do not see the text.
usually the only time you would see the text embed code is if you do not have the html on. but i know i seen the text/embed code on your homepage and that sound came through... so!!!! just try it again. put it in your affiliates or a custom block if you wish.
here's my test forums portal. i have it in a block called test on the bottom right.
as you can see there is no text code coming up and it's working.
so just try it again and let us know. well get dat sucker
here's my link refresh the page to hear it a few times. and i have it in my test block on the bottom right.
http://fmpreboard.forumotion.com/portal.htm
let me try something.
you may have to make a custom block for the portal and center it. but that dose not explain why the code is coming up as text.Plus you have your widget showing through the whole forum. but did not have the affiliates that way. so i have to test a few things. I'm sure it's just a minor problem. i hope.. lol
and your html has to be on because i heard it play when i was at your forum.
hang in there will get it worked out.
---------------------------------------------------
ok are you sure you have the html enabled on the forum?
the code that rono provided works for me. and you will not have to create a custom block to have centered. when i post rono's code in my portal. it works fine and you do not see the text.
usually the only time you would see the text embed code is if you do not have the html on. but i know i seen the text/embed code on your homepage and that sound came through... so!!!! just try it again. put it in your affiliates or a custom block if you wish.
here's my test forums portal. i have it in a block called test on the bottom right.
as you can see there is no text code coming up and it's working.
so just try it again and let us know. well get dat sucker
here's my link refresh the page to hear it a few times. and i have it in my test block on the bottom right.
http://fmpreboard.forumotion.com/portal.htm
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: How to play a sound whensomeone enters?
I don't hear anything when I came to your site. Please still stay on this case
Re: How to play a sound whensomeone enters?
GeorgeCusterd wrote:I don't hear anything when I came to your site. Please still stay on this case
try it again it's working for me. it says welcome to duty.
http://fmpreboard.forumotion.com/portal.htm
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: How to play a sound whensomeone enters?
I still don't hear anything I think I need a direct link to the portal.
Re: How to play a sound whensomeone enters?
Good thread, and very helpful. Had been wondering how to embed sound file, and the 'invisible' YouTube works well for me.
John_D- New Member
- Posts : 4
Reputation : 0
Language : English
Similar topics
» Sound play when new message
» Play sound when come to 4rum
» how can i add sound
» Automatically enters the chat
» When a user enters skype details into their profile and hit save, it doesn't save.
» Play sound when come to 4rum
» how can i add sound
» Automatically enters the chat
» When a user enters skype details into their profile and hit save, it doesn't save.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum