Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3316172
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:26:16+00:00 2026-05-17T22:26:16+00:00

I am playing a sound by the click on a link, I know not

  • 0

I am playing a sound by the click on a link, I know not beautiful but it works.

Well ran into a new problem today sound did not play the first time I clicked the link… But back to the question at hand.

The HTML page playing the sound the redirects the browser back to the page I intend it to after playing the sound, but then the fun begins.

Something goes afoul with the links inside the original page’s HTML code, the browser for some reason “superimposes” additional information.

Where the original HTML refers to

/webapp/play_a_sound.html

The page once it is reloaded by the redirect in HTML page 2 suddenly refers to

//webapp/webapp/play_a_sound.html

Did you notice the //webapp/webapp/ difference ?

I have tried to use to no avail, any takes on how to avoid the link degregation ?

andytest1.html


<!DOCTYPE HTML>
<html>
<head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>andytest1.html</title>


<META HTTP-EQUIV="Pragma" CONTENT="no-cache"> 


</head><body>


<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">


<tbody>
<tr>
<td style="vertical-align: top;">TOPMENU<br>
</td>
</tr>
<tr>
<td style="vertical-align: top;">
<table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr>ÅÅÅÅÅÅ

</a><td style="vertical-align: top;"> <a href="../webapp/play_a_sound.html"> Play Sound</a><br>
</a>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="vertical-align: top;">BOTTOMMENU<br>
</td>
</tr>
</tbody>
</table>

<br>

<br>

<br>

</body>

</html>

PLAY_A_SOUND.HTML


<!DOCTYPE HTML>
<html>

<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>play_a_sound.html</title>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="refresh" CONTENT="3;URL=..//webapp/andytest1.html/">

<body>

<EMBED src="..//webapp/sound/anysound.wav"" autostart=true loop=false volume=100 hidden=true>

</body>
</html>

This particular problem has been noted using Ubuntu 10.04 LTS and Firefox 3.6.11

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T22:26:17+00:00Added an answer on May 17, 2026 at 10:26 pm

    You have a trailing slash where there shouldn’t be one.

    Replace

    ..//webapp/andytest1.html/
    

    by

    ../webapp/andytest1.html
    

    I assume the trailing slash is making the browser treat the HTML page like a directory, so the browser will parse any relative URLs relative to /webapp/andytest1.html/ instead of /webapp/.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with playing video in mediaplayer. I have a sound but
hi im really new to actionscript and ive have a problem with playing sound.
Im a newb. I have a audio sound playing as soon as the new
I playing a sound file with a custom player, when the mobile goes in
I have an application that starts playing a sound when user touches the uiview
Right now I have a single sound playing from one action, button press, accelerometer,
Using jQuery, can you show me the syntax for playing a sound? I would
How can I disable my iPhone app sound if the user is playing iPod
When playing a sound using e.g: sound(x,fs); I sometimes by accident play the wrong
While playing a sound file in silverlight, I'd like to display the wave form

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.