This commit is contained in:
ashley 2024-08-01 11:41:44 +00:00
parent fceb1f9622
commit f9474cb95e

View file

@ -770,11 +770,17 @@ background-color: #0000;
var player = videojs('video');
<% if (!qua) { //TODO - a %>
player.src({
var sources = player.currentSources();
// Add the new audio source
sources.push({
type: 'audio/mp3',
src: '<%=u%>/latest_version?id=<%=inv_vid.videoId%>&itag=140&local=true'
});
// Set the updated source list
player.src(sources);
<% } else { %>
<% } %>
});