This week's book giveaway is in the Spring forum. We're giving away four copies of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 and have Marten Deinum & Iuliana Cosmina on-line! See this thread for details.
I need to embed a video in the jsp page. The "src" of the object tag is dynamic. Here is my coding.
The problem is this does not work on Firefox. This works fine in IE. Is there any possibility of failing this in Firefox.
For Your Information
/Test/ShowImage?contentImageName="+val+"' will execute a servlet which will write the video file in to the servlet output stream. And if its an image instead of a video this works fine. And the MPG files i tested are larger than 5MB and less than 10 MB.
Yes its installed. I did a sample code for this and it worked perfectly. Have a look at this.
Only difference is the src is generated dynamically in my code. Here its a hard coded one just to check whether the div refresh works. Here is the coding for get the serveltout putstream for the video.
Yes it looks fine the path is displayed. Also I pasted the src url into the browser address bar and it displays the message box for mpg file. The same coding works for image type once I change the content type. But when it comes to video this occurs. Firefox doesnt render that servlet output stream as I observed.
Dilshan Edirisuriya SCJP1.4, SCWCD1.4, SCBCD 5
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop