Bug 264201 - Please support the HTML poster attribute of the video element
Summary: Please support the HTML poster attribute of the video element
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks: 156536
  Show dependency treegraph
 
Reported: 2011-01-24 19:55 UTC by Andreas Nordal
Modified: 2024-05-06 18:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Nordal 2011-01-24 19:55:29 UTC
Version:           unspecified (using KDE 4.5.5) 
OS:                Linux

When specified, Konqueror should display the intended poster image instead of the start of the video.

Example:
<video src="film.ogv" poster="recognisable.jpg">
</video>

Benefits:
* W3C [1] says the poster should be "representative" and "give the user an idea". Displaying the first frame is not necessarily helpful, for example if it is black, like [2].
* Images load faster than videos, and are often sufficient. I'm starting to see blogs with (many) videos like [3], and it's not like I'm watching all videos every visit. In my testpage [2] with 2 videos, videos appear 5-10 seconds after the rest.

References
1. http://www.w3.org/TR/html5/video.html#attr-video-poster
2. http://nerdvar.com/A/konq-errors/konq-scrolls.html
3. http://planet.xiph.org/

Reproducible: Always
Comment 1 Gérard Talbot (no longer involved) 2011-07-06 04:20:10 UTC
2 testcases from the HTML5 test suite which test the poster attribute of the <video> element:

The 'HTMLVideoElement' interface supports setting 'poster' to an absolute URL
http://w3c-test.org/html/tests/approved/video/video_009.htm

The 'HTMLVideoElement' interface supports setting 'poster' to a relative URL
http://w3c-test.org/html/tests/approved/video/video_010.htm

Both testcases fail in Konqueror 4.6.4.

KDE Platform Version: 4.6.4
Konqueror version: 4.6.4
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic-pae i686
Distribution: Kubuntu 11.04
here.

regards, Gérard
Comment 2 Andreas Nordal 2011-11-30 20:28:21 UTC
I see that Konqueror 4.7.2 displays poster images when using WebKit. KHTML still fails.
Comment 3 Christoph Cullmann 2024-05-06 18:39:46 UTC
Dear user,

KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6.

Please migrate to use a QWebEngine based HTML component.

We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes.

For security issues, please see:

https://kde.org/info/security/

Sorry that we did not fix this issue during the life-time of KHTML.

Greetings
Christoph Cullmann