Home > front end >  Java web project how to realize the video upload and play function
Java web project how to realize the video upload and play function

Time:11-23

Java web project, a similar video library, users can upload video files to the server, other users can view the video online and download, upload and download these is not a problem, just watch how to implement online, using HTML 5 video element cannot access the file problem, seeks a mature solution,

CodePudding user response:

After using ffmpeg, upload to mp4,

CodePudding user response:


What is the difference between upload video and photo upload??

CodePudding user response:

The two upstairs, I also know before the ffmpeg, but this thing, how to import the project? And how to call him used to upload the video format conversion?

CodePudding user response:

How to realize the online watch, using HTML 5 video element cannot access the file problems
-- -- -- -- -- -- -- watch online, you need a spot broadcast video file is stored in the background of the server, you can download, why can't access the file?
If your video file format is the mp4, so it would be no need for ffmeg transform again

CodePudding user response:

I also want to know how to upload the video

CodePudding user response:

Hello, upload multiple video, adopt what way are you?

CodePudding user response:

H5 video can see video, but & lt; Video> Element supports three types of video formats: MP4, WebM, Ogg,

I uploaded with WebUpload plug-ins, including multiple file upload and use of this, but there is a problem, upload any format can be, but play can't online, video links can also access to the server address, this is not play online, so I also need a kind of thing, plug-in line, also can support on the page online play, can support multiple formats of???????????????? (don't want to use ffmpeg format), what bosses know which can support multiple formats of online play?????

CodePudding user response:

The same problem, can you tell me you solved the
  • Related