Code Monkey home page Code Monkey logo

Comments (4)

arianneorpilla avatar arianneorpilla commented on August 15, 2024

Would you like the video to pause after it's been played or just before it is played?

from jidoujisho.

arianneorpilla avatar arianneorpilla commented on August 15, 2024

After much investigation, I don't think this is a feature I can implement due to the limitations of the player. In moderation, it's okay. But if you deliberate abuse the player, with no intent to watch properly, sometimes it's just not ready to pause and play -- sometimes the audio is not ready and the video renderer goes black and needs to catch up. Sometimes, it gets surprised and takes time to get back to playback.

This feature would be effectively that. It would bombard the player with pause and play requests, and given that you've also reported some devices already do not bode well with pausing and playing on time, this would not allow for a very smooth playback experience with the flutter_vlc_player plugin I'm using.

I have tried a prototype in an emulator -- and it feels very hacky. With subtitles coming up every 2 seconds, the player is constantly out of audio and the debug messages for VLC don't seem to like the pausing.

I apologize but I don't think I can make this work.

My suggestion is to open the transcript: I feel like that's a viable alternative. My hope when implementing it was exactly for this kind of use case. Swiping up and testing your reading comprehension for a short while and then moving onto a next chunk of subtitles -- each collection of five or six subtitles visible on screen at a time being an enjoyable partition to consume, and once you're ready to get back to it, you can click on a subtitle to seek to where you want to get back to.

from jidoujisho.

Hexavall avatar Hexavall commented on August 15, 2024

No problem, and thanks for trying it.

from jidoujisho.

arianneorpilla avatar arianneorpilla commented on August 15, 2024

This is now possible in 2.8.0 with playback modes.

from jidoujisho.

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.