# Video into Pro Gallery not running

**URL:** <https://forum.wixstudio.com/t/video-into-pro-gallery-not-running/12173>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [February 6, 2019, 1:51pm UTC](https://forum.wixstudio.com/t/video-into-pro-gallery-not-running/12173 "2019-02-06T13:51:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricardo](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@ricardo](https://forum.wixstudio.com/u/ricardo)\
**Post date:** [February 6, 2019, 1:51pm UTC](https://forum.wixstudio.com/t/video-into-pro-gallery-not-running/12173/1 "2019-02-06T13:51:42Z")

</div>

Hi all,

I have this small code to retrieve videos from a colletion, but it doesn’t work! Sometimes it changes the gallery items, sometimes not. When It changes, the video doesn’t run (see image below)!

import wixData **from** ‘wix-data’

$w.onReady( **function** () {

wixData.query(“Portfolio”).find().then(result =\> {  
**let** portfolio = result.items  
**let** displayedPortfolio = portfolio.filter(item =\> item.type=== ‘video’) //I have this field in my colletion  
$w(“#gallery2”).items = displayedPortfolio.map(item =\> {  
**return** {  
type: ‘video’,  
slug: ‘’,  
src: item.video, //this field points to a video  
description: ‘’,  
title: item.title,  
link: ‘’,  
thumbnail: ‘’  
}  
})  
})  
}

The video do not run (it is always ‘loading’).

 ![](https://us1.discourse-cdn.com/wix/original/3X/7/c/7ce34f4cb5e6639c7796475f34ed9479f17ad4d0.jpeg)

---

<div class="post-metadata">

**Author:** ![ricardo](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@ricardo](https://forum.wixstudio.com/u/ricardo)\
**Post date:** [February 7, 2019, 8:19pm UTC](https://forum.wixstudio.com/t/video-into-pro-gallery-not-running/12173/2 "2019-02-07T20:19:49Z")

</div>

@yisrael-wix

Hi! Do you have any ideia of what is going on here?

Best regards!

---

<div class="post-metadata">

**Author:** ![yisrael-wix](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/yisrael-wix/32/1107_2.png) [@yisrael-wix](https://forum.wixstudio.com/u/yisrael-wix)\
**Post date:** [February 10, 2019, 11:22am UTC](https://forum.wixstudio.com/t/video-into-pro-gallery-not-running/12173/3 "2019-02-10T11:22:05Z")

</div>

This appears to be a question related to the Pro Gallery and not Wix Code. I would suggest that you contact the [Wix support team](https://support.wix.com/en/article/contacting-wix-support) , as they will be better equipped to address this subject.

---

<div class="post-metadata">

**Author:** ![ricardo](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@ricardo](https://forum.wixstudio.com/u/ricardo)\
**Post date:** [February 10, 2019, 2:00pm UTC](https://forum.wixstudio.com/t/video-into-pro-gallery-not-running/12173/4 "2019-02-10T14:00:23Z")

</div>

Lol. They said the same… to bring this issue to wix code forum.

---

<div class="post-metadata">

**Author:** ![yisrael-wix](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/yisrael-wix/32/1107_2.png) [@yisrael-wix](https://forum.wixstudio.com/u/yisrael-wix)\
**Post date:** [February 10, 2019, 2:22pm UTC](https://forum.wixstudio.com/t/video-into-pro-gallery-not-running/12173/5 "2019-02-10T14:22:19Z")

</div>

I’m glad you’re laughing. 🙃

It really seems like a Pro Gallery issue to me, but just in case I’m being stupid, post the Editor URL of your site and I’ll take a look. At least that’ll give me a better understanding of things.

---

<div class="post-metadata">

**Author:** ![dennisvdharst](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@dennisvdharst](https://forum.wixstudio.com/u/dennisvdharst)\
**Post date:** [March 2, 2019, 10:29pm UTC](https://forum.wixstudio.com/t/video-into-pro-gallery-not-running/12173/6 "2019-03-02T22:29:59Z")

</div>

Hey there

I’m current running into the same issue where the video just does not run. I’m even giving it an easy way into the gallery by grabbing the video from a strip which has the same video running on the background of it.

Since the onItemClicked of the gallery also doesn’t work and hasn’t been working (already made a topic for this last year, but still no fix for it.) I also just can’t place a video element over it and fake it.

So @yisrael-wix , has there been any update on this?

With kind regards,

Dennis
