Results 1 to 8 of 8

Thread: Loading a Playlist...

  1. #1
    Join Date
    Jun 2007
    Location
    Montgomery AL
    Posts
    14

    Default Loading a Playlist...

    Hi Everyone,
    Does anyone know why I may be having problems with the following in my player.inc file? So you know, I upgraded to version 3.99 of the player, and created an RSS playlist generator in PHP. Below is what I have in the javascript invocation code:

    <script type="text/javascript">
    var so = new SWFObject("{$config["baseurl"]}/player/player.swf","vshare_player","$player_wdith","$play er_height","8");
    so.addParam("allowfullscreen","true");
    so.addVariable("file","{$config["baseurl"]}/player/rssplaygen.php?flvurl={$config["baseurl"]}/flvideo/$vid.flv");
    so.addVariable("image","{$config["baseurl"]}/thumb/$vid.jpg");
    so.addVariable("logo","{$config["baseurl"]}/templates/images/watermark.gif");
    so.addVariable("link","{$config["watermark_url"]}");
    so.addVariable("linktarget","_blank");
    so.addVariable("width","$player_wdith");
    so.addVariable("height","$player_height");
    so.addVariable("displayheight","$displayheight");
    so.addVariable("bufferlength", "5");
    so.addVariable("overstretch", "true");
    so.addVariable("autostart", "false");
    so.write('vshare_player');
    </script>

    You can see the results of the RSS feed generator here:
    http://www.beaverwatchers.com/player/rs ... ideo/1.flv

    If for some reason the above tries to download, just open the file, it's an rss/xml file

    I also have added a Rewrite Rule so that the php file can be called via an xml file like this:
    http://www.beaverwatchers.com/player/rs ... ideo/1.flv

    For some reason the video never plays...Any ideas?

    Dapanther99

  2. #2
    Join Date
    Jun 2007
    Posts
    197

    Default

    Hi

    Usally when the PHP files wants to download it's because the permission on the script are incorrect.

    Have you tried to CHMOD the php file to 644 or 744
    Try this and report back.

    Cheers,
    Mat.
    ------------------------------------
    Make an arse of yourself:
    http://www.youtwatonline.com
    ------------------------------------

  3. #3
    Join Date
    Jun 2007
    Location
    Montgomery AL
    Posts
    14

    Default

    Mat,
    I am not at home so I can't access the server right now, but if I am right the script is set to 777. I did this as a default to test and was going to lock it down once I had it working. Like I said, I could be wrong though and will check it when I get home. If I can get this working, I'll share the RSS generator out to the community with instructions so they can add commercials to their videos. I know this is a hot wanted item right now and figured I would try and help the admin :)

    Dapanther99

  4. #4
    Join Date
    Jun 2007
    Posts
    197

    Default

    Hi,

    Yer sure is a wanted item, that's why I installed Agriya FLV Player onto my site.

    I've managed to get adverts running, mind you it is simply an image of the sites name at the moment but hey at least it's running.

    I've also managed today to get the playlist up and running as well, mine uses php translated into an xml file, pulling information from the MySQL database.

    I would highly recommend Agriya FLV Player to everyone, but I know it's not free :cry: .
    ------------------------------------
    Make an arse of yourself:
    http://www.youtwatonline.com
    ------------------------------------

  5. #5
    Join Date
    Jun 2007
    Location
    Montgomery AL
    Posts
    14

    Default

    Mat,
    Well if I can't get this to work in the next day or two I may end up looking at changing out the player. I would hate to do that though because free is good :) (Especially to the wife who is running the budget on this site LOL)....

    Dapanther99

  6. #6
    Join Date
    Jun 2007
    Location
    Montgomery AL
    Posts
    14

    Default

    Mat,
    I just set the settings to 644, I tried 777, 744 and the results were the same. If you go to the url directly and not through the forum it works as it should. It may have something to do with the forum more is what I am thinking. I will be working on this more tomorrow night and let you know what I find. Thanks.

    Dapanther99

  7. #7
    Join Date
    Jun 2007
    Posts
    197

    Default

    I've sent you a PM.

    Hopefully the information within it will help you.
    If not let me know.

    Cheers,
    Mat.
    ------------------------------------
    Make an arse of yourself:
    http://www.youtwatonline.com
    ------------------------------------

  8. #8
    Join Date
    Jun 2007
    Location
    Montgomery AL
    Posts
    14

    Default

    Mat,
    I think I figured out some of the issue. I was making the XML file the old way in PHP4.X. I have 5.X on the server and apparently things have changed :) I should have the PHP file done sometime over the weekend. Sorry about the delay, I've been having to take of some other projects the last week or so...

    Dapanther99

Similar Threads

  1. Free Playlist Player!!
    By l1some in forum Template Modifications
    Replies: 0
    Last Post: 11-06-2008, 11:15 AM
  2. Video Playlist
    By l1some in forum Template Modifications
    Replies: 2
    Last Post: 11-04-2008, 03:13 PM
  3. strange playlist
    By imperator in forum General Discussions
    Replies: 0
    Last Post: 07-26-2008, 03:56 PM
  4. Upload YouTube Playlist
    By sunshine in forum Feature Requests
    Replies: 0
    Last Post: 02-08-2008, 08:04 PM
  5. Amount of videos in profile playlist wrong
    By leki in forum Fixed Bugs
    Replies: 1
    Last Post: 08-30-2007, 08:44 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
  •