screenshare icon indicating copy to clipboard operation
screenshare copied to clipboard

Issues with slide out

Open rkvsraman opened this issue 11 years ago • 6 comments

Slide out on client for entering the key does not work on Chrome

rkvsraman avatar Dec 16 '13 10:12 rkvsraman

I second that when I try to run the app.js directly without any alteration to the code, it fails with configure method not declared error. once I remove the whole bunch of code form this file, the server does runs, but the slide out on client for entering the key does not works. Any heads up for this ?

wardhanster avatar Apr 29 '14 16:04 wardhanster

Is there any chance you could provide some screen shots or the specific code/error messages. I am unable to reproduce the issue. One of the things that have changed since I originally posted this code is that I run everything over SSL and the certs are self signed at the moment, so unless you run your own server and make the appropriate domain variable changes throughout the application you are sure to run into the same issues...

rbrookfield avatar May 01 '14 05:05 rbrookfield

Id also like to say that most of my testing is done inside of chrome on windows, osx and android. The menu works for me on all 3 devices. Though I will say that at times it can be annoying on the mobile device. You can fix that with some simple css changes to make the tab easier to trigger

rbrookfield avatar May 01 '14 05:05 rbrookfield

@rbrookfield thanks for showing the enthu towards the issue

I am new to node.js and I got the system working:

Though I had to change from this -

app.configure(function(){ app.use(function(req, res, next) { res.setHeader("X-UA-Compatible", "chrome=1"); return next(); }); app.use(express.static(__dirname + '/public')); });

To this

app.use(function(req, res, next) {
     res.setHeader("X-UA-Compatible", "chrome=1");
    return next();
});
app.use(express.static(__dirname + '/public'));

inside the app.js file.

screenshot

The next few lines of info is for the new commers : the whole system requires a bunch of configurations in order to get the project work successfully, Inside screenshare / public / lib / js / there are couple of JS files which needs configuring , for example preview.js on line 1 var socket = io.connect('http://yearofthecu.com:3001'); should be var socket = io.connect('http://yourserverLocation:3001'); there are several others which needs similar adjustments.

wardhanster avatar May 03 '14 17:05 wardhanster

@wardhanster If you feel like removing the hard coded values and setting them up as global variables please feel free to and Ill merge your change. Thanks!

dvideby0 avatar May 06 '14 09:05 dvideby0

@dvideby0 thanks for the Invite, will change the code and let you know, your project is still being experimented @ my end , and will push the codes, once I have shifted/done the global declartion of the CDN based variables. Regards

wardhanster avatar May 10 '14 19:05 wardhanster