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

            Bug ID: 403375
           Summary: Thumbnail extraction for players when there is no
                    metadata provided
           Product: plasma-browser-integration
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@privat.broulik.de
          Reporter: aldo.mat...@gmail.com
  Target Milestone: ---

Created attachment 117549
  --> https://bugs.kde.org/attachment.cgi?id=117549&action=edit
Patch from git

This patch adds the ability to extract thumbnails from the page when they are
not provided from the MediaSession API in order to provide a richer user
experience.

As of now thumbnail extraction is as follows: 

1. If the page has already provided metadata then the artwork specified there
will override any image the new functionality finds.
2. YouTube is hard-coded. Since it does not support MediaSession nor provide
meta tags there is no way of extracting a good thumbnail without it being an
edge case. But since it is by far the largest video website, this will have to
do until they improve their situation.
3. It attempts to load an image from the OpenGraph meta og:image property which
many websites do provide.
4. It uses the favicon. First attempts to find a "hi-res" one then it uses the
standard favicon. Although this might lead to small images intended as favicons
being upscaled.


Album with some screenshots from plasma/android: https://imgur.com/a/rYY1FgD

Attached is the diff.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to