TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

HTML5 MP3 Player - Plays local files and parses ID3 tags

125 点作者 antimatter15大约 14 年前

15 条评论

trotsky大约 14 年前
What does the security model for opening the files look like? If you specify a directory chooser the app can span the directory tree and open/parse all files readable to the user? Any idea if it will walk symbolic links? I'm a bit surprised there isn't more of a user warning from the browser.<p>Nice proof of concept though! Very impressive what can be done. Worked well in stable channel + openSUSE.
评论 #2374355 未加载
评论 #2374141 未加载
nealb大约 14 年前
Worked well in Chrome 10 on Windows 7 for the first few minutes then crashed. Adding files was a little bit slow but the audio playback and tagging worked well. Nicely done though, it's very cool!
51Cards大约 14 年前
I'm quite curious about the file reading code. With a simple directory browse from the user couldn't you start to walk the file tree and read whatever you liked? Nothing I see to stop something like this then firing off Ajax calls to send up everything it finds. I think some digging through the code is in order.
评论 #2374236 未加载
jwingy大约 14 年前
Doesn't look like it supports unicode - no Chinese on my Chinese mp3s!
grigory大约 14 年前
This is so awesome.<p>Having tried numerous audio players for OSX I just can't find something that I'm satisfied with. I guess I'll just start building my own now :)
est大约 14 年前
the core:<p><pre><code> &#60;input type="file" webkitdirectory directory multiple mozdirectory onchange="getSongs(this.files)"&#62; </code></pre> There is a security issue on windows, try type `shell:cache` in the directory browsing dialog.
评论 #2375203 未加载
MatthewRayfield大约 14 年前
This is pretty awesome. I was unaware of Chrome's directory opening abilities. That's a game changer for this kind of app.
aj700大约 14 年前
Not talking about this specifically, but the model:<p>If an app only deals with local data, does it need to be a web app?, except that thereby it becomes zero-install, zero-update, global and cross-platform.<p>Could or is ChromeOS going to play local mp3s before? It's not much of an OS if it can only play mp3s on a server somewhere, with a browser plugin. Will Spotify and other streaming clients work on it? Is it cloud data only?
Ruudjah大约 14 年前
Chrome 10: Succes (although I can only select a folder)<p>Firefox 3.6: fail<p>Chromium 10: loads, fails to play<p>Opera: loads site with errors, clicking button doesn't do anything
评论 #2375471 未加载
sp332大约 14 年前
Well, it doesn't read ID3 tags, but if you just drag your music folder into Firefox, you can browse around and play MP3, Vorbis etc. files. It also works with videos.
评论 #2375275 未加载
HaloZero大约 14 年前
It won't let me open any mp3 files in my iTunes collection... Using Chrome Dev Channel + Mac OSX. Does Chrome not support this?
评论 #2374021 未加载
darkletterL大约 14 年前
Works perfectly fine on Chrome Dev + Win 7. Wish there was a way to organize songs and make playlists though.
评论 #2374512 未加载
shii大约 14 年前
No success on my Cr-48 running latest ChromeOS.<p>Nice work though, antimatter15, keep it up!
Vivtek大约 14 年前
That is just too cool.
BrainScraps大约 14 年前
Brilliant!