Skip to content

Commit

Permalink
lcl sto test
Browse files Browse the repository at this point in the history
  • Loading branch information
Miala-python authored Oct 25, 2024
1 parent e3f1223 commit a0fd509
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 2 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,11 @@ <h2>V0.05.0 - **/**/2024</h2>
</ul>
</li> -->
<li>
<h2>V0.04.2 - 24/10/2024</h2>
<h2>V0.04.2 - **/1*/2024</h2>
<ul>
<!-- <li>Résolutions de bugs mineurs:
<ul>
<li>Jamais de mise à jour de la playlist (cf. <a target="_blank"
href="https://github.com/MialaProg/MiYT/issues/19">Pb#19</a>)</li>
<li></li>
</ul>
</li> -->
<li>Support des vidéos solo (cf. <a target="_blank"
Expand Down
2 changes: 1 addition & 1 deletion lib/lcl_svg.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

console.log('saver.js >> V2.04.0');

var saver_version = 'V0.04.0S.0'; //A changer pour reset les données => Eviter les erreurs au max
var saver_version = 'V0.04.0S.1'; //A changer pour reset les données => Eviter les erreurs au max

function lcl_rmv_all() {
// Effacer tous les éléments
Expand Down
6 changes: 6 additions & 0 deletions loop.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ function changeVideo(nid, pgs_rest = true) {
}
} catch (error) { }
pl_view_active = id;

// Known ERR: loop.js:81 TypeError: Cannot read properties of null (reading 'classList') at changeVideo (loop.js:78:61)
// => just stop try...
console.log('Try add dark bg to article with id:'+id);
document.getElementById('pl_view_article_' + id).classList.add('has-background-grey-dark');
}

Expand Down Expand Up @@ -190,6 +194,8 @@ function pageUpdate(act = false) {
pageUpdate_i = 0;

let duration = player.getDuration();
// ERROR connue : loop.js:193 Uncaught TypeError: Cannot read properties of undefined (reading 'title') at pageUpdate
// => Just stop this function iteration
let video_title = player.getVideoData().title;

console.log('MiYT state: ' + currentTime + '/' + duration + ' => ' + currentState);
Expand Down

0 comments on commit a0fd509

Please # to comment.