Skip to content

独立使用xgplayer-flv、xgplayer-hls,TS类型错误。 #1800

@leiyaguang

Description

@leiyaguang

您使用的西瓜播放器版本是多少? What version of xgplayer are you using?
独立使用[email protected]
独立使用[email protected]

您使用的操作系统和浏览器分别是? What OS and browser are you using?

如何复现问题? How to reproduce the problem?

类型声明缺少了extends EventEmitter,导致ts找不到on方法。

这是d.ts截图⬇️
Image

这是源码截图⬇️
Image

这是报错截图⬇️
Image

您期望的播放器正常行为是? What did you expect to happen?
期望ts类型正确

实际播放器的表现是? What actually happened?

可填写您所在的公司和相关产品业务,方便我们提供更好的技术支持 You can write your company and product which uses xgplayer, for helping us provide better technical support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions