@flowplayer/player 3.28.0-rc → 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 +304 -17
  10. package/plugins/ads.js +1 -1
  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 +304 -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
package/plugins/ssai.d.ts CHANGED
@@ -382,17 +382,6 @@ ERROR = "error";
382
382
 
383
383
  declare const ERRORED = "is-error";
384
384
 
385
- /**
386
- * @public
387
- */
388
- declare type ErrorEventDetail = {
389
- src?: string;
390
- type?: string;
391
- code?: number | string;
392
- };
393
-
394
- /* Excluded from this release type: _ErrorEventDetail */
395
-
396
385
  declare namespace events {
397
386
  export {
398
387
  MOUNT,
@@ -450,7 +439,8 @@ declare namespace events {
450
439
  RECOVER,
451
440
  CUEPOINTS,
452
441
  CUEPOINT_START,
453
- CUEPOINT_END
442
+ CUEPOINT_END,
443
+ FLOWPLAYER_ERROR
454
444
  }
455
445
  }
456
446
 
@@ -482,11 +472,307 @@ declare type FilterNewSourceTypes<PluginSrcs extends unknown[]> = {
482
472
  } ? PluginSrcs[Index] : never;
483
473
  };
484
474
 
475
+ /**
476
+ * @public
477
+ * emitted to handle playback related errors
478
+ */
479
+ declare const /**
480
+ @public
481
+ * when a new player is inserted into the HTML
482
+ */ /**
483
+ * @public
484
+ * emitted to handle playback related errors
485
+ */
486
+ FLOWPLAYER_ERROR = "flowplayer:error";
487
+
485
488
  /**
486
489
  * @public
487
490
  */
488
491
  declare type FlowplayerCustomElementRegistry = Map<string, string>;
489
492
 
493
+ declare class FlowplayerError extends Error {
494
+ readonly message: string;
495
+ readonly flowplayerErrorCode: FlowplayerErrorCode;
496
+ readonly config: FlowplayerErrorConfig;
497
+ static getErrorKey(code: FlowplayerErrorCode): FlowplayerErrorCodeName;
498
+ readonly id: string;
499
+ readonly fatal: boolean;
500
+ readonly errorKey: string;
501
+ constructor(message: string, flowplayerErrorCode: FlowplayerErrorCode, config?: FlowplayerErrorConfig);
502
+ toJSON(): {
503
+ message: string;
504
+ flowplayer_error_code: FlowplayerErrorCode;
505
+ id: string;
506
+ root_error_id: string | undefined;
507
+ resource: string | undefined;
508
+ fatal: boolean;
509
+ };
510
+ }
511
+
512
+ declare type FlowplayerErrorCode = (typeof FlowplayerErrorCodeMap)[keyof typeof FlowplayerErrorCodeMap];
513
+
514
+ declare const FlowplayerErrorCodeMap: {
515
+ /** Unknown */
516
+ readonly Unknown: "00-00";
517
+ /** Media Section */
518
+ readonly MediaUnknown: "01-00";
519
+ readonly MediaUnavailable: "01-01";
520
+ readonly MediaUnsupportedVideoFormat: "01-02";
521
+ readonly MediaUnsupportedAudioFormat: "01-03";
522
+ readonly MediaBitrateExceeded: "01-04";
523
+ readonly MediaBufferOverread: "01-05";
524
+ readonly MediaIntegerOverflow: "01-06";
525
+ readonly MediaQuotaExceeded: "01-07";
526
+ readonly MediaInvalidCompositionDuration: "01-08";
527
+ readonly MediaInvalidCompositionSourceDuration: "01-09";
528
+ readonly MediaInvalidCompositionSourceStartTime: "01-10";
529
+ readonly MediaMalformedDepth: "01-11";
530
+ /** Playback Section */
531
+ readonly PlaybackUnknown: "02-00";
532
+ readonly PlaybackVideoBufferUnderRun: "02-01";
533
+ readonly PlaybackAudioBufferUnderRun: "02-02";
534
+ readonly PlaybackVideoBufferingTimeout: "02-03";
535
+ readonly PlaybackAudioBufferingTimeout: "02-04";
536
+ readonly PlaybackManifestParseError: "02-05";
537
+ readonly PlaybackVideoDecodeError: "02-06";
538
+ readonly PlaybackAudioDecodeError: "02-07";
539
+ readonly PlaybackDroppedFramesExceeded: "02-08";
540
+ readonly PlaybackPlayheadExceedsDuration: "02-09";
541
+ readonly PlaybackUnsupportedDevice: "02-10";
542
+ readonly PlaybackManifestLoadError: "02-11";
543
+ readonly PlaybackManifestLoadTimeout: "02-12";
544
+ readonly PlaybackManifestParsingError: "02-13";
545
+ readonly PlaybackManifestIncompatibleCodecs: "02-14";
546
+ readonly PlaybackLevelEmptyError: "02-15";
547
+ readonly PlaybackLevelLoadError: "02-16";
548
+ readonly PlaybackLevelLoadTimeout: "02-17";
549
+ readonly PlaybackLevelSwitchError: "02-18";
550
+ readonly PlaybackAudioTrackLoadError: "02-19";
551
+ readonly PlaybackAudioTrackLoadTimeout: "02-20";
552
+ readonly PlaybackFragLoadError: "02-21";
553
+ readonly PlaybackFragLoadTimeout: "02-22";
554
+ readonly PlaybackFragDecryptError: "02-23";
555
+ readonly PlaybackFragParsingError: "02-24";
556
+ readonly PlaybackFragGap: "02-25";
557
+ readonly PlaybackRemuxAllocError: "02-26";
558
+ readonly PlaybackBufferAddCodecError: "02-27";
559
+ readonly PlaybackBufferIncompatibleCodecs: "02-28";
560
+ readonly PlaybackBufferAppendError: "02-29";
561
+ readonly PlaybackBufferStalledError: "02-30";
562
+ readonly PlaybackBufferFullError: "02-31";
563
+ readonly PlaybackBufferSeekOverHole: "02-32";
564
+ readonly PlaybackBufferNudgeOnStall: "02-33";
565
+ readonly PlaybackInternalException: "02-34";
566
+ readonly PlaybackInternalAborted: "02-35";
567
+ readonly PlaybackManifestLoaderFailure: "02-36";
568
+ readonly PlaybackSegmentBaseLoaderError: "02-37";
569
+ readonly PlaybackTimeSyncFailed: "02-38";
570
+ readonly PlaybackFragmentLoaderFailure: "02-39";
571
+ readonly PlaybackAppendError: "02-40";
572
+ readonly PlaybackRemoveError: "02-41";
573
+ readonly PlaybackDataUpdateFailed: "02-42";
574
+ readonly PlaybackManifestNoStreams: "02-43";
575
+ readonly PlaybackUnknownManifestType: "02-44";
576
+ readonly PlaybackDashInsufficientSegmentInfo: "02-45";
577
+ readonly PlaybackDashNoRepresentations: "02-46";
578
+ readonly PlaybackDashNoAdaptationSets: "02-47";
579
+ readonly PlaybackDashNoInitSegment: "02-48";
580
+ readonly PlaybackDashUnsupportedContainerFormat: "02-49";
581
+ readonly PlaybackDashKeySystemMismatch: "02-50";
582
+ readonly PlaybackMultipleKeyIDs: "02-51";
583
+ readonly PlaybackDashConflictingKeyIDs: "02-52";
584
+ readonly PlaybackRestrictedStreams: "02-53";
585
+ readonly PlaybackHlsMasterAndMediaTags: "02-54";
586
+ readonly PlaybackRepresentationIdConflict: "02-55";
587
+ readonly PlaybackHlsUnsupportedKeyFormats: "02-56";
588
+ readonly PlaybackManifestNoVariants: "02-57";
589
+ readonly PlaybackHlsUndeclaredVariables: "02-58";
590
+ readonly PlaybackAes128InvalidKeyLength: "02-59";
591
+ readonly PlaybackDashConflictingAes128Keys: "02-60";
592
+ readonly PlaybackDashUnsupportedAes128Encryption: "02-61";
593
+ readonly PlaybackManifestPatchMismatch: "02-62";
594
+ readonly PlaybackEmptyMediaPlaylist: "02-63";
595
+ readonly PlaybackNonContiguousCompositionTrack: "02-64";
596
+ readonly PlaybackDecoderNotFound: "02-65";
597
+ readonly PlaybackDecoderTemporarilyUnavailable: "02-66";
598
+ readonly PlaybackIncompatibleAsset: "02-67";
599
+ readonly PlaybackNoCompatibleExternalDisplay: "02-69";
600
+ readonly PlaybackOutOfMemory: "02-70";
601
+ readonly PlaybackToneMappingFailed: "02-71";
602
+ readonly PlaybackVideoCompositorFailed: "02-72";
603
+ /** Network Section */
604
+ readonly NetworkUnknown: "03-00";
605
+ readonly NetworkNoInternet: "03-01";
606
+ readonly NetworkRequestTimeout: "03-02";
607
+ readonly NetworkUnableToResolveHost: "03-03";
608
+ readonly NetworkResourceNotFound: "03-04";
609
+ readonly NetworkExpiredUrl: "03-05";
610
+ readonly NetworkUrlResolutionFailed: "03-06";
611
+ readonly NetworkDownloadErrorIdManifest: "03-07";
612
+ readonly NetworkDownloadErrorIdSidx: "03-08";
613
+ readonly NetworkDownloadErrorIdContent: "03-09";
614
+ readonly NetworkDownloadErrorIdInitialization: "03-10";
615
+ readonly NetworkDownloadErrorIdXlink: "03-11";
616
+ readonly NetworkHttpRequestFailed: "03-12";
617
+ readonly NetworkMaxRetriesExceeded: "03-13";
618
+ readonly NetworkSegmentMissing: "03-14";
619
+ /** HTTP Error Codes */
620
+ readonly NetworkHttp400BadRequest: "03-400";
621
+ readonly NetworkHttp401Unauthorized: "03-401";
622
+ readonly NetworkHttp402PaymentRequired: "03-402";
623
+ readonly NetworkHttp403Forbidden: "03-403";
624
+ readonly NetworkHttp404NotFound: "03-404";
625
+ readonly NetworkHttp405MethodNotAllowed: "03-405";
626
+ readonly NetworkHttp406NotAcceptable: "03-406";
627
+ readonly NetworkHttp407ProxyAuthenticationRequired: "03-407";
628
+ readonly NetworkHttp408RequestTimeout: "03-408";
629
+ readonly NetworkHttp409Conflict: "03-409";
630
+ readonly NetworkHttp410Gone: "03-410";
631
+ readonly NetworkHttp411LengthRequired: "03-411";
632
+ readonly NetworkHttp412PreconditionFailed: "03-412";
633
+ readonly NetworkHttp413PayloadTooLarge: "03-413";
634
+ readonly NetworkHttp414URITooLong: "03-414";
635
+ readonly NetworkHttp415UnsupportedMediaType: "03-415";
636
+ readonly NetworkHttp416RangeNotSatisfiable: "03-416";
637
+ readonly NetworkHttp417ExpectationFailed: "03-417";
638
+ readonly NetworkHttp418ImATeapot: "03-418";
639
+ readonly NetworkHttp421MisdirectedRequest: "03-421";
640
+ readonly NetworkHttp422UnprocessableEntity: "03-422";
641
+ readonly NetworkHttp423Locked: "03-423";
642
+ readonly NetworkHttp424FailedDependency: "03-424";
643
+ readonly NetworkHttp425TooEarly: "03-425";
644
+ readonly NetworkHttp426UpgradeRequired: "03-426";
645
+ readonly NetworkHttp428PreconditionRequired: "03-428";
646
+ readonly NetworkHttp429TooManyRequests: "03-429";
647
+ readonly NetworkHttp431RequestHeaderFieldsTooLarge: "03-431";
648
+ readonly NetworkHttp451UnavailableForLegalReasons: "03-451";
649
+ readonly NetworkHttp500InternalServerError: "03-500";
650
+ readonly NetworkHttp501NotImplemented: "03-501";
651
+ readonly NetworkHttp502BadGateway: "03-502";
652
+ readonly NetworkHttp503ServiceUnavailable: "03-503";
653
+ readonly NetworkHttp504GatewayTimeout: "03-504";
654
+ readonly NetworkHttp505HTTPVersionNotSupported: "03-505";
655
+ readonly NetworkHttp506VariantAlsoNegotiates: "03-506";
656
+ readonly NetworkHttp507InsufficientStorage: "03-507";
657
+ readonly NetworkHttp508LoopDetected: "03-508";
658
+ readonly NetworkHttp510NotExtended: "03-510";
659
+ readonly NetworkHttp511NetworkAuthenticationRequired: "03-511";
660
+ /** Content Protection Section */
661
+ readonly ContentProtectionUnknown: "04-00";
662
+ readonly ContentProtectionConcurrentStreamLimitExceeded: "04-01";
663
+ readonly ContentProtectionEntitlementRefused: "04-02";
664
+ readonly ContentProtectionLicenseExpired: "04-03";
665
+ readonly ContentProtectionBadLicenseRequest: "04-04";
666
+ readonly ContentProtectionLicenseServerTimeout: "04-05";
667
+ readonly ContentProtectionInsufficientHDCPSupport: "04-06";
668
+ readonly ContentProtectionGeoRestricted: "04-07";
669
+ readonly ContentProtectionParentalControlRestricted: "04-08";
670
+ readonly ContentProtectionCDNUnauthorized: "04-09";
671
+ readonly ContentProtectionInvalidAccessToken: "04-10";
672
+ readonly ContentProtectionKeySystemNoKeys: "04-11";
673
+ readonly ContentProtectionKeySystemNoAccess: "04-12";
674
+ readonly ContentProtectionKeySystemNoSession: "04-13";
675
+ readonly ContentProtectionKeySystemNoConfiguredLicense: "04-14";
676
+ readonly ContentProtectionKeySystemCertificateRequestFailed: "04-15";
677
+ readonly ContentProtectionKeySystemCertificateUpdateFailed: "04-16";
678
+ /** Key System: Session update failed */
679
+ readonly ContentProtectionKeySystemSessionUpdateFailed: "04-17";
680
+ /** Key System: Status output restricted */
681
+ readonly ContentProtectionKeySystemStatusOutputRestricted: "04-18";
682
+ /** Key System: Status internal error */
683
+ readonly ContentProtectionKeySystemStatusInternalError: "04-19";
684
+ /** Key Load Error */
685
+ readonly ContentProtectionKeyLoadError: "04-20";
686
+ /** Key Load Timeout */
687
+ readonly ContentProtectionKeyLoadTimeout: "04-21";
688
+ /** Capability MediaKeys Error */
689
+ readonly ContentProtectionCapabilityMediaKeysError: "04-22";
690
+ /** Manifest indicated protected content, but unable to determine key systems */
691
+ readonly ContentProtectionManifestKeySystemUnknown: "04-23";
692
+ /**
693
+ * None of the requested key system configurations are available.
694
+ * Possible reasons:
695
+ * - Key system not supported
696
+ * - Requested features (e.g., persistent state) not supported
697
+ * - User denied access in prompt
698
+ * - Key system unavailable in insecure contexts (requires HTTPS)
699
+ */
700
+ readonly ContentProtectionKeySystemUnavailable: "04-24";
701
+ /** Browser found requested key system, but failed to create CDM instance */
702
+ readonly ContentProtectionCDMCreationFailed: "04-25";
703
+ /** Browser created CDM instance but failed to attach it to the video */
704
+ readonly ContentProtectionCDMAttachFailed: "04-26";
705
+ /** CDM rejected the server certificate (malformed or unsupported format) */
706
+ readonly ContentProtectionCDMServerCertificateRejected: "04-27";
707
+ /** CDM refused to create a session for unknown reasons */
708
+ readonly ContentProtectionCDMSessionCreationFailed: "04-28";
709
+ /** CDM unable to generate a license request due to malformed or unsupported init data */
710
+ readonly ContentProtectionCDMLicenseRequestFailed: "04-29";
711
+ /** License response rejected by the CDM (invalid/malformed response) */
712
+ readonly ContentProtectionCDMLicenseResponseRejected: "04-30";
713
+ /** Manifest does not specify DRM info, but content is encrypted */
714
+ readonly ContentProtectionManifestMissingDRMInfo: "04-31";
715
+ /** No license server was provided for the key system signaled by the manifest */
716
+ readonly ContentProtectionLicenseServerMissing: "04-32";
717
+ /** A required offline session was removed, affecting playback */
718
+ readonly ContentProtectionOfflineSessionRemoved: "04-33";
719
+ /** Error while executing init data transformation */
720
+ readonly ContentProtectionInitDataTransformationError: "04-34";
721
+ /** Server certificate request failed */
722
+ readonly ContentProtectionServerCertificateRequestFailed: "04-35";
723
+ /** HDCP version does not meet the requirements */
724
+ readonly ContentProtectionInsufficientHDCPVersion: "04-36";
725
+ /** Error when checking HDCP version */
726
+ readonly ContentProtectionHDCPVersionCheckFailed: "04-37";
727
+ /** Ads Section */
728
+ readonly AdsUnknown: "08-00";
729
+ readonly AdsVastParseError: "08-100";
730
+ readonly AdsInvalidVastSchema: "08-101";
731
+ readonly AdsVastVersionNotSupported: "08-102";
732
+ readonly AdsUnexpectedAdType: "08-200";
733
+ readonly AdsCreativeLinearityMismatch: "08-201";
734
+ readonly AdsCreativeDurationMismatch: "08-202";
735
+ readonly AdsCreativeSizeMismatch: "08-203";
736
+ readonly AdsWrapperVastError: "08-300";
737
+ readonly AdsVastResponseRedirectTimeout: "08-301";
738
+ readonly AdsWrapperLimitReached: "08-302";
739
+ readonly AdsVastResponseEmpty: "08-303";
740
+ readonly AdsLinearAdDisplayError: "08-400";
741
+ readonly AdsMediaFileNotFound: "08-401";
742
+ readonly AdsMediaFileUnavailable: "08-402";
743
+ readonly AdsUnsupportedMimeType: "08-403";
744
+ readonly AdsUnableToDisplayMediaFile: "08-405";
745
+ readonly AdsMezzanineFileMissing: "08-406";
746
+ readonly AdsMezzanineFileDownloaded: "08-407";
747
+ readonly AdsRejectedAd: "08-408";
748
+ readonly AdsInteractiveCreativeError: "08-409";
749
+ readonly AdsVerificationNodeExecutionError: "08-410";
750
+ readonly AdsNonLinearAdDisplayError: "08-500";
751
+ readonly AdsNonLinearAdSizeMismatch: "08-501";
752
+ readonly AdsNonLinearAdFetchError: "08-502";
753
+ readonly AdsNonLinearUnsupportedType: "08-503";
754
+ readonly AdsCompanionAdDisplayError: "08-600";
755
+ readonly AdsCompanionAdSizeMismatch: "08-601";
756
+ readonly AdsRequiredCompanionAdError: "08-602";
757
+ readonly AdsCompanionAdFetchError: "08-603";
758
+ readonly AdsUndefinedVastError: "08-900";
759
+ readonly AdsUnknownVpaidError: "08-901";
760
+ readonly AdsVastDocumentEmpty: "08-999";
761
+ };
762
+
763
+ declare type FlowplayerErrorCodeName = keyof typeof FlowplayerErrorCodeMap;
764
+
765
+ declare type FlowplayerErrorConfig = Partial<{
766
+ fatal: boolean;
767
+ resource: string;
768
+ rootErrorId: string;
769
+ preventRetry: boolean;
770
+ }>;
771
+
772
+ declare type FlowplayerErrorEventDetail = {
773
+ error: FlowplayerError;
774
+ };
775
+
490
776
  /**
491
777
  * @public
492
778
  */
@@ -1037,6 +1323,7 @@ declare type PlayerCustomEventsDetailMap = PlayerEmittableCustomEventsDetailMap
1037
1323
  [RECOVER]: RecoverEventDetail;
1038
1324
  [QUALITIES]: QualitiesEventDetail;
1039
1325
  [QUALITY_CHANGE]: QualityChangeEventDetail;
1326
+ [FLOWPLAYER_ERROR]: FlowplayerErrorEventDetail;
1040
1327
  /* Excluded from this release type: audioonlysource */
1041
1328
  /* Excluded from this release type: renderplugin */
1042
1329
  /* Excluded from this release type: "seek:queued" */
@@ -1058,7 +1345,6 @@ declare type PlayerCustomEventsOverloads = {
1058
1345
  /**
1059
1346
  * Sent when an error occurs. Learn more about error handling.
1060
1347
  */
1061
- on(event: typeof ERROR, handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof ERROR]>) => void): Player;
1062
1348
  on(// FIXME - this event is in context-menu plugin
1063
1349
  event: typeof CONTEXT_MENU, handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof CONTEXT_MENU]>) => void): Player;
1064
1350
  /* Excluded from this release type: on */
@@ -1097,6 +1383,10 @@ declare type PlayerCustomEventsOverloads = {
1097
1383
  * Emitted when the media changes quality.
1098
1384
  */
1099
1385
  on(event: typeof QUALITY_CHANGE, handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof QUALITY_CHANGE]>) => void): Player;
1386
+ /**
1387
+ * Emitted when a standard FlowplayerError is encountered
1388
+ */
1389
+ on(event: typeof FLOWPLAYER_ERROR, handler: (e: FPEvent<PlayerCustomEventsDetailMap[typeof FLOWPLAYER_ERROR]>) => void): Player;
1100
1390
  /* Excluded from this release type: on */
1101
1391
  /**
1102
1392
  * Listen to this event to create a recommendations grid using the data passed with the event.
@@ -1149,12 +1439,9 @@ declare type PlayerCustomEventsOverloads = {
1149
1439
  emit(event: never, data?: never): Player;
1150
1440
  /* Excluded from this release type: emit */
1151
1441
  /* Excluded from this release type: emit */
1152
- /* Excluded from this release type: emit */
1153
- /* Excluded from this release type: emit */
1154
1442
  };
1155
1443
 
1156
1444
  declare type PlayerEmittableCustomEventsDetailMap = {
1157
- [ERROR]: ErrorEventDetail;
1158
1445
  [CONTEXT_MENU]: ContextMenuEventDetail;
1159
1446
  [VIEW_ENTER]: ViewEnterEventDetail;
1160
1447
  [VIEW_LEAVE]: ViewLeaveEventDetail;
@@ -1170,7 +1457,7 @@ declare type PlayerEventOverloads = PlayerNativeEventsOverloads & PlayerCustomEv
1170
1457
 
1171
1458
  declare type PlayerNativeEventName = keyof PlayerNativeEventsDetailMap;
1172
1459
 
1173
- declare type PlayerNativeEventsDetailMap = Omit<HTMLVideoElementEventMap, "error">;
1460
+ declare type PlayerNativeEventsDetailMap = HTMLVideoElementEventMap;
1174
1461
 
1175
1462
  declare type PlayerNativeEventsOverloads = {
1176
1463
  on<K extends keyof PlayerNativeEventsDetailMap>(event: K, handler: (ev: PlayerNativeEventsDetailMap[K]) => void): Player;