emacs-eaf / eaf-video-player Goto Github PK
View Code? Open in Web Editor NEWVideo Player in Emacs
License: GNU General Public License v3.0
Video Player in Emacs
License: GNU General Public License v3.0
Describe the bug
press h or l key, or use mouse to change time video time, cannot hear sound anymore
Additional context
ubuntu 22.04, newest eaf
git pull
, please refer to Mandatory Procedures to Keep Your EAF Up-to-Date first.*eaf*
buffer, if there is any error shown in the *eaf*
buffer, paste it here.Describe the bug
when using j or k key, get error message:
in eaf buffer, find detail as following:
Traceback (most recent call last):
File ".emacs.d/elpa/28.1/develop/eaf-20221110.2200/eaf.py", line 368, in eval_function
getattr(buffer, function_name)()
File ".emacs.d/elpa/28.1/develop/eaf-20221110.2200/core/utils.py", line 190, in wrapped_f
return f(*args, **kwargs)
File ".emacs.d/elpa/28.1/develop/eaf-20221110.2200/app/video-player/buffer.py", line 193, in decrease_volume
self.media_player.setVolume(self.media_player.volume() - 10)
AttributeError: 'QMediaPlayer' object has no attribute 'setVolume'
Additional context
Ubuntu 22.04 , emacs 28.1
Describe the bug
When viewing a video, said video may be much smaller than desired. This can be somewhat difficult to force to occur, but it appears to happen if the initial Emacs window is small. In that case, the video player will load the video to fill up the initial, small Emacs window's size, but if Emacs is later maximized, the video does not increase in size to fill the entire screen as one might wish. It does not happen if the initial window was large and is then resized to be smaller, then made larger again.
To Reproduce
This is a little hard to make happen, and it doesn't appear to be completely consistent. However, the following seems to cause the error to appear most of the time (the precise steps are done with AwesomeWM and are described as such):
1: Open a new Emacs client in a small window
2: Open a video to see it is small
3: Increase the size of the Emacs window, the video does not increase much to match
4: Close that Emacs, switch to a new AwesomeWM virtual desktop with no windows open, and change tiling settings to something which will make a new window fill up the screen (super-space will do this if there is nothing else open on the virtual desktop. If using a different window manager, some other method may be needed to ensure the next Emacs client is maximized right as it opens)
5: Open a new Emacs instance, ensuring it takes up the entirety of the desktop monitor view
6: Open a video to see it is in full screen as expected
Expected behavior
The video would dynamically resize when the size of the Emacs window is changed, regardless of the original size of the Emacs window when it is first opened. Alternatively, buttons to zoom in and out would resolve this by sidestepping the issue.
Versions (please complete the following info):
Screenshots
This screenshot is a bit hideous, but as you can see the video being played (just a couple seconds of capturing my own desktop) is a lot smaller than the image, and surrounded by blackness. This blackness is in fact Emacs, which I enlarged but the video did not also become enlarged.
Additional context
Add any other context about the problem here.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.