| Summary: | Thumbnail extraction for players when there is no metadata provided | ||
|---|---|---|---|
| Product: | [Plasma] plasma-browser-integration | Reporter: | aldo.mateli |
| Component: | general | Assignee: | Kai Uwe Broulik <kde> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | flying-sheep |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Patch from git | ||
|
Description
aldo.mateli
2019-01-18 20:13:47 UTC
I toyed around with og:image but if you have a website that uses Ajax for page navigation and/or has playlists, the tags are never updated when you switch to another video as it's only used by static content extractors/parsers. I encountered the og:image issue while testing with SoundCloud, but I don't see a way out of it without hardcoding it, like this patch does for YouTube. Generally, some image should be some improvement over no image at all, although the original goal of this patch was to simply support YouTube, then I added og:image and favicons while working on it. The downside of og:image is that users might report the incorrect image as a bug when using services which do not update the meta tags, but in any case YouTube and favicon should be safe to use. Let me know of any thoughts/concerns so that this can get merged or dropped. We could use a MutationObserver for that, right? I also think we should also include support for the poster attribute on video tags: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#attr-poster Btw YouTube is not supported through media sessions API, see Bug 406782 |