# Videos in Blink + WebIO?

**URL:** <https://discourse.julialang.org/t/videos-in-blink-webio/13372>\
**Category:** Web Stack\
**Created:** [August 13, 2018, 1:10pm UTC](https://discourse.julialang.org/t/videos-in-blink-webio/13372 "2018-08-13T13:10:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hhaensel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hhaensel/32/1207_2.png) [@hhaensel](https://discourse.julialang.org/u/hhaensel)\
**Post date:** [August 13, 2018, 1:10pm UTC](https://discourse.julialang.org/t/videos-in-blink-webio/13372/1 "2018-08-13T13:10:08Z")

</div>

I successfully learned how to display plots and text in Blink + WebIO 🙂  
Now I would like to include image and video files on the page, however, I don’t know how to share the files via WebIO.  
I would like to include some html like

\<video src=‘test.mp4’ /\>

but I don’t know, where to store the files that they are found and served by WebIO?

Can anybody help me with that? Many thanks in advance!

---

<div class="post-metadata">

**Author:** ![hhaensel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hhaensel/32/1207_2.png) [@hhaensel](https://discourse.julialang.org/u/hhaensel)\
**Post date:** [August 14, 2018, 7:04am UTC](https://discourse.julialang.org/t/videos-in-blink-webio/13372/2 "2018-08-14T07:04:19Z")

</div>

I found the solution myself 🙂

For anyone else who might be interested:

- create a new folder “MyPackage” in the package folder (mostly".julia/packages/MyPackage")
- create a subfolder assets
- place the files there (e.g. .julia/packages/test.jpg)
- embed the file with  
body!(w,HTML(“My test image is here: \<img src=‘pkg/MyPackage/test.jpg’ /\>”)

---

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [August 14, 2018, 12:58pm UTC](https://discourse.julialang.org/t/videos-in-blink-webio/13372/3 "2018-08-14T12:58:29Z")

</div>

`/pkg` URLs work for now, but they are deprecated and will be removed soon. You can use [GitHub - JuliaGizmos/AssetRegistry.jl](https://github.com/JuliaGizmos/AssetRegistry.jl) for a more future-proof solution.

---

<div class="post-metadata">

**Author:** ![hhaensel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hhaensel/32/1207_2.png) [@hhaensel](https://discourse.julialang.org/u/hhaensel)\
**Post date:** [August 30, 2018, 9:26pm UTC](https://discourse.julialang.org/t/videos-in-blink-webio/13372/4 "2018-08-30T21:26:27Z")

</div>

Thank you, that was a valuable hint and I have managed to use the assets concept now.  
😀
