我相信这是从早期的iOS测试版改变的新行为.
视频播放,但全屏显示.例如,使用YouTube帮助程序库,调用
[self.playerView loadWithVideoId:@“M7lc1UVf-VE”playerVars:@ {@“playsinline”:@(1)}];
任何想法如何让视频再次内联播放?
解决方法
A note about the playsinline attribute: this attribute has recently
been added to the HTML specification,and WebKit has adopted this new
attribute by unprefixing its legacy webkit-playsinline attribute. This
legacy attribute has been supported since iPhoneOS 4.0,and accordance
with our updated unprefixing policy,we’re pleased to have been able
to unprefix webkit-playsinline. Unfortunately,this change did not
make the cut-off for iOS 10 Developer Seed 2. If you would like to
experiment with this new policy with iOS Developer Seed 2,the
prefixed attribute will work,but we would encourage you to transition
to the unprefixed attribute when support for it is available in a
future seed.
编辑:现在已于2016年8月25日修复!欢呼!
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。