 <?php
            echo '<form action="" id="df_app_builder" method="post">
                <div class="field-space">
                <label for="app_btn_size">Video Shape:</label>
                <select name="app_btn_size" id="videolabel" style="width: 201px;">
                    <option value="dfgv-video" '.selected( isset($_POST['app_btn_size']) ? $_POST['app_btn_size'] : '', 'dfgv-video' ).'>rectangle</option>
                    <option value="dfgv-2col-2row" '.selected( isset($_POST['app_btn_size']) ? $_POST['app_btn_size'] : '', 'dfgv-2col-2row' ).'>square</option>
                </select></div>';
                //if not an oxygen app show position ddl
                if ( $df_app_oxy == 'No') {
                echo'<div class="field-space" id="hide_video">
                <label for="app_btn_position">Video Position:</label>
                <select name="app_btn_position" style="width: 201px;">
                    <option value="left" '.selected( isset($_POST['app_btn_position']) ? $_POST['app_btn_position'] : '', 'left' ).'>left aligned</option>
                    <option value="right"  '.selected( isset($_POST['app_btn_position']) ? $_POST['app_btn_position'] : '', 'right' ).'>right aligned</option>
                </select></div>';
                }
                echo '<div class="field-space">
                <label for="app_btn_link">Vimeo ID:</label>
                <input type="text" name="app_btn_link" id="app_btn_link" value="" required /></div><br>
                <input type="hidden" name="app_btn_title" id="app_btn_title" value="Vimeo Video" />
                <input type="hidden" name="df_app_name" id="df_app_name" value="'.$df_app_name.'" />
        <input type="hidden" name="app_btn_bkg_color1" id="app_btn_bkg_color1" value="'.$btn_bkg_color1.'" />
        <input type="hidden" name="app_btn_bkg_color2" id="app_btn_bkg_color2" value="'.$btn_bkg_color2.'" />
        <input type="hidden" name="app_btn_bkg_color3" id="app_btn_bkg_color3" value="'.$btn_bkg_color3.'" />
        <input type="hidden" name="df_app_oxy" id="df_app_oxy" value="'.$df_app_oxy.'" />
                <button type="df_app_data" name="df_app_data">Add Vimeo Video</button>
                </form>';
            ?>