If you followed a link on Instagram that redirected you to a YouTube video, it means that the person or account that shared the link on Instagram wanted to direct you to that specific video on YouTube.
To watch the video on YouTube, you can click on the link provided or copy and paste the URL (https://youtu.be) into your web browser. This will take you directly to the video page on YouTube, where you can watch the video, like, comment, and share it with others.
If you want to leave Instagram entirely and go back to your web browser or another app, you can simply close the Instagram app or navigate away from the Instagram website.
follow_link.html
<!DOCTYPE html>
<html lang="en">
<head>
<title>URL</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<style>
#open-button{
background-color: #000;
color: #ffff;
border-radius: 5px;
}
</style>
<body>
<div class="container">
<h2 style="text-align:center;">Enter Instagram Forward Link</h2>
<form >
<div class="form-group">
<label for="url">URL:</label>
<input type="text" class="form-control" placeholder="Enter url" id="mytext" onkeyup="appen()">
</div>
<input type="submit" id="open-button" name="Submit" value="Open" onmouseenter="appen()">
</form>
<table id="mytable">
<thead>
<tr>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<script>
function appen() {
var a = $("#mytext").val();
//var video_id = a.split("u=")[2].substring(0, 2)
var video_id = a.split("youtu.be")[1].substring(3, 14)
//alert(video_id);
var b = $("#lastname").val();
$("#mytable tbody").append('<iframe src="http://www.youtube.com/embed/'+video_id+'?autoplay=1" width="400px" height="300px" allow="autoplay"></iframe>');
$("#mytext").val('');
}
</script>
</body>
</html>