• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to play local flash file

 
Naveen Mishra
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I'm trying to develop a page where-in I upload a flash(swf) file.
My problem is when I select some file to upload and try to see its preview before upload it , I'm not to able to do so.
The same functionality is working if I'm using preview for edit( data is uploaded already..and in listings also... flash file is there in the ftp and I'm able to play it/ preview it.)

I'm using this code :



any help if It can be done?

Thanks for giving your valuable time.

Regards,
NAveen
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what you mean by 'preview before uploading'.
Can you explain in a little more detail, how you are trying view the local files?
 
Naveen Mishra
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ben,
Thanks for giving a look at the problem.

To explain you further,

On In my page I've a file component (file uploader).
Once I select a file, I want to have a lok at the file first, using a link preview for that.

The above code is rendered inside a div component.

This works fine if i'm editing the page ( the file is there in ftp server and the file name is there with my jsp), before I select new file for preview.

sending you code snipet again with additional info...



here _vidPane is just a div and is used to render the preview of the file.

Hope , this time I could make it more clear.
Thanks again.

NAveen
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!