我正在为ipad上的视频标签编写一个jQuery插件.我的插件所做的一件事就是恢复播放你上次放弃观看它的电影.我在设置当前时间时遇到问题.我发现只能在" stalled"事件触发后设置它.在电影开始播放后,这种停滞似乎会在ipad上发生(这是一个HTTP直播视频).我没有在其他环境中看到此事件,即PC上的谷歌浏览器.所以这段代码有效,但我觉得使用这个stalled事件很不舒服.我已经尝试了canplaythrough,playing其他人在这些情况下我的更新currentTime被忽略了.有没有其他人有这方面的经验?
var theClass = this;
$(this.videoElement).bind("pause play stalled error abort progress waiting playing webkitfullscreenchange canplaythrough", null, function (e) {
///<summary>bind to the various events we are interested in during playback. event state changes will be saved to
///local storage. If we detect the media has finished playing we will exit fullscreen and trigger our mediaDone event</summary>
if (e.type == "stalled" && theClass.resumeTriggered) {
theClass.resumeTriggered = false;
theClass.resumeTime = theClass.resumeTime + …Run Code Online (Sandbox Code Playgroud) 我有一个自定义的dns条目通过CNAME记录映射到我的流量管理器设置.我也有流量管理器指向我的天蓝色网站端点,我有一个通配符证书匹配我的网站上传的自定义DNS.我无法让ssl上班.在使用流量管理器时,文档不清楚如何设置SSL.任何帮助表示赞赏.请注意我使用云服务"web角色",但我想迁移到azure网站.