\ \ "; // This basically depends on the video tag to support the video and is dumb. }else if(strstr($mime, "image/")){ return ""; }else if(strstr($mime, "audio/")){ return ""; } } else { return ""; } } else { return ""; } } function ShuffleMusic() { // Build array of all music in the user's Music directory $files = scandir("/home/user/Music/"); $music = array(); $temp = ""; // Find all files that have .mp3, .wav, or .ogg (not case sensitive) and put them into the $music array for ($i = 0; $i < count($files); $i++) { if (count($temp) >= 5) { $temp = substr($files[$i], count($files[$i]-4)); } else { $temp = "StringTooSmallSkipping"; } if($temp == ".mp3" || $temp == ".wav" || $temp == ".ogg") { $music[] = $files[$i]; } } } /*if($_REQUEST["action"] == "shuffle") { ShufleMusic(); }*/ ?>

Input the path to the media file you would like to open. You can use the File Manager to find the path.

About DremJS Cinema

Version: 0.1.0b

Open: Opens a media file.
Toggle Light: Toggles the background to be white or black (easier on the eyes)