# Playing a video using WebDev

**URL:** <https://forum.inductiveautomation.com/t/playing-a-video-using-webdev/96622>\
**Category:** Ignition\
**Tags:** webdev\
**Created:** [September 30, 2024, 5:52pm UTC](https://forum.inductiveautomation.com/t/playing-a-video-using-webdev/96622 "2024-09-30T17:52:11Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![Alex\_Mulder](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@Alex\_Mulder](https://forum.inductiveautomation.com/u/Alex_Mulder)\
**Post date:** [November 7, 2024, 9:14pm UTC](https://forum.inductiveautomation.com/t/playing-a-video-using-webdev/96622/17 "2024-11-07T21:14:34Z")

</div>

I'm unable to open the plasylist neither the stream.m3u8 or master.m3u8 I tired both creating the playlist using .ts and .mp4 segment.  
I was playing around with ffmpeg and I used this cmd

```python
ffmpeg -y -i video.mp4 -c:v copy -c:a copy -f hls -hls_time 4 -hls_playlist_type vod -hls_flags independent_segments -hls_segment_type mpegts -hls_segment_filename hls_seg_%02d.ts -master_pl_name masterts.m3u8 streamts_%v.m3u8

```

do you have suggestion on how to improve the segmentation process and also the playlist editing? Since I think the problem might be in here

I also made a new post the other day with more detailed description of what I've done so far [Using playlist in webdev module to play long video](https://forum.inductiveautomation.com/t/using-playlist-in-webdev-module-to-play-long-video/98256)

---

_[View the full topic](https://forum.inductiveautomation.com/t/playing-a-video-using-webdev/96622)._
