hello I want to build a video web site, where the videos once you pass your mouse over the progress bar you could see a image preview of the video you are watching like youtube for example , so I want to know please what is the better way to do this on php and jquery.
There are some out-of-the-box alternatives, like JWPlayer. It's very flexible there's an example of what you're trying to do here.
Related
I have to develop my video page using php which is similar to gallery with hover effects. If i hover over the video, the name of the video need to be displayed than i click the name, the video should be come as lightbox. Kindly suggest some solutions for this. I'm very struggling in this concept. Thanks in advance
PHP is a server-side scripting language, it is not suitable for "developing styles", you should use a combination of CSS and JS instead.
Lightbox - here is a complete tutorial.
I have a requirement which I have been unable to find any solutions too, not many pointers exists on the internet either, couple of video editors I asked are of the opinion that it might not be possible.
Lets say I have a video and I am uploading it to a website, i want a dynamic image to load inside the video at the end of every 30secs, and if possible, then not really sure if I can upload these videos on Youtube or Vimeo either?
Any heads up will be great, I am totally lost here.
Usually I have a video file field where I upload the video and configure display to be open with JWPlayer. It then opens as JWPlayer when I output it in the template (node.tpl.php)
But now the problem is that in some cases, I'll get a link like
http://www.mytest.com/videos/myvideo.mp4
which I want to play in JWPlayer too. Is it possible that I can play a video link directly in JWPlayer?
Thanks.
Recently stumbled upon a stock video footage site http://www.pond5.com/stock-video-footage/1/*.html , and saw that they had a preview of a video when the user hovered over a thumbnail. I want to recreate this, because it seems like useful practice and it will allow me to workout my web developing muscles.
I would like to be able to preview a video when a user hovers over a thumbnail.
For example like pond5.com. Audio is not necessary, but I would like it to look smooth like a video rather than a video preview that contains a frame every 5 seconds.
On pond5.com, I originally thought they used a gif, but it plays very smoothly. Some also contain audio. As far as I thought, audio can't be used in .GIFs
Is this a case where I would have to just upload a 2nd video for the preview?
Thank you for any help.
Pond5, the website you specifically mentioned, creates a video thumbnail with watermark and lowered quality and stores it. It is then played back using JavaScript to dynamically load a div element that contains the flash player. So no GIFs are involved. You do need to upload a 2nd video, but the steps to this project are as follows:
Server-side video thumbnail/watermarking: Not sure if there are any PHP packages that are up to the task on this one. I would write a more powerful program in C++ or C#. If you go with C#, quick and easy solution would be Microsoft Expression Encoder.
Flash/Silverlight/HTML5 video player: To play the video.
Client-side JavaScript: To load the fancy popup and the aforementioned video player. Note that you might need to use PHP and a database engine to load the thumbnail URL for the video requested.
This is what Pond5, and what many other stock-footage sites use, and the basic outline of what you would need to do to achieve similar results.
I want a videoplayer like youtube's on my site. What should I look for? I'm making a video sharing site in PHP with MySQL.
Should I look into flash? Maybe you know some good video players that are easy to implement on a site.
uff you have lot of work to do.
FlowPlayer its an opensource flash based player can you customize and use it in your site
Have you gone through these http://www.vidiscript.com/, http://www.phpmotion.com/ and http://osshare.sourceforge.net/. These are clones of youtube-like video media sharing sites. The source code is freely accessible I guess - you can get some help from it.
Flowplayer is by far the best I've found. It has a very nice Javascript API that lets you manipulate the video player in every single way you could possibly want.
What you are looking for can be searched for on Google for as either an "flv player" or a "flash video player component". E.G. a video player skin or player with media list.