v0.5.1
This commit is contained in:
parent
01e9ae06f4
commit
7119d5bdf4
292 changed files with 790 additions and 16347 deletions
|
@ -16,8 +16,9 @@
|
|||
|
||||
var player;
|
||||
function onYouTubeIframeAPIReady() {
|
||||
console.log("Videoid: "+getVideoId());
|
||||
player = new YT.Player('player', {
|
||||
playerVars: { 'html5': 1, 'iv_load_policy': 3 },
|
||||
playerVars: { 'html5': 1, 'iv_load_policy': 3, 'autoplay': 1 },
|
||||
frameborder: '0',
|
||||
height: '100%',
|
||||
width: '100%',
|
||||
|
@ -31,6 +32,7 @@
|
|||
|
||||
function onPlayerReady(event) {
|
||||
document.title = 0;
|
||||
event.target.playVideo();
|
||||
}
|
||||
|
||||
function onPlayerStateChange(event) {
|
||||
|
@ -42,4 +44,4 @@
|
|||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue