remove sematic sectin tags
This commit is contained in:
parent
9adab0f422
commit
c020ce7ba9
12
index.html
12
index.html
@ -13,22 +13,22 @@
|
|||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<section class="section-episodes">
|
<div class="section-episodes">
|
||||||
<div class="episodes">
|
<div class="episodes">
|
||||||
<ul id="episodeList"></ul>
|
<ul id="episodeList"></ul>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</div>
|
||||||
|
|
||||||
<section class="section-video">
|
<div class="section-video">
|
||||||
<video id="video" controls>
|
<video id="video" controls>
|
||||||
</video>
|
</video>
|
||||||
</section>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
let episodesList = [177, 178]; // example
|
let episodesList = [177, 178]; /* episodes number list */
|
||||||
|
|
||||||
window.onload = function() {
|
window.onload = function() {
|
||||||
let episodeListElement = document.getElementById('episodeList');
|
let episodeListElement = document.getElementById('episodeList');
|
||||||
@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
videoElement.textContent = '';
|
videoElement.textContent = '';
|
||||||
let videoSource = document.createElement('source');
|
let videoSource = document.createElement('source');
|
||||||
videoSource.setAttribute('src', `https://iiiypuk.me/y/o/${episodeId}.mp4`);
|
videoSource.setAttribute('src', `https://a2s.su/y/ep/${episodeId}.mp4`);
|
||||||
videoSource.setAttribute('type', 'video/mp4');
|
videoSource.setAttribute('type', 'video/mp4');
|
||||||
videoElement.appendChild(videoSource);
|
videoElement.appendChild(videoSource);
|
||||||
videoElement.load();
|
videoElement.load();
|
||||||
|
1
requirements-dev.txt
Normal file
1
requirements-dev.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
editorconfig-checker==2.4.0
|
Loading…
Reference in New Issue
Block a user