mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-22 21:31:20 -08:00
fix test
This commit is contained in:
1 parent
4800c6f76c
commit
02d4c801ca
3 files changed
+17
-10
No files matched your search
+13
-6
@@ -54,28 +54,35 @@ console.log(Artplayer.option);
|
||||
|
||||
it(`Class.instances`, function() {
|
||||
|
||||
console.log(Artplayer.instances.length);
|
||||
console.info(Artplayer.instances);
|
||||
|
||||
});
|
||||
|
||||
|
||||
it(`Class.scheme`, function() {
|
||||
|
||||
console.log(Artplayer.scheme);
|
||||
console.info(Artplayer.scheme);
|
||||
|
||||
});
|
||||
|
||||
|
||||
it(`Class.validator`, function() {
|
||||
|
||||
console.log(Artplayer.validator);
|
||||
console.info(Artplayer.validator);
|
||||
|
||||
});
|
||||
|
||||
|
||||
it(`Class.kindOf`, function() {
|
||||
|
||||
console.log(Artplayer.kindOf);
|
||||
console.info(Artplayer.kindOf);
|
||||
|
||||
});
|
||||
|
||||
|
||||
it(`Class.Emitter`, function() {
|
||||
|
||||
console.info(Artplayer.Emitter);
|
||||
|
||||
});
|
||||
|
||||
@@ -931,7 +938,7 @@ var art = new Artplayer({
|
||||
});
|
||||
|
||||
art.layers.add({
|
||||
html: `<img style="width: 100px" src="${url}/image/your-name.png">`,
|
||||
html: `<img style="width: 100px" src="/assets/sample/layer.png">`,
|
||||
style: {
|
||||
position: 'absolute',
|
||||
top: '20px',
|
||||
@@ -1230,7 +1237,7 @@ var art = new Artplayer({
|
||||
});
|
||||
|
||||
art.layers.add({
|
||||
html: `<img style="width: 100px" src="${url}/image/your-name.png">`,
|
||||
html: `<img style="width: 100px" src="/assets/sample/layer.png">`,
|
||||
style: {
|
||||
position: 'absolute',
|
||||
top: '20px',
|
||||
|
||||
Reference in new issue
Block a user