Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. cbreemer

    JavaScript Can not figure out how streaming works

    Seems to be all clear now, does it not ? If so, you can mark the issue solved. Now could you tell me more about the configuration ? You using localhost:80 and 81 makes me think you are using an ESP emulator on your local machine, am I right ? And how exactly does the ESP or emulator connect to...
  2. cbreemer

    No problem. I only try to help with stuff I find either easy or interesting, provided I like the...

    No problem. I only try to help with stuff I find either easy or interesting, provided I like the poster (TBH there are some I stay well clear of).
  3. cbreemer

    Oh right. I thought I was going to be slapped again for being too unkind.

    Oh right. I thought I was going to be slapped again for being too unkind.
  4. cbreemer

    I'm good, thanks. What's up ?

    I'm good, thanks. What's up ?
  5. cbreemer

    Hi.

    Hi.
  6. cbreemer

    validation confusion

    The message is clear enough ! You have an extremely long URL which is broken up by two linefeeds. You cannot just split lines like that, HTML does not expect a linefeed in the middle of a string. If you really want to hard code such an URL (I have my doubts about it) put it on one line, or else...
  7. cbreemer

    JavaScript Can not figure out how streaming works

    I'm not sure how you can see server-side code being executed using "the debugger". Which debugger would that be ? Does the ESP have its own debugger ? It seems to be running some dialect of C/C++, which is alien to the browser. As to how the server is getting the request, see image. When you...
  8. cbreemer

    JavaScript Can not figure out how streaming works

    Thinking about it, setting the src attribute of the image does send a request to the server. Normally that is just to fetch the image. In this case the "image name" is ${streamUrl}/stream, and the server interprets this as a request to start the stream server. That is probably in the code you...
  9. cbreemer

    JavaScript Can not figure out how streaming works

    This code is as clear as it can be without knowledge of the ESP's camera API. So as you wrote, it is simply writing each frame to the HTPP channel. It is still not clear to me how exactly the client JS code starts the server and stream handler. I suppose it's by posting a message to one of the...
  10. cbreemer

    HTML Click handler for <embed> element

    Thanks for chipping in. What you write seems to make sense although I can't remember noticing that. Anyway, let's consider the issue closed. I'm happy with how it works now.
  11. cbreemer

    JavaScript Can not figure out how streaming works

    This is very interesting to me. I am looking alternative ways to access photos and videos on my smartphone, because accessing the files from Windows Explorer is excruciatingly slow (it will probably remain so whatever method I use, but you never know). But from these little JS snippets it is...
  12. cbreemer

    JavaScript Canvas drawing issue

    Thanks. I have updated the codepen, it is shaping up nicely by now although it's still a bit buggy and does not really DO anything as yet 😊
  13. cbreemer

    need help

    This is indeed a PowerShell script. It sets the DNS server addresses to Google DNS, and adds two entries to the hosts file which are necessary for the Salty Chat voice plugin used by gamers. Nothing suspicious here.
  14. cbreemer

    FTP problem?

    I wondered about that FTP too... but forgot to ask.
  15. cbreemer

    FTP problem?

    Yes, DevTools do seem a little bewildering at first. Start with always keeping an eye on the Console, taking any messages in there seriously insofar as they originate from your own code (the source location is always displayed on the right of each message). Then, play around with the Inspect...
  16. cbreemer

    FTP problem?

    I'm not sure why you worry that I am upset or irritated. I'm just being short and to the point as always. Nothing personal 😊 Sorry to say it is not at all clearer to me now... you are basically repeating what you wrote earlier, using some different words. Anyway I cannot help you with how it...
  17. cbreemer

    FTP problem?

    Hello again, Pavel. It's not clear to me at all what exactly your issue is. None of the lines in your post makes that clear. Just posting a link to your site does not explain anything to someone who does not know what the problem is. What's this "VSCode vs. published" stuff ? What does it look...
  18. cbreemer

    HTML Click handler for <embed> element

    Thanks, that seemed worth a try. But alas it does not make any difference whatsoever. But it's fine, I am quite used to how it works by now. What I mostly do anyway is click on the preview and then view the document in the new window, where everything just works. So it's quite a moot point...
  19. cbreemer

    JavaScript JS Issue- 2nd lightbox not loading

    The error you get can't be related to the script you posted. At or around line 47 there is nothing that could trigger this error. So I don't know what it means either. Both your HTML and IS are peppered with errors. Make a habit of checking your HTML in the W3C Online Validator and your JS in...
  20. cbreemer

    HTML Click handler for <embed> element

    Thanks @Ghost . Yes I know it's a plugin handling the PDF, not the browser itself. My pdf's are invoices, manuals, official documents and such. I don't need interactivity, just the ability to view them. For illustration a screenshot of my page. Documents can be displayed filtered by kind, name...
Back
Top Bottom