@@ 1049-1062 (lines=14) @@ | ||
1046 | <# } #> |
|
1047 | <?php |
|
1048 | ||
1049 | foreach ( $audio_types as $type ): |
|
1050 | ?><# if ( ! _.isEmpty( data.model.<?php echo $type ?> ) ) { |
|
1051 | if ( ! _.isUndefined( html5types.<?php echo $type ?> ) ) { |
|
1052 | delete html5types.<?php echo $type ?>; |
|
1053 | } |
|
1054 | #> |
|
1055 | <label class="setting"> |
|
1056 | <span><?php echo strtoupper( $type ) ?></span> |
|
1057 | <input type="text" disabled="disabled" data-setting="<?php echo $type ?>" value="{{ data.model.<?php echo $type ?> }}" /> |
|
1058 | <button type="button" class="button-link remove-setting"><?php _e( 'Remove audio source' ); ?></button> |
|
1059 | </label> |
|
1060 | <# } #> |
|
1061 | <?php endforeach ?> |
|
1062 | ||
1063 | <# if ( ! _.isEmpty( html5types ) ) { #> |
|
1064 | <div class="setting"> |
|
1065 | <span><?php _e( 'Add alternate sources for maximum HTML5 playback:' ) ?></span> |
|
@@ 1130-1143 (lines=14) @@ | ||
1127 | <button type="button" class="button-link remove-setting"><?php _e( 'Remove video source' ); ?></button> |
|
1128 | </label> |
|
1129 | <# } #> |
|
1130 | <?php foreach ( $video_types as $type ): |
|
1131 | ?><# if ( ! _.isEmpty( data.model.<?php echo $type ?> ) ) { |
|
1132 | if ( ! _.isUndefined( html5types.<?php echo $type ?> ) ) { |
|
1133 | delete html5types.<?php echo $type ?>; |
|
1134 | } |
|
1135 | #> |
|
1136 | <label class="setting"> |
|
1137 | <span><?php echo strtoupper( $type ) ?></span> |
|
1138 | <input type="text" disabled="disabled" data-setting="<?php echo $type ?>" value="{{ data.model.<?php echo $type ?> }}" /> |
|
1139 | <button type="button" class="button-link remove-setting"><?php _e( 'Remove video source' ); ?></button> |
|
1140 | </label> |
|
1141 | <# } #> |
|
1142 | <?php endforeach ?> |
|
1143 | </div> |
|
1144 | ||
1145 | <# if ( ! _.isEmpty( html5types ) ) { #> |
|
1146 | <div class="setting"> |