Tab focus and caption position fixes (fixes #61, fixes #92)

This commit is contained in:
Sam Potts
2015-07-25 18:30:47 +10:00
parent 4dbbbd04cc
commit df64fdac9e
12 changed files with 98 additions and 50 deletions

2
docs/dist/docs.js vendored

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Docs styles -->
<link rel="stylesheet" href="//cdn.plyr.io/1.2.1/docs.css">
<link rel="stylesheet" href="//cdn.plyr.io/1.2.2/docs.css">
</head>
<body>
<main>

View File

@ -8,10 +8,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Styles -->
<link rel="stylesheet" href="https://cdn.plyr.io/1.2.1/plyr.css?1">
<link rel="stylesheet" href="https://cdn.plyr.io/1.2.2/plyr.css?1">
<!-- Docs styles -->
<link rel="stylesheet" href="https://cdn.plyr.io/1.2.1/docs.css?4">
<link rel="stylesheet" href="https://cdn.plyr.io/1.2.2/docs.css?4">
</head>
<body>
<header>
@ -97,13 +97,13 @@
b.insertBefore(c, b.childNodes[0]);
}
}
})(document, "https://cdn.plyr.io/1.2.1/sprite.svg");
})(document, "https://cdn.plyr.io/1.2.2/sprite.svg");
</script>
<!-- Plyr core script -->
<script src="https://cdn.plyr.io/1.2.1/plyr.js?1"></script>
<script src="https://cdn.plyr.io/1.2.2/plyr.js?1"></script>
<!-- Docs script -->
<script src="https://cdn.plyr.io/1.2.1/docs.js?1"></script>
<script src="https://cdn.plyr.io/1.2.2/docs.js?1"></script>
</body>
</html>

View File

@ -10,6 +10,7 @@ plyr.setup({
volume: 9,
title: "Video demo",
html: templates.controls.render({}),
tooltips: true,
captions: {
defaultActive: true
},