The following code works fine on Firefox whether autoplay is true or false but not on Chromium. How can I fix it? EDIT 1: I found out that I can begin with autoplay = true and then in onloadeddata pause the video with video.pause(). EDIT 2: Another interesting thing was found. You can set video.currentTime to, for example 5, to
Tag: firefox
Using window.open in an async function in Firefox and Safari
The application I work on integrates with some platforms with some strict security policies when it comes to user authentication, and as such authentication from our side has to be handled a bit differently as well. The details here aren’t terribly important. I’m working on a new feature now where a user can open some items from a list, but
stderr output from native app classifier: ModuleNotFoundError: No module named ‘nltk’
While trying to send/receive data using native messaging between javascript and python for a firefox extension I keep running into the following error in the browser console- stderr output from native app classifier: ModuleNotFoundError: No module named ‘nltk’ I have installed nltk in my pycharm virtual environment. I want to use nltk for some text processing in the python file
How to add files from file input into array in Firefox browser?
(I’m using vue 3) I’m adding files from input file to array, then I conditionally render these file names. All working good on Chrome. Problem is when using Mozilla Firefox. In this browser array of files is overrided by last added file, for example: add file-1 || output: file-1 add file-1 and next file-2 || output: file-1 file-1 (duplication). There
How do I fix the warning “Cookie ‘cookie_name’ will be rejected soon …” that I get after deleting the cookie?
Firefox throws the following warning after deleting a valid cookie: Cookie “cookie_name” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite Scenario After a valid login I send a cookie to the frontend. This cookie can be used during
Mosquitto and JavaScript Example not working (Firefox)
I would like to make a Websocket connection with TLS encryption to my mosquitto server. But I do not even get a simple example with the official mosquitto server running. In the network Log I can see these statements: Firefox (Mozilla Firefox for Linux Mint 89.0 (64-bit)) gives the error message Firefox can’t establish a connection to the server at
Partial flickering of HTML canvas while idle
I have HTML canvases on top of each other, I draw them just once, I witness that the load has been completed and everything is fine for few minutes, then randomly, without the canvas ever being redraw then lower half of the top canvas begings flickering, no JavaScript function being done in the background. I have no idea what is
Cant select text, cant position caret in Firefox – Slatejs
Description Slatejs editor only in Firefox fails with text selection and caret positioning (by mouse). It always selects position before first character (path[0] offset[0]). You can still use the keyboard to select text and position caret. Recording Firefox: Chrome: Expectation It should select text and position caret as it does in other browsers. Environment Slate Version: 0.63.0 Operating System: Windows
The script is not working in Mozilla Firefox
I need to send some data to the server when the page is closed or refreshed. Therefore, I created a simple script that can handle my needs. The problem is that this script is not working in Mozilla firefox. The script is working in many other browsers like chrome, chromium, brave, opera, falkon, epiphany, qutebroser, Midori, safari, edge. The problem
HTML Height changes when scrolling – space above page content is generated
i’ve got a very strange issue with one of our webpages, when you scroll on the page there seems to be some space generated above the page which changes the height of the html container and makes the page jump around while scrolling. As soon as I open the Inspector the issue disappears and is very hard to reproduce while