mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-14 08:26:16 -08:00
重写测试用例
This commit is contained in:
1 parent
50f51e413b
commit
cd89e8afd8
8 files changed
+9
-1477
No files matched your search
@@ -243,8 +243,9 @@ var art = new Artplayer({
|
||||
url: '/assets/sample/video.mp4',
|
||||
});
|
||||
|
||||
var layer = '/assets/sample/layer.png';
|
||||
art.layers.add({
|
||||
html: `<img style="width: 100px" src="/assets/sample/layer.png">`,
|
||||
html: `<img style="width: 100px" src="${layer}">`,
|
||||
style: {
|
||||
position: 'absolute',
|
||||
top: '20px',
|
||||
|
||||
Reference in new issue
Block a user