[ bant / qa / archive ] [ Flags / Format / Feedback / FAQ ] [ Banners ] [ Booru / TF2 ] [ Home ]  [Admin] [Options]

/archive/ - Archive

Name
Email
Comment
Flags
File
Embed
Password (For file deletion.)

Free password: onyxmeow1488
Visitors in the last 10 minutes: 50
PPH: 0

 No. 118

>>105 (Cross-Thread)

 No. 119

bruh.gif (3.83 MB , 640x360)

Test

 No. 120

Test4

 No. 121

Test5

 No. 122

Test
<br><br>

<script src="https://www.youtube.com/iframe_api"></script>
</head>
<body>
<?php
$youtubeVideoUrl = "https://www.youtube.com/watch?v=oBPfl2nJUfk";
$youtubeVideoId = getYoutubeVideoId($youtubeVideoUrl);

// Function to extract YouTube video ID from URL
function getYoutubeVideoId($url) {
parse_str(parse_url($url, PHP_URL_QUERY), $params);
return isset($params['v']) ? $params['v'] : null;
}
?>

<div id="player"></div>

<script>
// YouTube iframe API callback function
function onYouTubeIframeAPIReady() {
var player = new YT.Player('player', {
height: '360',
width: '640',
videoId: '<?php echo $youtubeVideoId; ?>',
events: {
'onReady': onPlayerReady,
// 'onStateChange': onPlayerStateChange // Uncomment and customize if you need to handle state changes
}
});
}

// Event handler when the YouTube player is ready
function onPlayerReady(event) {
// Autoplay the video
event.target.playVideo();
}
</script>
</body>

 No. 123

102288522_p5.jpg (296.6 KB , 535x528)

>>192 (Cross-Thread)

 No. 124

whale



[Return] [Go to top] [Orin] [Live ] [Post a Reply]
Delete Post [ ]
6 replies |  4 images | Page 7