mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 09:58:14 +01:00
1
This commit is contained in:
parent
fceb1f9622
commit
f9474cb95e
1 changed files with 7 additions and 1 deletions
|
@ -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 { %>
|
||||
<% } %>
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue