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