Get started with jquery.mb.YTPlayer CDN

(MIT OR GPL-2.0) licensed

Lightweight YouTube video plugin for jQuery projects: jQuery.mb.YTPlayer.

Tags:
  • video
  • Youtube
  • background
  • HTML5
  • player
  • custom

Stable version

Copied!

How to start using jquery.mb.YTPlayer CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with jquery.mb.YTPlayer CDN - cdnhub.io</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.2/css/bootstrap.min.css">
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://cdn.cdnhub.io/jquery.mb.YTPlayer/3.3.9/jquery.mb.YTPlayer.min.js"></script>
    <style>
        #player {
            width: 100%;
            height: 500px;
        }
    </style>
</head>
<body>
    <div id="player"></div>
    <script>
        $(document).ready(function() {
            $('#player').MB_YTPlayer();
        });
    </script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!

All versions