When you complete an online playback module, you may have trouble using an empty page, reading a media file in stream mode, and then assigning the page as a file name to the filename attribute of the webpage player. the result is that files in common streaming media formats can be played normally. Files in Ram, Avi, and ASF formats cannot be played. The reported error is that the files are not identifiable. only one tag is provided for viewing the details. Text/html cannot find the matching decoder. The original file header is incorrect. Therefore, some MIME types are found, specify the page contenttype according to the file type to be played, such as response. contenttype = "Video/X-msvideo". In this way, the content read in binary format is sent to the player page for normal playback.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.