@flowplayer/player 3.32.1-rc.1 → 3.32.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 (49) hide show
  1. package/core.js +1 -1
  2. package/default.js +1 -1
  3. package/embed.js +2 -2
  4. package/index.d.ts +113 -0
  5. package/package.json +1 -1
  6. package/plugins/ads.d.ts +113 -0
  7. package/plugins/ads.js +2 -2
  8. package/plugins/airplay.d.ts +113 -0
  9. package/plugins/analytics.d.ts +113 -0
  10. package/plugins/analytics.js +1 -1
  11. package/plugins/asel.d.ts +113 -0
  12. package/plugins/audio.d.ts +113 -0
  13. package/plugins/chapters.d.ts +113 -0
  14. package/plugins/chromecast.d.ts +113 -0
  15. package/plugins/comscore.d.ts +113 -0
  16. package/plugins/consent.d.ts +113 -0
  17. package/plugins/context-menu.d.ts +113 -0
  18. package/plugins/cuepoints.d.ts +113 -0
  19. package/plugins/dash.d.ts +113 -0
  20. package/plugins/drm.d.ts +113 -0
  21. package/plugins/endscreen.d.ts +113 -0
  22. package/plugins/fas.d.ts +113 -0
  23. package/plugins/float-on-scroll.d.ts +113 -0
  24. package/plugins/ga4.d.ts +113 -0
  25. package/plugins/gemius.d.ts +113 -0
  26. package/plugins/google-analytics.d.ts +113 -0
  27. package/plugins/hls.d.ts +113 -0
  28. package/plugins/id3.d.ts +113 -0
  29. package/plugins/iframe.d.ts +113 -0
  30. package/plugins/keyboard.d.ts +113 -0
  31. package/plugins/media-session.d.ts +113 -0
  32. package/plugins/message.d.ts +113 -0
  33. package/plugins/ovp.d.ts +113 -0
  34. package/plugins/playlist.d.ts +113 -0
  35. package/plugins/preview.d.ts +113 -0
  36. package/plugins/qsel.d.ts +113 -0
  37. package/plugins/qul.d.ts +113 -0
  38. package/plugins/rts.d.ts +113 -0
  39. package/plugins/rts.js +3 -3
  40. package/plugins/share.d.ts +113 -0
  41. package/plugins/speed.d.ts +113 -0
  42. package/plugins/ssai.d.ts +113 -0
  43. package/plugins/ssai.js +1 -1
  44. package/plugins/subtitles.d.ts +113 -0
  45. package/plugins/thumbnails.d.ts +113 -0
  46. package/plugins/tizen.d.ts +113 -0
  47. package/plugins/vtsel.d.ts +113 -0
  48. package/plugins/webos.d.ts +113 -0
  49. package/util/loader.d.ts +113 -0
package/plugins/ga4.d.ts CHANGED
@@ -767,6 +767,13 @@ declare interface FlowplayerUMDBase {
767
767
  /* Excluded from this release type: support */
768
768
  /* Excluded from this release type: jwt */
769
769
  /* Excluded from this release type: loaders */
770
+ /**
771
+ * @public
772
+ * Translations dictionaries to be used with `@flowplayer/translations` package
773
+ *
774
+ * See [official documentation](https://developer.wowza.com/docs/wowza-flowplayer/player/translations/)
775
+ */
776
+ i18n: typeof I18n;
770
777
  }
771
778
 
772
779
  /**
@@ -850,6 +857,112 @@ declare type HasSrcExtensions<PluginBareConfigs extends unknown[]> = TupleToUnio
850
857
 
851
858
  declare const HOVERED = "is-hovered";
852
859
 
860
+ declare class I18n implements Plugin_2 {
861
+ static pluginName: string;
862
+ static en: {
863
+ ads: {
864
+ ad: string;
865
+ ads: string;
866
+ advertisement: string;
867
+ indicator: string;
868
+ adchoices: string;
869
+ };
870
+ audio: {
871
+ button_txt: string;
872
+ menu_title: string;
873
+ };
874
+ cc: {
875
+ button: string;
876
+ menu_title: string;
877
+ options: string;
878
+ tracks: string;
879
+ reset: string;
880
+ colors: {
881
+ Black: string;
882
+ Blue: string;
883
+ Cyan: string;
884
+ Green: string;
885
+ Magenta: string;
886
+ Red: string;
887
+ White: string;
888
+ Yellow: string;
889
+ };
890
+ edgeStyle: {
891
+ None: string;
892
+ "Drop shadow": string;
893
+ Raised: string;
894
+ Depressed: string;
895
+ Outline: string;
896
+ };
897
+ fontFamily: {
898
+ "Monospaced Serif": string;
899
+ "Proportional Serif": string;
900
+ "Monospaced Sans-Serif": string;
901
+ "Proportional Sans-Serif": string;
902
+ Casual: string;
903
+ Cursive: string;
904
+ };
905
+ properties: {
906
+ fontFamily: string;
907
+ fontSize: string;
908
+ fontColor: string;
909
+ fontOpacity: string;
910
+ backgroundColor: string;
911
+ backgroundOpacity: string;
912
+ characterEdgeStyle: string;
913
+ };
914
+ };
915
+ chromecast: {
916
+ start: string;
917
+ stop: string;
918
+ };
919
+ core: {
920
+ exit_fullscreen: string;
921
+ fullscreen: string;
922
+ mute: string;
923
+ muted: string;
924
+ pause: string;
925
+ play: string;
926
+ seconds: string;
927
+ timeline_aria_label: string;
928
+ unmute: string;
929
+ volume: string;
930
+ close: string;
931
+ "skip-next": string;
932
+ "skip-prev": string;
933
+ };
934
+ ovp: {
935
+ starting_in: string;
936
+ };
937
+ playlist: {
938
+ cancel: string;
939
+ up_next: string;
940
+ autoplay: string;
941
+ now_playing: string;
942
+ turn_off_autoplay: string;
943
+ playlist: string;
944
+ };
945
+ qsel: {
946
+ menu_title: string;
947
+ };
948
+ share: {
949
+ clipboard_failure: string;
950
+ clipboard_success: string;
951
+ embed: string;
952
+ link: string;
953
+ menu_title: string;
954
+ };
955
+ speed: {
956
+ menu_title: string;
957
+ };
958
+ vtsel: {
959
+ button_txt: string;
960
+ menu_title: string;
961
+ };
962
+ };
963
+ init(config: Config, _root: never, video: Player): void;
964
+ }
965
+
853
966
  declare const IN_VIEWPORT = "is-in-viewport";
854
967
 
855
968
  /* Excluded from this release type: INTERSECTIONCHANGE */
@@ -767,6 +767,13 @@ declare interface FlowplayerUMDBase {
767
767
  /* Excluded from this release type: support */
768
768
  /* Excluded from this release type: jwt */
769
769
  /* Excluded from this release type: loaders */
770
+ /**
771
+ * @public
772
+ * Translations dictionaries to be used with `@flowplayer/translations` package
773
+ *
774
+ * See [official documentation](https://developer.wowza.com/docs/wowza-flowplayer/player/translations/)
775
+ */
776
+ i18n: typeof I18n;
770
777
  }
771
778
 
772
779
  /**
@@ -875,6 +882,112 @@ declare type HasSrcExtensions<PluginBareConfigs extends unknown[]> = TupleToUnio
875
882
 
876
883
  declare const HOVERED = "is-hovered";
877
884
 
885
+ declare class I18n implements Plugin_2 {
886
+ static pluginName: string;
887
+ static en: {
888
+ ads: {
889
+ ad: string;
890
+ ads: string;
891
+ advertisement: string;
892
+ indicator: string;
893
+ adchoices: string;
894
+ };
895
+ audio: {
896
+ button_txt: string;
897
+ menu_title: string;
898
+ };
899
+ cc: {
900
+ button: string;
901
+ menu_title: string;
902
+ options: string;
903
+ tracks: string;
904
+ reset: string;
905
+ colors: {
906
+ Black: string;
907
+ Blue: string;
908
+ Cyan: string;
909
+ Green: string;
910
+ Magenta: string;
911
+ Red: string;
912
+ White: string;
913
+ Yellow: string;
914
+ };
915
+ edgeStyle: {
916
+ None: string;
917
+ "Drop shadow": string;
918
+ Raised: string;
919
+ Depressed: string;
920
+ Outline: string;
921
+ };
922
+ fontFamily: {
923
+ "Monospaced Serif": string;
924
+ "Proportional Serif": string;
925
+ "Monospaced Sans-Serif": string;
926
+ "Proportional Sans-Serif": string;
927
+ Casual: string;
928
+ Cursive: string;
929
+ };
930
+ properties: {
931
+ fontFamily: string;
932
+ fontSize: string;
933
+ fontColor: string;
934
+ fontOpacity: string;
935
+ backgroundColor: string;
936
+ backgroundOpacity: string;
937
+ characterEdgeStyle: string;
938
+ };
939
+ };
940
+ chromecast: {
941
+ start: string;
942
+ stop: string;
943
+ };
944
+ core: {
945
+ exit_fullscreen: string;
946
+ fullscreen: string;
947
+ mute: string;
948
+ muted: string;
949
+ pause: string;
950
+ play: string;
951
+ seconds: string;
952
+ timeline_aria_label: string;
953
+ unmute: string;
954
+ volume: string;
955
+ close: string;
956
+ "skip-next": string;
957
+ "skip-prev": string;
958
+ };
959
+ ovp: {
960
+ starting_in: string;
961
+ };
962
+ playlist: {
963
+ cancel: string;
964
+ up_next: string;
965
+ autoplay: string;
966
+ now_playing: string;
967
+ turn_off_autoplay: string;
968
+ playlist: string;
969
+ };
970
+ qsel: {
971
+ menu_title: string;
972
+ };
973
+ share: {
974
+ clipboard_failure: string;
975
+ clipboard_success: string;
976
+ embed: string;
977
+ link: string;
978
+ menu_title: string;
979
+ };
980
+ speed: {
981
+ menu_title: string;
982
+ };
983
+ vtsel: {
984
+ button_txt: string;
985
+ menu_title: string;
986
+ };
987
+ };
988
+ init(config: Config, _root: never, video: Player): void;
989
+ }
990
+
878
991
  declare const IN_VIEWPORT = "is-in-viewport";
879
992
 
880
993
  /* Excluded from this release type: INTERSECTIONCHANGE */
@@ -767,6 +767,13 @@ declare interface FlowplayerUMDBase {
767
767
  /* Excluded from this release type: support */
768
768
  /* Excluded from this release type: jwt */
769
769
  /* Excluded from this release type: loaders */
770
+ /**
771
+ * @public
772
+ * Translations dictionaries to be used with `@flowplayer/translations` package
773
+ *
774
+ * See [official documentation](https://developer.wowza.com/docs/wowza-flowplayer/player/translations/)
775
+ */
776
+ i18n: typeof I18n;
770
777
  }
771
778
 
772
779
  /**
@@ -850,6 +857,112 @@ declare type HasSrcExtensions<PluginBareConfigs extends unknown[]> = TupleToUnio
850
857
 
851
858
  declare const HOVERED = "is-hovered";
852
859
 
860
+ declare class I18n implements Plugin_2 {
861
+ static pluginName: string;
862
+ static en: {
863
+ ads: {
864
+ ad: string;
865
+ ads: string;
866
+ advertisement: string;
867
+ indicator: string;
868
+ adchoices: string;
869
+ };
870
+ audio: {
871
+ button_txt: string;
872
+ menu_title: string;
873
+ };
874
+ cc: {
875
+ button: string;
876
+ menu_title: string;
877
+ options: string;
878
+ tracks: string;
879
+ reset: string;
880
+ colors: {
881
+ Black: string;
882
+ Blue: string;
883
+ Cyan: string;
884
+ Green: string;
885
+ Magenta: string;
886
+ Red: string;
887
+ White: string;
888
+ Yellow: string;
889
+ };
890
+ edgeStyle: {
891
+ None: string;
892
+ "Drop shadow": string;
893
+ Raised: string;
894
+ Depressed: string;
895
+ Outline: string;
896
+ };
897
+ fontFamily: {
898
+ "Monospaced Serif": string;
899
+ "Proportional Serif": string;
900
+ "Monospaced Sans-Serif": string;
901
+ "Proportional Sans-Serif": string;
902
+ Casual: string;
903
+ Cursive: string;
904
+ };
905
+ properties: {
906
+ fontFamily: string;
907
+ fontSize: string;
908
+ fontColor: string;
909
+ fontOpacity: string;
910
+ backgroundColor: string;
911
+ backgroundOpacity: string;
912
+ characterEdgeStyle: string;
913
+ };
914
+ };
915
+ chromecast: {
916
+ start: string;
917
+ stop: string;
918
+ };
919
+ core: {
920
+ exit_fullscreen: string;
921
+ fullscreen: string;
922
+ mute: string;
923
+ muted: string;
924
+ pause: string;
925
+ play: string;
926
+ seconds: string;
927
+ timeline_aria_label: string;
928
+ unmute: string;
929
+ volume: string;
930
+ close: string;
931
+ "skip-next": string;
932
+ "skip-prev": string;
933
+ };
934
+ ovp: {
935
+ starting_in: string;
936
+ };
937
+ playlist: {
938
+ cancel: string;
939
+ up_next: string;
940
+ autoplay: string;
941
+ now_playing: string;
942
+ turn_off_autoplay: string;
943
+ playlist: string;
944
+ };
945
+ qsel: {
946
+ menu_title: string;
947
+ };
948
+ share: {
949
+ clipboard_failure: string;
950
+ clipboard_success: string;
951
+ embed: string;
952
+ link: string;
953
+ menu_title: string;
954
+ };
955
+ speed: {
956
+ menu_title: string;
957
+ };
958
+ vtsel: {
959
+ button_txt: string;
960
+ menu_title: string;
961
+ };
962
+ };
963
+ init(config: Config, _root: never, video: Player): void;
964
+ }
965
+
853
966
  declare const IN_VIEWPORT = "is-in-viewport";
854
967
 
855
968
  /* Excluded from this release type: INTERSECTIONCHANGE */
package/plugins/hls.d.ts CHANGED
@@ -845,6 +845,13 @@ declare interface FlowplayerUMDBase {
845
845
  /* Excluded from this release type: support */
846
846
  /* Excluded from this release type: jwt */
847
847
  /* Excluded from this release type: loaders */
848
+ /**
849
+ * @public
850
+ * Translations dictionaries to be used with `@flowplayer/translations` package
851
+ *
852
+ * See [official documentation](https://developer.wowza.com/docs/wowza-flowplayer/player/translations/)
853
+ */
854
+ i18n: typeof I18n;
848
855
  }
849
856
 
850
857
  /**
@@ -975,6 +982,112 @@ export declare type HLSPlayer = PlayerWith<{
975
982
 
976
983
  declare const HOVERED = "is-hovered";
977
984
 
985
+ declare class I18n implements Plugin_2 {
986
+ static pluginName: string;
987
+ static en: {
988
+ ads: {
989
+ ad: string;
990
+ ads: string;
991
+ advertisement: string;
992
+ indicator: string;
993
+ adchoices: string;
994
+ };
995
+ audio: {
996
+ button_txt: string;
997
+ menu_title: string;
998
+ };
999
+ cc: {
1000
+ button: string;
1001
+ menu_title: string;
1002
+ options: string;
1003
+ tracks: string;
1004
+ reset: string;
1005
+ colors: {
1006
+ Black: string;
1007
+ Blue: string;
1008
+ Cyan: string;
1009
+ Green: string;
1010
+ Magenta: string;
1011
+ Red: string;
1012
+ White: string;
1013
+ Yellow: string;
1014
+ };
1015
+ edgeStyle: {
1016
+ None: string;
1017
+ "Drop shadow": string;
1018
+ Raised: string;
1019
+ Depressed: string;
1020
+ Outline: string;
1021
+ };
1022
+ fontFamily: {
1023
+ "Monospaced Serif": string;
1024
+ "Proportional Serif": string;
1025
+ "Monospaced Sans-Serif": string;
1026
+ "Proportional Sans-Serif": string;
1027
+ Casual: string;
1028
+ Cursive: string;
1029
+ };
1030
+ properties: {
1031
+ fontFamily: string;
1032
+ fontSize: string;
1033
+ fontColor: string;
1034
+ fontOpacity: string;
1035
+ backgroundColor: string;
1036
+ backgroundOpacity: string;
1037
+ characterEdgeStyle: string;
1038
+ };
1039
+ };
1040
+ chromecast: {
1041
+ start: string;
1042
+ stop: string;
1043
+ };
1044
+ core: {
1045
+ exit_fullscreen: string;
1046
+ fullscreen: string;
1047
+ mute: string;
1048
+ muted: string;
1049
+ pause: string;
1050
+ play: string;
1051
+ seconds: string;
1052
+ timeline_aria_label: string;
1053
+ unmute: string;
1054
+ volume: string;
1055
+ close: string;
1056
+ "skip-next": string;
1057
+ "skip-prev": string;
1058
+ };
1059
+ ovp: {
1060
+ starting_in: string;
1061
+ };
1062
+ playlist: {
1063
+ cancel: string;
1064
+ up_next: string;
1065
+ autoplay: string;
1066
+ now_playing: string;
1067
+ turn_off_autoplay: string;
1068
+ playlist: string;
1069
+ };
1070
+ qsel: {
1071
+ menu_title: string;
1072
+ };
1073
+ share: {
1074
+ clipboard_failure: string;
1075
+ clipboard_success: string;
1076
+ embed: string;
1077
+ link: string;
1078
+ menu_title: string;
1079
+ };
1080
+ speed: {
1081
+ menu_title: string;
1082
+ };
1083
+ vtsel: {
1084
+ button_txt: string;
1085
+ menu_title: string;
1086
+ };
1087
+ };
1088
+ init(config: Config, _root: never, video: Player): void;
1089
+ }
1090
+
978
1091
  declare const IN_VIEWPORT = "is-in-viewport";
979
1092
 
980
1093
  /* Excluded from this release type: INTERSECTIONCHANGE */
package/plugins/id3.d.ts CHANGED
@@ -773,6 +773,13 @@ declare interface FlowplayerUMDBase {
773
773
  /* Excluded from this release type: support */
774
774
  /* Excluded from this release type: jwt */
775
775
  /* Excluded from this release type: loaders */
776
+ /**
777
+ * @public
778
+ * Translations dictionaries to be used with `@flowplayer/translations` package
779
+ *
780
+ * See [official documentation](https://developer.wowza.com/docs/wowza-flowplayer/player/translations/)
781
+ */
782
+ i18n: typeof I18n;
776
783
  }
777
784
 
778
785
  /**
@@ -850,6 +857,112 @@ declare type HasSrcExtensions<PluginBareConfigs extends unknown[]> = TupleToUnio
850
857
 
851
858
  declare const HOVERED = "is-hovered";
852
859
 
860
+ declare class I18n implements Plugin_2 {
861
+ static pluginName: string;
862
+ static en: {
863
+ ads: {
864
+ ad: string;
865
+ ads: string;
866
+ advertisement: string;
867
+ indicator: string;
868
+ adchoices: string;
869
+ };
870
+ audio: {
871
+ button_txt: string;
872
+ menu_title: string;
873
+ };
874
+ cc: {
875
+ button: string;
876
+ menu_title: string;
877
+ options: string;
878
+ tracks: string;
879
+ reset: string;
880
+ colors: {
881
+ Black: string;
882
+ Blue: string;
883
+ Cyan: string;
884
+ Green: string;
885
+ Magenta: string;
886
+ Red: string;
887
+ White: string;
888
+ Yellow: string;
889
+ };
890
+ edgeStyle: {
891
+ None: string;
892
+ "Drop shadow": string;
893
+ Raised: string;
894
+ Depressed: string;
895
+ Outline: string;
896
+ };
897
+ fontFamily: {
898
+ "Monospaced Serif": string;
899
+ "Proportional Serif": string;
900
+ "Monospaced Sans-Serif": string;
901
+ "Proportional Sans-Serif": string;
902
+ Casual: string;
903
+ Cursive: string;
904
+ };
905
+ properties: {
906
+ fontFamily: string;
907
+ fontSize: string;
908
+ fontColor: string;
909
+ fontOpacity: string;
910
+ backgroundColor: string;
911
+ backgroundOpacity: string;
912
+ characterEdgeStyle: string;
913
+ };
914
+ };
915
+ chromecast: {
916
+ start: string;
917
+ stop: string;
918
+ };
919
+ core: {
920
+ exit_fullscreen: string;
921
+ fullscreen: string;
922
+ mute: string;
923
+ muted: string;
924
+ pause: string;
925
+ play: string;
926
+ seconds: string;
927
+ timeline_aria_label: string;
928
+ unmute: string;
929
+ volume: string;
930
+ close: string;
931
+ "skip-next": string;
932
+ "skip-prev": string;
933
+ };
934
+ ovp: {
935
+ starting_in: string;
936
+ };
937
+ playlist: {
938
+ cancel: string;
939
+ up_next: string;
940
+ autoplay: string;
941
+ now_playing: string;
942
+ turn_off_autoplay: string;
943
+ playlist: string;
944
+ };
945
+ qsel: {
946
+ menu_title: string;
947
+ };
948
+ share: {
949
+ clipboard_failure: string;
950
+ clipboard_success: string;
951
+ embed: string;
952
+ link: string;
953
+ menu_title: string;
954
+ };
955
+ speed: {
956
+ menu_title: string;
957
+ };
958
+ vtsel: {
959
+ button_txt: string;
960
+ menu_title: string;
961
+ };
962
+ };
963
+ init(config: Config, _root: never, video: Player): void;
964
+ }
965
+
853
966
  /**
854
967
  * @public
855
968
  * This plugin adds support for ID3 metadata tags.