How to Create YouTube Video Timestamp Generator Tool in Blog - Post or Page
Hey Guys! Welcome back to Techly Series website.
Assuming You are observing the YouTube Video Timestamp Generator Tool Script on blogger. This is the Right Place to you. Since You can get this Script for free and gain deep pocket With Your adsense.
Today, in this article, I will Discuss with you about How to Create YouTube Video Timestamp Generator Tool in Blog - Post or Page.
How to Create
So, to create YouTube Video Timestamp Generator Tool on blogger you need to follow the following process below precisely.
What's more, with the help of these steps, you can easily make this tool in your blogger website.
Once you click on the following codes, it will be copied
Step 1
- You will go to your - Blogger Dashboard
- Go to Theme
- Go to - Edit HTML
- Search - </head> or </head>
- Copy this CSS Code below and Paste on top of </head> or </head>
- Save Theme
<link rel='stylesheet' href='https://cdn.jsdelivr.net/gh/itsTSUI/tsP/toolBody.css'></link>
<script crossorigin='anonymous' src='https://kit.fontawesome.com/4ad360bfd2.js'/>
Step 2
- After Save Theme
- Create a new Post or Page
- Copy this HTML & Javascript Code below and Paste in your blog - Post or Page
- Publish
<div class="Tbody">
<b>Video URL</b>
<input id="Vurl" placeholder="Paste Video URL Here..." name="url" required/>
<b>Minutes</b>
<input type="number" id="Minutes" placeholder="Enter Minutes Here..." required/>
<b>Seconds</b>
<input type="number" id="Seconds" placeholder="Enter Seconds Here..." required/>
<button type="button" id="Gbutton">Get Link<i class="fa-regular fa-hand-point-right"></i></button>
<b>Timestamped URL</b>
<input id="Turl" placeholder="Get Timestamped URL Here..." readonly/>
<button type="button" id="Clear"><i class="fa fa-repeat"></i>Try Another</button>
</div>
<script>function getLink(e,t,u){var n=60*t;console.log(n),console.log(u);var o=parseInt(n+u);console.log(o),resultUrl=`https://youtu.be/${getId(e)}?t=${o}`,document.querySelector("#Turl").value=resultUrl}function getId(e){var t=e.match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return!!t&&11==t[7].length&&t[7]}Gbutton.onclick=function(){getLink(url=document.querySelector("#Vurl").value,minutes=parseInt(document.querySelector("#Minutes").value),seconds=parseInt(document.querySelector("#Seconds").value))},Clear.onclick=function(){[Vurl,Minutes,Seconds,Turl].forEach(function(e){e.value=""})};</script>
Final Words
You ought to indeed note by thinking in the remark box underneath. Or on the other hand you moreover bear to give some sort of Suggestion, likewise you can partake your conviction with me in the Comment Box beneath.
I didn't give this content to any individual who saw or replicated them. This content I've looked through a great deal and given by experience. So kindly don't note on this substance.
Assuming you experience any issues while copying this script you can impart me by Telegram and I'll attempt to help.
Post a Comment