# Sample video is not working w/ HTML5 video tag on window's chrome browser

**URL:** <https://community.wowza.com/t/sample-video-is-not-working-w-html5-video-tag-on-windows-chrome-browser/95024>\
**Category:** Wowza Streaming Engine\
**Tags:** media-players-and-devices\
**Created:** [June 3, 2022, 8:15pm UTC](https://community.wowza.com/t/sample-video-is-not-working-w-html5-video-tag-on-windows-chrome-browser/95024 "2022-06-03T20:15:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Hwang](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@Daniel\_Hwang](https://community.wowza.com/u/Daniel_Hwang)\
**Post date:** [June 3, 2022, 8:15pm UTC](https://community.wowza.com/t/sample-video-is-not-working-w-html5-video-tag-on-windows-chrome-browser/95024/1 "2022-06-03T20:15:57Z")

</div>

I trying to play wowza sample video using html5 video tag.

This document, [https://www.wowza.com/docs/how-to-play-video-using-the-html5-video-tag](https://www.wowza.com/docs/how-to-play-video-using-the-html5-video-tag), is so simple, and I followed, but it doesn’t work.

I tried another approach following [https://www.w3schools.com/html/html5\_video.asp](https://www.w3schools.com/html/html5_video.asp), but it doesn’t work.

In mobile devices (tested in android), everything is good.

I am really wondering if it works on desktop browsers.

Any help would be greatly appreciated.

[FYI]

```auto
<!doctype html>
<html>
    <head>
        <title>HTML5 Live Streaming Test</title>
    </head>
    <body>
<!-- <video width="320" height="240" controls> -->
<!-- <source src="http://[my_server_instance_ip]:1935/test/mp4:sample.mp4/playlist.m3u8" type="video/mp4"> -->
<!-- Your browser does not support the video tag. -->
<!-- </video> -->
        <video width="640" height="400" controls="controls" src="http://[my_server_instance_ip]:1935/test/mp4:sample.mp4/playlist.m3u8"></video>
    </body>
</html>

```

---

<div class="post-metadata">

**Author:** ![Connessione](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Connessione](https://community.wowza.com/u/Connessione)\
**Post date:** [June 4, 2022, 8:20am UTC](https://community.wowza.com/t/sample-video-is-not-working-w-html5-video-tag-on-windows-chrome-browser/95024/2 "2022-06-04T08:20:07Z")

</div>

Although not 100% sure but from my last experience HLS does not work with chrome on desktop. Also see [this](https://www.lambdatest.com/HTTP-Live-Streaming(HLS)).

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [June 7, 2022, 11:22pm UTC](https://community.wowza.com/t/sample-video-is-not-working-w-html5-video-tag-on-windows-chrome-browser/95024/3 "2022-06-07T23:22:16Z")

</div>

You have to play HLS in an Apple browser that has native support for it like Safari as Connessione said. Or in a third party player like VLC.

---

<div class="post-metadata">

**Author:** ![Alhusainey\_Jallow](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@Alhusainey\_Jallow](https://community.wowza.com/u/Alhusainey_Jallow)\
**Post date:** [June 9, 2022, 9:02am UTC](https://community.wowza.com/t/sample-video-is-not-working-w-html5-video-tag-on-windows-chrome-browser/95024/4 "2022-06-09T09:02:18Z")

</div>

Hi,

Try with video.js and videojs-contrib-hls.

Exemple:

```
<link href="https://unpkg.com/video.js@7.20.0/dist/video-js.css" rel="stylesheet">
<script src="https://unpkg.com/video.js@7.20.0/dist/video.js"></script>
<script src="https://unpkg.com/videojs-contrib-hls@5.15.0/es5/videojs-contrib-hls.js"></script>

<video class="video-js vjs-default-skin" controls preload="auto" data-setup='{}' style="width: 100%">
          <source src="your_src" type="application/x-mpegURL">
</video>
```

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [June 10, 2022, 4:48pm UTC](https://community.wowza.com/t/sample-video-is-not-working-w-html5-video-tag-on-windows-chrome-browser/95024/5 "2022-06-10T16:48:36Z")

</div>

Thanks for sharing this @Alhusainey_Jallow
