title: Hls videos (.m3u8 format) videos are not playing when they are placed in assets storage in offline mode in flutter,
body: <p><strong>Hls videos (.m3u8 format) videos are not playing when they are placed in assets storage in offline mode in flutter,whereas .mp4 files works fine,how can i download hls videos and play offline by storing on local file storage?</strong></p>
  <pre><code>class MyHomePage extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return Scaffold(
        appBar: AppBar(
          title: Text('Video Player'),
        ),
        body: ListView(
          children: [
            //m3u8 link
  
            ChewieDemo(
              looping: true,
              videoPlayerController: VideoPlayerController.asset(
                  'videos/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8'
                 
                  ),
            ),
            //mp4link
  
            ChewieDemo(
              looping: true,
              videoPlayerController: VideoPlayerController.network(
                'https://assets.mixkit.co/videos/preview/mixkit-forest-stream-in-the-sunlight-529-large.mp4',
              ),
            )
          ],
        ),
      );
    }
  }
  
  </code></pre>
  <p>.m3u8 file only contains text</p>
  <pre><code>#EXTM3U
  #EXT-X-VERSION:5
  
  #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=&quot;audio&quot;,NAME=&quot;English stereo&quot;,LANGUAGE=&quot;en&quot;,AUTOSELECT=YES,URI=&quot;f08e80da-bf1d-4e3d-8899-f0f6155f6efa_audio_1_stereo_128000.m3u8&quot;
  
  #EXT-X-STREAM-INF:BANDWIDTH=628000,CODECS=&quot;avc1.42c00d,mp4a.40.2&quot;,RESOLUTION=320x180,AUDIO=&quot;audio&quot;
  f08e80da-bf1d-4e3d-8899-f0f6155f6efa_video_180_250000.m3u8
  
  #EXT-X-STREAM-INF:BANDWIDTH=928000,CODECS=&quot;avc1.42c00d,mp4a.40.2&quot;,RESOLUTION=480x270,AUDIO=&quot;audio&quot;
  f08e80da-bf1d-4e3d-8899-f0f6155f6efa_video_270_400000.m3u8
  
  #EXT-X-STREAM-INF:BANDWIDTH=1728000,CODECS=&quot;avc1.42c00d,mp4a.40.2&quot;,RESOLUTION=640x360,AUDIO=&quot;audio&quot;
  f08e80da-bf1d-4e3d-8899-f0f6155f6efa_video_360_800000.m3u8
  
  #EXT-X-STREAM-INF:BANDWIDTH=2528000,CODECS=&quot;avc1.42c00d,mp4a.40.2&quot;,RESOLUTION=960x540,AUDIO=&quot;audio&quot;
  f08e80da-bf1d-4e3d-8899-f0f6155f6efa_video_540_1200000.m3u8
  
  #EXT-X-STREAM-INF:BANDWIDTH=4928000,CODECS=&quot;avc1.42c00d,mp4a.40.2&quot;,RESOLUTION=1280x720,AUDIO=&quot;audio&quot;
  f08e80da-bf1d-4e3d-8899-f0f6155f6efa_video_720_2400000.m3u8
  
  #EXT-X-STREAM-INF:BANDWIDTH=9728000,CODECS=&quot;avc1.42c00d,mp4a.40.2&quot;,RESOLUTION=1920x1080,AUDIO=&quot;audio&quot;
  f08e80da-bf1d-4e3d-8899-f0f6155f6efa_video_1080_4800000.m3u8
  </code></pre>