cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

html file plays mp3 file OFF-LINE but not ON-LINE

html file plays mp3 file OFF-LINE but not ON-LINE

York1952
Explorer | Level 3
Go to solution

I have an html file that contains an html5 audio player. The mp3 file that is embedded into my html5 audio player is also in my dropbox account--- so they are both off line and on-line. This html file will play my mp3 file WHEN I'm playing my Dropbox html file OFF-LINE. But when I go to my same Dropbox account ON-LINE--- this same Dropbox html file will not play this mp3 file. SILENCE pervades!

The html file in question is inside a Dropbox file folder called HTML whereas the mp3 file is in a Dropbox file folder called MUSIC. Both file folders are in my dropbox account that can be accessed both on and off line with the flip of a switch, just as you designed it. Any answers why it plays in one circumstance but not the other?

This is absolutely critical to me, for I must get this mp3 music playing while it is on-line in a "shared" environment for anyone who has my link. I think you understand what I'm talking about here. If its beyond your comprehension, please kick my problem 'upstairs' to someone who appreciates what my problem is. If need be, I can give you my file names and you can try doing what I've been trying to do unsuccessfully. ...Bruce*********

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
There doesn't seem to be any Dropbox functionality in your code, so I'm afraid I can't offer any help. This may be better suited on a general web development forum or StackOverflow.

View solution in original post

3 Replies 3

Greg-DB
Dropbox Staff
Go to solution
Hi Bruce, can you share the code/HTML that's not working for you? Thanks in advance!

York1952
Explorer | Level 3
Go to solution

<!DOCTYPE html>
<html lang="en-US" prefix="og: http://ogp.me/ns#" class="no-js">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Ashfield, Massachusetts | Could You Live Here? - New England Today</title>
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="shortcut icon" href="https://70c97aaea282a207d81b-f84eee09323602e80e90b9678fa5fc9b.ssl.cf5.rackcdn.com/favicon.ico?v=2" type="image/x-icon">
<link rel="icon" href="https://70c97aaea282a207d81b-f84eee09323602e80e90b9678fa5fc9b.ssl.cf5.rackcdn.com/favicon.ico?v=2" type="image/x-icon">
<link rel="pingback" href="https://newengland.com/xmlrpc.php">

</head>
<body>
<p>

<blockquote>
<img src="http://yorkmajordomoers.com/Photos/MicheleMcLaughlin11000MilesONETHIRD.png">
&nbsp;&nbsp;&nbsp;
<img src="http://yorkmajordomoers.com/Photos/100Gnome_mime_audio_openclipart.png" height="75" width="75">

<audio controls style="width: 260px;" autoplay>
<source src="http://yorkmajordomoers.com/Music/MicheleMcLaughlin11000Miles.mp3" type="Audio/mp3">
Your browser does not support the embedded audio element.
</audio>

<div align="left"><font face="Luminari" size="3" color="#336666">

<b>Once loaded, this audio will begin playing automatically...</b>

<b><i>The music is <font color="#990000">"11,000 Miles"</font>
performed by <font color="#990000">'Michele McLaughlin'</font> </i></b>

<br>


<br>__________________________</font>
</blockquote></div>
</p>


<div class="article-content">
<p>Some small New England towns, like Ashfield (population approximately 1,750), in western Massachusetts....
</p>
</div>
<br>
</body></html>

Greg-DB
Dropbox Staff
Go to solution
There doesn't seem to be any Dropbox functionality in your code, so I'm afraid I can't offer any help. This may be better suited on a general web development forum or StackOverflow.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    York1952 Explorer | Level 3
What do Dropbox user levels mean?