@selfcommunity/react-ui 0.7.21 → 0.7.22-alpha.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/lib/cjs/constants/Media.d.ts +0 -1
- package/lib/cjs/constants/Media.js +1 -2
- package/lib/cjs/shared/AutoPlayer/index.js +0 -9
- package/lib/esm/constants/Media.d.ts +0 -1
- package/lib/esm/constants/Media.js +0 -1
- package/lib/esm/shared/AutoPlayer/index.js +0 -9
- package/lib/umd/react-ui.js +1 -1
- package/package.json +7 -7
|
@@ -9,7 +9,6 @@ export declare const MEDIA_TYPE_EMBED = "embed";
|
|
|
9
9
|
* Embed types
|
|
10
10
|
**/
|
|
11
11
|
export declare const MEDIA_EMBED_SC_LINK_TYPE = "sc_link";
|
|
12
|
-
export declare const MEDIA_EMBED_SC_VIMEO_TYPE = "sc_vimeo";
|
|
13
12
|
/**
|
|
14
13
|
* Grid Images
|
|
15
14
|
* MAX_GRID_IMAGES: max number of box rendered in feed preview
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MAX_GRID_IMAGES = exports.
|
|
3
|
+
exports.MAX_GRID_IMAGES = exports.MEDIA_EMBED_SC_LINK_TYPE = exports.MEDIA_TYPE_EMBED = exports.MEDIA_TYPE_SHARE = exports.MEDIA_TYPE_URL = exports.MEDIA_TYPE_LINK = exports.MEDIA_TYPE_DOCUMENT = exports.MEDIA_TYPE_VIDEO = exports.MEDIA_TYPE_IMAGE = void 0;
|
|
4
4
|
exports.MEDIA_TYPE_IMAGE = 'image';
|
|
5
5
|
exports.MEDIA_TYPE_VIDEO = 'video';
|
|
6
6
|
exports.MEDIA_TYPE_DOCUMENT = 'doc';
|
|
@@ -12,7 +12,6 @@ exports.MEDIA_TYPE_EMBED = 'embed';
|
|
|
12
12
|
* Embed types
|
|
13
13
|
**/
|
|
14
14
|
exports.MEDIA_EMBED_SC_LINK_TYPE = 'sc_link';
|
|
15
|
-
exports.MEDIA_EMBED_SC_VIMEO_TYPE = 'sc_vimeo';
|
|
16
15
|
/**
|
|
17
16
|
* Grid Images
|
|
18
17
|
* MAX_GRID_IMAGES: max number of box rendered in feed preview
|
|
@@ -51,15 +51,6 @@ function AutoPlayer(props) {
|
|
|
51
51
|
host: 'https://www.youtube-nocookie.com'
|
|
52
52
|
},
|
|
53
53
|
playerVars: { rel: 0 }
|
|
54
|
-
},
|
|
55
|
-
vimeo: {
|
|
56
|
-
playerOptions: {
|
|
57
|
-
autoplay: enableAutoplay,
|
|
58
|
-
autopause: true,
|
|
59
|
-
dnt: true,
|
|
60
|
-
transparent: false
|
|
61
|
-
},
|
|
62
|
-
preload: true
|
|
63
54
|
}
|
|
64
55
|
} }, rest)))));
|
|
65
56
|
}
|
|
@@ -9,7 +9,6 @@ export declare const MEDIA_TYPE_EMBED = "embed";
|
|
|
9
9
|
* Embed types
|
|
10
10
|
**/
|
|
11
11
|
export declare const MEDIA_EMBED_SC_LINK_TYPE = "sc_link";
|
|
12
|
-
export declare const MEDIA_EMBED_SC_VIMEO_TYPE = "sc_vimeo";
|
|
13
12
|
/**
|
|
14
13
|
* Grid Images
|
|
15
14
|
* MAX_GRID_IMAGES: max number of box rendered in feed preview
|
|
@@ -49,15 +49,6 @@ export default function AutoPlayer(props) {
|
|
|
49
49
|
host: 'https://www.youtube-nocookie.com'
|
|
50
50
|
},
|
|
51
51
|
playerVars: { rel: 0 }
|
|
52
|
-
},
|
|
53
|
-
vimeo: {
|
|
54
|
-
playerOptions: {
|
|
55
|
-
autoplay: enableAutoplay,
|
|
56
|
-
autopause: true,
|
|
57
|
-
dnt: true,
|
|
58
|
-
transparent: false
|
|
59
|
-
},
|
|
60
|
-
preload: true
|
|
61
52
|
}
|
|
62
53
|
} }, rest)))));
|
|
63
54
|
}
|