File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Enabling and Disabling Audio/Video in Browser window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Enabling and Disabling Audio/Video in Browser window" Watch "Enabling and Disabling Audio/Video in Browser window" New topic
Author

Enabling and Disabling Audio/Video in Browser window

Nitin Dubey
Ranch Hand

Joined: Oct 30, 2000
Posts: 126

Hello folks,
In my application I have an option for the user to enable and disable audio and video. Using Javascript and Dhtml. Can anyone put some light on this ??
its urgent,

Nitin Dubey
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
how are you going to do it? Store info in Cookie or a database? When are you doing ask the wuestion if they want it disabled.
Depending on the above all you are going to do is dynamically write the code for the elements you do or do not want to show.
Eric
Nitin Dubey
Ranch Hand

Joined: Oct 30, 2000
Posts: 126

Thanx for the reply Eric..
I have a IFRAME wherein the client can customize any media file for loading. We have to give him an option for enabling and disabling audio/video.. I am new to Javascript. I wish to know if I can set some property of a window or any of its related objects to do so.. if not I will have to write a code explicitly for these kind of files after identifying them with their respective file extensions.
awaiting for reply,

Nitin Dubey
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Enabling and Disabling Audio/Video in Browser window