@flowplayer/player 3.27.0 → 3.28.0-rc.1

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 (56) hide show
  1. package/core/events.d.ts +13 -0
  2. package/core/events.js +7 -1
  3. package/core.js +1 -1
  4. package/default.js +1 -1
  5. package/embed.js +2 -2
  6. package/flowplayer.css +1 -1
  7. package/index.d.ts +304 -8
  8. package/package.json +1 -1
  9. package/plugins/ads.d.ts +314 -19
  10. package/plugins/ads.js +2 -2
  11. package/plugins/airplay.d.ts +304 -17
  12. package/plugins/analytics.d.ts +304 -17
  13. package/plugins/analytics.js +1 -1
  14. package/plugins/asel.d.ts +304 -17
  15. package/plugins/audio.d.ts +304 -17
  16. package/plugins/chapters.d.ts +304 -17
  17. package/plugins/chromecast.d.ts +304 -17
  18. package/plugins/comscore.d.ts +304 -17
  19. package/plugins/consent.d.ts +304 -17
  20. package/plugins/context-menu.d.ts +304 -17
  21. package/plugins/cuepoints.d.ts +304 -17
  22. package/plugins/dash.d.ts +304 -17
  23. package/plugins/dash.js +3 -3
  24. package/plugins/drm.d.ts +304 -17
  25. package/plugins/endscreen.d.ts +304 -17
  26. package/plugins/fas.d.ts +304 -17
  27. package/plugins/float-on-scroll.d.ts +304 -17
  28. package/plugins/ga4.d.ts +304 -17
  29. package/plugins/gemius.d.ts +304 -17
  30. package/plugins/google-analytics.d.ts +304 -17
  31. package/plugins/hls.d.ts +304 -17
  32. package/plugins/hls.js +1 -1
  33. package/plugins/id3.d.ts +304 -17
  34. package/plugins/iframe.d.ts +304 -17
  35. package/plugins/keyboard.d.ts +304 -17
  36. package/plugins/media-session.d.ts +304 -17
  37. package/plugins/message.d.ts +304 -17
  38. package/plugins/ovp.d.ts +304 -17
  39. package/plugins/ovp.js +1 -1
  40. package/plugins/playlist.d.ts +304 -17
  41. package/plugins/preview.d.ts +304 -17
  42. package/plugins/qsel.d.ts +304 -17
  43. package/plugins/qul.d.ts +304 -17
  44. package/plugins/qul.js +1 -1
  45. package/plugins/rts.d.ts +312 -17
  46. package/plugins/rts.js +7 -7
  47. package/plugins/share.d.ts +304 -17
  48. package/plugins/speed.d.ts +304 -17
  49. package/plugins/ssai.d.ts +304 -17
  50. package/plugins/ssai.js +2 -2
  51. package/plugins/subtitles.d.ts +304 -17
  52. package/plugins/thumbnails.d.ts +304 -17
  53. package/plugins/tizen.d.ts +304 -17
  54. package/plugins/vtsel.d.ts +304 -17
  55. package/plugins/webos.d.ts +304 -17
  56. package/util/loader.d.ts +304 -17
@@ -333,17 +333,6 @@ ERROR = "error";
333
333
 
334
334
  declare const ERRORED = "is-error";
335
335
 
336
- /**
337
- * @public
338
- */
339
- declare type ErrorEventDetail = {
340
- src?: string;
341
- type?: string;
342
- code?: number | string;
343
- };
344
-
345
- /* Excluded from this release type: _ErrorEventDetail */
346
-
347
336
  declare namespace events {
348
337
  export {
349
338
  MOUNT,
@@ -401,7 +390,8 @@ declare namespace events {
401
390
  RECOVER,
402
391
  CUEPOINTS,
403
392
  CUEPOINT_START,
404
- CUEPOINT_END
393
+ CUEPOINT_END,
394
+ FLOWPLAYER_ERROR
405
395
  }
406
396
  }
407
397
 
@@ -419,11 +409,307 @@ declare type FilterNewSourceTypes<PluginSrcs extends unknown[]> = {
419
409
  } ? PluginSrcs[Index] : never;
420
410
  };
421
411
 
412
+ /**
413
+ * @public
414
+ * emitted to handle playback related errors
415
+ */
416
+ declare const /**
417
+ @public
418
+ * when a new player is inserted into the HTML
419
+ */ /**
420
+ * @public
421
+ * emitted to handle playback related errors
422
+ */
423
+ FLOWPLAYER_ERROR = "flowplayer:error";
424
+
422
425
  /**
423
426
  * @public
424
427
  */
425
428
  declare type FlowplayerCustomElementRegistry = Map<string, string>;
426
429
 
430
+ declare class FlowplayerError extends Error {
431
+ readonly message: string;
432
+ readonly flowplayerErrorCode: FlowplayerErrorCode;
433
+ readonly config: FlowplayerErrorConfig;
434
+ static getErrorKey(code: FlowplayerErrorCode): FlowplayerErrorCodeName;
435
+ readonly id: string;
436
+ readonly fatal: boolean;
437
+ readonly errorKey: string;
438
+ constructor(message: string, flowplayerErrorCode: FlowplayerErrorCode, config?: FlowplayerErrorConfig);
439
+ toJSON(): {
440
+ message: string;
441
+ flowplayer_error_code: FlowplayerErrorCode;
442
+ id: string;
443
+ root_error_id: string | undefined;
444
+ resource: string | undefined;
445
+ fatal: boolean;
446
+ };
447
+ }
448
+
449
+ declare type FlowplayerErrorCode = (typeof FlowplayerErrorCodeMap)[keyof typeof FlowplayerErrorCodeMap];
450
+
451
+ declare const FlowplayerErrorCodeMap: {
452
+ /** Unknown */
453
+ readonly Unknown: "00-00";
454
+ /** Media Section */
455
+ readonly MediaUnknown: "01-00";
456
+ readonly MediaUnavailable: "01-01";
457
+ readonly MediaUnsupportedVideoFormat: "01-02";
458
+ readonly MediaUnsupportedAudioFormat: "01-03";
459
+ readonly MediaBitrateExceeded: "01-04";
460
+ readonly MediaBufferOverread: "01-05";
461
+ readonly MediaIntegerOverflow: "01-06";
462
+ readonly MediaQuotaExceeded: "01-07";
463
+ readonly MediaInvalidCompositionDuration: "01-08";
464
+ readonly MediaInvalidCompositionSourceDuration: "01-09";
465
+ readonly MediaInvalidCompositionSourceStartTime: "01-10";
466
+ readonly MediaMalformedDepth: "01-11";
467
+ /** Playback Section */
468
+ readonly PlaybackUnknown: "02-00";
469
+ readonly PlaybackVideoBufferUnderRun: "02-01";
470
+ readonly PlaybackAudioBufferUnderRun: "02-02";
471
+ readonly PlaybackVideoBufferingTimeout: "02-03";
472
+ readonly PlaybackAudioBufferingTimeout: "02-04";
473
+ readonly PlaybackManifestParseError: "02-05";
474
+ readonly PlaybackVideoDecodeError: "02-06";
475
+ readonly PlaybackAudioDecodeError: "02-07";
476
+ readonly PlaybackDroppedFramesExceeded: "02-08";
477
+ readonly PlaybackPlayheadExceedsDuration: "02-09";
478
+ readonly PlaybackUnsupportedDevice: "02-10";
479
+ readonly PlaybackManifestLoadError: "02-11";
480
+ readonly PlaybackManifestLoadTimeout: "02-12";
481
+ readonly PlaybackManifestParsingError: "02-13";
482
+ readonly PlaybackManifestIncompatibleCodecs: "02-14";
483
+ readonly PlaybackLevelEmptyError: "02-15";
484
+ readonly PlaybackLevelLoadError: "02-16";
485
+ readonly PlaybackLevelLoadTimeout: "02-17";
486
+ readonly PlaybackLevelSwitchError: "02-18";
487
+ readonly PlaybackAudioTrackLoadError: "02-19";
488
+ readonly PlaybackAudioTrackLoadTimeout: "02-20";
489
+ readonly PlaybackFragLoadError: "02-21";
490
+ readonly PlaybackFragLoadTimeout: "02-22";
491
+ readonly PlaybackFragDecryptError: "02-23";
492
+ readonly PlaybackFragParsingError: "02-24";
493
+ readonly PlaybackFragGap: "02-25";
494
+ readonly PlaybackRemuxAllocError: "02-26";
495
+ readonly PlaybackBufferAddCodecError: "02-27";
496
+ readonly PlaybackBufferIncompatibleCodecs: "02-28";
497
+ readonly PlaybackBufferAppendError: "02-29";
498
+ readonly PlaybackBufferStalledError: "02-30";
499
+ readonly PlaybackBufferFullError: "02-31";
500
+ readonly PlaybackBufferSeekOverHole: "02-32";
501
+ readonly PlaybackBufferNudgeOnStall: "02-33";
502
+ readonly PlaybackInternalException: "02-34";
503
+ readonly PlaybackInternalAborted: "02-35";
504
+ readonly PlaybackManifestLoaderFailure: "02-36";
505
+ readonly PlaybackSegmentBaseLoaderError: "02-37";
506
+ readonly PlaybackTimeSyncFailed: "02-38";
507
+ readonly PlaybackFragmentLoaderFailure: "02-39";
508
+ readonly PlaybackAppendError: "02-40";
509
+ readonly PlaybackRemoveError: "02-41";
510
+ readonly PlaybackDataUpdateFailed: "02-42";
511
+ readonly PlaybackManifestNoStreams: "02-43";
512
+ readonly PlaybackUnknownManifestType: "02-44";
513
+ readonly PlaybackDashInsufficientSegmentInfo: "02-45";
514
+ readonly PlaybackDashNoRepresentations: "02-46";
515
+ readonly PlaybackDashNoAdaptationSets: "02-47";
516
+ readonly PlaybackDashNoInitSegment: "02-48";
517
+ readonly PlaybackDashUnsupportedContainerFormat: "02-49";
518
+ readonly PlaybackDashKeySystemMismatch: "02-50";
519
+ readonly PlaybackMultipleKeyIDs: "02-51";
520
+ readonly PlaybackDashConflictingKeyIDs: "02-52";
521
+ readonly PlaybackRestrictedStreams: "02-53";
522
+ readonly PlaybackHlsMasterAndMediaTags: "02-54";
523
+ readonly PlaybackRepresentationIdConflict: "02-55";
524
+ readonly PlaybackHlsUnsupportedKeyFormats: "02-56";
525
+ readonly PlaybackManifestNoVariants: "02-57";
526
+ readonly PlaybackHlsUndeclaredVariables: "02-58";
527
+ readonly PlaybackAes128InvalidKeyLength: "02-59";
528
+ readonly PlaybackDashConflictingAes128Keys: "02-60";
529
+ readonly PlaybackDashUnsupportedAes128Encryption: "02-61";
530
+ readonly PlaybackManifestPatchMismatch: "02-62";
531
+ readonly PlaybackEmptyMediaPlaylist: "02-63";
532
+ readonly PlaybackNonContiguousCompositionTrack: "02-64";
533
+ readonly PlaybackDecoderNotFound: "02-65";
534
+ readonly PlaybackDecoderTemporarilyUnavailable: "02-66";
535
+ readonly PlaybackIncompatibleAsset: "02-67";
536
+ readonly PlaybackNoCompatibleExternalDisplay: "02-69";
537
+ readonly PlaybackOutOfMemory: "02-70";
538
+ readonly PlaybackToneMappingFailed: "02-71";
539
+ readonly PlaybackVideoCompositorFailed: "02-72";
540
+ /** Network Section */
541
+ readonly NetworkUnknown: "03-00";
542
+ readonly NetworkNoInternet: "03-01";
543
+ readonly NetworkRequestTimeout: "03-02";
544
+ readonly NetworkUnableToResolveHost: "03-03";
545
+ readonly NetworkResourceNotFound: "03-04";
546
+ readonly NetworkExpiredUrl: "03-05";
547
+ readonly NetworkUrlResolutionFailed: "03-06";
548
+ readonly NetworkDownloadErrorIdManifest: "03-07";
549
+ readonly NetworkDownloadErrorIdSidx: "03-08";
550
+ readonly NetworkDownloadErrorIdContent: "03-09";
551
+ readonly NetworkDownloadErrorIdInitialization: "03-10";
552
+ readonly NetworkDownloadErrorIdXlink: "03-11";
553
+ readonly NetworkHttpRequestFailed: "03-12";
554
+ readonly NetworkMaxRetriesExceeded: "03-13";
555
+ readonly NetworkSegmentMissing: "03-14";
556
+ /** HTTP Error Codes */
557
+ readonly NetworkHttp400BadRequest: "03-400";
558
+ readonly NetworkHttp401Unauthorized: "03-401";
559
+ readonly NetworkHttp402PaymentRequired: "03-402";
560
+ readonly NetworkHttp403Forbidden: "03-403";
561
+ readonly NetworkHttp404NotFound: "03-404";
562
+ readonly NetworkHttp405MethodNotAllowed: "03-405";
563
+ readonly NetworkHttp406NotAcceptable: "03-406";
564
+ readonly NetworkHttp407ProxyAuthenticationRequired: "03-407";
565
+ readonly NetworkHttp408RequestTimeout: "03-408";
566
+ readonly NetworkHttp409Conflict: "03-409";
567
+ readonly NetworkHttp410Gone: "03-410";
568
+ readonly NetworkHttp411LengthRequired: "03-411";
569
+ readonly NetworkHttp412PreconditionFailed: "03-412";
570
+ readonly NetworkHttp413PayloadTooLarge: "03-413";
571
+ readonly NetworkHttp414URITooLong: "03-414";
572
+ readonly NetworkHttp415UnsupportedMediaType: "03-415";
573
+ readonly NetworkHttp416RangeNotSatisfiable: "03-416";
574
+ readonly NetworkHttp417ExpectationFailed: "03-417";
575
+ readonly NetworkHttp418ImATeapot: "03-418";
576
+ readonly NetworkHttp421MisdirectedRequest: "03-421";
577
+ readonly NetworkHttp422UnprocessableEntity: "03-422";
578
+ readonly NetworkHttp423Locked: "03-423";
579
+ readonly NetworkHttp424FailedDependency: "03-424";
580
+ readonly NetworkHttp425TooEarly: "03-425";
581
+ readonly NetworkHttp426UpgradeRequired: "03-426";
582
+ readonly NetworkHttp428PreconditionRequired: "03-428";
583
+ readonly NetworkHttp429TooManyRequests: "03-429";
584
+ readonly NetworkHttp431RequestHeaderFieldsTooLarge: "03-431";
585
+ readonly NetworkHttp451UnavailableForLegalReasons: "03-451";
586
+ readonly NetworkHttp500InternalServerError: "03-500";
587
+ readonly NetworkHttp501NotImplemented: "03-501";
588
+ readonly NetworkHttp502BadGateway: "03-502";
589
+ readonly NetworkHttp503ServiceUnavailable: "03-503";
590
+ readonly NetworkHttp504GatewayTimeout: "03-504";
591
+ readonly NetworkHttp505HTTPVersionNotSupported: "03-505";
592
+ readonly NetworkHttp506VariantAlsoNegotiates: "03-506";
593
+ readonly NetworkHttp507InsufficientStorage: "03-507";
594
+ readonly NetworkHttp508LoopDetected: "03-508";
595
+ readonly NetworkHttp510NotExtended: "03-510";
596
+ readonly NetworkHttp511NetworkAuthenticationRequired: "03-511";
597
+ /** Content Protection Section */
598
+ readonly ContentProtectionUnknown: "04-00";
599
+ readonly ContentProtectionConcurrentStreamLimitExceeded: "04-01";
600
+ readonly ContentProtectionEntitlementRefused: "04-02";
601
+ readonly ContentProtectionLicenseExpired: "04-03";
602
+ readonly ContentProtectionBadLicenseRequest: "04-04";
603
+ readonly ContentProtectionLicenseServerTimeout: "04-05";
604
+ readonly ContentProtectionInsufficientHDCPSupport: "04-06";
605
+ readonly ContentProtectionGeoRestricted: "04-07";
606
+ readonly ContentProtectionParentalControlRestricted: "04-08";
607
+ readonly ContentProtectionCDNUnauthorized: "04-09";
608
+ readonly ContentProtectionInvalidAccessToken: "04-10";
609
+ readonly ContentProtectionKeySystemNoKeys: "04-11";
610
+ readonly ContentProtectionKeySystemNoAccess: "04-12";
611
+ readonly ContentProtectionKeySystemNoSession: "04-13";
612
+ readonly ContentProtectionKeySystemNoConfiguredLicense: "04-14";
613
+ readonly ContentProtectionKeySystemCertificateRequestFailed: "04-15";
614
+ readonly ContentProtectionKeySystemCertificateUpdateFailed: "04-16";
615
+ /** Key System: Session update failed */
616
+ readonly ContentProtectionKeySystemSessionUpdateFailed: "04-17";
617
+ /** Key System: Status output restricted */
618
+ readonly ContentProtectionKeySystemStatusOutputRestricted: "04-18";
619
+ /** Key System: Status internal error */
620
+ readonly ContentProtectionKeySystemStatusInternalError: "04-19";
621
+ /** Key Load Error */
622
+ readonly ContentProtectionKeyLoadError: "04-20";
623
+ /** Key Load Timeout */
624
+ readonly ContentProtectionKeyLoadTimeout: "04-21";
625
+ /** Capability MediaKeys Error */
626
+ readonly ContentProtectionCapabilityMediaKeysError: "04-22";
627
+ /** Manifest indicated protected content, but unable to determine key systems */
628
+ readonly ContentProtectionManifestKeySystemUnknown: "04-23";
629
+ /**
630
+ * None of the requested key system configurations are available.
631
+ * Possible reasons:
632
+ * - Key system not supported
633
+ * - Requested features (e.g., persistent state) not supported
634
+ * - User denied access in prompt
635
+ * - Key system unavailable in insecure contexts (requires HTTPS)
636
+ */
637
+ readonly ContentProtectionKeySystemUnavailable: "04-24";
638
+ /** Browser found requested key system, but failed to create CDM instance */
639
+ readonly ContentProtectionCDMCreationFailed: "04-25";
640
+ /** Browser created CDM instance but failed to attach it to the video */
641
+ readonly ContentProtectionCDMAttachFailed: "04-26";
642
+ /** CDM rejected the server certificate (malformed or unsupported format) */
643
+ readonly ContentProtectionCDMServerCertificateRejected: "04-27";
644
+ /** CDM refused to create a session for unknown reasons */
645
+ readonly ContentProtectionCDMSessionCreationFailed: "04-28";
646
+ /** CDM unable to generate a license request due to malformed or unsupported init data */
647
+ readonly ContentProtectionCDMLicenseRequestFailed: "04-29";
648
+ /** License response rejected by the CDM (invalid/malformed response) */
649
+ readonly ContentProtectionCDMLicenseResponseRejected: "04-30";
650
+ /** Manifest does not specify DRM info, but content is encrypted */
651
+ readonly ContentProtectionManifestMissingDRMInfo: "04-31";
652
+ /** No license server was provided for the key system signaled by the manifest */
653
+ readonly ContentProtectionLicenseServerMissing: "04-32";
654
+ /** A required offline session was removed, affecting playback */
655
+ readonly ContentProtectionOfflineSessionRemoved: "04-33";
656
+ /** Error while executing init data transformation */
657
+ readonly ContentProtectionInitDataTransformationError: "04-34";
658
+ /** Server certificate request failed */
659
+ readonly ContentProtectionServerCertificateRequestFailed: "04-35";
660
+ /** HDCP version does not meet the requirements */
661
+ readonly ContentProtectionInsufficientHDCPVersion: "04-36";
662
+ /** Error when checking HDCP version */
663
+ readonly ContentProtectionHDCPVersionCheckFailed: "04-37";
664
+ /** Ads Section */
665
+ readonly AdsUnknown: "08-00";
666
+ readonly AdsVastParseError: "08-100";
667
+ readonly AdsInvalidVastSchema: "08-101";
668
+ readonly AdsVastVersionNotSupported: "08-102";
669
+ readonly AdsUnexpectedAdType: "08-200";
670
+ readonly AdsCreativeLinearityMismatch: "08-201";
671
+ readonly AdsCreativeDurationMismatch: "08-202";
672
+ readonly AdsCreativeSizeMismatch: "08-203";
673
+ readonly AdsWrapperVastError: "08-300";
674
+ readonly AdsVastResponseRedirectTimeout: "08-301";
675
+ readonly AdsWrapperLimitReached: "08-302";
676
+ readonly AdsVastResponseEmpty: "08-303";
677
+ readonly AdsLinearAdDisplayError: "08-400";
678
+ readonly AdsMediaFileNotFound: "08-401";
679
+ readonly AdsMediaFileUnavailable: "08-402";
680
+ readonly AdsUnsupportedMimeType: "08-403";
681
+ readonly AdsUnableToDisplayMediaFile: "08-405";
682
+ readonly AdsMezzanineFileMissing: "08-406";
683
+ readonly AdsMezzanineFileDownloaded: "08-407";
684
+ readonly AdsRejectedAd: "08-408";
685
+ readonly AdsInteractiveCreativeError: "08-409";
686
+ readonly AdsVerificationNodeExecutionError: "08-410";
687
+ readonly AdsNonLinearAdDisplayError: "08-500";
688
+ readonly AdsNonLinearAdSizeMismatch: "08-501";
689
+ readonly AdsNonLinearAdFetchError: "08-502";
690
+ readonly AdsNonLinearUnsupportedType: "08-503";
691
+ readonly AdsCompanionAdDisplayError: "08-600";
692
+ readonly AdsCompanionAdSizeMismatch: "08-601";
693
+ readonly AdsRequiredCompanionAdError: "08-602";
694
+ readonly AdsCompanionAdFetchError: "08-603";
695
+ readonly AdsUndefinedVastError: "08-900";
696
+ readonly AdsUnknownVpaidError: "08-901";
697
+ readonly AdsVastDocumentEmpty: "08-999";
698
+ };
699
+
700
+ declare type FlowplayerErrorCodeName = keyof typeof FlowplayerErrorCodeMap;
701
+
702
+ declare type FlowplayerErrorConfig = Partial<{
703
+ fatal: boolean;
704
+ resource: string;
705
+ rootErrorId: string;
706
+ preventRetry: boolean;
707
+ }>;
708
+
709
+ declare type FlowplayerErrorEventDetail = {
710
+ error: FlowplayerError;
711
+ };
712
+
427
713
  /**
428
714
  * @public
429
715
  */
@@ -971,6 +1257,7 @@ declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap
971
1257
  [RECOVER]: RecoverEventDetail;
972
1258
  [QUALITIES]: QualitiesEventDetail;
973
1259
  [QUALITY_CHANGE]: QualityChangeEventDetail;
1260
+ [FLOWPLAYER_ERROR]: FlowplayerErrorEventDetail;
974
1261
  /* Excluded from this release type: audioonlysource */
975
1262
  /* Excluded from this release type: renderplugin */
976
1263
  /* Excluded from this release type: "seek:queued" */
@@ -992,7 +1279,6 @@ declare type PlayerCustomEventsOverloads = {
992
1279
  /**
993
1280
  * Sent when an error occurs. Learn more about error handling.
994
1281
  */
995
- on(event: typeof ERROR, handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof ERROR]>) => void): Player;
996
1282
  on(// FIXME - this event is in context-menu plugin
997
1283
  event: typeof CONTEXT_MENU, handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof CONTEXT_MENU]>) => void): Player;
998
1284
  /* Excluded from this release type: on */
@@ -1031,6 +1317,10 @@ declare type PlayerCustomEventsOverloads = {
1031
1317
  * Emitted when the media changes quality.
1032
1318
  */
1033
1319
  on(event: typeof QUALITY_CHANGE, handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof QUALITY_CHANGE]>) => void): Player;
1320
+ /**
1321
+ * Emitted when a standard FlowplayerError is encountered
1322
+ */
1323
+ on(event: typeof FLOWPLAYER_ERROR, handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof FLOWPLAYER_ERROR]>) => void): Player;
1034
1324
  /* Excluded from this release type: on */
1035
1325
  /**
1036
1326
  * Listen to this event to create a recommendations grid using the data passed with the event.
@@ -1083,12 +1373,9 @@ declare type PlayerCustomEventsOverloads = {
1083
1373
  emit(event: never, data?: never): Player;
1084
1374
  /* Excluded from this release type: emit */
1085
1375
  /* Excluded from this release type: emit */
1086
- /* Excluded from this release type: emit */
1087
- /* Excluded from this release type: emit */
1088
1376
  };
1089
1377
 
1090
1378
  declare type PlayerEmittableCustomEventsDetailMap = {
1091
- [ERROR]: ErrorEventDetail;
1092
1379
  [CONTEXT_MENU]: ContextMenuEventDetail;
1093
1380
  [VIEW_ENTER]: ViewEnterEventDetail;
1094
1381
  [VIEW_LEAVE]: ViewLeaveEventDetail;
@@ -1104,7 +1391,7 @@ declare type PlayerEventOverloads = PlayerNativeEventsOverloads & PlayerCustomEv
1104
1391
 
1105
1392
  declare type PlayerNativeEventName = keyof PlayerNativeEventsDetailMap;
1106
1393
 
1107
- declare type PlayerNativeEventsDetailMap = Omit<HTMLVideoElementEventMap, "error">;
1394
+ declare type PlayerNativeEventsDetailMap = HTMLVideoElementEventMap;
1108
1395
 
1109
1396
  declare type PlayerNativeEventsOverloads = {
1110
1397
  on<K extends keyof PlayerNativeEventsDetailMap>(event: K, handler: (ev: PlayerNativeEventsDetailMap[K]) => void): Player;