@mjhls/mjh-framework 1.0.485 → 1.0.486

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.
Files changed (78) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD300x250.js +1 -1
  3. package/dist/cjs/AD300x250x600.js +1 -1
  4. package/dist/cjs/AD728x90.js +1 -1
  5. package/dist/cjs/ADFloatingFooter.js +1 -1
  6. package/dist/cjs/ADGutter.js +1 -1
  7. package/dist/cjs/ADSponsoredResources.js +1 -1
  8. package/dist/cjs/ADWebcast.js +1 -1
  9. package/dist/cjs/ADWelcome.js +1 -1
  10. package/dist/cjs/AdSlot.js +3 -3
  11. package/dist/cjs/ArticleQueue.js +6 -6
  12. package/dist/cjs/Beam.js +1 -1
  13. package/dist/cjs/Column2.js +1 -1
  14. package/dist/cjs/Column3.js +1 -1
  15. package/dist/cjs/DeckContent.js +2 -2
  16. package/dist/cjs/EventsDeck.js +12 -1577
  17. package/dist/cjs/ExternalResources.js +183 -0
  18. package/dist/cjs/GridContent.js +3 -3
  19. package/dist/cjs/HamMagazine.js +7 -7
  20. package/dist/cjs/IssueLanding.js +3 -3
  21. package/dist/cjs/LeftNav.js +3 -3
  22. package/dist/cjs/MasterDeck.js +3 -3
  23. package/dist/cjs/NavDvm.js +5 -5
  24. package/dist/cjs/NavMagazine.js +7 -7
  25. package/dist/cjs/NavNative.js +7 -7
  26. package/dist/cjs/NavNormal.js +3 -3
  27. package/dist/cjs/PartnerDetailListing.js +8 -8
  28. package/dist/cjs/QueueDeckExpanded.js +3 -3
  29. package/dist/cjs/Segment.js +2 -2
  30. package/dist/cjs/SideFooter.js +3 -3
  31. package/dist/cjs/TemplateNormal.js +1 -1
  32. package/dist/cjs/View.js +6 -6
  33. package/dist/cjs/{beam-9ffe0364.js → beam-2745329b.js} +3 -3
  34. package/dist/cjs/getQuery.js +2 -0
  35. package/dist/cjs/getSerializers.js +24 -24
  36. package/dist/cjs/index-5be2866f.js +1572 -0
  37. package/dist/cjs/index.js +14 -11
  38. package/dist/esm/AD300x250.js +1 -1
  39. package/dist/esm/AD300x250x600.js +1 -1
  40. package/dist/esm/AD728x90.js +1 -1
  41. package/dist/esm/ADFloatingFooter.js +1 -1
  42. package/dist/esm/ADGutter.js +1 -1
  43. package/dist/esm/ADSponsoredResources.js +1 -1
  44. package/dist/esm/ADWebcast.js +1 -1
  45. package/dist/esm/ADWelcome.js +1 -1
  46. package/dist/esm/AdSlot.js +3 -3
  47. package/dist/esm/ArticleQueue.js +6 -6
  48. package/dist/esm/Beam.js +1 -1
  49. package/dist/esm/Column2.js +1 -1
  50. package/dist/esm/Column3.js +1 -1
  51. package/dist/esm/DeckContent.js +2 -2
  52. package/dist/esm/EventsDeck.js +12 -1577
  53. package/dist/esm/ExternalResources.js +177 -0
  54. package/dist/esm/GridContent.js +3 -3
  55. package/dist/esm/HamMagazine.js +7 -7
  56. package/dist/esm/IssueLanding.js +3 -3
  57. package/dist/esm/LeftNav.js +3 -3
  58. package/dist/esm/MasterDeck.js +3 -3
  59. package/dist/esm/NavDvm.js +5 -5
  60. package/dist/esm/NavMagazine.js +7 -7
  61. package/dist/esm/NavNative.js +7 -7
  62. package/dist/esm/NavNormal.js +3 -3
  63. package/dist/esm/PartnerDetailListing.js +8 -8
  64. package/dist/esm/QueueDeckExpanded.js +3 -3
  65. package/dist/esm/Segment.js +1 -1
  66. package/dist/esm/SideFooter.js +3 -3
  67. package/dist/esm/TemplateNormal.js +1 -1
  68. package/dist/esm/View.js +6 -6
  69. package/dist/esm/{beam-e248fb74.js → beam-dd2b10c0.js} +3 -3
  70. package/dist/esm/getQuery.js +2 -0
  71. package/dist/esm/getSerializers.js +24 -24
  72. package/dist/esm/index-d2f90501.js +1570 -0
  73. package/dist/esm/index.js +11 -9
  74. package/package.json +1 -1
  75. /package/dist/cjs/{ADInfeed-9df26f11.js → ADInfeed-0ce661fa.js} +0 -0
  76. /package/dist/cjs/{ADlgInfeed-732fb987.js → ADlgInfeed-3e685576.js} +0 -0
  77. /package/dist/esm/{ADInfeed-383c2123.js → ADInfeed-c651007e.js} +0 -0
  78. /package/dist/esm/{ADlgInfeed-e1a02b33.js → ADlgInfeed-9ff12f94.js} +0 -0
package/dist/cjs/View.js CHANGED
@@ -34,7 +34,7 @@ var slicedToArray = require('./slicedToArray-8063ee51.js');
34
34
  var stringify = require('./stringify-7c5aff47.js');
35
35
  var asyncToGenerator = require('./asyncToGenerator-8e707718.js');
36
36
  require('./_set-species-4458e975.js');
37
- require('./beam-9ffe0364.js');
37
+ require('./beam-2745329b.js');
38
38
  var AdSlot = require('./AdSlot.js');
39
39
  require('./_arrayMap-3b4a0f75.js');
40
40
  var BlockContent = require('./BlockContent-f942392e.js');
@@ -42,6 +42,11 @@ require('./smoothscroll-95231a70.js');
42
42
  require('./GroupDeck.js');
43
43
  require('react-bootstrap');
44
44
  var Button = _interopDefault(require('react-bootstrap/Button'));
45
+ var getSerializers = require('./getSerializers.js');
46
+ require('./util-f2c1b65b.js');
47
+ require('./brightcove-react-player-loader.es-156bd4d6.js');
48
+ require('react-bootstrap/Pagination');
49
+ require('next/dynamic');
45
50
  var Head = _interopDefault(require('next/head'));
46
51
  require('react-share');
47
52
  var SocialShare = require('./SocialShare.js');
@@ -49,12 +54,7 @@ var Form = _interopDefault(require('react-bootstrap/Form'));
49
54
  var FormControl = _interopDefault(require('react-bootstrap/FormControl'));
50
55
  var keys = require('./keys-a586b7a0.js');
51
56
  var Dropdown = _interopDefault(require('react-bootstrap/Dropdown'));
52
- require('./brightcove-react-player-loader.es-156bd4d6.js');
53
57
  var InscreenSensor = require('./InscreenSensor-f9989c04.js');
54
- var getSerializers = require('./getSerializers.js');
55
- require('./util-f2c1b65b.js');
56
- require('react-bootstrap/Pagination');
57
- require('next/dynamic');
58
58
  var getKeywords = require('./getKeywords.js');
59
59
  var getSeriesDetail = require('./getSeriesDetail.js');
60
60
  var getTargeting = require('./getTargeting-b15993cb.js');
@@ -5,7 +5,7 @@ var asyncToGenerator = require('./asyncToGenerator-8e707718.js');
5
5
 
6
6
  require("babel-polyfill");
7
7
 
8
- var SegmentAPI = {
8
+ var Segment = {
9
9
  // onclive default
10
10
  init: function init() {
11
11
  var apiKey = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'BBbKMoOjmhsxPnbd2nO6osz3zq67DzuN';
@@ -578,7 +578,7 @@ var Beam = {
578
578
 
579
579
  // report segment when eKey is present
580
580
  if (beam.eKey) {
581
- SegmentAPI.identify(beam.eKey);
581
+ Segment.identify(beam.eKey);
582
582
  }
583
583
 
584
584
  case 12:
@@ -729,4 +729,4 @@ var Beam = {
729
729
  };
730
730
 
731
731
  exports.Beam = Beam;
732
- exports.SegmentAPI = SegmentAPI;
732
+ exports.Segment = Segment;
@@ -19,6 +19,8 @@ var getQuery = function getQuery(type) {
19
19
  return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issues\': *[_type == \'publication\'\n && is_visible\n && references(^._id)\n && defined(identifier)] {\n ...,\n pdf{asset->}\n } | order(year desc, month desc)\n }';
20
20
  case 'issue':
21
21
  return '*[_type == \'publication\'\n && identifier.current == $publication\n ' + conditions + '][0] {\n ' + params + '\n ...,\n \'issue\': *[_type == \'publication\'\n && references(^._id)\n && identifier.current == $issue][0] {\n ...,\n \'articles\': *[_type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && is_visible\n && defined(url)\n && dateTime(published) <= dateTime($currentDate)\n && references(^._id)] {\n ...,\n authorMapping[0]->,\n contentCategory->,\n issueSection-> {\n name\n }\n }\n }\n }';
22
+ case 'externalResources':
23
+ return '{\n \'archived\': *[_type == "external" && archived && isVisible],\n \'recent\': *[_type == "external" && !archived && isVisible]\n }';
22
24
  }
23
25
  };
24
26
 
@@ -30,15 +30,15 @@ var slicedToArray = require('./slicedToArray-8063ee51.js');
30
30
  require('./stringify-7c5aff47.js');
31
31
  require('./asyncToGenerator-8e707718.js');
32
32
  require('./_set-species-4458e975.js');
33
- var Segment = require('./beam-9ffe0364.js');
33
+ var Segment = require('./beam-2745329b.js');
34
34
  var AdSlot = require('./AdSlot.js');
35
35
  var BlockContent = require('./BlockContent-f942392e.js');
36
36
  var smoothscroll = require('./smoothscroll-95231a70.js');
37
37
  var GroupDeck = require('./GroupDeck.js');
38
38
  var reactBootstrap = require('react-bootstrap');
39
39
  var Button = _interopDefault(require('react-bootstrap/Button'));
40
- var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-156bd4d6.js');
41
40
  var util = require('./util-f2c1b65b.js');
41
+ var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-156bd4d6.js');
42
42
  var Pagination = _interopDefault(require('react-bootstrap/Pagination'));
43
43
  var dynamic = _interopDefault(require('next/dynamic'));
44
44
 
@@ -1926,7 +1926,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1926
1926
  var queue = Math.floor(duration / 10);
1927
1927
  var segment = Math.floor(current / queue);
1928
1928
  Segment.Beam.report_beam_video('Ready', main.main_16, duration, current, segment);
1929
- Segment.SegmentAPI.report_video_event('Video Ready', main.main_16, duration, current, segment);
1929
+ Segment.Segment.report_video_event('Video Ready', main.main_16, duration, current, segment);
1930
1930
  };
1931
1931
 
1932
1932
  var handlePlayPercent = function handlePlayPercent(player) {
@@ -1937,7 +1937,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1937
1937
 
1938
1938
  if (!queueProgress.includes(segment)) {
1939
1939
  Segment.Beam.report_beam_video('Segment', main.main_16, duration, current, segment);
1940
- Segment.SegmentAPI.report_video_event('Video Segment', main.main_16, duration, current, segment);
1940
+ Segment.Segment.report_video_event('Video Segment', main.main_16, duration, current, segment);
1941
1941
  queueProgress.push(segment);
1942
1942
  }
1943
1943
  };
@@ -1951,7 +1951,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1951
1951
  var segment = Math.floor(current / queue);
1952
1952
 
1953
1953
  Segment.Beam.report_beam_video('Play', main.main_16, duration, current, segment);
1954
- Segment.SegmentAPI.report_video_event('Video Play', main.main_16, duration, current, segment);
1954
+ Segment.Segment.report_video_event('Video Play', main.main_16, duration, current, segment);
1955
1955
 
1956
1956
  if (!playReported) {
1957
1957
  setPlayReported(true);
@@ -1971,7 +1971,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1971
1971
  var segment = Math.floor(current / queue);
1972
1972
 
1973
1973
  Segment.Beam.report_beam_video('End', main.main_16, duration, current, segment);
1974
- Segment.SegmentAPI.report_video_event('Video End', main.main_16, duration, current, segment);
1974
+ Segment.Segment.report_video_event('Video End', main.main_16, duration, current, segment);
1975
1975
  setEndReported(true);
1976
1976
  clearInterval(intervalID);
1977
1977
  }
@@ -1985,7 +1985,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
1985
1985
  var segment = Math.floor(current / queue);
1986
1986
 
1987
1987
  Segment.Beam.report_beam_video('Pause', main.main_16, duration, current, segment);
1988
- Segment.SegmentAPI.report_video_event('Video Pause', main.main_16, duration, current, segment);
1988
+ Segment.Segment.report_video_event('Video Pause', main.main_16, duration, current, segment);
1989
1989
  };
1990
1990
 
1991
1991
  return React__default.createElement(
@@ -2222,7 +2222,7 @@ var Video = function Video(_ref) {
2222
2222
  }
2223
2223
 
2224
2224
  Segment.Beam.report_beam_video('Ready', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2225
- Segment.SegmentAPI.report_video_event('Video Ready', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2225
+ Segment.Segment.report_video_event('Video Ready', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2226
2226
  });
2227
2227
 
2228
2228
  // play
@@ -2232,7 +2232,7 @@ var Video = function Video(_ref) {
2232
2232
  var queue = Math.floor(duration / 10);
2233
2233
  var segment = Math.floor(current / queue);
2234
2234
  Segment.Beam.report_beam_video('Play', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2235
- Segment.SegmentAPI.report_video_event('Video Play', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2235
+ Segment.Segment.report_video_event('Video Play', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2236
2236
  });
2237
2237
 
2238
2238
  // pause
@@ -2242,7 +2242,7 @@ var Video = function Video(_ref) {
2242
2242
  var queue = Math.floor(duration / 10);
2243
2243
  var segment = Math.floor(current / queue);
2244
2244
  Segment.Beam.report_beam_video('Pause', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2245
- Segment.SegmentAPI.report_video_event('Video Pause', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2245
+ Segment.Segment.report_video_event('Video Pause', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2246
2246
  });
2247
2247
 
2248
2248
  // end
@@ -2252,7 +2252,7 @@ var Video = function Video(_ref) {
2252
2252
  var queue = Math.floor(duration / 10);
2253
2253
  var segment = Math.floor(current / queue);
2254
2254
  Segment.Beam.report_beam_video('End', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2255
- Segment.SegmentAPI.report_video_event('Video End', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2255
+ Segment.Segment.report_video_event('Video End', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2256
2256
  autoplayNextVideo(evt);
2257
2257
  });
2258
2258
 
@@ -2264,7 +2264,7 @@ var Video = function Video(_ref) {
2264
2264
  var segment = Math.floor(current / queue);
2265
2265
  if (!queueProgress.includes(segment)) {
2266
2266
  Segment.Beam.report_beam_video('Segment', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2267
- Segment.SegmentAPI.report_video_event('Video Segment', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2267
+ Segment.Segment.report_video_event('Video Segment', main.main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
2268
2268
  queueProgress.push(segment);
2269
2269
  }
2270
2270
  });
@@ -2276,7 +2276,7 @@ var Video = function Video(_ref) {
2276
2276
  var adType = 'Bright Cove: ' + player.ads.ad.type;
2277
2277
 
2278
2278
  Segment.Beam.report_beam_ad('AD Started', main.main_16, '', '', '', '', '', adType, duration, id);
2279
- Segment.SegmentAPI.report_ad_event('Video Ad Started', main.main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2279
+ Segment.Segment.report_ad_event('Video Ad Started', main.main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2280
2280
  });
2281
2281
 
2282
2282
  // ad ended
@@ -2285,7 +2285,7 @@ var Video = function Video(_ref) {
2285
2285
  var id = player.ads.ad.id;
2286
2286
  var adType = 'Bright Cove: ' + player.ads.ad.type;
2287
2287
  Segment.Beam.report_beam_ad('AD Ended', main.main_16, '', '', '', '', '', adType, duration, id);
2288
- Segment.SegmentAPI.report_ad_event('Video Ad Ended', main.main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2288
+ Segment.Segment.report_ad_event('Video Ad Ended', main.main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
2289
2289
  });
2290
2290
  };
2291
2291
 
@@ -6933,7 +6933,7 @@ var VideoMp4 = function VideoMp4(_ref) {
6933
6933
  var queue = Math.floor(duration / 10);
6934
6934
  var segment = Math.floor(current / queue);
6935
6935
  Segment.Beam.report_beam_video('Ready', main.main_16, duration, current, segment, 'MP4');
6936
- Segment.SegmentAPI.report_video_event('Video Ready', main.main_16, duration, current, segment, 'MP4');
6936
+ Segment.Segment.report_video_event('Video Ready', main.main_16, duration, current, segment, 'MP4');
6937
6937
  };
6938
6938
 
6939
6939
  var handlePlayPercent = function handlePlayPercent(player) {
@@ -6943,7 +6943,7 @@ var VideoMp4 = function VideoMp4(_ref) {
6943
6943
  var segment = Math.floor(current / queue);
6944
6944
  if (!queueProgress.includes(segment)) {
6945
6945
  Segment.Beam.report_beam_video('Segment', main.main_16, duration, current, segment, 'MP4');
6946
- Segment.SegmentAPI.report_video_event('Video Segment', main.main_16, duration, current, segment, 'MP4');
6946
+ Segment.Segment.report_video_event('Video Segment', main.main_16, duration, current, segment, 'MP4');
6947
6947
  queueProgress.push(segment);
6948
6948
  }
6949
6949
  };
@@ -6956,7 +6956,7 @@ var VideoMp4 = function VideoMp4(_ref) {
6956
6956
  var queue = Math.floor(duration / 10);
6957
6957
  var segment = Math.floor(current / queue);
6958
6958
  Segment.Beam.report_beam_video('Play', main.main_16, duration, current, segment, 'MP4');
6959
- Segment.SegmentAPI.report_video_event('Video Play', main.main_16, duration, current, segment, 'MP4');
6959
+ Segment.Segment.report_video_event('Video Play', main.main_16, duration, current, segment, 'MP4');
6960
6960
 
6961
6961
  if (!playReported) {
6962
6962
  event.persist();
@@ -6977,7 +6977,7 @@ var VideoMp4 = function VideoMp4(_ref) {
6977
6977
  var segment = Math.floor(current / queue);
6978
6978
 
6979
6979
  Segment.Beam.report_beam_video('End', main.main_16, duration, current, segment, 'MP4');
6980
- Segment.SegmentAPI.report_video_event('Video End', main.main_16, duration, current, segment, 'MP4');
6980
+ Segment.Segment.report_video_event('Video End', main.main_16, duration, current, segment, 'MP4');
6981
6981
  setEndReported(true);
6982
6982
  clearInterval(intervalID);
6983
6983
  }
@@ -6990,7 +6990,7 @@ var VideoMp4 = function VideoMp4(_ref) {
6990
6990
  var queue = Math.floor(duration / 10);
6991
6991
  var segment = Math.floor(current / queue);
6992
6992
  Segment.Beam.report_beam_video('Pause', main.main_16, duration, current, segment, 'MP4');
6993
- Segment.SegmentAPI.report_video_event('Video Pause', main.main_16, duration, current, segment, 'MP4');
6993
+ Segment.Segment.report_video_event('Video Pause', main.main_16, duration, current, segment, 'MP4');
6994
6994
  };
6995
6995
 
6996
6996
  return React__default.createElement(
@@ -7155,7 +7155,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7155
7155
  var queue = Math.floor(duration / 10);
7156
7156
  var segment = Math.floor(current / queue);
7157
7157
  Segment.Beam.report_beam_video('Ready', main.main_16, duration, current, segment);
7158
- Segment.SegmentAPI.report_video_event('Video Ready', main.main_16, duration, current, segment);
7158
+ Segment.Segment.report_video_event('Video Ready', main.main_16, duration, current, segment);
7159
7159
  //autoplay
7160
7160
 
7161
7161
  //Small pause before starting next video
@@ -7176,7 +7176,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7176
7176
  var segment = Math.floor(current / queue);
7177
7177
 
7178
7178
  Segment.Beam.report_beam_video('End', main.main_16, duration, current, segment);
7179
- Segment.SegmentAPI.report_video_event('Video End', main.main_16, duration, current, segment);
7179
+ Segment.Segment.report_video_event('Video End', main.main_16, duration, current, segment);
7180
7180
  setEndReported(true);
7181
7181
  clearInterval(intervalID);
7182
7182
  }
@@ -7227,7 +7227,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7227
7227
  var segment = Math.floor(current / queue);
7228
7228
  if (!queueProgress.includes(segment)) {
7229
7229
  Segment.Beam.report_beam_video('Segment', main.main_16, duration, current, segment);
7230
- Segment.SegmentAPI.report_video_event('Video Segment', main.main_16, duration, current, segment);
7230
+ Segment.Segment.report_video_event('Video Segment', main.main_16, duration, current, segment);
7231
7231
  queueProgress.push(segment);
7232
7232
  }
7233
7233
  };
@@ -7241,7 +7241,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7241
7241
  var segment = Math.floor(current / queue);
7242
7242
 
7243
7243
  Segment.Beam.report_beam_video('Play', main.main_16, duration, current, segment);
7244
- Segment.SegmentAPI.report_video_event('Video Play', main.main_16, duration, current, segment);
7244
+ Segment.Segment.report_video_event('Video Play', main.main_16, duration, current, segment);
7245
7245
 
7246
7246
  if (!playReported) {
7247
7247
  setPlayReported(true);
@@ -7260,7 +7260,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7260
7260
  var segment = Math.floor(current / queue);
7261
7261
 
7262
7262
  Segment.Beam.report_beam_video('Pause', main.main_16, duration, current, segment);
7263
- Segment.SegmentAPI.report_video_event('Video Pause', main.main_16, duration, current, segment);
7263
+ Segment.Segment.report_video_event('Video Pause', main.main_16, duration, current, segment);
7264
7264
  };
7265
7265
 
7266
7266
  // Youtube Options