mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 06:31:20 -08:00
模糊插件添加支持判断
This commit is contained in:
1 parent
0eb028fbd4
commit
cca41ae1fe
3 files changed
+3
-2
No files matched your search
@@ -4,7 +4,7 @@ function artplayerPluginBlur(art) {
|
||||
const { errorHandle, clamp } = art.constructor.utils;
|
||||
errorHandle(
|
||||
CanvasRenderingContext2D && Object.prototype.hasOwnProperty.call(CanvasRenderingContext2D.prototype, 'filter'),
|
||||
'Your browser does not support canvas blur',
|
||||
'artplayerPluginBlur: Your browser does not support canvas blur',
|
||||
);
|
||||
const { player } = art;
|
||||
let blurUrlCache = '';
|
||||
|
||||
Reference in new issue
Block a user