Git Product home page Git Product logo

Comments (5)

CarGuo avatar CarGuo commented on June 11, 2024 1

setSeekOnStart

from gsyvideoplayer.

CarGuo avatar CarGuo commented on June 11, 2024

参考 NormalGSYVideoPlayer 啊,你的 getLayoutId 里的 button 不对吧

from gsyvideoplayer.

DumboTF avatar DumboTF commented on June 11, 2024

感谢大佬,是我大意了。
另外seekTo这个方法,应该在哪个时机调用?需求是记录播放位置,下次进来后续播,我现在调用seek之后,还是会从头播放

from gsyvideoplayer.

DumboTF avatar DumboTF commented on June 11, 2024

有效 可以了

from gsyvideoplayer.

DumboTF avatar DumboTF commented on June 11, 2024

公司想着列表切换播放视频的时候,流畅一点,我现在用的 new CacheHelper().preCacheVideo()方法,滑动的时候去preCache当前position-1 和 +1的视频。
1、这样会导致重复加载相同的url吗,
2、有没有提供什么方法可以实现。
我记得之前看到过提供预加载(1,3)这种前1个后3个 ,但是现在找不到了

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.