Comments (4)
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.
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.
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.
Thank you. I commented on the commit.
from pympress.
Related Issues (20)
- get_primary_monitor() returns None HOT 2
- Notes are misaligned HOT 2
- Improve Annotations HOT 9
- Undo Clears Slide HOT 4
- Incorrect rendering of greek and math symbols on windows in plots generated with R HOT 14
- First slide in presenter mode. HOT 3
- [Windows] Not loading the proper language HOT 1
- Setup proper visual testing
- Support proper Hi-DPI on Windows HOT 2
- Annotation support for line breaks
- Allow configuring thresholds for colors on elapsed time for estimated time HOT 2
- Help needed for installation under nobara linux
- No video when note slide located at bottom of page HOT 7
- Slide deck overview missing every 2nd slide HOT 5
- Recomend using pipx instead of pip HOT 3
- Shortcuts page in version 1.7.1 shows wrong keys: Shift and Ctrl are mixed HOT 7
- Play gif via animate package does not start animation loop when displayed via Pympress HOT 9
- Save PDF with the Highlights HOT 1
- vlc opens new window, rather than embedding when run under wayland HOT 3
- gif animation remains visible after changing the slide
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pympress.