Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Such internet browsers like Internet Explorer and Opera can save web pages as a single mht file.

Assume I have a web page with a <video> tag and a video located in the same directory. Is it possible to save this page as a mht file which would contain the video?

I tried to do that, but the resulting mht file contains only html code and pictures.

share|improve this question
    
I think it depends on where the video is hosted! –  Dave Apr 5 '13 at 10:04
    
@DaveRook Opera supports the Ogg/Theora/Vorbis format, it can play it but doesn't save. –  hank Apr 5 '13 at 10:32
    
Then you've answered your question have you not? Even if you could save the video, if it's referenced externally the webpage will still point to that external resource! –  Dave Apr 5 '13 at 10:33
    
The video source is refenced just like any image source using the src attribute. I don't see any difference. –  hank Apr 5 '13 at 11:19
    
yes, but most graphic files are local, maybe saved under the Images folder. If I were to host videos on my server, I'd host them on a different server and embed or reference the external server –  Dave Apr 5 '13 at 11:23

1 Answer 1

up vote 0 down vote accepted

I have found a solution.

Though Opera and Internet Explorer do not include video when you save a web-page as a mht file, it is still possible to add it manually.

I've manually inserted a Base64 code of the video file and a corresponding header to my mht file and Opera opened it without any problem.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.