Jump to content

Recommended Posts

I am currently adding a video feature to my site, and i need to know a couple things:

1) How can i get a videos duration

2) how can i get a video thumb nail like youtube and other popular video websites

3) And if possible how can i make a custom media player aswell.

 

 

I know this is alot to ask but it would really help if you could give me any ideas.

Thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/62862-video-things/
Share on other sites

For the first 2 questions the answer is easy, FFMPEG. Its a pretty powerful extension for php http://ffmpeg-php.sourceforge.net/

 

For the third, u can make Flash custom player. Flash has great video capabilities and some simple actionscript can produce panning, volume adjust etc.

 

Im sure theres a lot in the net for these. Hope i helped.

Link to comment
https://forums.phpfreaks.com/topic/62862-video-things/#findComment-312946
Share on other sites

It is an extension not a class or smth so it has to be install. If u have a shared host theres no way for your hosting provider to install it, only if they already have it installed which i doubt to be the case. U need a server for this. Also i never had the need to use it so i cant tell, but from what i read in their website, it also supports quick time, so im guessing it has a vast format support.

Link to comment
https://forums.phpfreaks.com/topic/62862-video-things/#findComment-313404
Share on other sites

Youtube using XML (eXtensible Markup Language) To create videos that auto create thumbnais. I have been using XML for about 3 weeks now but sorry i do not know how they do it but I am 99% sure they use XML. Try an XML Forum rather than a PHP.

 

Hope you find what you need

Best Regards!

Link to comment
https://forums.phpfreaks.com/topic/62862-video-things/#findComment-313578
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.