Category "html"

iOS File input for videos, video compressing terminates when screen not active anymore

I have a web app with a file upload input for large videos (30+ minutes). In iOS, when user selects a video, the OS will first compress it, an action that happe

JavaScript Button Stop All Audio on Page

I'm using a embed player from mixlr.com to play audio. Now I need a button to stop the whole site's audio. Though the player have it's own play pause button. Bu

Input type="date" working in Chrome but not in Firefox

I am not so into HTML and I have the following problem into this web page: http://www.saranistri.com/saranistriWPnew/richiesta-online-di-foto-storiche/ If you

Get url parameter with javascript

I try to get a URL parameter nr, but I get always false. var url = window.location.href; let params = new URLSearchParams(url.search); let nr = params.has('nr')

HTML5 Canvas toDataURL returns blank

I wanted to upload the image files, draw them into canvas, make changes and save it in the database. I tried to test the base64 value that the canvas image (Pic

This application has no explicit mapping for /error bad request 400

I have a small spring boot project,, which works fine . But, I tried to add some kind of validation.. I worked on one html page but failed on the other with no

How to override css prefers-color-scheme setting

I am implementing a dark mode, as macOS, Windows and iOS have all introduced dark modes. There is a native option for Safari, Chrome, and Firefox, using the fol

How to trigger prefers-color-scheme in :root and for global variable?

I have written css code similar to this: :root { ...some global color related variables } @media (prefers-color-scheme: dark) { :root { ...global color

Show placeholder text for input type date

Placeholder does not work for input type date and datetime-local directly. <input type="date" placeholder="Date" /> <input type="datetime-local" placeh

HTTP error 403 in Python 3 web scraping the publications

This is the traceback of the error that is happening when I am trying to put the URL of the publication. It works for the regular websites such as Stack Overflo

How to plot x,y coordinates of item on a image in html

I need to place/plot a pin(Small image to point the parts of person) on a image(For example: A image of person). I am getting x,y,height,width values from ser

How to show a dropdown list on a contentEditable span/div item when user tries to change the text of span

I have a contentEditable span element defined as: <span contentEditable={this.props.enableEditColumn} onKeyPress={this.checkInput.bind(this,columnDef)}>

How to invoke date picker from date input in javascript? [duplicate]

Chrome has native date picker for <input type="date">: I like it, and it's totally ok with me to have it work only in chrome. The que

What is the utility of the media attribute in the Link tag?

Is there any advantage or improvement to us using the media attribute in the link tag? If so?, then I don't need to use the @media rule in my CSS, using the med

how to show an overflow element completely . 'overflow-x : visible ' not working

i have a template with 3 section that .rightand.left sections are sticky to top and have 100vh height. and may become overflowed , that should be scrolled separ

New line character from c# to cshtml

I am making a webpage... the controller is written in C# and the webpage is in cshtml. In the c# file, I am constructing strings to be put into the table on the

Page looks different on localhost than in Intellij preview

In my Spring app I have implemented form on my page and I don't know why it looks different when I run it on localhost from when i clicked in the Intellij chrom

how to show an overflow element completely . 'overflow-x : visible ' not working

i have a template with 3 section that .rightand.left sections are sticky to top and have 100vh height. and may become overflowed , that should be scrolled separ

Placing <label> text inside the border of a text input

I'm looking get this code: <form id="first_name"> <div class="form-group"> <label>First name</label> <input ty

required attribute not working with primeng <p-dropdown>

I am working on a angular2 App and I am using primeng for UI elements. I have dropdowns where I am using the options in these dropdowns are dynamically generat