Youtube support on product

  • Posts: 410
  • Thank you received: 22
  • Hikashop Business
2 weeks 2 days ago #369911

-- HikaShop version -- : 6.2.0
-- Joomla version -- : 5

I'm trying out the new functionality with video support for products. But the video isn't showing. Is there anything else I need to enable or configure?

This message contains confidential information

Please Log in or Create an account to join the conversation.

  • Posts: 84956
  • Thank you received: 13846
  • MODERATOR
2 weeks 1 day ago #369912

Hi,

It seems you're missing the code to handle videos in the front end view files. Check if you have the folder templates/YOUR_TEMPLATE/html/com_hikashop/product/ via FTP. And more specifically the show_block_img.php file.
Try renaming that file if you have it in order to deactivate the override.

Please Log in or Create an account to join the conversation.

  • Posts: 410
  • Thank you received: 22
  • Hikashop Business
2 weeks 1 day ago #369920

I dont have that file in overrides. I have some overrides, but not using it with that product.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 84956
  • Thank you received: 13846
  • MODERATOR
2 weeks 1 day ago #369921

I don't see another reason.
Please try switching temporarily to the default template of Joomla and see if you have the same issue with it. If not (and I think you won't), then it must be with a view override in your template or something.

Please Log in or Create an account to join the conversation.

  • Posts: 410
  • Thank you received: 22
  • Hikashop Business
2 weeks 1 day ago #369925

My template is just a fork from cassiopea. If I switch to original cassiopea, same problem.
No overrides in show_block_img.

Last edit: 2 weeks 1 day ago by mojweb.

Please Log in or Create an account to join the conversation.

  • Posts: 84956
  • Thank you received: 13846
  • MODERATOR
2 weeks 23 hours ago #369926

Hi,

Then I'm stumped.
I tried adding the same youtube video as you on your URL on my local test website, and the video properly showed up on the frontend product page.
Since I'm not able to reproduce the problem locally, I can only assume there is something wrong on your website. If it's not a view override, it must be something else.
Could you provide a backend access and a FTP access via our contact form so that we can look into it ?
www.hikashop.com/support/contact-us.html

Please Log in or Create an account to join the conversation.

  • Posts: 84956
  • Thank you received: 13846
  • MODERATOR
1 week 6 days ago #369933

Hi,

Thank you for providing the access. We've identified the problem and implemented several fixes:

The issue is caused by an error "Warning: file_get_contents(): https:// wrapper disabled in the server configuration by allow_url_fopen=0" was occurring because your server has allow_url_fopen disabled in PHP settings, which prevented HikaShop from fetching video thumbnails from YouTube/Vimeo/Dailymotion.

We've updated HikaShop to use cURL as a fallback when allow_url_fopen is disabled, ensuring video thumbnails can be retrieved regardless of server configuration.

While looking at the issue on your website, I've implemented other improvements:
- Fixed a JavaScript error that could occur when switching between image thumbnails
- Optimized video player loading - video iframes are now preloaded in the background, so switching to a video thumbnail is now instant instead of having a loading delay

All the modifications have been included on your website and I confirmed it all works fine now.
For others reading this, to apply the fix, please download and install the latest HikaShop build available on our website. The update will resolve the video thumbnail retrieval issue on servers with restricted PHP settings and improve loading speed for the video player.

Please Log in or Create an account to join the conversation.

  • Posts: 410
  • Thank you received: 22
  • Hikashop Business
1 week 3 days ago #369973

Thank you. It works as it should. Great support.

The following user(s) said Thank You: nicolas

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum