youtube embed video
//Author:Mohammad Arman Khan
<div>
<iframe class="videoframe" src="https://www.youtube.com/watch?v=VfGW0Qiy2I0">
</iframe>
</div>
youtube embed video
//Author:Mohammad Arman Khan
<div>
<iframe class="videoframe" src="https://www.youtube.com/watch?v=VfGW0Qiy2I0">
</iframe>
</div>
get youtube video id from url javascript
// true when ID is found, false otherwise.
//Extracts youtube ID
<script type="text/javascript">
function youtube_parser(url){
var regExp = /^https?\:\/\/(?:www\.youtube(?:\-nocookie)?\.com\/|m\.youtube\.com\/|youtube\.com\/)?(?:ytscreeningroom\?vi?=|youtu\.be\/|vi?\/|user\/.+\/u\/\w{1,2}\/|embed\/|watch\?(?:.*\&)?vi?=|\&vi?=|\?(?:.*\&)?vi?=)([^#\&\?\n\/<>"']*)/i;
var match = url.match(regExp);
return (match && match[1].length==11)? match[1] : false;
}
</script>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us