View Single Post
Old 10-10-2022, 10:04 AM   #41
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by KevinH View Post
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.
Warning: Lately, I think my brains are melting, so take this post with a grain of salt, yeah?

I could SWEAR that we used that "poster" attribute for the old iBooks ePUBs with multimedia. Now...I can go forth, look it up, but...that was a while ago. I'm pretty sure that's gotta be...hell. 8 years? Maybe 10? It was definitely ePUB2, I believe, too.

??? (Maybe I'm just losing my mind. It's hanging out with youse guys.)

Hitch
Hitch is offline   Reply With Quote