模糊插件添加支持判断

This commit is contained in:
zhw2590582 committed 2019-05-09 20:01:52 +08:00
1 parent 0eb028fbd4
commit cca41ae1fe
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -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 = '';