check for youtube, if not, load ftp video

General Forum
pjd
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 21 Oct 2012, 16:56

check for youtube, if not, load ftp video

Post by pjd »

I have a series of videos I link to using my Phoca gallery, but often my visitors do not have access to YouTube (for various reasons...).

Would it be possible to somehow run a video from the server if the user does not have access to youtube? Something like a if, else code that would run Youtube first, or else run a local copy of the video?

Thank you!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: check for youtube, if not, load ftp video

Post by Jan »

Hi, this needs to be customized - somehow ask the youtube server if the video is accessible and then decide what to display (but no experiences there :-( )

Jan
If you find Phoca extensions useful, please support the project
Post Reply