@superinterface/react 2.25.0 → 2.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +37 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +36 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -2
package/dist/index.js
CHANGED
|
@@ -1361,7 +1361,42 @@ var Image = function(props) {
|
|
|
1361
1361
|
});
|
|
1362
1362
|
};
|
|
1363
1363
|
// src/contexts/markdown/MarkdownContext/lib/components/Img/lib/isVideoSrc.ts
|
|
1364
|
-
|
|
1364
|
+
var videoExtensions = [
|
|
1365
|
+
"3g2",
|
|
1366
|
+
"3gp",
|
|
1367
|
+
"aaf",
|
|
1368
|
+
"asf",
|
|
1369
|
+
"avchd",
|
|
1370
|
+
"avi",
|
|
1371
|
+
"drc",
|
|
1372
|
+
"flv",
|
|
1373
|
+
"m2v",
|
|
1374
|
+
"m3u8",
|
|
1375
|
+
"m4p",
|
|
1376
|
+
"m4v",
|
|
1377
|
+
"mkv",
|
|
1378
|
+
"mng",
|
|
1379
|
+
"mov",
|
|
1380
|
+
"mp2",
|
|
1381
|
+
"mp4",
|
|
1382
|
+
"mpe",
|
|
1383
|
+
"mpeg",
|
|
1384
|
+
"mpg",
|
|
1385
|
+
"mpv",
|
|
1386
|
+
"mxf",
|
|
1387
|
+
"nsv",
|
|
1388
|
+
"ogg",
|
|
1389
|
+
"ogv",
|
|
1390
|
+
"qt",
|
|
1391
|
+
"rm",
|
|
1392
|
+
"rmvb",
|
|
1393
|
+
"roq",
|
|
1394
|
+
"svi",
|
|
1395
|
+
"vob",
|
|
1396
|
+
"webm",
|
|
1397
|
+
"wmv",
|
|
1398
|
+
"yuv"
|
|
1399
|
+
];
|
|
1365
1400
|
var isVideoSrc = function(param) {
|
|
1366
1401
|
var src = param.src;
|
|
1367
1402
|
return videoExtensions.includes(src.split(".").pop() || "");
|