Ticket #40590: 40590.diff
| File 40590.diff, 667 bytes (added by , 9 years ago) |
|---|
-
.php
old new 2580 2580 if ( 'mediaelement' === $library && 1 === $instance ) { 2581 2581 $html .= "<!--[if lt IE 9]><script>document.createElement('video');</script><![endif]-->\n"; 2582 2582 } 2583 $html .= sprintf( '<video %s controls="controls">', join( ' ', $attr_strings ) ); 2583 2584 2585 if(isset($attr['controls']) && $attr['controls'] == 'false') { 2586 $html .= sprintf( '<video %s>', join( ' ', $attr_strings ) ); 2587 } else { 2588 $html .= sprintf( '<video %s controls="controls">', join( ' ', $attr_strings ) ); 2589 } 2584 2590 2585 2591 $fileurl = ''; 2586 2592 $source = '<source type="%s" src="%s" />';