@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/dist/index.js
CHANGED
|
@@ -12373,11 +12373,12 @@ var IFrame = function IFrame(_ref) {
|
|
|
12373
12373
|
|
|
12374
12374
|
var Video = function Video(_ref) {
|
|
12375
12375
|
var node = _ref.node,
|
|
12376
|
-
|
|
12376
|
+
accountIDs = _ref.accountIDs;
|
|
12377
12377
|
var source = node.source,
|
|
12378
12378
|
videoID = node.videoID;
|
|
12379
12379
|
|
|
12380
|
-
if (source === 'brightcove') return React__default.createElement(ReactPlayerLoader, { accountId:
|
|
12380
|
+
if (source === 'brightcove' && accountIDs.brightcove) return React__default.createElement(ReactPlayerLoader, { accountId: accountIDs.brightcove, videoId: videoID, attrs: { className: 'brightcove' } });
|
|
12381
|
+
// TODO - add players for other video types
|
|
12381
12382
|
return null;
|
|
12382
12383
|
};
|
|
12383
12384
|
|
|
@@ -12574,7 +12575,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
12574
12575
|
);
|
|
12575
12576
|
};
|
|
12576
12577
|
|
|
12577
|
-
var getSerializers$1 = function getSerializers(client, pageview,
|
|
12578
|
+
var getSerializers$1 = function getSerializers(client, pageview, videoAccountIDs) {
|
|
12578
12579
|
return {
|
|
12579
12580
|
types: {
|
|
12580
12581
|
youtube: function youtube(_ref) {
|
|
@@ -12629,7 +12630,7 @@ var getSerializers$1 = function getSerializers(client, pageview, brightcoveAccou
|
|
|
12629
12630
|
video: function video(_ref9) {
|
|
12630
12631
|
var node = _ref9.node;
|
|
12631
12632
|
|
|
12632
|
-
return React__default.createElement(Video, { node: node,
|
|
12633
|
+
return React__default.createElement(Video, { node: node, accountIDs: videoAccountIDs || {} });
|
|
12633
12634
|
},
|
|
12634
12635
|
audio: function audio(_ref10) {
|
|
12635
12636
|
var node = _ref10.node;
|