I need to embed a video in the
jsp page. The "src" of the object tag is dynamic. Here is my coding.
I have several links in a data grid. In the onclick event of those links I am calling a javascript function with the file name (like 123.mpg) and it will be feeded to the "val" variable above. According to that I am setting the innerHTML property. So once I click the link it will popup a video with dynamic content.
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.
Need your help.
Thank you.