I have two input fields.
<div class="form-group">
<label for="a">YouTube URL:</label>
<input type="text" class="form-control" id="a">
</div>
<div class="form-group">
<label for="b">Video Duration</label>
<input type="text" class="form-control" id="b">
</div>
In the first one, the user needs to insert the URL of a YouTube video, and I want the second input field to display the duration of this video.
Is it even possible to achieve this with Javascript? If you have any ideas I'd love to hear from you.