Calling external Video Player from Browser using php.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jeevanism
Forum Newbie
Posts: 14
Joined: Fri Dec 09, 2011 12:12 am

Calling external Video Player from Browser using php.

Post 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.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Calling external Video Player from Browser using php.

Post 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?
(#10850)
jeevanism
Forum Newbie
Posts: 14
Joined: Fri Dec 09, 2011 12:12 am

Re: Calling external Video Player from Browser using php.

Post 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?
Post Reply