本文介绍了Chrome 64 Mobile Android不会预先加载,也不会自动播放静音视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

虽然我们使用了视频属性 preload =auto,但我们遇到了未加载未自动播放的Chrome 64视频元素的问题c $ c>和静音在HTML元素上。



视频开始加载和已暂停,经过研究,我们发现它从不开始播放,就像浏览器阻止它播放。



我们的视频没有声音,根本没有声音通道,仍然没有自动播放。



Chrome 63的工作效果非常好,并且拥有64个停止自动播放功能的设备。



我们做了所有Google Chrome在发行说明中写道,但我们认为还有另外一个我们不知道的问题。

我们发现你需要要将 preload =auto添加为 HTML元素属性,但您也必须放在JavaScript HTML元素 videoElement.muted = true 作为普通JS属性

它看起来像Chrome中的错误。


We encounter issue with Chrome 64 video element which not loaded and not autoplay although we used video attributes preload="auto" and muted on HTML element.

the video start load and paused, after research, we discovered it never starts to play, like the browser blocked it from playing.

our video doesn't have sound, no sound channel at all, and still no autoplay.

Chrome 63 working great and the same device with 64 stop autoplay.

we did all the things Google Chrome wrote in the release notes, but we think there is another issue we don't know about.

解决方案

We discover that you need to add preload="auto" as HTML element attribute, but you also must put on JavaScript HTML element videoElement.muted=true as normal JS attribute.

it looks like a bug in Chrome.

这篇关于Chrome 64 Mobile Android不会预先加载,也不会自动播放静音视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 19:14