Results 1 to 2 of 2

Thread: What is the problem?

  1. #1
    Join Date
    Apr 2010
    Posts
    26

    Default What is the problem?

    Hi! I added the index.php :

    # new player videos


    $sql = "SELECT * FROM `videos` WHERE
    `video_active`='1' AND
    `video_approve`='1' AND
    `video_type`='public'
    $sql_extra
    ORDER BY `video_id` DESC";
    $result = mysql_query($sql) or mysql_die($sql);

    $new_player_video = mysql_fetch_assoc($result);

    $new_player_video['video_thumb_url'] = $servers[$new_player_video['video_thumb_server_id']];
    $smarty->assign('new_player_video', $new_player_video);

    and the index.tpl :


    {if $new_player_video.video_id ne ""}

    <object width="325" height="250" type="application/x-shockwave-flash" data="{$base_url}/player/player.swf"><param name="movie" value="{$base_url}/player/player.swf"><param name="flashvars" value="&file={$base_url}/xml_playlist.php?id={$new_player_video.video_id}&h eight=350&image={$new_player_video.video_thumb_url }/{$new_player_video.video_folder}{$new_player_video .video_id}.jpg&width=425&location={$base_url}/player/player.swf&logo={$base_url}/templates/images/watermark.gif&link={$base_url}&linktarget=_blank"/></object>

    {/if}

    but it now works. the player wrote:

    Playlist could not be loaded: Error #1090

    Pls help! Thanks!

  2. #2
    Join Date
    Apr 2010
    Posts
    26

    Default

    problem was in xml_playlist.php, I solved the problem.

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
  •