Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 306... Línea 306...
306
                continue;
306
                continue;
307
            }
307
            }
Línea 308... Línea 308...
308
 
308
 
309
            // Ogv.JS Tech.
309
            // Ogv.JS Tech.
310
            $this->ogvtech = false;
310
            $this->ogvtech = false;
-
 
311
            /* The following browsers do not support OGV natively:
-
 
312
                - Chrome (since version 120)
-
 
313
                - Edge (since version 122)
-
 
314
                - Safari
-
 
315
                - Safari on iOS
311
            if (in_array($ext, $this->ogvsupportedextensions) &&
316
                - Firefox (since version 130)
312
                (core_useragent::is_safari() || core_useragent::is_ios() || core_useragent::is_chrome())) {
317
                - Opera (since version 106)
313
                // Chrome has stopped supporting OGV in the latest version. Refer: https://caniuse.com/ogv.
318
            Refer: https://caniuse.com/ogv.
-
 
319
            We need to enable Ogv.JS Tech plugin for all browsers that do not support OGV natively.
-
 
320
            */
314
                // We need to enable Ogv.JS Tech plugin for Safari, iOS and Chrome.
321
            if (in_array($ext, $this->ogvsupportedextensions)) {
315
                $this->ogvtech = true;
322
                $this->ogvtech = true;
316
                $result[] = $url;
323
                $result[] = $url;
317
                continue;
324
                continue;