473,320 Members | 1,976 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Play audio when clicked?

Hi,

I'm designing a website for the Cornell Undergraduate Business Program
where the client wants faculty and student profiles to be interspersed
throught the site.

These profiles are contained in small boxes or tables with their bio or
a statement from the student, etc., etc.

The client wants an audio clip to play when the user clicks on the audio
icon in that profile to hear the students voice or the faculty bio read
aloud. Best case scenario would be for the audio to play in the
background and not have it jump to it's own page like some audio files
do, or open their own player, etc., etc.

I've made a web page before where there is audio in the background but
it came on automatically when the page loaded, not controlled by a
click.

Is what I'm describing possible? Is there a better solution? I'm not
that advanced in programming, but I'm not too bad either I guess.

Here is a sample page:

http://aem.cornell.edu/business_site...page/index.htm

Thank you
Steve
Jul 20 '05 #1
21 7264
Steve K schrieb:
The client wants an audio clip to play when the user clicks on the audio
icon in that profile to hear the students voice or the faculty bio read
aloud.
<a href="youraudiofile.mp3">Hear the students voice or the faculty bio
read aloud</a>

Best case scenario would be for the audio to play in the
background and not have it jump to it's own page like some audio files
do, or open their own player, etc., etc.


You can't control how the user configures his browser.
Matthias
Jul 20 '05 #2
In article <sm*************************@newsstand.cit.cornell .edu>,
Steve K <sm***@cornell.edu> wrote:

Never mind, I can do it exactly as I need it with Flash. Thanks.

Hi,

I'm designing a website for the Cornell Undergraduate Business Program
where the client wants faculty and student profiles to be interspersed
throught the site.

These profiles are contained in small boxes or tables with their bio or
a statement from the student, etc., etc.

The client wants an audio clip to play when the user clicks on the audio
icon in that profile to hear the students voice or the faculty bio read
aloud. Best case scenario would be for the audio to play in the
background and not have it jump to it's own page like some audio files
do, or open their own player, etc., etc.

I've made a web page before where there is audio in the background but
it came on automatically when the page loaded, not controlled by a
click.

Is what I'm describing possible? Is there a better solution? I'm not
that advanced in programming, but I'm not too bad either I guess.

Here is a sample page:

http://aem.cornell.edu/business_site...page/index.htm

Thank you
Steve

Jul 20 '05 #3
In article <sm*************************@newsstand.cit.cornell .edu>,
Steve K <sm***@cornell.edu> wrote:
Never mind, I can do it exactly as I need it with Flash. Thanks.


Will you be back with the topic "Play Flash when clicked"? :)

--
Kris
kr*******@xs4all.netherlands (nl)
Jul 20 '05 #4
In article <kr*****************************@news1.news.xs4all .nl>, Kris
<kr*******@xs4all.netherlands> wrote:
In article <sm*************************@newsstand.cit.cornell .edu>,
Steve K <sm***@cornell.edu> wrote:
Never mind, I can do it exactly as I need it with Flash. Thanks.


Will you be back with the topic "Play Flash when clicked"? :)


Nope. ;P
Jul 20 '05 #5
Steve K wrote:

Never mind, I can do it exactly as I need it with Flash.


And it's ok if it fails completely on systesm without flash (and
leaves that ugly "plug-in" box besides) ?

--
Brian
follow the directions in my address to email me

Jul 20 '05 #6
Steve K wrote:
In article <sm*************************@newsstand.cit.cornell .edu>,
Steve K <sm***@cornell.edu> wrote:

Never mind, I can do it exactly as I need it with Flash. Thanks.


Including a 100% failure where Flash is not installed? (Yes, some of us
browse without Flash, quite on purpose.)

Apparently, the concept of "World Wide Web" is completely lost on you.

--
Shawn K. Quinn
Jul 20 '05 #7
In article <9L********************@speakeasy.net>, "Shawn K. Quinn"
<sk*****@xevious.kicks-ass.net> wrote:
Steve K wrote:
In article <sm*************************@newsstand.cit.cornell .edu>,
Steve K <sm***@cornell.edu> wrote:

Never mind, I can do it exactly as I need it with Flash. Thanks.


Including a 100% failure where Flash is not installed? (Yes, some of us
browse without Flash, quite on purpose.)

Apparently, the concept of "World Wide Web" is completely lost on you.


Apparently I'm still learning. Go easy dude. You didn't come out of the
womb with complete knowledge of everything. There was a point when you
didn't know this either, that's where I am.

I'm trying to be as compliant as I can. After I posted that I realized a
good majority of people do browse without flash, haven't a clue on what
flash is, wouldn't know how to get it if they needed it anyway. So I've
been working on alternatives. I just didn't bother to notify anyone here
of that.
Jul 20 '05 #8
Steve K <sm***@cornell.edu> wrote in news:smk17-
CC*******************@newsstand.cit.cornell.edu:
Apparently I'm still learning. Go easy dude. You didn't come out of the
womb with complete knowledge of everything. There was a point when you
didn't know this either, that's where I am.

I'm trying to be as compliant as I can. After I posted that I realized a
good majority of people do browse without flash, haven't a clue on what
flash is, wouldn't know how to get it if they needed it anyway. So I've
been working on alternatives. I just didn't bother to notify anyone here
of that.


It's just in the nature of Usenet that people will jump into the middle of
a conversation, even a conversation that seemingly ended a long time ago,
and reply to something without having followed the history of the
conversation up to the point that that something was said or knowing what
was said afterwards. And that often leads to misunderstandings.

It's just due to the non-real-time character of newsgroup discussion. It's
best not to let such things upset you. And don't forget that newsgroup
discussion is quite unlike any form of face-to-face communication that
anyone is going to have grown up familiar with. Where in "real life" do
you find a varying group of strangers engaging in an in-depth, not very
structured conversation on topics about which many of the participants feel
very passionate (sex, politics, and religion are among the favorites)?
Very few people have much experience dealing with this sort of interaction,
and things often get messy as a result. And on top of that, there's the
lack of cues like body language and tone of voice. Additionally,
participants are effectively invisible when they aren't talking (which can
make people feel pressured to say something, anything, even in cases where
it would be best to keep one's mouth shut).

Newsgroup conversation really requires its own set of social skills, beyond
the ones that most people learn in childhood. Probably the most important
one is not trying to read people's minds: guessing at someone's motivation
for making a statement usually leads to wrong guesses (one very common
cause of acrimony is the misunderstanding that results when a reader takes
a poster's statements much more seriously than the poster did).

Another one is not being to quick to be offended, as well as not being
offensive oneself. In fact, Postel's Law ("be liberal in what you accept
and conservative in what you send out") is a good rule for the content of
human conversation over a network as well as for the underlying streams of
bits (it's no accident that the word for all the rules about who gets
seated where and who gets to talk when in diplomatic conferences and the
like is "protocol").
Jul 20 '05 #9
In article <Xn*******************************@130.133.1.4>, Eric
Bohlman <eb******@earthlink.net> wrote:
Steve K <sm***@cornell.edu> wrote in news:smk17-
CC*******************@newsstand.cit.cornell.edu:
Apparently I'm still learning. Go easy dude. You didn't come out of the
womb with complete knowledge of everything. There was a point when you
didn't know this either, that's where I am.

I'm trying to be as compliant as I can. After I posted that I realized
a
good majority of people do browse without flash, haven't a clue on what
flash is, wouldn't know how to get it if they needed it anyway. So I've
been working on alternatives. I just didn't bother to notify anyone
here
of that.


It's just in the nature of Usenet that people will jump into the middle
of
a conversation, even a conversation that seemingly ended a long time ago,
and reply to something without having followed the history of the
conversation up to the point that that something was said or knowing what
was said afterwards. And that often leads to misunderstandings.

It's just due to the non-real-time character of newsgroup discussion.
It's
best not to let such things upset you. And don't forget that newsgroup
discussion is quite unlike any form of face-to-face communication that
anyone is going to have grown up familiar with. Where in "real life" do
you find a varying group of strangers engaging in an in-depth, not very
structured conversation on topics about which many of the participants
feel
very passionate (sex, politics, and religion are among the favorites)?
Very few people have much experience dealing with this sort of
interaction,
and things often get messy as a result. And on top of that, there's the
lack of cues like body language and tone of voice. Additionally,
participants are effectively invisible when they aren't talking (which
can
make people feel pressured to say something, anything, even in cases
where
it would be best to keep one's mouth shut).

Newsgroup conversation really requires its own set of social skills,
beyond
the ones that most people learn in childhood. Probably the most
important
one is not trying to read people's minds: guessing at someone's
motivation
for making a statement usually leads to wrong guesses (one very common
cause of acrimony is the misunderstanding that results when a reader
takes
a poster's statements much more seriously than the poster did).

Another one is not being to quick to be offended, as well as not being
offensive oneself. In fact, Postel's Law ("be liberal in what you accept
and conservative in what you send out") is a good rule for the content of
human conversation over a network as well as for the underlying streams
of
bits (it's no accident that the word for all the rules about who gets
seated where and who gets to talk when in diplomatic conferences and the
like is "protocol").


Eric, that was amazing. Everyone, and I mean everyone, should read this
who uses Usenet.

You put into words what would only come out as mush, and brain freeze
when I tried to explain the strangeness of posting on Usenet. I'm being
serious.

I did take a light offense to his post. Implying I know nothing about
the World Wide Web. But I'm using flash as a result of knowing my target
audience, knowing what browsers they are using, etc. He made it sound
as if you should never use flash. I'd say 97% of my target audience
(high school seniors, undergrads, all around the world about to enter or
thinking about entering Cornell's Applied Economics and Management
undergraduate business program) will be able to see the flash I use. If
they can't they will be redirected to an alternate page.
Jul 20 '05 #10
In article <sm*************************@newsstand.cit.cornell .edu>
in comp.infosystems.www.authoring.html, Steve K <sm***@cornell.edu>
wrote:
I'd say 97% of my target audience
(high school seniors, undergrads, all around the world about to enter or
thinking about entering Cornell's Applied Economics and Management
undergraduate business program) will be able to see the flash I use.


Again with the made-up numbers. Sigh.

"My mind is made up; don't confuse me with facts."

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #11
Stan Brown <th************@fastmail.fm> wrote in message news:<MP************************@news.odyssey.net> ...
In article <sm*************************@newsstand.cit.cornell .edu>
in comp.infosystems.www.authoring.html, Steve K <sm***@cornell.edu>
wrote:
I'd say 97% of my target audience
(high school seniors, undergrads, all around the world about to enter or
thinking about entering Cornell's Applied Economics and Management
undergraduate business program) will be able to see the flash I use.


Again with the made-up numbers. Sigh.


As they say, 90% of statistics are made up on the spot.

--- Stephen Morley ---
http://www.safalra.com
Jul 20 '05 #12
In article <c5**************************@posting.google.com >,
us****@safalra.com (Safalra) wrote:
Stan Brown <th************@fastmail.fm> wrote in message
news:<MP************************@news.odyssey.net> ...
In article <sm*************************@newsstand.cit.cornell .edu>
in comp.infosystems.www.authoring.html, Steve K <sm***@cornell.edu>
wrote:
I'd say 97% of my target audience
(high school seniors, undergrads, all around the world about to enter
or
thinking about entering Cornell's Applied Economics and Management
undergraduate business program) will be able to see the flash I use.


Again with the made-up numbers. Sigh.


As they say, 90% of statistics are made up on the spot.

yeah yeah. The website for this department which has the same target
audience has a web counter. The site for that webcounter (nextgenstats)
gives us detailed info on the last 100 users everyday. 97% of these
users are on IE 4.

That's where I got my info from. Since Macromedia says:

"The Macromedia Flash Player is installed on 97% of Internet-enabled
desktops worldwide and on a wide range of popular devices."

I'm assuming there is a good percentage of those IE 4 users having the
flash player installed.

I could be wrong.
Jul 20 '05 #13
Steve K wrote:
[snip]
That's where I got my info from. Since Macromedia says:

"The Macromedia Flash Player is installed on 97% of Internet-enabled
desktops worldwide and on a wide range of popular devices."

I'm assuming there is a good percentage of those IE 4 users having the
flash player installed.

I could be wrong.


I think many of these arguments and statistics are irrelevant, rather than
right or wrong.

I have Flash installed. I browse with it disabled. Perhaps I show up in
Macromedia's 97%, but that would be totally misleading. Before I found how to
disable Flash, I typically avoided it. If there was an alternative to Flash on
a site that I wanted to look at, I would use it. If there wasn't an
alternative, I would consider going elsewhere, unless I really HAD to access
the site. And that was rare.

When I see Flash, my immediate reaction (right or wrong) is "effort has been
put into presentation at the expense of content". It colours my opinion of
that web site from that point onwards.

It isn't just an assumption that effort has been diverted in a direction that
is wrong for me as a user. It is also my experience that Flash makes web sites
much worse from my point of view. It often takes control away from me, by
imposing a time-line on me instead of letting me control a sequence. It often
replaces my familar way of doing things - eg. navigation - with a new model
that I would rather not have to learn. I can't think of the last time Flash
actually provided extra value to me as a web user, beyond what could have been
achieved without Flash.

Given what I have just said in the previous paragraph, it should be obvious
what my impression is of people who actually use Flash for such pusposes. I
start from a position of considering that the developer/author has no real
consideration for me, rather than sympathy for me. That is a high obstacle for
that web site to overcome from then on.

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/
Jul 20 '05 #14
On Thu, 23 Oct 2003 18:43:11 +0100, Barry Pearson wrote:
Steve K wrote:
[snip]
That's where I got my info from. Since Macromedia says:

"The Macromedia Flash Player is installed on 97% of Internet-enabled
desktops worldwide and on a wide range of popular devices."
Well, they would say that, wouldn't they? They're trying to sell a
product!

Think of it a 3 in every 100 that won't ==> annoyed user.
I'm assuming there is a good percentage of those IE 4 users having the
flash player installed.
Some browsers that aren't IE4 claim to be IE4 so that 'browser sniffing'
fails. I set my browser to say what it is, and occasionaly get messages
telling me to "upgrade to a version 4 browser". Sometimes I use lynx (a
text browser) which makes browsing so much faster. But not often.

My mum uses Opera. She get's *really* mad when sites tell her to use IE. A
quick press of F12, click "Identify as Internet Explorer" and the problem
is (usually) solved.
I could be wrong.
When I see Flash, my immediate reaction (right or wrong) is "effort has been
put into presentation at the expense of content". It colours my opinion of
that web site from that point onwards.


I agree :-) It's almost always true.

Text in Flash isn't found by search engines, blind people, people with
expensive phones, people with slow PCs who've disabled it.......
It often takes control away from me,
by imposing a time-line on me instead of letting me control a sequence.


This is the worst thing - waiting for the flash to load, then waiting
again for it to do some pathetic anomation.

--
Matt
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Jul 20 '05 #15
On Thu, 23 Oct 2003, Matt wrote:
Think of it a 3 in every 100 that won't ==> annoyed user.


Oh, I don't know - a browser that doesn't have flash is far less
annoying that *does* have it, when I'm looking for something in a
hurry.

Having heard a variety of reactions to the typical Flash offering, I
think I could fairly say (not that I believe the numbers, you
understand) that if 97% have it, and 3% haven't, then the 97% (many of
whom have been given no choice as to whether they have it or not, and
haven't yet found how to turn it off) is more reason for an author to
avoid forcing it on readers, than the 3% is.

As an available option, it might sometimes make sense. I *have* seen
a handful of worthwhile uses - interestingly, most of those were
offered as optional extras - as against hundreds of examples of
pointless dross - most of which (surprised?) were used as a
non-optional tank-trap on the way to what would otherwise have been
the front door. Or in a few cases there _was_ no front door - only
the Flash hoardings with nothing fo substance behind. Ho hum.
Jul 20 '05 #16
In article <sm*************************@newsstand.cit.cornell .edu>
in comp.infosystems.www.authoring.html, Steve K <sm***@cornell.edu>
wrote:
The website for this department which has the same target
audience has a web counter. The site for that webcounter (nextgenstats)
gives us detailed info on the last 100 users everyday. 97% of these
users are on IE 4.


You've learned nothing from this newsgroup. Such statistics are
regularly exposed as the tissue of inaccuracy that they are.

Whether you made it up or someone made it up and told it to you,
that "97%" is a made-up number.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #17
Safalra wrote:
Stan Brown <th************@fastmail.fm> wrote in message news:<MP************************@news.odyssey.net> ...
In article <sm*************************@newsstand.cit.cornell .edu>
in comp.infosystems.www.authoring.html, Steve K <sm***@cornell.edu>
wrote:
I'd say 97% of my target audience
(high school seniors, undergrads, all around the world about to enter or
thinking about entering Cornell's Applied Economics and Management
undergraduate business program) will be able to see the flash I use.


Again with the made-up numbers. Sigh.

As they say, 90% of statistics are made up on the spot.


Our extensive multi-modal cross-media survey suggests it's actually 94.7%.
Matthias

Jul 20 '05 #18
In article <MP************************@news.odyssey.net>, Stan Brown
<th************@fastmail.fm> wrote:
In article <sm*************************@newsstand.cit.cornell .edu>
in comp.infosystems.www.authoring.html, Steve K <sm***@cornell.edu>
wrote:
The website for this department which has the same target
audience has a web counter. The site for that webcounter (nextgenstats)
gives us detailed info on the last 100 users everyday. 97% of these
users are on IE 4.


You've learned nothing from this newsgroup. Such statistics are
regularly exposed as the tissue of inaccuracy that they are.

Whether you made it up or someone made it up and told it to you,
that "97%" is a made-up number.


I agree. But it's real close to 97%.

The site is not 100% flash.

It has various small flash pieces throughout the site that a user can
play or not play. Each has a start button and a stop button. You lose no
control at all. None of it is navigation. I try to optimize it as best
as possible to keep the size down, etc.

It has actual student audio testimonials that you can choose to listen
to. Sure most of this could be left out, or just written in text but...
I chose not to I guess is my best answer. But I don't feel I'm overusing
it.
Jul 20 '05 #19
In article <sm*************************@newsstand.cit.cornell .edu>
in comp.infosystems.www.authoring.html, Steve K <sm***@cornell.edu>
wrote:
I agree. But it's real close to 97%.


To quote W. Edwards Deming, "How do you know that? On what basis do
you know that? Why don't you put that figure in the trash can where
it belongs?"

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #20
In article <MP************************@news.odyssey.net>, Stan Brown
<th************@fastmail.fm> wrote:
In article <sm*************************@newsstand.cit.cornell .edu>
in comp.infosystems.www.authoring.html, Steve K <sm***@cornell.edu>
wrote:
I agree. But it's real close to 97%.


To quote W. Edwards Deming, "How do you know that? On what basis do
you know that? Why don't you put that figure in the trash can where
it belongs?"


How do you know it's not 97%?
Jul 20 '05 #21
Sometime around Mon, 27 Oct 2003 08:25:11 -0500, Steve K is reported to
have stated:

How do you know it's not 97%?


ROFLOL

How do you know it's not 85%? Or 36%? Or 2%? You can't - that's the
point.

--
Mark Parnell
http://www.clarkecomputers.com.au
Jul 20 '05 #22

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Andrew Poulos | last post by:
As a follow on to the 'fun' I had with IE I'm now trying to play sounds using an Object tag (no Embed) in MZ. Sadly whenever 'playButton' gets clicked MZ says that "audObj.Play is not a function":...
0
by: laredotornado | last post by:
Hello, I want to play an audio file by clicking on an audio icon and not having the page switch out underneath. Right now the code I have is ... <html> <head> <title>Dictionary:...
1
by: Ron Provost | last post by:
Hello, I'm developing a piece of software to assist illiteraate adults to learn to read. I'm trying to figure out how, if possible, to make audio playback asynchrnous but still controllable. ...
1
by: JC | last post by:
Hi, I have to play a streaming audio. So in a thread I play audio as follow thread{ //some code for(;;){ //some code waveOutPrepareHeader(hwo, &(whdr), sizeof(WAVEHDR)); waveOutWrite(hwo,...
9
by: Morris Neuman | last post by:
Im working with VS 2005 and trying to use a Hyperlink field in a datagrid to play a wave file that is not located in the website folders but is in a plain folder on the same machine, windows 2003...
13
by: anil.rita | last post by:
When the user chooses an AV file to play, based upon the type of file, I want to use the default installed media player to play it. I am wondering if this is a good way - any alternatives,...
26
by: Jake Barnes | last post by:
I did a search on the newsgroup comp.lang.javascript. I was searching for "how to play a sound with Javascript". I'm somewhat suprised that the majority of entries are from the 1990s, and there are...
8
by: raylopez99 | last post by:
I have the latest version of Visual Studio 2008 Professional, which allows you to create resource files (this is the .resx file, no?), unlike the Express version, which does not. I am trying to...
3
by: AWW | last post by:
Using XP and VB 2005, it seemed like a good idea to save audio in the clipboard and then play it with backgroundworker. Cannot find a good Clipboard audio example anywhere - just SetAudio and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.