Welcome to the Tweaking4All community forums!
When participating, please keep theĀ Forum RulesĀ in mind!
Topics for particular software or systems: Start your topic link with the name of the application or system.
For exampleĀ “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.
Please note that switching to another language when reading a post willĀ not bring you to the same post, in Dutch, as there is no translation for that post!
[Solved] a toggle button that updates a webserver status
(@murad)
Eminent Member
Joined: 4 years ago
Posts: 24
Topic starter
January 10, 2021 11:39 AM
video processing have some issues on windows ? i could rewatch it from mobile but not from chrome or edgeĀ
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2859
January 11, 2021 10:55 AM
I have no idea why your video is not working. Looks like a MOV file?
MP4 would have been better, since video processing is done by the browser, and MP4 is wider supported - my server doesn't do anything with it.
So I converted the video for you, added some cropping and replaced your old one. 😊Ā
I'm not sure what goes wrong with the String code.
Could you try this:
String serverPath = serverName + String("&state=1");
I think the problem could be that "&state=1" is seen as an array of characters, where as we want to add this to a String (with capital "S").
So this should (hopefully) fix that 😉Ā
(@murad)
Eminent Member
Joined: 4 years ago
Posts: 24
Topic starter
January 12, 2021 3:22 AM
I think the problem could be that "&state=1" is seen as an array of characters, where as we want to add this to a String (with capital "S").
So this should (hopefully) fix that
Ā
it didnt woork without this ,,,Ā
but its fine ,,, now its working no worriesĀ
thank you for sharing ur expertise i used get and push earlier but it didnt work now it does :DĀ
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2859