开发者

PHP video snapshot display

开发者 https://www.devze.com 2023-01-16 07:36 出处:网络
Is there any way to display 开发者_开发知识库video(snapshot) as as a image in PHP?There is an option without generating a new snapshot, simply using html code :) easy, isn\'t it?

Is there any way to display 开发者_开发知识库video(snapshot) as as a image in PHP?


There is an option without generating a new snapshot, simply using html code :) easy, isn't it?

<video src='DIRECCION_DEL_VIDEO' width='100px' height='60px'/>

Hope you enjoy it!

Regards,

Jose Romero


Well You can create thumbnail using ffmpeg .

Then you can simply execute that command from php using exec. You can show created thumbnail then as you want.

You can check http://flowplayer.org/tutorials/generating-thumbs.html

0

精彩评论

暂无评论...
验证码 换一张
取 消