mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 10:56:15 -08:00
update docs
This commit is contained in:
1 parent
c709b5d7db
commit
6ad6e8fddc
47 files changed
+216
-206
No files matched your search
+69
-59
@@ -881,6 +881,16 @@ describe("Document", function () {
|
||||
});
|
||||
|
||||
it("Test60", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
playsInline: true,
|
||||
});
|
||||
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test61", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -927,7 +937,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test61", function (done) {
|
||||
it("Test62", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -950,7 +960,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test62", function (done) {
|
||||
it("Test63", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1002,7 +1012,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test63", function (done) {
|
||||
it("Test64", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1026,7 +1036,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test64", function (done) {
|
||||
it("Test65", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1066,20 +1076,20 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test65", function (done) {
|
||||
it("Test66", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
whitelist: ["iPhone OS 11"],
|
||||
// whitelist: ['*'],
|
||||
// whitelist: [(ua) => /iPhone OS 11/gi.test(ua)],
|
||||
// whitelist: [/iPhone OS 11/gi],
|
||||
// whitelist: ['iPhone OS 11'],
|
||||
whitelist: ["*"],
|
||||
});
|
||||
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test66", function (done) {
|
||||
it("Test67", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1095,7 +1105,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test67", function (done) {
|
||||
it("Test68", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1117,7 +1127,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test68", function (done) {
|
||||
it("Test69", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1131,7 +1141,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test69", function (done) {
|
||||
it("Test70", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1167,7 +1177,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test70", function (done) {
|
||||
it("Test71", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.flv",
|
||||
@@ -1177,7 +1187,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test71", function (done) {
|
||||
it("Test72", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.flv",
|
||||
@@ -1193,7 +1203,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test72", function (done) {
|
||||
it("Test73", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1203,7 +1213,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test73", function (done) {
|
||||
it("Test74", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1273,7 +1283,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test74", function (done) {
|
||||
it("Test75", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1289,7 +1299,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test75", function (done) {
|
||||
it("Test76", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1327,7 +1337,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test76", function (done) {
|
||||
it("Test77", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1362,7 +1372,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test77", function (done) {
|
||||
it("Test78", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1395,7 +1405,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test78", function (done) {
|
||||
it("Test79", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1432,7 +1442,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test79", function (done) {
|
||||
it("Test80", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1469,7 +1479,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test80", function (done) {
|
||||
it("Test81", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1482,7 +1492,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test81", function (done) {
|
||||
it("Test82", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1498,7 +1508,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test82", function (done) {
|
||||
it("Test83", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1514,7 +1524,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test83", function (done) {
|
||||
it("Test84", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1526,7 +1536,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test84", function (done) {
|
||||
it("Test85", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1538,7 +1548,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test85", function (done) {
|
||||
it("Test86", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1553,7 +1563,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test86", function (done) {
|
||||
it("Test87", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1567,7 +1577,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test87", function (done) {
|
||||
it("Test88", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1581,7 +1591,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test88", function (done) {
|
||||
it("Test89", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1596,7 +1606,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test89", function (done) {
|
||||
it("Test90", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1611,7 +1621,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test90", function (done) {
|
||||
it("Test91", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1625,7 +1635,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test91", function (done) {
|
||||
it("Test92", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1639,7 +1649,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test92", function (done) {
|
||||
it("Test93", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1651,7 +1661,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test93", function (done) {
|
||||
it("Test94", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1666,7 +1676,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test94", function (done) {
|
||||
it("Test95", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1679,7 +1689,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test95", function (done) {
|
||||
it("Test96", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1692,7 +1702,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test96", function (done) {
|
||||
it("Test97", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1708,7 +1718,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test97", function (done) {
|
||||
it("Test98", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1724,7 +1734,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test98", function (done) {
|
||||
it("Test99", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1740,7 +1750,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test99", function (done) {
|
||||
it("Test100", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1755,7 +1765,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test100", function (done) {
|
||||
it("Test101", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1767,7 +1777,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test101", function (done) {
|
||||
it("Test102", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1782,7 +1792,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test102", function (done) {
|
||||
it("Test103", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1796,7 +1806,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test103", function (done) {
|
||||
it("Test104", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1808,7 +1818,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test104", function (done) {
|
||||
it("Test105", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1822,7 +1832,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test105", function (done) {
|
||||
it("Test106", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1837,7 +1847,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test106", function (done) {
|
||||
it("Test107", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1851,7 +1861,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test107", function (done) {
|
||||
it("Test108", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1865,7 +1875,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test108", function (done) {
|
||||
it("Test109", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1879,7 +1889,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test109", function (done) {
|
||||
it("Test110", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1893,7 +1903,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test110", function (done) {
|
||||
it("Test111", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1907,7 +1917,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test111", function (done) {
|
||||
it("Test112", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1921,7 +1931,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test112", function (done) {
|
||||
it("Test113", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1935,7 +1945,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test113", function (done) {
|
||||
it("Test114", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1947,7 +1957,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test114", function (done) {
|
||||
it("Test115", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -1987,7 +1997,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test115", function (done) {
|
||||
it("Test116", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -2036,7 +2046,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test116", function (done) {
|
||||
it("Test117", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "./assets/sample/video.mp4",
|
||||
@@ -2158,7 +2168,7 @@ describe("Document", function () {
|
||||
testAll(art, done);
|
||||
});
|
||||
|
||||
it("Test117", function (done) {
|
||||
it("Test118", function (done) {
|
||||
var art = new Artplayer({
|
||||
container: ".artplayer-app",
|
||||
url: "https://artplayer.org./assets/sample/video.mp4",
|
||||
|
||||
Reference in new issue
Block a user