cancel
Showing results for 
Search instead for 
Did you mean: 

Add Video button is not clickable on Magento 2.2.4

Add Video button is not clickable on Magento 2.2.4

Hi,

I am trying to add video into my store via admin product edit page. I have already added a youtube api key but when i click on Add Video button than nothing happens.


Image 2018-06-10 at 12.06.21 PM.png

When i check the error log than its showing

main.CRITICAL: The element 'gallery' already has a child with alias 'content' {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): The element 'gallery' already has a child with alias 'content' at /var/www/vhosts/demo/vendor/magento/framework/Data/Structure.php:611)"} []

Thanks for your answer in advance.

Problem solved? Click Accept as Solution!
Magento Extension Developer | Facebook | Twitter
3 REPLIES

Re: Add Video button is not clickable on Magento 2.2.4

Hi @SanjayJethva,

 

Maybe you're getting a problem with the static assets. Can you try to regenerate the staic content using the console?

 

php bin/magento setup:static-content:deploy

I assume you're running on production mode.

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: Add Video button is not clickable on Magento 2.2.4

Hello @Damian Culotta,

Thanks for your reply.

Yes, My website is in production mode and i have put it in developer mode but still the same issue.

 

Thanks

Problem solved? Click Accept as Solution!
Magento Extension Developer | Facebook | Twitter

Re: Add Video button is not clickable on Magento 2.2.4

Hi @SanjayJethva,

 

Did you find some javascritp error on your browser's console?

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"