- videoViewUrl: commonOptions.videoViewUrl,
- videoDuration: commonOptions.videoDuration,
- userWatching: commonOptions.userWatching,
- subtitle: commonOptions.subtitle,
- videoCaptions: commonOptions.videoCaptions,
- stopTime: commonOptions.stopTime,
- isLive: commonOptions.isLive,
- videoUUID: commonOptions.videoUUID
+
+ ...pick(commonOptions, [
+ 'videoViewUrl',
+ 'videoViewIntervalMs',
+ 'authorizationHeader',
+ 'startTime',
+ 'videoDuration',
+ 'subtitle',
+ 'videoCaptions',
+ 'stopTime',
+ 'isLive',
+ 'videoUUID'
+ ])
+ },
+ metrics: {
+ mode: this.mode,
+
+ ...pick(commonOptions, [
+ 'metricsUrl',
+ 'videoUUID'
+ ])