Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

changing video source from youtube to my site

2 views
Skip to first unread message

richard

unread,
May 10, 2013, 5:28:21 AM5/10/13
to
I have a long long list of videos on my site all stored in a database.
The way I have it structured in the php code is for all the videos to be
played in the supplied youtube's <iframe> scheme.
But what if I want to have a video source on my site?
In BASIC, I could easily say if left$(x$,4)="this" then do this.
So I need some kind of trigger that tells php this video is handled
differently.
What string handler can I use to check the trigger with?

SwissCheese

unread,
May 10, 2013, 6:25:48 AM5/10/13
to
http://php.net/manual/en/ref.strings.php

--
Norman
Registered Linux user #461062
-Have you been to www.php.net yet?-

M. Strobel

unread,
May 10, 2013, 1:49:29 PM5/10/13
to
the video source should be in the database, it is an essential attribute of the video.

/Str.
0 new messages