Hi all,
When the allVideos plugin is installed, you can add mp3 support to K2 (version 2.1) by changing a single file:
In
administrator\components\com_k2\models\items.php
change line 380
to
if ($videotype == 'flv' || $videotype == 'swf' || $videotype == 'wmv' || $videotype == 'mov' || $videotype == 'mp4' || $videotype == '3gp' || $videotype == 'divx' || $videotype == 'mp3') {
Be aware that you have to set the video path in AllVideos to the path of K2:
media/k2/videos
Success!
When the allVideos plugin is installed, you can add mp3 support to K2 (version 2.1) by changing a single file:
In
administrator\components\com_k2\models\items.php
change line 380
to
if ($videotype == 'flv' || $videotype == 'swf' || $videotype == 'wmv' || $videotype == 'mov' || $videotype == 'mp4' || $videotype == '3gp' || $videotype == 'divx' || $videotype == 'mp3') {
Be aware that you have to set the video path in AllVideos to the path of K2:
media/k2/videos
Success!