@mjhls/mjh-framework 1.0.99 → 1.0.100
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/README.md +1 -1
- package/dist/index.es.js +5 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.es.js
CHANGED
|
@@ -12366,11 +12366,12 @@ var IFrame = function IFrame(_ref) {
|
|
|
12366
12366
|
|
|
12367
12367
|
var Video = function Video(_ref) {
|
|
12368
12368
|
var node = _ref.node,
|
|
12369
|
-
|
|
12369
|
+
accountIDs = _ref.accountIDs;
|
|
12370
12370
|
var source = node.source,
|
|
12371
12371
|
videoID = node.videoID;
|
|
12372
12372
|
|
|
12373
|
-
if (source === 'brightcove') return React__default.createElement(ReactPlayerLoader, { accountId:
|
|
12373
|
+
if (source === 'brightcove' && accountIDs.brightcove) return React__default.createElement(ReactPlayerLoader, { accountId: accountIDs.brightcove, videoId: videoID, attrs: { className: 'brightcove' } });
|
|
12374
|
+
// TODO - add players for other video types
|
|
12374
12375
|
return null;
|
|
12375
12376
|
};
|
|
12376
12377
|
|
|
@@ -12567,7 +12568,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
12567
12568
|
);
|
|
12568
12569
|
};
|
|
12569
12570
|
|
|
12570
|
-
var getSerializers$1 = function getSerializers(client, pageview,
|
|
12571
|
+
var getSerializers$1 = function getSerializers(client, pageview, videoAccountIDs) {
|
|
12571
12572
|
return {
|
|
12572
12573
|
types: {
|
|
12573
12574
|
youtube: function youtube(_ref) {
|
|
@@ -12622,7 +12623,7 @@ var getSerializers$1 = function getSerializers(client, pageview, brightcoveAccou
|
|
|
12622
12623
|
video: function video(_ref9) {
|
|
12623
12624
|
var node = _ref9.node;
|
|
12624
12625
|
|
|
12625
|
-
return React__default.createElement(Video, { node: node,
|
|
12626
|
+
return React__default.createElement(Video, { node: node, accountIDs: videoAccountIDs || {} });
|
|
12626
12627
|
},
|
|
12627
12628
|
audio: function audio(_ref10) {
|
|
12628
12629
|
var node = _ref10.node;
|