Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问如何自定义取消全屏的按钮 #10

Closed
Kino-Zh opened this issue Dec 5, 2017 · 3 comments
Closed

请问如何自定义取消全屏的按钮 #10

Kino-Zh opened this issue Dec 5, 2017 · 3 comments

Comments

@Kino-Zh
Copy link

Kino-Zh commented Dec 5, 2017

现在只有取消全屏事件,没有API可以调用,希望可以提供

@alilmq
Copy link
Owner

alilmq commented Dec 6, 2017

参考文档, https://help.aliyun.com/document_detail/62948.html?spm=5176.doc51991.2.13.4OMKy, 去掉fullScreenButton这一条记录

@Kino-Zh
Copy link
Author

Kino-Zh commented Dec 7, 2017

我并不是不用全屏按钮,是我全屏之后,还想自己再增加一个取消全屏的按钮,但是目前没有看到可以关闭全屏API

@alilmq
Copy link
Owner

alilmq commented Dec 7, 2017

2.4.0版本有提供fullscreenSerivce, 使用方法:

          ` 

         let service = that.player.fullscreenService;

    	if(service.getIsFullScreen())
    	{
    		service.cancelFullScreen()
    	}

            `

@alilmq alilmq closed this as completed Dec 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants