TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

Popup Flash Jukebox

Started by akulion, April 30, 2006, 06:36:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mythbuster

is there any way to get the old pop up mp3 player to not be in a window but just show the player itself and not the whole window?

akulion

not to my knowledge

there is a chromless windows script on dynamicdrive.com but it only works for internet explorer

so avoiding the window completely is something thats beyond my knowledge personally

mythbuster

ur saying it would work for ie?

akulion

http://dynamicdrive.com/dynamicindex8/chromeless.htm
this is the script
it only works in IE
in other browsers it shows a normal window

mythbuster

ehh its no good for any win32 past serv. pack 1

Jordan

i wanna get this, but for midis' im looking for a midi player

Reality12

this took a while to properly set up, but i'm glad i did take that time to do so!

it works perfect! thank you!

mythbuster

Can anyone help me figure out how to auto generate a playlist from a folder? I need to make the playlist generate automatically based on the entire contents ( mp3's ) of specific folders . Something like a variation of this code below ( which wont work ).. I am wanting to make playlists for 3,000 + songs and doing them 1 by 1 is just NOT an option.

<?php

/*
* This is a sample file that reads through a directory, filters the mp3/jpg/flv
* files and builds a playlist from it. After looking through this file, you'll
* probably 'get the idea' and'll be able to setup your own directory.
*
*/

// set this to a creator name
$creator "Myself";

// search for mp3 files. set this to '.flv' or '.jpg' for the other scripts
$filter ".mp3";

// path to the directory you want to scan
// "./" = current directory
$directory "./";

// URL to files
$url "http://www.somesite.com";

/////////////////////////// no user configuration variables below this \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

// read through the directory and filter files to an array
@$d dir($directory);
if (
$d)
{
  while(
$entry $d->read())
  {
    
$ps strpos(strtolower($entry), $filter);
    if (!(
$ps === false))
    {
      
$items[$entry]['mtime'] = filemtime($entry);
    }
  }
  
$d->close();
  
arsort($items);
}


// the playlist is built in an xspf format
// first, we'll add an xml header and the opening tags...
header("content-type:text/xml;charset=utf-8");

echo 
"<?xml version='1.0' encoding='utf-8'?>
\n";
echo "<playlist version='1' xmlns='http://xspf.org/ns/0/'>\n";
echo "  <title>Sample PHP Generated Playlist</title>\n";
echo "  <info>" . $url . "</info>\n";
echo "  <trackList>\n";

// ...then we loop through the array...
foreach($items as $key => $value)
{
  $title = substr($key, 0, strlen($key) - 4);
  echo "    <track>\n";
  echo "      <creator>"  . $creator          . "</creator>\n";
  echo "      <title>"    . $title            . "</title>\n";
  echo "      <location>" . $url . '/' . $key . "</location>\n";
  echo "      <info>"     . $url              . "</info>\n";
  echo "    </track>\n";
}

// ...and last we add the closing tags
echo "  </trackList>\n";
echo "</playlist>\n";

/*
* That's it! You can feed this playlist to the SWF by setting this as it's 'file'
* parameter in your HTML page.
*/

?>


Can anyone help me get this to work please?



IchBin

what does your post have to do with this topic? Please read and folow the posting guidelines.

mythbuster

what are you talking about? im wanting to add this feature to THIS PLAYER ( from the OP ). what guidelines are you talking about?

This website is proudly hosted on Crocweb Cloud Website Hosting.