manishwagh — 2012-05-01T06:57:37-04:00 — #1
I want to play videos randomly from 2 lists alternately on my webpage. The videos are placed on other websites than my webpage.
Also I want to add my logo to the player.
eg. play a video in random from first list then play video in random from second list. Then again play a video in random from first list and this sequence must go on.
Can anyone help?
Thanking you in advance
Awaiting I remain
rej1 — 2012-05-04T01:37:03-04:00 — #2
First you insert your video link to a mysql database table. Then just run the following query. You will get the random video link.
SELECT column FROM table
ORDER BY RAND()
emtiazraz1 — 2012-05-19T08:50:52-04:00 — #3
thanks, its works for me.