|  |  | @@ -83,8 +83,23 @@ function html2json(html, bindName) { | 
		
	
		
			
			|  |  |  | var node = { | 
		
	
		
			
			|  |  |  | node: 'element', | 
		
	
		
			
			|  |  |  | tag: tag, | 
		
	
		
			
			|  |  |  | attr:{} | 
		
	
		
			
			|  |  |  | }; | 
		
	
		
			
			|  |  |  | if (node.tag =="embed"){ | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | console.log(node,attrs,unary,666) | 
		
	
		
			
			|  |  |  | var embUrl = ''; | 
		
	
		
			
			|  |  |  | attrs.map((item,index)=>{ | 
		
	
		
			
			|  |  |  | if(item.name == 'src'){ | 
		
	
		
			
			|  |  |  | embUrl = item.value | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | }) | 
		
	
		
			
			|  |  |  | // if (node.attr.src.indexOf('http:')==-1){ | 
		
	
		
			
			|  |  |  | //  embUrl = "http://xxxx.com" + node.attr.src; | 
		
	
		
			
			|  |  |  | // } | 
		
	
		
			
			|  |  |  | node.attr.src = embUrl; | 
		
	
		
			
			|  |  |  | node.tag='video'; | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | if (bufArray.length === 0) { | 
		
	
		
			
			|  |  |  | node.index = index.toString() | 
		
	
		
			
			|  |  |  | index += 1 | 
		
	
	
		
			
				|  |  | 
 |