# Video and Image component

**URL:** <https://forum.adalo.com/t/video-and-image-component/25833>\
**Category:** Get Help\
**Created:** [April 12, 2022, 6:19pm UTC](https://forum.adalo.com/t/video-and-image-component/25833 "2022-04-12T18:19:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raynell](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/raynell/32/18345_2.png) [@Raynell](https://forum.adalo.com/u/Raynell)\
**Post date:** [April 12, 2022, 6:19pm UTC](https://forum.adalo.com/t/video-and-image-component/25833/1 "2022-04-12T18:19:29Z")

</div>

Greetings,

I am looking for a component that will detect if the media is an image or video and will play the video or simply display the image. if there isn’t one, will I need to ‘fake’ it by using conditional visibility and switch based on the current image type? Also, is the component capable of a carousel effect…

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Benalihoussam](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/benalihoussam/32/10346_2.png) [@Benalihoussam](https://forum.adalo.com/u/Benalihoussam)\
**Post date:** [April 13, 2022, 1:30am UTC](https://forum.adalo.com/t/video-and-image-component/25833/2 "2022-04-13T01:30:06Z")

</div>

Hi Raynell,  
you’ll have to fake it, put a video player under an image viewer (adalo wont show the image viewer if there’s no image) use the file URL as a source for both image viewer and video player, it’ll work,

Cheers,  
Houssam.

---

<div class="post-metadata">

**Author:** ![Raynell](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/raynell/32/18345_2.png) [@Raynell](https://forum.adalo.com/u/Raynell)\
**Post date:** [April 13, 2022, 12:23pm UTC](https://forum.adalo.com/t/video-and-image-component/25833/3 "2022-04-13T12:23:17Z")

</div>

@Benalihoussam Thank you so much for validating that approach…. I really appreciate it.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [April 23, 2022, 12:23pm UTC](https://forum.adalo.com/t/video-and-image-component/25833/4 "2022-04-23T12:23:50Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
