File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -4849,15 +4849,6 @@ function api_browser_support($format="") {
48494849 return false ;
48504850 }
48514851 }
4852- elseif ($ format =='ogg ' ){
4853- //native ogg... support
4854- if (($ current_browser == 'Firefox ' && $ current_majorver >= 3 ) || ($ current_browser == 'Chrome ' && $ current_majorver >= 3 ) || ($ current_browser == 'Opera ' && $ current_majorver >= 11 )) {
4855- return true ;
4856- }
4857- else {
4858- return false ;
4859- }
4860- }
48614852 elseif ($ format =='pdf ' ){
48624853 //native pdf support
48634854 if ($ current_browser == 'Chrome ' && $ current_majorver >= 6 ){
@@ -4867,6 +4858,15 @@ function api_browser_support($format="") {
48674858 return false ;
48684859 }
48694860 }
4861+ elseif ($ format =='ogg ' ){
4862+ //native ogg, ogv,oga support
4863+ if (($ current_browser == 'Firefox ' && $ current_majorver >= 3 ) || ($ current_browser == 'Chrome ' && $ current_majorver >= 3 ) || ($ current_browser == 'Opera ' && $ current_majorver >= 11 )) {
4864+ return true ;
4865+ }
4866+ else {
4867+ return false ;
4868+ }
4869+ }
48704870 elseif ($ format =='wav ' ){
48714871 //native wav support
48724872 if (($ current_browser == 'Firefox ' && $ current_majorver >= 4 ) || ($ current_browser == 'Safari ' && $ current_majorver >= 5 ) || ($ current_browser == 'Opera ' && $ current_majorver >= 11 ) || ($ current_browser == 'Internet Explorer ' && $ current_majorver >= 9 )|| ($ current_browser == 'Chrome ' && $ current_majorver > 8 )){
@@ -4878,7 +4878,7 @@ function api_browser_support($format="") {
48784878 }
48794879 elseif ($ format =='mp3 ' ){
48804880 //native mp3 support
4881- if (($ current_browser == 'Firefox ' && $ current_majorver >= 4 ) || ( $ current_browser == ' Safari ' && $ current_majorver >= 5 ) || ($ current_browser == 'Chrome ' && $ current_majorver >=6 )|| ($ current_browser == 'Internet Explorer ' && $ current_majorver >= 9 )){
4881+ if (($ current_browser == 'Safari ' && $ current_majorver >= 5 ) || ($ current_browser == 'Chrome ' && $ current_majorver >=6 )|| ($ current_browser == 'Internet Explorer ' && $ current_majorver >= 9 )){
48824882 return true ;
48834883 }
48844884 else {
You can’t perform that action at this time.
0 commit comments