Netflix如何阻止用户拍摄Chrome浏览器的屏幕截图? [英] How does Netflix prevent users from taking screenshots of chrome browser?
问题描述
我注意到netflix采用了一种防止用户在基于浏览器的应用程序中录制甚至录制视频回放的静态屏幕截图的方法.
I noticed that netflix employs a method of preventing users from recording or even taking still screenshot images of the video playback in their browser-based app.
如果您正在netflix上观看视频(在我的情况下为Windows 10和Chrome),则在开始录制或截图时视频将变成黑屏.
If you are watching a video on netflix (in my case Windows 10 and Chrome) the video will turn to a black screen if you begin to record or screenshot.
这里正在发挥什么技术.是否有Windows/chrome API可以告诉屏幕上的内容以隐藏是否检测到尝试的屏幕截图?
What technology is at play here. Is there a windows/chrome API for telling content on the screen to hide if an attempted screenshotting is detected?
网络开发人员是否可以在其产品中添加此功能?
Is it possible for a web developer to add this feature to their products?
推荐答案
大多数流媒体服务现在都使用EME https://en.wikipedia.org/wiki/Encrypted_Media_Extensions .这些服务构建的媒体播放器利用EME调用底层的DRM(数字版权管理)
Most streaming media services now make use of EME https://en.wikipedia.org/wiki/Encrypted_Media_Extensions. The media players built by these services make use of EME to invoke the underlying DRM (Digital Rights Management)
WebBrowser->HTML5/Javascript->EME->DRM
WebBrowser -> HTML5/Javascript -> EME -> DRM
是的,当然,您可以使用EME构建自己的解决方案.
And yes, of course you can build your own solution using EME.
这篇关于Netflix如何阻止用户拍摄Chrome浏览器的屏幕截图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!