@mjhls/mjh-framework 1.0.376 → 1.0.377
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/cjs/index.js +7 -7
- package/dist/esm/index.js +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/cjs/index.js
CHANGED
|
@@ -8930,7 +8930,7 @@ var Video = function Video(_ref) {
|
|
|
8930
8930
|
var queue = Math.floor(duration / 10);
|
|
8931
8931
|
var segment = Math.floor(current / queue);
|
|
8932
8932
|
|
|
8933
|
-
AdSlot.Beam.report_beam_video('Ready',
|
|
8933
|
+
AdSlot.Beam.report_beam_video('Ready', main.main_16, duration, current, segment, 'BrightCove', chapter.playerID, chapter.accountID, chapter.mediaID);
|
|
8934
8934
|
});
|
|
8935
8935
|
|
|
8936
8936
|
// play
|
|
@@ -8939,7 +8939,7 @@ var Video = function Video(_ref) {
|
|
|
8939
8939
|
var current = player.currentTime();
|
|
8940
8940
|
var queue = Math.floor(duration / 10);
|
|
8941
8941
|
var segment = Math.floor(current / queue);
|
|
8942
|
-
AdSlot.Beam.report_beam_video('Play',
|
|
8942
|
+
AdSlot.Beam.report_beam_video('Play', main.main_16, duration, current, segment, 'BrightCove', chapter.playerID, chapter.accountID, chapter.mediaID);
|
|
8943
8943
|
});
|
|
8944
8944
|
|
|
8945
8945
|
// pause
|
|
@@ -8948,7 +8948,7 @@ var Video = function Video(_ref) {
|
|
|
8948
8948
|
var current = player.currentTime();
|
|
8949
8949
|
var queue = Math.floor(duration / 10);
|
|
8950
8950
|
var segment = Math.floor(current / queue);
|
|
8951
|
-
AdSlot.Beam.report_beam_video('Pause',
|
|
8951
|
+
AdSlot.Beam.report_beam_video('Pause', main.main_16, duration, current, segment, 'BrightCove', chapter.playerID, chapter.accountID, chapter.mediaID);
|
|
8952
8952
|
});
|
|
8953
8953
|
|
|
8954
8954
|
// end
|
|
@@ -8957,7 +8957,7 @@ var Video = function Video(_ref) {
|
|
|
8957
8957
|
var current = player.currentTime();
|
|
8958
8958
|
var queue = Math.floor(duration / 10);
|
|
8959
8959
|
var segment = Math.floor(current / queue);
|
|
8960
|
-
AdSlot.Beam.report_beam_video('End',
|
|
8960
|
+
AdSlot.Beam.report_beam_video('End', main.main_16, duration, current, segment, 'BrightCove', chapter.playerID, chapter.accountID, chapter.mediaID);
|
|
8961
8961
|
});
|
|
8962
8962
|
|
|
8963
8963
|
var queueProgress = [];
|
|
@@ -8967,7 +8967,7 @@ var Video = function Video(_ref) {
|
|
|
8967
8967
|
var queue = Math.floor(duration / 10);
|
|
8968
8968
|
var segment = Math.floor(current / queue);
|
|
8969
8969
|
if (!queueProgress.includes(segment)) {
|
|
8970
|
-
AdSlot.Beam.report_beam_video('Segment',
|
|
8970
|
+
AdSlot.Beam.report_beam_video('Segment', main.main_16, duration, current, segment, 'BrightCove', chapter.playerID, chapter.accountID, chapter.mediaID);
|
|
8971
8971
|
queueProgress.push(segment);
|
|
8972
8972
|
}
|
|
8973
8973
|
});
|
|
@@ -8978,7 +8978,7 @@ var Video = function Video(_ref) {
|
|
|
8978
8978
|
var id = player.ads.ad.id;
|
|
8979
8979
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
8980
8980
|
|
|
8981
|
-
AdSlot.Beam.report_beam_ad('AD Started',
|
|
8981
|
+
AdSlot.Beam.report_beam_ad('AD Started', main.main_16, '', '', '', '', '', adType, duration, id);
|
|
8982
8982
|
});
|
|
8983
8983
|
|
|
8984
8984
|
// ad ended
|
|
@@ -8986,7 +8986,7 @@ var Video = function Video(_ref) {
|
|
|
8986
8986
|
var duration = player.ads.ad.duration;
|
|
8987
8987
|
var id = player.ads.ad.id;
|
|
8988
8988
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
8989
|
-
AdSlot.Beam.report_beam_ad('AD Ended',
|
|
8989
|
+
AdSlot.Beam.report_beam_ad('AD Ended', main.main_16, '', '', '', '', '', adType, duration, id);
|
|
8990
8990
|
});
|
|
8991
8991
|
};
|
|
8992
8992
|
|
package/dist/esm/index.js
CHANGED
|
@@ -8927,7 +8927,7 @@ var Video = function Video(_ref) {
|
|
|
8927
8927
|
var queue = Math.floor(duration / 10);
|
|
8928
8928
|
var segment = Math.floor(current / queue);
|
|
8929
8929
|
|
|
8930
|
-
Beam.report_beam_video('Ready',
|
|
8930
|
+
Beam.report_beam_video('Ready', main_16, duration, current, segment, 'BrightCove', chapter.playerID, chapter.accountID, chapter.mediaID);
|
|
8931
8931
|
});
|
|
8932
8932
|
|
|
8933
8933
|
// play
|
|
@@ -8936,7 +8936,7 @@ var Video = function Video(_ref) {
|
|
|
8936
8936
|
var current = player.currentTime();
|
|
8937
8937
|
var queue = Math.floor(duration / 10);
|
|
8938
8938
|
var segment = Math.floor(current / queue);
|
|
8939
|
-
Beam.report_beam_video('Play',
|
|
8939
|
+
Beam.report_beam_video('Play', main_16, duration, current, segment, 'BrightCove', chapter.playerID, chapter.accountID, chapter.mediaID);
|
|
8940
8940
|
});
|
|
8941
8941
|
|
|
8942
8942
|
// pause
|
|
@@ -8945,7 +8945,7 @@ var Video = function Video(_ref) {
|
|
|
8945
8945
|
var current = player.currentTime();
|
|
8946
8946
|
var queue = Math.floor(duration / 10);
|
|
8947
8947
|
var segment = Math.floor(current / queue);
|
|
8948
|
-
Beam.report_beam_video('Pause',
|
|
8948
|
+
Beam.report_beam_video('Pause', main_16, duration, current, segment, 'BrightCove', chapter.playerID, chapter.accountID, chapter.mediaID);
|
|
8949
8949
|
});
|
|
8950
8950
|
|
|
8951
8951
|
// end
|
|
@@ -8954,7 +8954,7 @@ var Video = function Video(_ref) {
|
|
|
8954
8954
|
var current = player.currentTime();
|
|
8955
8955
|
var queue = Math.floor(duration / 10);
|
|
8956
8956
|
var segment = Math.floor(current / queue);
|
|
8957
|
-
Beam.report_beam_video('End',
|
|
8957
|
+
Beam.report_beam_video('End', main_16, duration, current, segment, 'BrightCove', chapter.playerID, chapter.accountID, chapter.mediaID);
|
|
8958
8958
|
});
|
|
8959
8959
|
|
|
8960
8960
|
var queueProgress = [];
|
|
@@ -8964,7 +8964,7 @@ var Video = function Video(_ref) {
|
|
|
8964
8964
|
var queue = Math.floor(duration / 10);
|
|
8965
8965
|
var segment = Math.floor(current / queue);
|
|
8966
8966
|
if (!queueProgress.includes(segment)) {
|
|
8967
|
-
Beam.report_beam_video('Segment',
|
|
8967
|
+
Beam.report_beam_video('Segment', main_16, duration, current, segment, 'BrightCove', chapter.playerID, chapter.accountID, chapter.mediaID);
|
|
8968
8968
|
queueProgress.push(segment);
|
|
8969
8969
|
}
|
|
8970
8970
|
});
|
|
@@ -8975,7 +8975,7 @@ var Video = function Video(_ref) {
|
|
|
8975
8975
|
var id = player.ads.ad.id;
|
|
8976
8976
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
8977
8977
|
|
|
8978
|
-
Beam.report_beam_ad('AD Started',
|
|
8978
|
+
Beam.report_beam_ad('AD Started', main_16, '', '', '', '', '', adType, duration, id);
|
|
8979
8979
|
});
|
|
8980
8980
|
|
|
8981
8981
|
// ad ended
|
|
@@ -8983,7 +8983,7 @@ var Video = function Video(_ref) {
|
|
|
8983
8983
|
var duration = player.ads.ad.duration;
|
|
8984
8984
|
var id = player.ads.ad.id;
|
|
8985
8985
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
8986
|
-
Beam.report_beam_ad('AD Ended',
|
|
8986
|
+
Beam.report_beam_ad('AD Ended', main_16, '', '', '', '', '', adType, duration, id);
|
|
8987
8987
|
});
|
|
8988
8988
|
};
|
|
8989
8989
|
|