khalid Publish time 2011-12-22 14:09

Support mp4 FORMAT in editor!

Support mp4 FORMAT in editor!



Open: source/function/function_discuzcode.php
find this line
case 'mpeg':
add after it this line
case 'mp4':

2-
open:static/js/editor.js

and search

ext = in_array(ext, ['mp3', 'wma', 'ra', 'rm', 'ram', 'mid', 'asx', 'wmv', 'avi', 'mpg', 'mpeg', 'rmvb', 'asf', 'mov', 'flv', 'swf'])


REPLICE IT WITH

ext = in_array(ext, ['mp3', 'wma', 'ra', 'rm', 'ram', 'mid', 'asx', 'wmv', 'avi', 'mpg', 'mpeg', 'rmvb', 'asf', 'mov', 'flv', 'swf','mp4'])





justinster123 Publish time 2011-12-23 22:54

could this potentially work with .m4a
MPEG-4 Audio Files?
they are almost the same as mp4

vot Publish time 2011-12-26 12:20

could this potentially work with .m4a
MPEG-4 Audio Files?
Just try it,
and report a result here :)

justinster123 Publish time 2011-12-26 20:42

vot replied at 2011-12-26 03:20 static/image/common/back.gif
Just try it,
and report a result here

ok ! :):)

:]
Pages: [1]
View full version: Support mp4 FORMAT in editor!