mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 17:51:20 -08:00
Update index.js
This commit is contained in:
1 parent
bbe0923064
commit
0eb028fbd4
1 file changed
+1
-1
@@ -3,7 +3,7 @@ import blurImageUrl from 'blur-image-url';
|
|||||||
function artplayerPluginBlur(art) {
|
function artplayerPluginBlur(art) {
|
||||||
const { errorHandle, clamp } = art.constructor.utils;
|
const { errorHandle, clamp } = art.constructor.utils;
|
||||||
errorHandle(
|
errorHandle(
|
||||||
Object.prototype.hasOwnProperty.call(CanvasRenderingContext2D.prototype, 'filter'),
|
CanvasRenderingContext2D && Object.prototype.hasOwnProperty.call(CanvasRenderingContext2D.prototype, 'filter'),
|
||||||
'Your browser does not support canvas blur',
|
'Your browser does not support canvas blur',
|
||||||
);
|
);
|
||||||
const { player } = art;
|
const { player } = art;
|
||||||
|
|||||||
Reference in new issue
Block a user