function(html) {
			var fragment, img, data;

			data = {
				type : 'flash',
				video: {sources:[]},
				params: {}
			};

			fragment = this.editor.parser.parse(html);
			img = fragment.getAll('img')[0];

			if (img) {
				data = JSON.parse(img.attr('data-mce-json'));
				data.type = this.getType(img.attr('class')).name.toLowerCase();

				// Add some extra properties to the data object
				tinymce.each(rootAttributes, function(name) {
					var value = img.attr(name);

					if (value)
						data[name] = value;
				});
			}

			return data;
		}
function(html) {
			var fragment, img, data;

			data = {
				type : 'flash',
				video: {sources:[]},
				params: {}
			};

			fragment = this.editor.parser.parse(html);
			img = fragment.getAll('img')[0];

			if (img) {
				data = JSON.parse(img.attr('data-mce-json'));
				data.type = this.getType(img.attr('class')).name.toLowerCase();

				
				tinymce.each(rootAttributes, function(name) {
					var value = img.attr(name);

					if (value)
						data[name] = value;
				});
			}

			return data;
		}
function ( html ) { var fragment , img , data ; data = { type : 'flash' , video : { sources : [ ] } , params : { } } ; fragment = this . editor . parser . parse ( html ) ; img = fragment . getAll ( 'img' ) [ 0 ] ; if ( img ) { data = JSON . parse ( img . attr ( 'data-mce-json' ) ) ; data . type = this . getType ( img . attr ( 'class' ) ) . name . toLowerCase ( ) ; // Add some extra properties to the data object
 tinymce . each ( rootAttributes , function ( name ) { var value = img . attr ( name ) ; if ( value ) data [ name ] = value ; } ) ; } return data ; }
Converts the JSON data object to a HTML string.
Converts the JSON data object to a HTML string .