I have created a web page that will list cover images all of my DVD’s that I have on an external hard drive and each cover images is linked to the first VTS_01_1.VOB file for that DVD.
I am testing the page to see how it works for each device I have. The page works flawlessly with my Samsung tablet, the player I have installed on the tablet will automatically go from VTS_01_1.VOB to VTS_01_2.VOB and so on until movie is done.
If I use my Windows 7 pc and IE (chrome will not work), WMP will open the VTS_01_1.VOB and stop at the end of that file, how can I get WMP to continue to the next file automatically? I have no idea, please help.
[php]<?
//Path to folder which contains images
$dirname = “…/MOVIES/*/”;
//Path to folder which contains vob files
$dirname2 = “…/MOVIES/*/VIDEO_TS/”;
//Use glob function to get the files
//Note that we have used " * " inside this function. If you want to get only JPEG or PNG use
//below line and commnent $images variable currently in use
$images = glob($dirname."*.jpg");
$vobs = glob($dirname2.“VTS_01_1.VOB”);
//Display image and get the vob file using foreach loop
foreach( $images as $index => $image ) {
//print the image to browser with anchor tag (Use if you want really )
echo ’ ';
}
?>[/php]