Coder Social home page Coder Social logo

Comments (4)

Cimbali avatar Cimbali commented on August 17, 2024

So we are talking about a pdf with embedded media, that has the options for controls enabled (for example showcontrols=true with the multimedia package). In this case we do show a control bar, that is indeed pretty basic. It has only play, pause and stop buttons.

The control bar is built in VLCVideo.get_player_control_toolbar(), so extending this with a couple other buttons and callbacks to the media should be rather easy. (I just fixed the pause button which was not working in c8178f8.)

If you want to take a shot at a PR, the code and some examples of python-vlc and the API documentation are available online if you need them, just add some widgets to our control bar and connect them to the right callbacks.

from pympress.

complanar avatar complanar commented on August 17, 2024

You’re right. I was aware of the showcontrols option. But I do not find a toolbar at the presentation view very usable.
Most of the time this view will be behind me, so I can not really see what’s happening. At my system vlc hides the mouse pointer from time to time (normally a good idea because it distracts the viewer of a movie), so I can not really see, where the mouse is.

I was thinking of showing the playing video at the presenter view as well (maybe one can clone the overlay to save system resources) and showing the toolbar there, where it makes more sense in my opinion.
The audience does not need to see control buttons no matter which if a showcontrols option was set or not.

This is more then extending just the toolbar. I could easily add two or more buttons, but I do not know poppler and gtk good enough, that would be a steep learning curve for me. You seem to have more background knowledge :-)
I’m coming from PHP, JavaScript and LaTeX, I had rarely to deal with GUIs.

from pympress.

Cimbali avatar Cimbali commented on August 17, 2024

Yes, I did think already about duplicating the video output but I have no idea how to do it. That's the hard part, the rest we can tweak easily.

Let me see what I can do.

from pympress.

complanar avatar complanar commented on August 17, 2024

Thank you. I commented on the commit.

from pympress.

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.