Const d=setInterval(setSubTitlesZB,1000); const langST = 'it'; function setSubTitlesZB() { try { if(window.dailymotion===undefined) return; window.dailymotion.getPlayer().then(player=>{player.setMute(false);player.getState().then(state=>{ if (state.videoSubtitlesList.includes(langST)){ window.dailymotion.getPlayer().then(player=>{player.setSubtitles(langST);console.log("setSubTitles "+langST);clearInterval(d);}); } })}); } catch (error) { console.
Leggi
Altre notizie:
