Skip to content

Commit 811f573

Browse files
authored
Merge pull request #716 from ableplayer/develop
Merge changes from demos & build into main
2 parents ebc1f30 + 39e9367 commit 811f573

11 files changed

Lines changed: 3775 additions & 3381 deletions

build/ableplayer.dist.js

Lines changed: 900 additions & 736 deletions
Large diffs are not rendered by default.

build/ableplayer.js

Lines changed: 995 additions & 892 deletions
Large diffs are not rendered by default.

build/ableplayer.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/ableplayer.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/separate-dompurify/ableplayer.dist.js

Lines changed: 930 additions & 867 deletions
Large diffs are not rendered by default.

build/separate-dompurify/ableplayer.js

Lines changed: 931 additions & 868 deletions
Large diffs are not rendered by default.

build/separate-dompurify/ableplayer.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/separate-dompurify/purify.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/other-noa11y.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ <h1>Able Player with no HTML tracks<br/>(don't do this)</h1>
4242
</div>
4343

4444
<h2>YouTube Player with no Captions</h2>
45-
<p>This also makes relatively little sense, but it would be nice if it worked.</p>
45+
<p>This also makes relatively little sense, but at least your videos can have a consistent interface.</p>
4646

4747
<div class="wrapper">
4848
<video id="video1" data-able-player preload="auto" data-youtube-nocookie="true" data-youtube-nocookie="true" data-youtube-id="G5M1mdiEesw" playsinline></video>

demos/search2.html

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
#search {
2222
border: 2px solid #340449;
2323
padding: 0.5em;
24-
background-color: #FFC;
25-
max-width: 60em;
24+
background-color: #ffc;
2625
margin-bottom: 1em;
2726
}
2827

@@ -35,6 +34,11 @@
3534
font-weight: bold;
3635
}
3736

37+
#search div:nth-of-type(1) label,
38+
#search div:nth-of-type(2) label {
39+
display: block;
40+
}
41+
3842
#search input,
3943
#search select,
4044
#search button {
@@ -46,16 +50,13 @@
4650
flex-direction: row;
4751
flex-wrap: wrap;
4852
justify-content: flex-start;
49-
width: 1280px;
53+
max-width: 1280px;
5054
gap: 20px;
5155
padding: 1rem;
5256
}
53-
5457
#player {
55-
width: 45%;
5658
max-width: 500px;
5759
}
58-
5960
#results-wrapper {
6061
height: 700px;
6162
width: 45%;
@@ -115,11 +116,11 @@ <h1>Video player with search (client-side)</h1>
115116

116117
<div id="search">
117118
<div>
118-
<label for="terms">Search:</label>
119+
<label for="terms">Search Term</label>
119120
<input type="text" id="terms">
120121
</div>
121122
<div>
122-
<label for="lang">Language:</label>
123+
<label for="lang">Language</label>
123124
<select id="lang">
124125
<option value="en">English</option>
125126
<option lang="de" value="de">Deutsche</option>
@@ -128,11 +129,11 @@ <h1>Video player with search (client-side)</h1>
128129
</select>
129130
</div>
130131
<div>
131-
<label for="ignorecaps">Ignore Capitalization:</label>
132+
<label for="ignorecaps">Ignore Capitalization</label>
132133
<input type="checkbox" id="ignorecaps">
133134
</div>
134135
<div>
135-
<button type="button" id="go">Go</button>
136+
<button type="button" id="go">Search</button>
136137
</div>
137138
</div>
138139

0 commit comments

Comments
 (0)