Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    May 2006
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I need a bit of a help here guyz.. windows media player

    okay.. here is the problem..

    is there anyone who can help me with windows media player..

    okay the problem > is there any way i can display information of a file playing in windows media player on html page..

    hope this help..

    my site >> here is a page with with embed windows media player

    http://desiflames.com/modules.php?op...Aaroh+-+Sawaal

    i was wondering if i can display title of a song in the popup.php

    something like this.

    Title Timer Artist
    song thats playing now how long is the file well artist..

    if any question.. well, just post em here.
    i have nothing to hide..

    thanks

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Well you are already using php so that takes care of the first step. You also pass a query to the url of popup.php that has the song title in it. So now we need to parse the query and clean it up a bit. Luckily its only 3 lines.
    PHP Code:
    <?php
    $title 
    basename($_SERVER['QUERY_STRING'],'.wma');
    $title urldecode($title);
    echo 
    $title;
    ?>
    Put that on popup.php where you want the song title to display. It will work with any query string so need to change it each time. I now see that you need more info. Search for php mp3 classes. There is this one here http://www.sourcerally.net/Scripts/20-PHP-MP3-Class but it says it only works with php5. Would need to be modified for php4.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New Coder
    Join Date
    May 2006
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    k, thanks. i'll look into it.

  • #4
    New Coder
    Join Date
    May 2006
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    for some reason i cant seem to display the artist.

    also, if there is any way to display other songs by the same artist or album??
    Last edited by aqeelamir; 07-20-2007 at 12:46 AM. Reason: needed to add something..

  • #5
    New to the CF scene
    Join Date
    Jul 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by aqeelamir View Post
    okay.. here is the problem..

    is there anyone who can help me with windows media player..

    okay the problem > is there any way i can display information of a file playing in windows media player on html page..

    hope this help..

    my site >> here is a page with with embed windows media player

    http://desiflames.com/modules.php?op...Aaroh+-+Sawaal

    i was wondering if i can display title of a song in the popup.php

    something like this.

    Title Timer Artist
    song thats playing now how long is the file well artist..

    if any question.. well, just post em here.
    i have nothing to hide..

    thanks






    hi,i love your site,can you put the code u using for embed windows media player to get the popup.php
    thank


  •  

    Posting Permissions

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