Last active
August 29, 2015 14:21
-
-
Save pupunzi/3520aa9c52bf5baa4f34 to your computer and use it in GitHub Desktop.
ytube vid test// source http://jsbin.com/jolocipalo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>ytube vid test</title> | |
<link href="https://rawgit.com/pupunzi/jquery.mb.YTPlayer/master/css/YTPlayer.css" media="all" rel="stylesheet" type="text/css"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> | |
<script src="https://rawgit.com/pupunzi/jquery.mb.YTPlayer/master/inc/jquery.mb.YTPlayer.min.js"></script> | |
</head> | |
<body> | |
<div id="bgndVideo" class="player" | |
data-property="{containment:'body',showControls:true, autoPlay:true, mute:true, startAt:0, opacity:1, videoURL:'r1xohS2u69E'}"> | |
</div> | |
<br><br><br> | |
<button onclick=" $('#bgndVideo').YTPMute()">mute</button> | |
<script> | |
$(function(){ | |
$("#bgndVideo").mb_YTPlayer(); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment