# How to display video from SQL database

**URL:** <https://forum.servoy.com/t/how-to-display-video-from-sql-database/20232>\
**Category:** Questions\
**Created:** [May 5, 2020, 4:21pm UTC](https://forum.servoy.com/t/how-to-display-video-from-sql-database/20232 "2020-05-05T16:21:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pbdavis](https://avatars.discourse-cdn.com/v4/letter/p/958977/32.png) [@pbdavis](https://forum.servoy.com/u/pbdavis)\
**Post date:** [May 5, 2020, 4:21pm UTC](https://forum.servoy.com/t/how-to-display-video-from-sql-database/20232/1 "2020-05-05T16:21:47Z")

</div>

I have video displaying from a file but want to display directly from the database. Anyone known if this can be done?  
My code that works using HTML\_AREA is

```auto
var htmlVideo = '<video width=640" height="640" controls> <source src="movie.mov" type="video/mp4">Your browser does not support the video tag.</video>';

```

where htmlVideo is used as the dataProvider.  
I was hoping to do something like

```auto
var htmlVideo = '<video width=640" height="640" controls> <source src=%%video%% type="video/mp4">Your browser does not support the video tag.</video>';

```

where “video” is my column that holds the video that was previously uploaded. But, this does not work.  
Thanks,

---

<div class="post-metadata">

**Author:** ![Joas](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/joas/32/5095_2.png) [@Joas](https://forum.servoy.com/u/Joas)\
**Post date:** [May 6, 2020, 11:05am UTC](https://forum.servoy.com/t/how-to-display-video-from-sql-database/20232/2 "2020-05-06T11:05:59Z")

</div>

I haven’t tried this with video’s, but I think you can use [the blobloader](https://wiki.servoy.com/display/DOCS/servoy_blobloader).

---

<div class="post-metadata">

**Author:** ![pbdavis](https://avatars.discourse-cdn.com/v4/letter/p/958977/32.png) [@pbdavis](https://forum.servoy.com/u/pbdavis)\
**Post date:** [May 6, 2020, 8:46pm UTC](https://forum.servoy.com/t/how-to-display-video-from-sql-database/20232/3 "2020-05-06T20:46:51Z")

</div>

Looks like this might work. I’ll give it a try.  
Thanks Joas.
