• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Enabling and Disabling Audio/Video in Browser window

 
Ranch Hand
Posts: 126
Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 126
Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic