[Overview]Sometimes the video file cannot be played normally.[Method or answer]Some files require additional multimedia digital signal codecs, such as AVI, ASF, and DivX files, which may not play normally.If an error message is displayed in Windows Media Player, or you can only hear the sound and cannot see the screen,
We usually use file control to upload files, to preview sometimes refresh the page, the result of the file control is emptied, many people ask can let him not empty or reassign, because in security considerations, this is not possible. So how do I do no refresh preview? Here I write down the method I have used.
Select page:
Copy Code code as follows:
HTML code:
Copy Code code as follows:
runat= "Server" onchange= "Ch
related applications in your device generally support the following file formats:
• Music: mp3, M4A, MP4, 3GP, 3GA, WMA, OGG, OGA, AAC and FLAC.
• Image: bmp, GIF, JPG, and PNG.
• Video: 3gp, MP4, AVI, WMV, FLV and mkv.
• File: doc, docx, xls, xlsx, ppt, pptx, pdf and txt.
In addition, some file formats are not supported and may be related to the software version of your device. Please downl
This article is an example of how JSP plays video files. Share to everyone for your reference, specific as follows:
1.avi format
The code snippet is as follows:
JSP Code:
2.mpg format
The code snippet is as follows:
JSP code:
3.SMI format
The code snippet is as follows:
JSP Code:
4.RM format
The code snippet is as f
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.