Page 4 of 10 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 95

Thread: Using Agriya Player with vShare

  1. #31
    Join Date
    Jul 2008
    Posts
    22

    Default Re: Using Agriya Player with vShare

    still no go on the thumb click does the someurl need to be repointed ??

    ORDER BY RAND()";if you want your thumbs to be random
    Code:
    $sql = "SELECT * FROM video WHERE
          type='public' AND
          active=1 AND
          approve=1 AND
          (keyword like '%$rtags[0]%' $chnl)
          ORDER BY VID ASC";

  2. #32
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Using Agriya Player with vShare

    I didn't even notice that there was a URL in the link. Good catch. However, now that requires me to remodify the code that I put up. I am going to edit that post to have the correct playlist_xml.php. This file will place the URL to the video in it and is multi-server compatible.

    As for your second question (regarding the ORDER BY RAND();), I would NOT recommend that you do that. The way that function works is it determines the number of rows within the table and then generates that many random numbers (so, if there are 1000 rows, 1000 random numbers are generated). It will then choose the lowest of those random numbers. The problem with this is the process of diminishing returns. As the number of videos on your site grows, you will be requiring your server to work harder and harder for EACH video that you display. The end result of that will a mySQL crash (crash as the result of the following: number of videos [let's use 1000] x number of random numbers [would be 1000] x number of simultaneous visitors [let's use a small number and say 200]).

    Note: In my example above, that's 200,000,000 (2 Hundred Million) numbers generated for 200 people. That's a lot of work.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  3. #33
    Join Date
    Jul 2008
    Posts
    22

    Default Re: Using Agriya Player with vShare

    now with the some url replaced with
    Code:
    echo "<VIDEO Name=\"$video_info[title]($duration_hms)\"   Rating=\"$video_info[rate]\" Comments=\"$video_info[com_num]\" Views=\"$video_info[viewnumber]\"  Thumbnails=\"$thumb\" url=\"$flv_url\" target=\"_self\"/>";
    when the thumb is clicked it ask's to download file or open it??

  4. #34
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Using Agriya Player with vShare

    Dang it. My bad. The code is putting in the link to FLV. However, it appears as though the playlist in Agriya is not linking to the FLV back into the player. Rather, it's loading the site. Hang on a bit. I'll change the code and repost it.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  5. #35
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Using Agriya Player with vShare

    Ok, give it a try now. I just changed the code again.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  6. #36
    Join Date
    Jul 2008
    Posts
    22

    Default Re: Using Agriya Player with vShare

    when the thumbs clicked does a replay of the video just watched not whats on the thumb

  7. #37
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Using Agriya Player with vShare

    Hmm... Seems as though some of the code is being reused. Didn't notice that before. Just changed the PHP again for playlist_xml.php. Try it now.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  8. #38
    Join Date
    Jul 2008
    Posts
    22

    Default Re: Using Agriya Player with vShare

    that got her going very nice seems to do what it was meant to thank you

  9. #39
    Join Date
    Jul 2008
    Posts
    22

    Default Re: Using Agriya Player with vShare

    your work is appreciated maybe you can put the 2 together and get it sticked

  10. #40
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Using Agriya Player with vShare

    You're welcome
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

Page 4 of 10 FirstFirst ... 23456 ... LastLast

Similar Threads

  1. Using Agriya HD Player in vShare
    By ataimoor in forum Template Modifications
    Replies: 1
    Last Post: 12-31-2008, 03:42 PM
  2. Using the Agriya Player
    By davidmsfv in forum Installation Support
    Replies: 4
    Last Post: 08-08-2008, 12:10 AM
  3. Agriya Player HELP
    By davidmsfv in forum Template Modifications
    Replies: 0
    Last Post: 05-09-2008, 07:50 AM
  4. Agriya FLV Player
    By galnet in forum Template Modifications
    Replies: 25
    Last Post: 08-19-2007, 01:48 AM

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
  •