@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 CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # mjh-framework v. 1.0.99
2
+ # mjh-framework v. 1.0.100
3
3
 
4
4
 
5
5
  > Foundation Framework
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
- brightcoveAccountId = _ref.brightcoveAccountId;
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: brightcoveAccountId, videoId: videoID, attrs: { className: 'brightcove' } });
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, brightcoveAccountId) {
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, brightcoveAccountId: brightcoveAccountId });
12626
+ return React__default.createElement(Video, { node: node, accountIDs: videoAccountIDs || {} });
12626
12627
  },
12627
12628
  audio: function audio(_ref10) {
12628
12629
  var node = _ref10.node;