Sound input in a web page [duplicate] - html

This question already has answers here:
How to capture audio in javascript?
(3 answers)
Closed 4 years ago.
When looking for information about sound in a web page.
All kind of resources come about putting sound for listening.
What I want is a web form where the user can say something and the sound will be recorded and sent over to a server like it can be done with text.
How can this be done?

I found a website here that explains it, but essentially here's how you capture user audio input:
<input type="file" accept="audio/*;capture=microphone">
Hope this helped.

Related

Is it possible to share a website without hosting it? [duplicate]

This question already has answers here:
Is there anyway to render a website and share it without hosting it?
(2 answers)
Closed 1 year ago.
So recently I started a project to expand my knowledge when it comes to HTML and CSS. I made a little website just for myself and I want to get some feedback from my friend.
I want him to be able to maybe click on a link and then get to my website (doesn't have to be a link). So I don't want to publish the website for anyone but for my friend or anyone that has that link or something like that.
I already heard about sharing files to someone on OneDrive and including all the code in it but my OneDrive is already out of storage so something different would be nice.
It is best to use pages.github.com check the page is a small post and video tutorial on how to use it, greetings bro!

How to get radio button input as a value in python 3 [duplicate]

This question already has answers here:
Get the data received in a Flask request
(23 answers)
Post values from an HTML form and access them in a Flask view
(2 answers)
Closed 3 years ago.
My project is to create a basic website that will allow the user to pick a genre of music then guess from a clip what the song is. There is a separate question and answer page. The user chooses on the question page, and then I'm trying to request this choice on answer.py
I'm having trouble getting the user's choice of song that they think is the correct one.
this is the html using radio buttons. I am using flask so I've been trying to use request. Also, i think the input it receives might be a list, so whenever we use request.args or anything else keyerror always shows up. I can't post my code due to possible honor code violations but if there is any general feedback about how to approach this that would be great!
From your question it is difficult to understand what you're struggling with exactly. There are plenty of tutorials online that deal with processing forms in flask.
From your description, you'll want something like
<form ..>
<input type="radio" name="choices" id="choice1" value="choice1"> Choice 1</input>
<input type="radio" name="choices" id="choice2" value="choice2"> Choice 2</input>
...
</form>
In your flask route you can then use
choices = request.form['choices']

Beginner HTML: <iframe> not working as I'd like to [duplicate]

This question already has answers here:
Overcoming "Display forbidden by X-Frame-Options"
(27 answers)
Closed 3 years ago.
so I am still fairly new in coding and started with HTML, because I think it is the easiest and quickest way to get into it.
Im now using w3schools.com to develop my skills and now I am trying to use the iframe tag. When I just used as scr "https://www.google.com" it said, that google is refusing to connect. Then I downloaded the google website and added it to the folder and changed it to scr"google.html" it shows the Page of google, without fancy imaging of Google, which is already an advancment, however, I am unable to actually search something, then I get the error again "Refusing to connect".
Anyone an idea why this is happening and how to solve that?
FYI: My Website is not running on a Server, but I am connected to the Interenet.
Thanks in advance!
Every website can prevent third-party domains from embedding their content.
(How? How to prevent my site page to be loaded via 3rd party site frame of iFrame).
So the problem is not with your code. Google has denied access to embed it inside iframes.

mailto: link equivalent for phone calls? [duplicate]

This question already has answers here:
How to mark-up phone numbers?
(14 answers)
Closed 8 years ago.
Is there any way using html and/or JS to link an image so that it makes a phone call. Similar to the mailto: links. This would just make life a lot easier if this was possible. Say if a person had skype, could a button then open skype for them and call a number?
Thanks in advance
like this:
Call us free!
you can look also on this article
add-telephone-number-links-with-html
Presuming that desktop userd use skype,
Call 579-827-0034

How to detect an Operating System [duplicate]

This question already has answers here:
Cross Browser Flash Detection in Javascript
(16 answers)
Closed 9 years ago.
I am in the process of trying to rewrite my website, and I have limited experience in HTML/CSS/Javascript. It is a photography website using galleries. I am wanting to make the default view to be using Flash, but I know that iPad/iPhone etc do not support Flash. I am looking for a way to determine what the OS is so I can direct the iWhatevers (and others if there are any), to a purely HTML site, and the non-iWhatevers to the Flash site.
I presume it would be done in the Heading part of the HTML, but what script would I use to do this?
Thank you in advance...
That sounds like a lot of extra work to create to maintain a Flash and a regular HTML site when a properly done HTML5 site can kill all the browsers with one stone. Consider a CMS like WordPress if you are not comfortable with a lot of coding.
However, if you want to go the route you mentioned, this thread will show you how: Detect if device is iOS