I want to play an .ts format file in my application.I have a url of an .m3u8 extension file's url <http://devimages.apple.com/iphone/samples/bipbop/gear1/prog_index.m3u8>.

When I play video from url it plays fine.
Here is the code for playing video from url...

```
    try
    {
        String path = "http://devimages.apple.com/iphone/samples/bipbop/gear1/prog_index.m3u8";

        Uri uri = Uri.parse(path);
        videoView.setVideoURI(uri);
        videoView.start();
    } catch (Exception e)
    {
        // TODO: handle exception
        e.printStackTrace();
    }

```

I have checked that prog\_index.m3u8 file has list of .ts files & this file runs perfectly when run through a url.
But what I want is to read the .m3u8 file myself & from there I can extract .ts files & play those .ts files.

Is it possible to do?

if reading of .m3u8 file is not possible can I play an .ts file.If I stored it locally in my raw folder or read from stream.