[okular] [Bug 436709] Autoplaying of renditions (audio/video)

Michal Vlasák bugzilla_noreply at kde.org
Sat May 8 16:52:51 BST 2021


https://bugs.kde.org/show_bug.cgi?id=436709

--- Comment #2 from Michal Vlasák <lahcim8 at gmail.com> ---
(In reply to Oliver Sander from comment #1)
> > I think that the current handling of "AutoPlay" is wrong for Renditions.
> 
> Did you check what Acrobat does?  Okular would usually strive to do the same.

TL;DR: Yes it correctly handles `/A` and Rendition actions.

In Acrobat `/A` works almost as expected. When the annotation is activated
(e.g. using Rendition action on page open or "on click" action) and `/A` is
true (default) everything starts playing normally. If `/A` is false however
only black frame is displayed (here first frame of the video would be
expected). In this activated, but not playing, state it is possible to play the
video using controls (and maybe JavaScript, but I don't know the API available
for Renditions well).

I don't know whether it is possible to achieve the behaviour expected by `/A`
in Okular, but I think it would be fine to just assume `/A` to be true. Because
"true" essentially doesn't mean "starting playing automatically" but "don't
pause instead of playing".

"Start playing" should be left to the rendition actions, which may for example
be used as "Additional Actions" on the Screen annotation to start the playback
on "page open" or other event.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list