We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
York1952
8 years agoExplorer | Level 3
html file plays mp3 file OFF-LINE but not ON-LINE
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*********
- 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.
- Greg-DBDropbox StaffHi Bruce, can you share the code/HTML that's not working for you? Thanks in advance!
- York1952Explorer | Level 3
<!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">
<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-DBDropbox StaffThere 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.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 2 months agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!