ckeditor-html5-video icon indicating copy to clipboard operation
ckeditor-html5-video copied to clipboard

Can you add a “poster ” property?

Open cn-jiangfei opened this issue 7 years ago • 7 comments

@bahriddin Thank you very much for the html5video plugin,But there is no poster attribute,Can you add a poster upload and URL attribute?

cn-jiangfei avatar May 16 '17 06:05 cn-jiangfei

Can you explain more broader, please.

bahriddin avatar Jul 13 '17 09:07 bahriddin

poster: "A URL indicating a poster frame to show until the user plays or seeks. If this attribute isn't specified, nothing is displayed until the first frame is available; then the first frame is shown as the poster frame."

<video src="videofile.webm" autoplay poster="posterimage.jpg">
Sorry, your browser doesn't support embedded videos, 
but don't worry, you can <a href="videofile.webm">download it</a>
and watch it with your favorite video player!
</video>`

Source: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#Attributes

katapofatico avatar Jul 14 '17 14:07 katapofatico

It seems that the merged https://github.com/bahriddin/ckeditor-html5-video/pull/21 do the trick. I'll have a look ...

Cyrille37 avatar May 12 '18 07:05 Cyrille37

Well done :

image

image

Perhaps it could be nice to have all options list in the readme.md (and put those screen shots too).

Cyrille37 avatar May 12 '18 07:05 Cyrille37

Hi,

I have updated your plugin but there are a couple of issues.

On some IOS devices it does not show the first frame of the video ( only a white background & play button ).

When I use your latest version nothing shows up for a poster. When I save the data and re-open the parameter for the poster is no longer there.

screen shot 2018-08-27 at 00 52 35 screen shot 2018-08-27 at 00 52 43 img_1265

Cheers

Steve Warby

classic12 avatar Aug 26 '18 23:08 classic12

1 can you update a upload poster button not just a browerServer THANKYOU VERY MUCH

zhenggezuishuai avatar Aug 16 '19 08:08 zhenggezuishuai