[Skip to main content](#vessel-content)

#   Embed youtube video on product page

##

- **[tony@10uk.net](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile")**
- [![tony@10uk.net's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile") Topic Author
- [ Offline](/forum/user/6276-tony-10uk-net)

Less More

- Posts: 127
- Thank you received: 12
-
-

13 years 2 months ago -  13 years 2 months ago [\#124286](#124286) by [tony@10uk.net](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile")  *[Embed youtube video on product page](/forum/26-product-category-display/862158-embed-youtube-video-on-product-page#124286 "Apologies - I replied to a thread with a problem in the archived section.    www.hikashop.com/forum/4-how-to/4382-embed-youtube-movie.html  Basically trying to get a youtube video embedded into the product page, but stuck!  EDIT: It works fine when in a single article opened by a menu item.  Thanks,  Tony")* was created by *[tony@10uk.net](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile")*

Apologies - I replied to a thread with a problem in the archived section.

[ www.hikashop.com/forum/4-how-to/4382-embed-youtube-movie.html](http://www.hikashop.com/forum/4-how-to/4382-embed-youtube-movie.html)

Basically trying to get a youtube video embedded into the product page, but stuck!

EDIT: It works fine when in a single article opened by a menu item.

Thanks,

Tony

Last edit: 13 years 2 months ago by [tony@10uk.net](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile"). Reason: additional info

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjIxNTgtZW1iZWQteW91dHViZS12aWRlby1vbi1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 2 months ago [\#124343](#124343) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Embed youtube video on product page](/forum/26-product-category-display/862158-embed-youtube-video-on-product-page#124343 "Apologies - I replied to a thread with a problem in the archived section.    www.hikashop.com/forum/4-how-to/4382-embed-youtube-movie.html  Basically trying to get a youtube video embedded into the product page, but stuck!  EDIT: It works fine when in a single article opened by a menu item.  Thanks,  Tony")*

Hi,

I think that you have to use the following code: Code:

echo JHTML::_('content.prepare',$your_custom_code);

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjIxNTgtZW1iZWQteW91dHViZS12aWRlby1vbi1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tony@10uk.net](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile")**
- [![tony@10uk.net's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile") Topic Author
- [ Offline](/forum/user/6276-tony-10uk-net)

Less More

- Posts: 127
- Thank you received: 12
-
-

13 years 2 months ago [\#124352](#124352) by [tony@10uk.net](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile")  Replied by *[tony@10uk.net](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile")* on topic *[Embed youtube video on product page](/forum/26-product-category-display/862158-embed-youtube-video-on-product-page#124352 "Apologies - I replied to a thread with a problem in the archived section.    www.hikashop.com/forum/4-how-to/4382-embed-youtube-movie.html  Basically trying to get a youtube video embedded into the product page, but stuck!  EDIT: It works fine when in a single article opened by a menu item.  Thanks,  Tony")*

And where would I put that?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjIxNTgtZW1iZWQteW91dHViZS12aWRlby1vbi1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 2 months ago [\#124359](#124359) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Embed youtube video on product page](/forum/26-product-category-display/862158-embed-youtube-video-on-product-page#124359 "Apologies - I replied to a thread with a problem in the archived section.    www.hikashop.com/forum/4-how-to/4382-embed-youtube-movie.html  Basically trying to get a youtube video embedded into the product page, but stuck!  EDIT: It works fine when in a single article opened by a menu item.  Thanks,  Tony")*

Do you have code already to display the youtube video ? Or you are using a component for that ?
Thanks to give us more informations.

On the product page, you can use a Joomla plugin which manage the videos and add the tag in the product description on the product edition page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjIxNTgtZW1iZWQteW91dHViZS12aWRlby1vbi1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tony@10uk.net](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile")**
- [![tony@10uk.net's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile") Topic Author
- [ Offline](/forum/user/6276-tony-10uk-net)

Less More

- Posts: 127
- Thank you received: 12
-
-

13 years 2 months ago [\#124367](#124367) by [tony@10uk.net](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile")  Replied by *[tony@10uk.net](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile")* on topic *[Embed youtube video on product page](/forum/26-product-category-display/862158-embed-youtube-video-on-product-page#124367 "Apologies - I replied to a thread with a problem in the archived section.    www.hikashop.com/forum/4-how-to/4382-embed-youtube-movie.html  Basically trying to get a youtube video embedded into the product page, but stuck!  EDIT: It works fine when in a single article opened by a menu item.  Thanks,  Tony")*

I have installed the AllVideos plugin.

I have enabled the plugin.

I have a product description that contains lots of words.

I then added {youtube}vidref{/youtube}.

When viewed from front end, all the product description text disappears and there is no video. If I remove the tag, the text comes back as usual.

I have tested the plugin works in a normal article.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjIxNTgtZW1iZWQteW91dHViZS12aWRlby1vbi1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tony@10uk.net](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile")**
- [![tony@10uk.net's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile") Topic Author
- [ Offline](/forum/user/6276-tony-10uk-net)

Less More

- Posts: 127
- Thank you received: 12
-
-

13 years 2 months ago [\#124404](#124404) by [tony@10uk.net](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile")  Replied by *[tony@10uk.net](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile")* on topic *[\[solved\] Embed youtube video on product page](/forum/26-product-category-display/862158-embed-youtube-video-on-product-page#124404 "Apologies - I replied to a thread with a problem in the archived section.    www.hikashop.com/forum/4-how-to/4382-embed-youtube-movie.html  Basically trying to get a youtube video embedded into the product page, but stuck!  EDIT: It works fine when in a single article opened by a menu item.  Thanks,  Tony")*

Problem over.

I changed the order of the AllVideos plugin to last and now works within a Hikashop product page.

Thanks,

Tony

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjIxNTgtZW1iZWQteW91dHViZS12aWRlby1vbi1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Antonioseo](/forum/user/31501-antonioseo "View Antonioseo's Profile")**
- [![Antonioseo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31501-antonioseo "View Antonioseo's Profile")
- [ Offline](/forum/user/31501-antonioseo)

Less More

- Posts: 22
- Thank you received: 1
-
-

12 years 5 months ago [\#160122](#160122) by [Antonioseo](/forum/user/31501-antonioseo "View Antonioseo's Profile")  Replied by *[Antonioseo](/forum/user/31501-antonioseo "View Antonioseo's Profile")* on topic *[Embed youtube video on product page](/forum/26-product-category-display/862158-embed-youtube-video-on-product-page#160122 "Apologies - I replied to a thread with a problem in the archived section.    www.hikashop.com/forum/4-how-to/4382-embed-youtube-movie.html  Basically trying to get a youtube video embedded into the product page, but stuck!  EDIT: It works fine when in a single article opened by a menu item.  Thanks,  Tony")*

Hi Xavier
I don´t know embed a video in a product
I don´t know how to do this "On the product page, you can use a Joomla plugin which manage the videos and add the tag in the product description on the product edition page. "

Now I have intalled AllVideos and it´s enable, I have published my product, I have my video in youtube, but I don´t know how embed in my product this video.
This is my product: [ Enuresis](http://latiendaelectronica.es/comprar-precio/59-alarma-enuresis.html)

Thanks very much
Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjIxNTgtZW1iZWQteW91dHViZS12aWRlby1vbi1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Antonioseo](/forum/user/31501-antonioseo "View Antonioseo's Profile")**
- [![Antonioseo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31501-antonioseo "View Antonioseo's Profile")
- [ Offline](/forum/user/31501-antonioseo)

Less More

- Posts: 22
- Thank you received: 1
-
-

12 years 5 months ago -  12 years 5 months ago [\#160124](#160124) by [Antonioseo](/forum/user/31501-antonioseo "View Antonioseo's Profile")  Replied by *[Antonioseo](/forum/user/31501-antonioseo "View Antonioseo's Profile")* on topic *[Embed youtube video on product page](/forum/26-product-category-display/862158-embed-youtube-video-on-product-page#160124 "Apologies - I replied to a thread with a problem in the archived section.    www.hikashop.com/forum/4-how-to/4382-embed-youtube-movie.html  Basically trying to get a youtube video embedded into the product page, but stuck!  EDIT: It works fine when in a single article opened by a menu item.  Thanks,  Tony")*

Hi Xavier
I have found my answer ![:)](/media/kunena/emoticons/3.png ":)")

For the future people who will have the problem:
Insert within description text:
{youtube}qdtsvT1bnfw&#124;600&#124;450&#124;1{/youtube}

Where qdtsvT1bnfw is part of url of youtube
and 600 y 450 is the size
1 is autoplay ON (0 autoplay OFF)

Last edit: 12 years 5 months ago by [Antonioseo](/forum/user/31501-antonioseo "View Antonioseo's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjIxNTgtZW1iZWQteW91dHViZS12aWRlby1vbi1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[tony@10uk.net](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile")**
- [![tony@10uk.net's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile") Topic Author
- [ Offline](/forum/user/6276-tony-10uk-net)

Less More

- Posts: 127
- Thank you received: 12
-
-

12 years 5 months ago [\#160125](#160125) by [tony@10uk.net](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile")  Replied by *[tony@10uk.net](/forum/user/6276-tony-10uk-net "View tony@10uk.net's Profile")* on topic *[Embed youtube video on product page](/forum/26-product-category-display/862158-embed-youtube-video-on-product-page#160125 "Apologies - I replied to a thread with a problem in the archived section.    www.hikashop.com/forum/4-how-to/4382-embed-youtube-movie.html  Basically trying to get a youtube video embedded into the product page, but stuck!  EDIT: It works fine when in a single article opened by a menu item.  Thanks,  Tony")*

As I found in my experiences...

- Install AllVideos as you have done.
- Enable and configure, ensuring the plugin is the last to load
- Add the tag in the product description - {youtube}vidref{/youtube} - where 'vidref' is the youtube reference, for example, in the URL [ www.youtube.com/watch?v=lGXHVlEklgQ](http://www.youtube.com/watch?v=lGXHVlEklgQ), the 'vidref' is lGXHVlEklgQ. Check your editor does not strip the tags.

The following user(s) said Thank You: [odaio](/forum/user/38598-odaio "View odaio's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjIxNTgtZW1iZWQteW91dHViZS12aWRlby1vbi1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[odaio](/forum/user/38598-odaio "View odaio's Profile")**
- [![odaio's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38598-odaio "View odaio's Profile")
- [ Offline](/forum/user/38598-odaio)

Less More

- Posts: 3
- Thank you received: 0
-
-

10 years 11 months ago [\#222299](#222299) by [odaio](/forum/user/38598-odaio "View odaio's Profile")  Replied by *[odaio](/forum/user/38598-odaio "View odaio's Profile")* on topic *[Embed youtube video on product page](/forum/26-product-category-display/862158-embed-youtube-video-on-product-page#222299 "Apologies - I replied to a thread with a problem in the archived section.    www.hikashop.com/forum/4-how-to/4382-embed-youtube-movie.html  Basically trying to get a youtube video embedded into the product page, but stuck!  EDIT: It works fine when in a single article opened by a menu item.  Thanks,  Tony")*

Hi Tony
Very nice experience to work with video and audio in hikashop.
Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjIxNTgtZW1iZWQteW91dHViZS12aWRlby1vbi1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")**
- [![lionel75's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11856-lionel75 "View lionel75's Profile")
- [ Offline](/forum/user/11856-lionel75)

Less More

- Posts: 846
- Thank you received: 92
-
-

10 years 4 weeks ago -  10 years 4 weeks ago [\#253872](#253872) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  Replied by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")* on topic *[Embed youtube video on product page](/forum/26-product-category-display/862158-embed-youtube-video-on-product-page#253872 "Apologies - I replied to a thread with a problem in the archived section.    www.hikashop.com/forum/4-how-to/4382-embed-youtube-movie.html  Basically trying to get a youtube video embedded into the product page, but stuck!  EDIT: It works fine when in a single article opened by a menu item.  Thanks,  Tony")*

Hi
When we read the post we really don't understand all the terms and the context of the issue / problem /bug .
Here it is a joomla question rather than a Hikashop question .
[ Allvideos](https://extensions.joomla.org/extension/allvideos) is a joomla plugin that let us add video in content area implemented by Joomla article or Hikashop product . All joomla plug parse the content to search a tag with parameters and convert it to widget define by plugin . For this plug in the tag look like {youtube}qdtsvT1bnfw&#124;600&#124;450&#124;1{/youtube}. {youtube} is the tag and the parameters are short url qdtsvT1bnfw with video parameters &#124;600&#124;450&#124;1.

@xavier
I know you post is more about php code than gui click . Even i ll search to know more about this code work in joomla eco system.
Can you give some information about your echo JHTML::_('content.prepare',$your_custom_code);

Regard's

Last edit: 10 years 4 weeks ago by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjIxNTgtZW1iZWQteW91dHViZS12aWRlby1vbi1wcm9kdWN0LXBhZ2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.082 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
