[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

How do I create a text link to call audio files listed from my server to play via flash?

Posted on 2008-09-30
8
Medium Priority
?
171 Views
Last Modified: 2012-05-05
You can view the source code at the attached link. I have an audio speaker icon that plays audio through flash that calls upon an audio file that I have on a server already. The flash file works fine, but what I need now is a text link to be placed under "link to this page" that will have the same effect as if the user were to click on the flash speaker. Here's the deal though: the link needs to be a text link and not a flash link. Is this possible to do, and if so, how?

Any and every bit of help is appreciated. If you need further clarification, please ask. Thanks!
0
Comment
Question by:Igiwwa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 22606711
I went to this page:

http://www.investorwords.com/cgi-bin/getword_s.cgi?id=79

and could not find any audio speaker icon, however that was because the web site did not detect that my browser has the plug-in installed.  IE6 SP2.

You SHOULD be able to use something like the code snippet, but it seems to not respond.  What does the php script do in that link?  Why would it not work standalone?

Standing by, ~Ray
<a target="_blank" href="/player.php?id=79">Pronounce ACKNOWLEDGE</a>

Open in new window

0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 22606927
Ahh, I think I found the hidden file at last:

http://www.investorwords.com/audio/79.mp3

If you wanted to get fancy, you could wrap this with a JS window.open to make the target window small.

Best regards, ~Ray


<a target="_blank" href="/audio/79.mp3">Pronounce ACKNOWLEDGE</a>

Open in new window

0
 

Author Comment

by:Igiwwa
ID: 22609472
Thanks for the replies! Let me try and re-phrase the detail:
 When you click on the player, its playing without opening a new window/pop-up because it plays as a flash swf file or element.
So we need to have the same function from the flash speaker element but for a text link.Ex: when a user clicks on a text link like "Hear this term," it should just do what the speaker is currently doing: play the file in the same window without any popups or new browsers or tabs or anything. It needs to be on the same page without anything that would disrupt that the user or alter his/her concentration.

Again, we appreciate the help! And 500 points to the best answer!
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 111

Expert Comment

by:Ray Paseur
ID: 22609514
Tell me why you need a text link? There may be more than one way to skin this cat.
0
 

Author Comment

by:Igiwwa
ID: 22609628
We need a text link so it stays true to the rest of the format on the page. Technically, we could do flash but honestly, we know some html and js. We are not as familiar with flash we just outsourced that part. If there is no other way, then it can be a flash element that still looks like a html or text link...
0
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 1500 total points
ID: 22615795
Have you tried making a text link load the audio mp3 file into an IFRAME?
0
 

Author Comment

by:Igiwwa
ID: 22668538
We ended up making it a flash file... unfortunately, we didn't want to make the link open in an iframe because we only wanted it to be text. This way however, it works okay and gets the job done, even if it isn't what we were hoping for. Thanks anyways for your full genuine attempts!
0
 

Author Closing Comment

by:Igiwwa
ID: 31501572
we wanted a text link to pull up an audio file without any popups. we realized that it would make more sense to just use a flash player because that worked better than trying to make html pull audio.
0

Featured Post

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question