View Single Post
Old 10-09-2022, 05:40 PM   #40
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,939
Karma: 6361444
Join Date: Nov 2009
Device: many
That thumbnail is created by the reader by loading the first frame of the video that is linked. Recent versions of Sigil are Chromium based and support lots of things that many older readers do not. Some videos types support embedded thumbnail images as well.

That said, there used to be a "poster" attribute for the video tag in html5 that forced an image placeholder. I have no idea if any ebook readers support it though, and I am not sure if even Sigil supports it as it is not a href, or src attribute but it does point to a relative image url.

ps. checked the Sigil code and the "poster" attribute on the video tag will be properly updated by Sigil if the xhtml file is renamed or moved. But I have never seen that "poster" attribute on the video tag actually used. According to the spec, if it is not present, the first frame of the video will be used once available. So that is up to the ereader itself to handle and obviously some do not.

Last edited by KevinH; 10-09-2022 at 06:39 PM.
KevinH is offline   Reply With Quote