I want to thank you for your help and as i stated in the last message, these are for VOD...
I can make a playlist file and it works if i hard code it as i have explained.
and when i create the .php file, when you download it you will see its is structured exactly the same as my .m3u8 file
here is the php file when you hit view page source or download it.
and here is the link to see for yourself :
http://iptvmyway.com/roku/HLS/playlists/playlist.php#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:1
#EXTINF:10,
http://iptvmyway.com/roku/HLS/streaming/trailer1.ts
#EXTINF:10,
http://iptvmyway.com/roku/HLS/streaming/trailer2.ts
#EXTINF:10,
http://iptvmyway.com/roku/HLS/streaming/trailer3.ts
#EXTINF:10,
http://iptvmyway.com/roku/HLS/streaming/trailer4.ts
#EXTINF:10,
http://iptvmyway.com/roku/HLS/streaming/trailer5.ts
#EXTINF:10,
http://iptvmyway.com/roku/HLS/streaming/trailer6.ts
#EXTINF:10,
http://iptvmyway.com/roku/HLS/streaming/trailer7.ts
#EXTINF:10,
http://iptvmyway.com/roku/HLS/streaming/trailer8.ts
#EXTINF:10,
http://iptvmyway.com/roku/HLS/streaming/trailer9.ts
#EXTINF:10,
http://iptvmyway.com/roku/HLS/streaming/trailer10.ts
#EXTINF:10,
http://iptvmyway.com/roku/HLS/streaming/trailer11.ts
#EXTINF:10,
http://iptvmyway.com/roku/HLS/streaming/trailer12.ts
#EXTINF:10,
http://iptvmyway.com/roku/HLS/streaming/trailer13.ts
#EXT-X-ENDLIST
again this is how it looks when you view page source... or if you download to your desktop....
and here is the php i have to make it, just in case you want to see...
<?php
//header("Content-Type: application/vnd.apple.mpegurl");
//header("Cache-Control: no-cache");
//header("Pragma: no-cache");
$directory = "../streaming/";
$filecount = count(glob("" . $directory . "*.ts"));
$duration= $filecount * 10;
?>
#EXTM3U<?php echo "\r\n"?>
#EXT-X-TARGETDURATION:10<?php echo "\r\n"?>
#EXT-X-MEDIA-SEQUENCE:1<?php echo "\r\n"?>
<?php
$i=1;
while($i<=$filecount) {
$sequence = $i;
$vid= "trailer";
$video = "$vid$sequence.ts";
?>
#EXTINF:10,<?php echo "\r\n"?>
http://iptvmyway.com/roku/HLS/streaming/<?php echo $video;?><?php echo "\r\n"?>
<?php
$i++;
} // closes while loop
?>
#EXT-X-ENDLIST
i took the header out so you can view the page...
Twitter: iptvmyway facebook: iptvmyay
Channels: Warriors of War, Go Fight Live, Heading Outdoorz, IPTVmyway