function processingStartedInterfaceUpdate()
    {
        // Change recording button to processing icon
        if (selectedThumbnail)
        {
            selectedThumbnail.find('.' + CLASS_BUTTON_RECORD)
                .removeClass(CLASS_CURRENTLY_RECORDING)
                .addClass(CLASS_CURRENTLY_PROCESSING)
                .off('click');
            selectedThumbnail.find('.' + CLASS_THUMBNAIL_CONTENT).append(
                $(document.createElement(THUMBNAIL_PROGRESS_BAR))
                    .attr('max', 1)
                    .attr('value', 0)
            );
        }
    }
// UI changes to switch from recording to processing
UI changes to switch from recording to processing
UI changes to switch from recording to processing
function processingStartedInterfaceUpdate()
    {
        if (selectedThumbnail)
        {
            selectedThumbnail.find('.' + CLASS_BUTTON_RECORD)
                .removeClass(CLASS_CURRENTLY_RECORDING)
                .addClass(CLASS_CURRENTLY_PROCESSING)
                .off('click');
            selectedThumbnail.find('.' + CLASS_THUMBNAIL_CONTENT).append(
                $(document.createElement(THUMBNAIL_PROGRESS_BAR))
                    .attr('max', 1)
                    .attr('value', 0)
            );
        }
    }
function processingStartedInterfaceUpdate ( ) { if ( selectedThumbnail ) { selectedThumbnail . find ( '.' + CLASS_BUTTON_RECORD ) . removeClass ( CLASS_CURRENTLY_RECORDING ) . addClass ( CLASS_CURRENTLY_PROCESSING ) . off ( 'click' ) ; selectedThumbnail . find ( '.' + CLASS_THUMBNAIL_CONTENT ) . append ( $ ( document . createElement ( THUMBNAIL_PROGRESS_BAR ) ) . attr ( 'max' , 1 ) . attr ( 'value' , 0 ) ) ; } }
UI changes to switch from recording to processing
UI changes to switch from recording to processing
// Change recording button to processing icon