Page 1 of 1

Calling external Video Player from Browser using php.

Posted: Tue Jan 17, 2012 9:06 pm
by jeevanism
This is very simple case I guess but I just need some help. I have an application buill on php. The idea to store videos/images as in compress/non-compressed form and users can access it. The player I am using now , cannot play .VOB files . So to overcome this hurdle, I want to trigger a function like whenever a user try to access .VOB file, when he/she click to play, I need an external video player comes up. How can I do this? I can thin about coding conditions to check for .VOB file but what about calling external video player?

Any help would be appreciated..


thanx.

Re: Calling external Video Player from Browser using php.

Posted: Tue Jan 17, 2012 9:10 pm
by Christopher
Just use PHP to generate the HTML containing the link to the external video player. Is the external video player an external program associated with certain file types or a player embedded into the web page?

Re: Calling external Video Player from Browser using php.

Posted: Wed Jan 18, 2012 8:31 pm
by jeevanism
external program.. I wanted to embed actually. but due to very little time, I have to finish my project, I made an adjustment, I put a condition that checking for extension of vidoe file. If file is not flv or mp4, it will href to the file , then browser trigger either external video player or download option.

I think its safe now. But if I can embed an external player in the HTML, it would be better. I think I can use VLC, is it possible?