How to Create Screen Recorder Website || With Advance Features || In Blogger || By CodeWithLaxman ||
So at such a time, I have brought you the script of Screen Recorder Tool Website . You can write an article about this, how to use it and you can earn money by putting it on your blogger's site. Adsense Approval happens quickly on this type of website . So how you have to create it in Blogger and how to copy the code , I will tell you all this process in this article.
So friends, to copy this code, you have to complete the steps given below.
Many friends might even know the name of what this Screen Recorder is? So I want to tell you that the source code that is made available in any blog post or blog page . And the format in which it is added to the post is known as Screen Recorder .
But now with the passage of time everything is getting advance . In such a situation, now the Normal Screen Recorder has also been made Advance. Now in this you also get to see Screen Recorder with 3D Background . And the advantage of this is that all the codes look good but along with that the Text Area Box and Site also look good . Due to which more and more traffic comes to the sites .
Click on the Download Button given below
Then it will redirect you to a new page
Now you have to scroll from the bottom and click on Continue Download .
Now scroll down and solve the Captcha and click on Click Here To Download .
Then you will see Countdown Timer meaning that the counting box will be seen in a circular circle, wait till then and then click on Get Link .
Now you will see the code in the box of Blue or Green Color .
Now copy the code .
<!DOCTYPE html>
<html>
<head>
<title>[Best] Online Screen Recorder</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A free online screen recorder is one of the best tools to capture a screen in just a couple of clicks. No software installation needed. Use our online video recorder for free as many times as you want – no need to pay anything!"/>
<meta name="robots" content="index,follow" />
<meta name="keywords" content="A free online screen recorder is one of the best tools to capture a screen in just a couple of clicks. No software installation needed. Use our online video recorder for free as many times as you want – no need to pay anything!" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="icon" href="favicon.png" sizes="16x16" type="image/png">
<script>
if (document.location.search.match(/type=embed/gi)) {
window.parent.postMessage("resize", "*");
}
</script>
<style>
* {
margin: 0;
padding: 0;
}
.mt-5, .my-5 {
margin-top: 0rem!important;
}
#hd {
width:100%;
height:390px;
margin:0 0 50px 0;
}
h1 {
color: red;
}
body {
color: blue;
}
</style>
</head>
<body>
<div style="position: relative; background-image: linear-gradient(to right, #e1ed00, #c2ed00, #96ed00, #4bed00, #00ed00); min-height: 99vh;">
<center>
<div class="container">
<h1>[Best] Online Screen Recorder</h1>
</center>
<br />
<h3 style="text-align:center;">
A free online screen recorder is one of the best tools to capture a screen in just a couple of clicks. No software installation needed. Use our online video recorder for free as many times as you want – no need to pay anything! </h3>
<hr />
<br />
<center>
<video width="320" height="240" autoplay></video><br>
<button id="shareScreen">Capture Screen</button>
<button id="rec" disabled>Record</button>
<button id="stop" disabled>Stop</button>
<a id="downloadLink" download="mediarecorder.webm" name="mediarecorder.webm" href></a>
<div id="error"></div>
</center>
</div></div>
<script src="
https://yourjavascript.000webhostapp.com/upload/e8726e5d9f147.js
"></script>
<script id="rendered-js" >
var shareBtn = document.querySelector("button#shareScreen");
shareBtn.onclick = shareScreen;
var recBtn = document.querySelector("button#rec");
recBtn.onclick = onBtnRecordClicked;
var stopBtn = document.querySelector("button#stop");
stopBtn.onclick = onBtnStopClicked;
var videoElement = document.querySelector("video");
videoElement.style.backgroundColor = "black";
var downloadLink = document.querySelector("a#downloadLink");
var mediaRecorder;
var localStream = null;
document.getElementById("error").innerHTML = "";
function shareScreen() {
console.log("shareScreen");
document.getElementById("error").innerHTML = "";
var screenConstraints = { video: true, audio: true };
navigator.mediaDevices.getDisplayMedia(screenConstraints).then(function (screenStream) {
/* use the screen & audio stream */
var micConstraints = { audio: true };
navigator.mediaDevices.getUserMedia(micConstraints).then(function (micStream) {
/* use the microphone stream */
//create a new stream in which to pack everything together
var composedStream = new MediaStream();
//add the screen video stream
screenStream.getVideoTracks().forEach(function (videoTrack) {
composedStream.addTrack(videoTrack);
});
//create new Audio Context
var context = new AudioContext();
//create new MediaStream destination. This is were our final stream will be.
var audioDestinationNode = context.createMediaStreamDestination();
//check to see if we have a screen stream and only then add it
if (screenStream && screenStream.getAudioTracks().length > 0) {
//get the audio from the screen stream
const systemSource = context.createMediaStreamSource(screenStream);
//set it's volume (from 0.1 to 1.0)
const systemGain = context.createGain();
systemGain.gain.value = 1.0;
//add it to the destination
systemSource.connect(systemGain).connect(audioDestinationNode);
}
//check to see if we have a microphone stream and only then add it
if (micStream && micStream.getAudioTracks().length > 0) {
//get the audio from the microphone stream
const micSource = context.createMediaStreamSource(micStream);
//set it's volume
const micGain = context.createGain();
micGain.gain.value = 1.0;
//add it to the destination
micSource.connect(micGain).connect(audioDestinationNode);
}
//add the combined audio stream
audioDestinationNode.stream.getAudioTracks().forEach(function (audioTrack) {
composedStream.addTrack(audioTrack);
});
//pass over to function that shows the stream and activates the recording controls
onCombinedStreamAvailable(composedStream);
}).catch(function (err) {
console.log(err);
document.getElementById("error").innerHTML = "You need a microphone to run the screen recorder";
});
}).catch(function (err) {
console.log(err);
document.getElementById("error").innerHTML = "You need to share your screen to run the screen recorder";
});
}
function onCombinedStreamAvailable(stream) {
console.log("onCombinedStreamAvailable");
localStream = stream;
videoElement.srcObject = localStream;
videoElement.play();
videoElement.muted = true;
recBtn.disabled = false;
shareBtn.disabled = true;
stopBtn.disabled = true;
}
function onBtnRecordClicked() {
console.log("onBtnRecordClicked");
if (localStream != null) {
mediaRecorder = new MediaRecorder(localStream);
mediaRecorder.onstop = function () {
console.log("mediaRecorder.onstop");
var blob = new Blob(chunks, { type: "video/webm" });
chunks = [];
var videoURL = window.URL.createObjectURL(blob);
downloadLink.href = videoURL;
videoElement.src = videoURL;
downloadLink.innerHTML = "Download";
};
let chunks = [];
mediaRecorder.ondataavailable = function (e) {
chunks.push(e.data);
};
mediaRecorder.start(2);
console.log(mediaRecorder.state);
recBtn.style.background = "red";
recBtn.style.color = "black";
recBtn.disabled = true;
shareBtn.disabled = true;
stopBtn.disabled = false;
} else {
console.log("localStream is missing");
}
}
function onBtnStopClicked() {
mediaRecorder.stop();
console.log(mediaRecorder.state);
console.log("recorder stopped");
recBtn.style.background = "";
recBtn.style.color = "";
}
//# sourceURL=pen.js
</script>
</body>
</html>
Now it is a matter of where to paste this script , how to make Screen Recorder Website . So to create a Screen Recorder website , you have to complete the steps given below.
Steps to Create Screen Recorder Website:-
Now you go to Blogger's Dashboard or search by writing blogger .
You click on New Blog and then create a name and save it by creating a subdomain .
Till now your work is done, your blogger website has been created.
Now you can click on Theme and choose the theme of Simple Blog and apply .
Now click on Arrow and go to Mobile Settings and switch from Mobile View to Desktop View .
Switch to first generation classic theme by clicking on Arrow again and choose Without A backup .
Now click on Edit Html and paste the code by selecting All .
Now save it by clicking on the Save icon .
● Congratulations your Screen Recorder Website has been created successfully.
Important Notice:- If you want to install it on your other site then usethis tool .
Conclusion:- So friends, how did you like this article about Screen Recorder Script For Blogger, definitely tell in the comment. Or if you also want to give any kind of suggestion, then you can share your opinion with us in the comment box below .