update docs

This commit is contained in:
Harvey committed 2022-02-11 15:33:28 +08:00
1 parent 7b0dd9618d
commit c0ed71881b
62 files changed
+525 -396

No files matched your search

+4 -7
View File
@@ -1,6 +1,6 @@
var art = new Artplayer({
container: '.artplayer-app',
url: 'https://artplayer.org/assets/sample/video.mp4',
url: 'https://6169-aimu-7ggfmae4da13977b-1256594555.tcb.qcloud.la/template/video.mp4',
title: 'One More Time One More Chance',
poster: '/assets/sample/poster.jpg',
volume: 0.5,
@@ -36,17 +36,14 @@ var art = new Artplayer({
{
default: true,
html: 'Custom setting 01',
onSelect: function () {
console.info('You clicked on the custom setting 01');
},
},
{
html: 'Custom setting 02',
onSelect: function () {
console.info('You clicked on the custom setting 02');
},
},
],
onSelect: function (item) {
console.info('You clicked on the custom setting', item.html);
},
},
],
contextmenu: [