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