Giter VIP home page Giter VIP logo

Comments (6)

CarGuo avatar CarGuo commented on May 18, 2024

没发现呢,是哪个recyclerView?

from gsyvideoplayer.

junchenChow avatar junchenChow commented on May 18, 2024

recyclerview2 的问题稍微严重一点 退出全屏还是之前那个奇怪的样子 就是视频真正播放完毕了之后 你再去点击上锁 然后再解锁 这个时候 ui就出问题了 可能是touch事件有地方没判断好 怎么点都是之前上锁的样子

from gsyvideoplayer.

junchenChow avatar junchenChow commented on May 18, 2024

还有一个小问题 应该是我自己的问题 我继承了StandardGSYVideoPlayer 重载了一下布局 里面的控件没有删改 没有改源码 。
其他的都是好的 就是底部的seekbar 拖动不了 打了下断点mHadPlay始终都是false然后就进行不下去了, 只能把mHadPlay 改成mCurrentState ==CURRENT_STATE_PLAYING才行。
是不是我调用的姿势不对 求指教。
gsy1

gsy2

from gsyvideoplayer.

CarGuo avatar CarGuo commented on May 18, 2024

原来是那个锁定触摸,我理解成那个锁屏幕了,这个我改一下。至于继承后seekbar拖动不了,这个只能说那个seekbar的id是不是一致的,seekbar上面是不是还有东西阻挡了触摸,或者你重新增加了什么逻辑,这个我还真不好说,现在是在seekbar拖动后的回调的stopdrag里面做逻辑的。

from gsyvideoplayer.

junchenChow avatar junchenChow commented on May 18, 2024

seekbar的相关的都没有改 id我改了肯定就报错了 布局里面的排列也是没怎么动过 上面盖着什么那肯定也不是 我可以拖动seekbar 但是拖动完之后就回到原点了 那肯定就是没有seek成功 我就是在stopDrag里面打的断点发现mHadPlay一直都是false 逻辑也没有改 就是单纯的继承了重载了一下布局。

from gsyvideoplayer.

CarGuo avatar CarGuo commented on May 18, 2024

mHadPlay在初始化和release的时候是false,在onPrepared的时候是true,全屏的时候会把这个状态也附值给全屏播放器。

from gsyvideoplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.