Code Snippet:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Download Any Youtube Video in a single click</title>
<script src="Scripts/angular.js"></script>
</head>
<body ng-app="">
<div>
<h2>Download Any Youtube Video in single click</h2>
Enter video ID:<input type="text" ng-model="ID" /><br />
For Example: link= youtube.com/watch?v=<b>0o0kNeOyH98</b>
<br /> Here bolded text is ID
<br />
<div>
<a ng-show="ID" ng-href="https://www.ssyoutube.com/watch?v={{ID}}" target="_blank">{{ID}}</a>
</div>
</div>
<br />
<div ng-init="IDS=['0o0kNeOyH98','ID2','ID3'];">
<h2>Want to download multiple videos at once then store ids in array </h2>
<div ng-repeat="ID in IDS">
<a ng-show="ID" ng-href="https://www.ssyoutube.com/watch?v={{video}}" target="_blank">{{ID}}</a>
</div>
</div>
</body>
</html>
How it Looks:
No comments:
Post a Comment