Commit graph

10 commits

Author SHA1 Message Date
Tobias Koenig d68bba55b4 Make VideoWidget independet of associated annotation type
REVIEW: 106606
2012-10-22 13:03:36 +02:00
Tobias Koenig f70dc3c1e1 Fix visibility of VideoWidget on page change events
We have to differ between the initialization and the
'page entered' and 'page left' event.
This avoids that all VideoWidgets with poster image show up
on first slide or do no disappear when changing slide.
2012-09-21 11:20:53 +02:00
Tobias Koenig 811e3b2539 Switch from poster image to video player after video has started playing
If we switch immediately after the play() trigger, a black frame is visible
for a moment, which looks ugly.
2012-08-21 09:38:27 +02:00
Tobias Koenig 8dbd83ab2a Implement support for poster image of videos in PDF documents
With this commit Okular will show a so called poster image for PDF documents
containing movie annotations. The image will be a screenshot of the first frame
of the video.

BUGS: 301603
REVIEW: 105890
FIXED-IN: 4.10.0
2012-08-19 12:23:47 +02:00
Tobias Koenig 8683822a47 Improve auto play behaviour of videos
Use the auto play property of movies that are not started via
the 'page open' action. That's the case for Rendition-based videos
from PDF documents for example.
2012-04-26 00:24:39 +02:00
Tobias Koenig 486df96203 Make video player behave similar to Adobe Acroread
Hide the video player initially until the user has clicked on
the annotation area. This ensures that an available 'first-frame' image
is always visible. Also change the appearance of the mouse cursor when
the annotation area is entered.

REVIEW:104159
2012-03-12 17:20:51 +01:00
Albert Astals Cid 89e2611f32 Stop playing videos when they are no longer visible
This mimics Adobe Reader behaviour
BUGS: 286932
FIXED-IN: 4.8.0
2011-12-13 19:52:48 +01:00
Pino Toscano 7f4d879f77 few improvements to the video widget (yay for airport hacking):
- add a seek slider to the control bar, that "becomes" a button that popups it when there is too few space for it
- more robust even filter on the phonon video widget
- "eat" the tooltip events, so we don't have tooltips coming from eg the page view

svn path=/trunk/KDE/kdegraphics/okular/; revision=853304
2008-08-27 13:54:54 +00:00
Pino Toscano 70d9ff6c02 - add a real basic control bar with the play/pause and stop actions for the movie control, only shown whether the movie asks for it
- make the "click to play" function working for the video area only

svn path=/trunk/KDE/kdegraphics/okular/; revision=852067
2008-08-25 09:23:11 +00:00
Pino Toscano 3ede96ef1b add a video widget class that encapsulates a Phonon video player and includes all the logic for repeated playbacks, media controls, etc
at the moment, it provides just playback and repeat mode

svn path=/trunk/KDE/kdegraphics/okular/; revision=851956
2008-08-25 01:26:47 +00:00