Comments (11)
调了一晚上,iOS上始终不正常T_T 只好暂时放弃了。
from aplayer.
因为移动设备本来就无法在没有用户操作的情况下自动播放,安卓端某些应用内置浏览器除外
from aplayer.
因为移动设备本来就无法在没有用户操作的情况下自动播放,安卓端某些应用内置浏览器除外
from aplayer.
@journey-ad 正解,规范规定移动端不能自动播放,所以移动端浏览器做了限制,这个问题无解
from aplayer.
可以看一下这个讨论:http://stackoverflow.com/questions/25023211/html5-audio-why-not-working-on-ios-no-autoplay-involved
好像是code可以解决的。 期待你能更新。
from aplayer.
@walterjunjun 请仔细看:To play audio/video on mobile devices you need direct, physical and synchronous interaction from the user.
目前不可能做到做自动播放,因为W3C规范有规定。
from aplayer.
对,这个是我忽视了。我还有一个问题,就是我播放几首歌曲时候,iphone不会自动播下一首歌,而电脑chrome用起来自动播放下一首是可以。这个你知道如何解决吗
from aplayer.
那个webpage只有一个player,我试了你的demo,也是不能自动播放下一首。
from aplayer.
@walterjunjun 同样的问题啊,移动端不能自动播放,无解
from aplayer.
http://kolber.github.io/audiojs/demos/test6.html
iphone can autoplay next song
from aplayer.
SoundJS使用Flash实现了移动端的自动播放
有兴趣可以参考下
自动播放体验很差,特别是移动端,我这里不打算支持了
from aplayer.
Related Issues (20)
- Hopes to increase the multi speed playback function
- Dark mode during night | 暗色模式、黑色模式如何启用
- Typescript support? HOT 1
- APlyer HOT 5
- 播放器第一次切换歌曲没有播放
- docsify
- Suggestions related to autoplay 与自动播放相关的建议 HOT 2
- How do I put aplayer with fixed mode enabled in the lower-right corner of the hexo blog instead of the lower-left corner HOT 1
- bug
- Purchase/Download button
- adaptive bitrate streaming
- how to Unbind the event handler
- Is there an API to get information about the currently playing audio?如何获取当前正在播放的音频的信息? HOT 1
- Aplayer causes the pinia-plugin-persistedstate plugin to fail
- No ap.setMusic() function
- 2个BUG 播放数注销后,定时器仍在跑;播放数参数定义为fixed:1注销后,再次生成fixed:0 仍是吸地模式
- The player cannot adjust the number and size of lines displayed in the lyrics, only one or two lines can be viewed播放器无法调整歌词显示的行数和大小,只能看一两行 HOT 2
- ap.play() function not work
- Increase the number of lines displayed for lyrics
- 无法获取播放列表长度 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aplayer.