html5 overflow ios,HTML5 video tag unreliable on iOS

本文探讨了一位开发者遇到的问题,iPhone应用内嵌HTML5视频偶尔播放按钮失效,影响用户体验。作者寻求帮助以找出触发因素并提高视频播放的可靠性,分享了简单的视频标签代码。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

I'm using PhoneGap to make an iPhone app that contains video. Usually, it works great: the video sits in an HTML5 video tag and it shows the iOS play button and then plays full screen.

But, sometimes the play button has a line through it and the user can't play the video.

I can't seen to figure out exactly what causes this, as it is sporadic and doesn't seem to be connected to any other issues.

Any help on making this more reliable would be appreciated. The code is a very simple video tag with src, poster, width and height attributes.

Thanks in advance.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值