I have a document url which has no extension.
I have used iframe to embed it in my html but its not showing.
<iframe ng-src="url"></iframe>
How can I handle such documents in html?
            Asked
            
        
        
            Active
            
        
            Viewed 252 times
        
    1
            
            
         
    
    
        neha soni
        
- 221
- 3
- 12
- 
                    ..and what the document content type is? – Hardy Aug 05 '16 at 10:47
- 
                    not able to figure out.In info it is showing text edit document type. – neha soni Aug 05 '16 at 12:29
- 
                    just open your console network tab and open that url.. then see what is the content-type of the response header. The server should set the content type for the content and then browser can do something with it. For example jpg image comes with `image/jpg` content type when loaded from server and then browser sees "oh there is image, i will render that". – Hardy Aug 05 '16 at 13:26
- 
                    http://stackoverflow.com/a/20045301/2611927 – Hardy Aug 05 '16 at 13:30