SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Member manishwagh's Avatar
    Join Date
    Apr 2012
    Location
    Dhule
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question I want to play random videos from 2 lists alternately on my webpage. Can anyone help?

    Hi
    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

    Regards
    Last edited by TechnoBear; May 1, 2012 at 04:28. Reason: E-mail address removed.

  2. #2
    SitePoint Member rej1's Avatar
    Join Date
    Aug 2011
    Location
    Sylhet
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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()

  3. #3
    SitePoint Member
    Join Date
    Apr 2012
    Location
    Chittagong, Bangladesh
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by rej1 View Post
    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()
    thanks, its works for me.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •