| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 6597|Reply: 3
Collapse the left

Support mp4 FORMAT in editor!

[Copy link]

 Palestine

Post time: 2011-12-22 14:09
| Show all posts |Read mode
Support mp4 FORMAT in editor!



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


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'])





Post time: 2011-12-23 22:54
| Show all posts
could this potentially work with .m4a
MPEG-4 Audio Files?
they are almost the same as mp4

 Russia

Post time: 2011-12-26 12:20
| Show all posts
could this potentially work with .m4a
MPEG-4 Audio Files?

Just try it,
and report a result here
Post time: 2011-12-26 20:42
| Show all posts
vot replied at 2011-12-26 03:20
Just try it,
and report a result here

ok !

:]
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-24 05:42 GMT+3 , Processed in 0.046170 sec., 9 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list