流量变现70%分成 全国楼凤小姐姐 招商联系客服 招商联系客服 招商联系客服 招商联系客服

ArtplayerH5播放器-Artplayer全部事件监听API

[复制链接]
查看182 | 回复0 | 2024-10-13 09:05:47 | 显示全部楼层 |阅读模式
ArtplayerH5播放器-Artplayer全部事件监听API:


  1.     'video:canplay': [event: Event];
  2.     'video:canplaythrough': [event: Event];
  3.     'video:complete': [event: Event];
  4.     'video:durationchange': [event: Event];
  5.     'video:emptied': [event: Event];
  6.     'video:ended': [event: Event];
  7.     'video:error': [event: Error];
  8.     'video:loadeddata': [event: Event];
  9.     'video:loadedmetadata': [event: Event];
  10.     'video:pause': [event: Event];
  11.     'video:play': [event: Event];
  12.     'video:playing': [event: Event];
  13.     'video:progress': [event: Event];
  14.     'video:ratechange': [event: Event];
  15.     'video:seeked': [event: Event];
  16.     'video:seeking': [event: Event];
  17.     'video:stalled': [event: Event];
  18.     'video:suspend': [event: Event];
  19.     'video:timeupdate': [event: Event];
  20.     'video:volumechange': [event: Event];
  21.     'video:waiting': [event: Event];
  22.     'document:mousemove': [event: Event];
  23.     'document:mouseup': [event: Event];
  24.     info: [state: boolean];
  25.     layer: [state: boolean];
  26.     loading: [state: boolean];
  27.     mask: [state: boolean];
  28.     subtitle: [state: boolean];
  29.     contextmenu: [state: boolean];
  30.     control: [state: boolean];
  31.     setting: [state: boolean];
  32.     hotkey: [event: Event];
  33.     destroy: [];
  34.     subtitleUpdate: [text: string];
  35.     subtitleLoad: [url: string];
  36.     subtitleSwitch: [url: string];
  37.     focus: [event: Event];
  38.     blur: [event: Event];
  39.     dblclick: [event: Event];
  40.     click: [event: Event];
  41.     hover: [state: boolean, event: Event];
  42.     mousemove: [event: Event];
  43.     resize: [];
  44.     view: [state: boolean];
  45.     lock: [state: boolean];
  46.     aspectRatio: [aspectRatio: AspectRatio];
  47.     autoHeight: [height: number];
  48.     autoSize: [];
  49.     ready: [];
  50.     error: [error: Error, reconnectTime: number];
  51.     flip: [flip: Flip];
  52.     fullscreen: [state: boolean];
  53.     fullscreenError: [event: Event];
  54.     fullscreenWeb: [state: boolean];
  55.     mini: [state: boolean];
  56.     pause: [];
  57.     pip: [state: boolean];
  58.     play: [];
  59.     screenshot: [dataUri: string];
  60.     seek: [currentTime: number];
  61.     subtitleOffset: [offset: number];
  62.     restart: [url: string];
  63.     muted: [state: boolean];
复制代码


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则