Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Flash mp3 player for web and image query

  • 15-11-2006 4:57pm
    #1
    Closed Accounts Posts: 8,866 ✭✭✭


    Hey guys,

    I'm looking for something open source or just free, that will allow me to upload a few mp3's to a folder and they can be played from there on the site. the player only needs to be really minimal, i.e. play, stop, pause, next and I would only want it to be small size wise as well. I've tried a couple that were based on this new xspf malark, they dont work at all really. One I tried worked locally on FF but in IE it played a playlist of songs that dont exist on my machine... and when made live it wont play at all in FF and plays some obscure playlist again in IE.

    Anyone know of something small and simple?

    Also, are there any known issues in IE7 regarding embedding images? I'm just using a php page to serve the images up randomly, so the img tag is
    <img src="images/images.php">
    
    and images.php does this:

    [php]
    <?php

    Header("Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0");

    Header("Expires: Thu, 19 Nov 1981 08:52:00 GMT");

    Header("Pragma: no-cache");

    Header("Content-Type: image/jpg");



    $dir = "img_rand"; // This is the folder where the images are



    srand((double)microtime()*1000000);

    $i = 0;

    $dirHandle = opendir($dir); // Open the images folder

    while(($im = readdir($dirHandle)))

    {

    if($im != ".." && $im != ".") // Don't read in the 2 folders ".." and "."

    {

    $image[$i] = $im; // Select an image

    $i++;

    }

    }

    closedir($dirHandle); // Close the folder

    $n = rand(0,(count($image)-1));



    if(!readfile($dir."/".$image[$n])) // Read the image

    readfile($dir."error/error.gif"); // If the script can't find the directory, display this image

    ?>
    [/php]

    The images are all roughly 120x120 px and display fine in FF but are only roughly 30x30 px in IE7??

    Adam


Comments

  • Registered Users, Registered Users 2 Posts: 5,517 ✭✭✭axer


    Mirror wrote:
    Hey guys,

    I'm looking for something open source or just free, that will allow me to upload a few mp3's to a folder and they can be played from there on the site. the player only needs to be really minimal, i.e. play, stop, pause, next and I would only want it to be small size wise as well. I've tried a couple that were based on this new xspf malark, they dont work at all really. One I tried worked locally on FF but in IE it played a playlist of songs that dont exist on my machine... and when made live it wont play at all in FF and plays some obscure playlist again in IE.

    Anyone know of something small and simple?
    I've used XSPF Web Music Player which worked fine for me. You do need to create xspf playlists for it in order to tell it what to play.


  • Closed Accounts Posts: 8,866 ✭✭✭Adam


    Yep, that's the one I tried. It works locally in FF as I said, and not at all in FF when its live. And in both cases in IE it just plays seemingly random songs...


Advertisement