b站 画中画 chrome
The Picture-in-Picture (PiP) extension for Google Chrome lets you watch videos on the internet in PiP mode. However, if you want to watch a video from your local drive, you can use Chrome to play it in a PiP window.
Google Chrome的画中画(PiP)扩展程序可让您以画中画模式在互联网上观看视频。 但是,如果您想从本地驱动器观看视频,则可以使用Chrome在画中画窗口中播放。
For this guide, you can use either the built-in PiP mode or the official Chrome extension. If you haven’t already, head over to the Chrome web store and install the PiP extension to continue.
对于本指南,您可以使用内置的画中画模式或官方的Chrome扩展程序。 如果还没有,请前往Chrome网上应用店并安装PiP扩展程序以继续。
Note: Not all video file formats are supported for playback in Google Chrome. However, Chrome supports WebM and MP4 formats natively, though some MP4 files may fail to open due to different types of codecs.
注意:并非所有视频文件格式都支持在Google Chrome浏览器中播放。 但是,Chrome浏览器本机支持WebM和MP4格式,尽管某些MP4文件可能由于编解码器类型不同而无法打开。
For this guide, we’ll be using Windows as the operating system. The process should work identically on all desktop platforms including macOS, Linux, and Chrome OS.
对于本指南,我们将使用Windows作为操作系统。 在包括macOS,Linux和Chrome OS在内的所有桌面平台上,该过程应完全相同。
For Google’s PiP extension to work with files stored locally on your computer, you have to grant permission to the extension to access a file’s URL. Right-click the extension’s icon located in the toolbar and then select “Manage Extensions.”
为了使Google的PiP扩展程序可以处理本地存储在计算机上的文件,您必须授予该扩展程序访问文件URL的权限。 右键单击工具栏中的扩展程序图标,然后选择“管理扩展程序”。
Scroll down until you see “Allow Access to File URLs” and toggle the switch to the “On” position.
向下滚动,直到看到“允许访问文件URL”,然后将开关切换到“打开”位置。
Next, navigate to the folder of the video you want to watch in Chrome. Right-click the video, point to “Open With,” and then click “Google Chrome.”
接下来,导航至要在Chrome中观看的视频的文件夹。 右键单击视频,指向“打开方式”,然后单击“ Google Chrome”。
If you don’t see Chrome as a suggestion, click “Choose Another App” from the context menu that opens. From the list of apps, select “Google Chrome” and then click “OK.”
如果您没有看到Chrome的建议,请从打开的上下文菜单中单击“选择其他应用”。 从应用列表中,选择“ Google Chrome”,然后单击“确定”。
Alternatively, you can drag the video file directly into a new tab and Chrome will open the video automatically.
或者,您可以将视频文件直接拖到新标签中,然后Chrome会自动打开视频。
After the video opens, click on the PiP extension icon, and the video will pop out on top of all other windows in a mini-player.
视频打开后,单击画中画扩展名图标,该视频将在迷你播放器中的所有其他窗口顶部弹出。
If you aren’t using the Chrome extension and instead want to use the built-in PiP feature, right-click the video, and then click “Picture in Picture.”
如果您没有使用Chrome扩展程序,而是想使用内置的画中画功能,请右键单击视频,然后单击“画中画”。
Just as with any other video in PiP mode, you can move the player by dragging it anywhere on the screen.
就像在画中画模式下播放任何其他视频一样,您可以通过将播放器拖动到屏幕上的任何位置来移动它。
After you finish the video, either click the “X” in the mini-player window to close it or select the box and arrow icon at the bottom left of the player to return to the tab where the video was playing.
完成视频播放后,请在迷你播放器窗口中单击“ X”将其关闭,或者选择播放器左下方的框和箭头图标以返回到播放视频的选项卡。
翻译自: https://www.howtogeek.com/438468/how-to-use-chromes-picture-in-picture-mode-to-play-local-videos/
b站 画中画 chrome