Skip to content

Commit

Permalink
V0.03.1U
Browse files Browse the repository at this point in the history
  • Loading branch information
Miala-python authored Feb 11, 2024
1 parent fb7c1c6 commit 4b5ee07
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ <h1>Lecteur MiYT - Musique & Videos</h1>
</div>

<div class="content box">
<h1>Version actuelle: <code>0.03.</code></h1>
<h1>Version actuelle: <code>0.03.1U</code></h1>
<ul>
<li>
<h2>Versions futurs (projets par ordre de priorités):</h2>
Expand All @@ -130,7 +130,7 @@ <h2>Versions futurs (projets par ordre de priorités):</h2>
</li> -->
</li>
<li>
<h2>V0.03.1 - **/**/2024</h2>
<h2>V0.03.1 - 11/02/2024</h2>
<ul>
<li>Résolutions de bugs mineurs:
<ul>
Expand Down
8 changes: 5 additions & 3 deletions lib/pl_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,18 @@ function setYouTubeVideoTitle(my_id, videoId) {
let videoTitle = data.title;
let txtElement = document.getElementById(`pl_view_txt_${my_id}`)
txtElement.innerHTML = videoTitle + txtElement.innerHTML;
console.log("setYouTubeVideoTitle OK: " + videoTitle)
})
.catch(error => console.log(`#${my_id} : ${error}`));
.catch(error => console.log(`SetTitleERR #${my_id} : ${error}`));
}

var pl_view_load_idx = 0;
var pl_view_loop_idx = 1;

function plv_load_title(){
let max = (playlist.length / 10) * pl_view_loop_idx;
let max = (playlist.length / 10) * pl_view_loop_idx + 50;
if (max > playlist.length){
max = playlist.length;
}
console.log('Chargement des titres des vidéos: ' + pl_view_loop_idx + ' => ' + max);
while (pl_view_load_idx < max) {
let my_id = pl_view_load_idx;
Expand Down

0 comments on commit 4b5ee07

Please sign in to comment.