我无法找到资源来解释这是否可能。 Apple 文档可以在这里找到
https://developer.apple.com/library/content/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/AudioandVideoTagBasics/AudioandVideoTagBasics.html#//apple_ref/doc/uid/TP40009523-CH2-SW1 https://developer.apple.com/library/content/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/AudioandVideoTagBasics/AudioandVideoTagBasics.html#//apple_ref/doc/uid/TP40009523-CH2-SW1
...没有提到这样的功能。
我还尝试使用嵌入音频<embed>
标签拉出相同的模态 Quicktime 播放器。
有没有办法做到这一点,或者有没有办法在 iphone web 应用程序中播放音频文件而不打开模态外部播放器?
我找到了实现此功能的解决方法,即使用 Apple 的 mediafilesegmenter 命令行工具为“HTTP Live Streaming”(Apple 通过 HTTP 进行流媒体的新协议)准备 mp3。
更多信息请点击这里:http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008332-CH1-DontLinkElementID_29 http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008332-CH1-DontLinkElementID_29
通过使用参数--audio-only --meta-file poster.png --meta-type picture
您可以创建一个 mp3 流,该流将在播放音频时在外部 Quicktime 播放器中显示 poster.png 图像。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)