wp_die('<div class="error"><p>Internet Explorer ' . esc_html($version) . ' is not supported</p></div>');
    }
}
$tp_uploader_cap = apply_filters(TP_UPLOADER_CAP, TP_UPLOADER_DEFAULT_CAP);
if (!defined('TP_MEDIA_BROWSER') && !current_user_can($tp_uploader_cap)) {
    wp_die('<div class="error"><p>You do not have sufficient permissions to upload video to mpx</p></div>');
}
$preferences = get_option(TP_PREFERENCES_OPTIONS_KEY);
require_once dirname(__FILE__) . '/thePlatform-HTML.php';
$tp_html = new ThePlatform_HTML();
if (!defined('TP_MEDIA_BROWSER')) {
    ?>
	<div class="wrap">
	<h2>Upload Video to mpx</h2> <?php 
} else {
    $tp_html->edit_tabs_header();
    ?>

	<div class="tab-content">
	<div class="tab-pane active" id="edit_content"> <?php 
}
?>

	<div id="responsive-form" class="clearfix">
		<form role="form">
			<?php 
wp_nonce_field('theplatform_upload_nonce');
// Output a hidden WP User ID field if the plugin is configured to store it.
$tp_html->user_id_field();
// Output rows of all our writable metadata
$tp_html->metadata_fields();