# Video in simulator

**URL:** <https://forums.solar2d.com/t/video-in-simulator/149963>\
**Category:** Win32 Desktop\
**Created:** [September 15, 2019, 2:35pm UTC](https://forums.solar2d.com/t/video-in-simulator/149963 "2019-09-15T14:35:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![waltsir](https://forums.solar2d.com/user_avatar/forums.solar2d.com/waltsir/32/4268_2.png) [@waltsir](https://forums.solar2d.com/u/waltsir)\
**Post date:** [September 15, 2019, 2:35pm UTC](https://forums.solar2d.com/t/video-in-simulator/149963/1 "2019-09-15T14:35:40Z")

</div>

Hello,

Our project game on Windows needs to launch a video before each level. When this lack will be solved?

---

<div class="post-metadata">

**Author:** ![XeduR](https://forums.solar2d.com/user_avatar/forums.solar2d.com/xedur/32/256_2.png) [@XeduR](https://forums.solar2d.com/u/XeduR)\
**Post date:** [September 15, 2019, 6:59pm UTC](https://forums.solar2d.com/t/video-in-simulator/149963/2 "2019-09-15T18:59:28Z")

</div>

I don’t expect video support to be added for Windows anytime soon.

There’s a workaround using HTML5 to play the videos. See Roaming Gamer’s sample project on Github:  
[https://github.com/roaminggamer/RG\_FreeStuff/tree/master/AskEd/2019/06/videoTest](https://github.com/roaminggamer/RG_FreeStuff/tree/master/AskEd/2019/06/videoTest)

---

<div class="post-metadata">

**Author:** ![waltsir](https://forums.solar2d.com/user_avatar/forums.solar2d.com/waltsir/32/4268_2.png) [@waltsir](https://forums.solar2d.com/u/waltsir)\
**Post date:** [September 15, 2019, 7:47pm UTC](https://forums.solar2d.com/t/video-in-simulator/149963/3 "2019-09-15T19:47:38Z")

</div>

Thanks for the workaround, I will take a look. But, if the video doesn’t play in the simulator, is it normal it doesn’t start when exported for Windows too?

---

<div class="post-metadata">

**Author:** ![XeduR](https://forums.solar2d.com/user_avatar/forums.solar2d.com/xedur/32/256_2.png) [@XeduR](https://forums.solar2d.com/u/XeduR)\
**Post date:** [September 15, 2019, 7:58pm UTC](https://forums.solar2d.com/t/video-in-simulator/149963/4 "2019-09-15T19:58:12Z")

</div>

Both&nbsp;media.playVideo() and&nbsp;native.newVideo() do work on the simulator, but just not on Windows. That HTML5 workaround works on Windows too, both on simulator or as win32 build. If the HTML5 video doesn’t work on your simulator, then you’ve done something wrong.

---

<div class="post-metadata">

**Author:** ![waltsir](https://forums.solar2d.com/user_avatar/forums.solar2d.com/waltsir/32/4268_2.png) [@waltsir](https://forums.solar2d.com/u/waltsir)\
**Post date:** [September 17, 2019, 7:09am UTC](https://forums.solar2d.com/t/video-in-simulator/149963/5 "2019-09-17T07:09:13Z")

</div>

That’s strange because, when I start the example in the simulator get this “WARNING: Native video objects are not supported in the simulator. Please build for device.”
