Functions like detection of inserted media, dvd tray is open or not. Currently, I'm using a native assembly exposed via activex.
Asked
Active
Viewed 382 times
-2
-
1From a browser? You can't. – Matt Aug 01 '13 at 18:25
-
@Matt Of course you can; you can use a windows ActiveX as Prince said. – MeTitus Aug 01 '13 at 18:26
-
@Marco: He said he's already using ActiveX. He wants a x-browser way. – Matt Aug 01 '13 at 18:27
-
@Matt I know, but what Prince was saying was for windows. It is now what the OP asked but I was replying to you. – MeTitus Aug 01 '13 at 18:28
-
2Just to confirm: should this be tagged `node.js`? Are you using ActiveX within Node.js, or from a browser? – apsillers Aug 01 '13 at 18:30
-
Since you've tagged this [tag:node.js], are you asking about the DVD tray of your server machine? – Bergi Aug 01 '13 at 18:38
-
@apsillers I'm accessing from a browser. – Prince Ashitaka Aug 01 '13 at 18:51
-
@bergi no in my client machines tray. I was looking for possible ways to avoid activex usage. Won't I be able to use node.js in this regard? – Prince Ashitaka Aug 01 '13 at 18:52
-
1@PrinceAshitaka Definitely not, unless you are running Node on the machine whose DVD drive you want to access. Thus, you could either ask every user to install and run a private Node.js instance (in which case you're not in the browser anymore, you're running a totally new program) or you can have the browser talk to a Node.js server (which could read its own DVD drive, but not the DVD of every client that connects to it). – apsillers Aug 01 '13 at 18:57
-
@apsillers thanks for the clear clarification. It was really helpful. – Prince Ashitaka Aug 01 '13 at 19:04
3 Answers
1
-
thanks for the link. I was looking for a solution which doesn't involve ActiveX. – Prince Ashitaka Aug 01 '13 at 19:06