Keyword

Video width & height in categories or items different than that I set via plugin

  • german
  • german's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 8 months ago #92253 by german
Hi everybody,

 

I need to set the video width & height with different parameters than I setted in the plugin. (Via plugin I'm using the width & height for modules, but I need videos bigger in articles...)

I'm using the video height & width from the categories but videos are still displayed in the plugin dimensions... any idea?

 

Thanx!

 

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

  • german
  • german's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 8 months ago #92254 by german
I solved the problem by (hacking) changing NULL by the width & height I need in

components/com_k2/models/item.php in line 411 and 412:

 

//Plugins        $item->text='';        $params->set('vfolder', NULL);        $params->set('vwidth', 530);        $params->set('vheight', 320);        $params->set('autoplay', NULL);        $params->set('galleries_rootfolder', NULL);        $params->set('popup_engine', NULL);        $params->set('enabledownload', NULL);

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

More
13 years 8 months ago #92255 by william white
Thanks,

I have the same problem.

I think with a little testing you can override the models/item.php and do it without hacking

I will play with it when i get time and try your code changes

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


Powered by Kunena Forum