AlexL
Hello everyone.
mpg format is required only for downloading files uploaded by members previously. You can get rid of this feature and creating mpg file as well, but you will need to go into code slightly :(
Well, first of all, go to Ray Suite admin panel - Video player - settings and turn off downloading ability (Enable files saving), this will hide "Save" button from users. Also while you are in Settings you should pay attention to "Save video quality while converting" setting. see more While it's turned on it provokes larger space consuming by Video Player. If you turn it off it will save some space on your servers thanks to decreasing video quality :) As a rule this is quite enough to save large amount of space on your server, but we can save more if you want, but we should go to code for this:
Go to ray/modules/movie/inc/functions.inc.php and find the following code:
$sFile = $sTempFile . SAVE_EXTENSION;
$sCommand = $sFfmpegPath . $sInput . $sTempFile . $sSize . $sRate . $sQuality . $sTempFile . SAVE_EXTENSION;
@exec($sCommand);
if(!file_exists($sFilesPath . $sFile) || filesize($sFilesPath . $sFile) == 0) return false;
remove it from the file, then find:
&&
rename($sTempFile . SAVE_EXTENSION, $sFileId . SAVE_EXTENSION)
remove it too. Make sure to do it very accurately. Any unnecessary delete will cause errors.
Now we have finished with this file. Open actions.inc.php in the same folder, find "getFile" case and remove that piece of code:
|| !file_exists($sFilesPath . $sSaveFile)
go to "getPlayList" case and remove:
|| !file_exists($sFilesPath . $sSaveFile)

That's all. Enjoy very economic Video player :)
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.081841945648193