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

关于退出后台再进入的问题 #15

Open
sanpi921208 opened this issue Aug 1, 2016 · 2 comments
Open

关于退出后台再进入的问题 #15

sanpi921208 opened this issue Aug 1, 2016 · 2 comments

Comments

@sanpi921208
Copy link

播放的时候我暂停,然后退到后台再打开,视频又自己播放了。应该也是暂停的。。。还有就是这个播放器怎么控制它的高度,不管我怎么增大都不行呢

@Jvaeyhcd
Copy link
Owner

Jvaeyhcd commented Aug 2, 2016

  1. ”播放的时候我暂停,然后退到后台再打开,视频又自己播放了“这个是因为,进入后台的时候会自动暂停播放,从后台唤醒的时候会自动播放。这里我需要修改一下,多谢你的建议。
  2. 播放器的layer的高度和宽度我貌似在HcdCacheVideoPlayer中写死了的,按照视频的比例来的。

@sanpi921208
Copy link
Author

1.那个问题我改了一下,但是退出到后台,然后后台唤醒的时候他会播放1s左右再停止,会有声音。有没办法修改这个问题。退出后台和进入前台都是暂停的

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