Jump to content

[Free Module] Art Video: add YouTube videos to productTab with Responsive Design [NEW VERSION]


Recommended Posts

(EN) Add Youtube videos easily on tab your product pages.

Front Office Demo: http://demomodule.preventivoecommerce.com/en/abiti-estivi/5-abito-estivo-stampato.html
Back Office Demo (ID: demo@demo.com PW: demodemo): http://demomodule.preventivoecommerce.com/adminDEMO/

 

(IT) Il modulo permette di associate video Youtube a un prodotto e visualizzarlo nella TAB della scheda prodotti con il supporto Responsive Design, ovvero il video si adatta alle varie risoluzioni. Solo per PrestaShop 1.6.X

 

NEW VERSION 1.0.9

artvideotab.zip

post-416237-0-74070100-1425929292_thumb.jpg

post-416237-0-09841800-1425929378_thumb.jpg

Edited by Arteinfo (see edit history)
  • Like 3

Share this post


Link to post
Share on other sites
  • 1 month later...

Thanks for a great module! Fast to install, seems easy to use. But I can't start it working - video is in HTML code but doesn't work, maybe due to iframe. I've tried turning off Use HTMLPurifier Libraryand turned on Allow iframes on HTML fields, but the video still doesn't show up. Any idea why?

 

UPDATE:

Ok, I've found how to bypass the problem, You just need to insert video URL correctly - replace "watch?v=" with "v/", because Youtube usually gives:


so it has to be like this:


I hope this helps

Edited by sting5 (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

 

UPDATE:

Ok, I've found how to bypass the problem, You just need to insert video URL correctly - replace "watch?v=" with "v/", because Youtube usually gives:


so it has to be like this:


I hope this helps

 

Thanks for a great module! Fast to install, seems easy to use. But I can't start it working - video is in HTML code but doesn't work, maybe due to iframe. I've tried turning off Use HTMLPurifier Libraryand turned on Allow iframes on HTML fields, but the video still doesn't show up. Any idea why?

 

UPDATE:

Ok, I've found how to bypass the problem, You just need to insert video URL correctly - replace "watch?v=" with "v/", because Youtube usually gives:


so it has to be like this:


I hope this helps

 

link-youtube.jpg

Thank you!

The URL should be taken by the iframe code of Youtube, but the next version will be implemented a filter.

  • Like 1

Share this post


Link to post
Share on other sites

Ok this works nice - videos show well on PC. But they are missing when trying to view the page on tablet or smartphone. Any idea why?

 

Ok I've found how to fix this - You need to insert <script> clauses into the artvideo.tpl file like this:

 

{if $art_url_video != ""}
<div class="art-video">
<script language="javascript" type="text/javascript">
<iframe width="420" height="315" src="{$art_url_video}?rel=0" frameborder="0" allowfullscreen=""></iframe>
</script>
</div>
{/if}
<div class="art-leggenda">
{$art_testo} 
</div>

Then video will play on smart phones and tablets as well :)

Edited by sting5 (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

Ciao,

 
Vorrei cambiare la dimensione del video, reperti troppo grande.
 
E 'possibile cambiare? e anche, vorrei cambiare la sua posizione, per esempio al centro ...
 
Scusa per il mio italiano.
 
Grazie ea presto
  • Like 1

Share this post


Link to post
Share on other sites

I did the installation and mine is giving the following error (and I can not embed the videos). version 16.0.14

Notice na linha 387 no arquivo /home/sbninfoc/public_html/loja/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined index: ART_REFERENCE

Notice na linha 387 no arquivo /home/sbninfoc/public_html/loja/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined index: ART_VIDEO

Notice na linha 387 no arquivo /home/sbninfoc/public_html/loja/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined index: ART_TESTO

Notice na linha 748 no arquivo /home/sbninfoc/public_html/loja/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined index: ART_ELIMINA

Notice na linha 748 no arquivo /home/sbninfoc/public_html/loja/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code
[8] Undefined index: ART_ELIMINA

Share this post


Link to post
Share on other sites

hi man,

 

nice module, works fine. But how can I delete video?

Just add same data as video, and change the very bottom option from no to yes (it means you want to delete the video described).

Share this post


Link to post
Share on other sites

i dont have that option (yes/no). I add some videos for few products. Now i need delete video for product with code reference is 22. And i dont know how. Can you do printscreen? 

Share this post


Link to post
Share on other sites

 

Ciao,

 
Vorrei cambiare la dimensione del video, reperti troppo grande.
 
E 'possibile cambiare? e anche, vorrei cambiare la sua posizione, per esempio al centro ...
 
Scusa per il mio italiano.
 
Grazie ea presto

 

 

Il modulo è progettato per visualizzare il video come responsive web design (RWD), quindi che si adatti alle dimensioni della pagina, per modificare le impostazioni è necessario intervenire sui CSS

Share this post


Link to post
Share on other sites

i dont have that option (yes/no). I add some videos for few products. Now i need delete video for product with code reference is 22. And i dont know how. Can you do printscreen? 

 

You can not delete by ID, but only for the reference product.

The next version will be integrated this possibility.

You can delete the records from the table "ps_product_art_video_tab" with phpMyAdmin or similar software

Share this post


Link to post
Share on other sites

ok, when will new version? :)

 

Nomme, You can also delete directly from database (through PHPMyAdmin) - find table called "ps_product_art_video_tab", open it, find the row which holds the info of the video You don't need anymore and just delete it. It's that simple!

Edited by sting5 (see edit history)

Share this post


Link to post
Share on other sites
  • 4 weeks later...

Ciao,

ho installato il modulo ed è andato tutto liscio, grazie ancora.

 

Ho solo un problema, magari non dipende dal modulo ma magari ti viene in mente qualcosa, nella scheda prodotto il video si va a mettere in mezzo alle recenzioni utente sul prodotto, ti allego uno screen, ho provato a giocare con le posizioni dei modulo ma senza risultato, riesci a darmi una mano?

 

Grazie,

Alberto

post-862195-0-09669200-1434462715_thumb.png

Edited by kueza (see edit history)

Share this post


Link to post
Share on other sites
  • 3 months later...
  • 1 year later...

post-416237-0-95810000-1479406359_thumb.jpg

Front Office Demo: http://demomodule.preventivoecommerce.com/en/abiti-estivi/5-abito-estivo-stampato.html
Back Office Demo (ID: demo@demo.com PW: demodemo): http://demomodule.preventivoecommerce.com/adminDEMO/

 

Nuova versione di Art Video Tab:

  1. Incrementata la compatibilità con i diversi template;
  2. Possibile rendere attiva la TAB VIDEO al primo caricamento della scheda prodo
  3. Esteso il supporto a Vimeo
  4. Corretti diversi Bug
  5. Implementata la sicurezza e l'ottimizzasione

New version of Art Video Tab:

  1. Increased compatibility with different templates;
  2. You can make active the TAB VIDEO first loaded the product;
  3. Extended support for Vimeo
  4. Fixed several bugs
  5. Implemented safety and ottimizzasione

post-416237-0-79233900-1479406415_thumb.png

 

post-416237-0-13409400-1479406378_thumb.jpg

 

NEW VERSION 1.0.9

artvideotab.zip

Edited by Arteinfo (see edit history)

Share this post


Link to post
Share on other sites

Ciao,

ho installato il modulo ed è andato tutto liscio, grazie ancora.

 

Ho solo un problema, magari non dipende dal modulo ma magari ti viene in mente qualcosa, nella scheda prodotto il video si va a mettere in mezzo alle recenzioni utente sul prodotto, ti allego uno screen, ho provato a giocare con le posizioni dei modulo ma senza risultato, riesci a darmi una mano?

 

Grazie,

Alberto

 

Per risolvere il problema ti basta scaricare la nuova versione e impostare la voce "TAB Standard?" su "Yes".

Share this post


Link to post
Share on other sites

The video is not in an tab but under the description.. can you explain how to get it in a tab? I read in your code you use the module "extratabs" whichone you use?

 

Download the new version and set as TAB Standard

Share this post


Link to post
Share on other sites
  • 5 months later...
  • 2 months later...

Hi, after uploading the above module in prestashop 1.6, the video tab and Reviews tabs mixed each other, any solution for this ?

 

Try changing the TAB Standard setting. If you do not systemize it is a CSS problem in your template.

  • Like 1

Share this post


Link to post
Share on other sites
  • 5 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More