Add notification when queueing jwplayer
This commit is contained in:
parent
3ebf4a1009
commit
cfd70cff12
3 changed files with 25 additions and 10 deletions
|
|
@ -622,6 +622,12 @@ Callbacks = {
|
|||
if(data.type != "sc" && PLAYER.type == "sc")
|
||||
// [](/goddamnitmango)
|
||||
fixSoundcloudShit();
|
||||
if(data.type != "jw" && PLAYER.type == "jw") {
|
||||
// Is it so hard to not mess up my DOM?
|
||||
var wtf = $("<div/>").attr("id", "ytapiplayer")
|
||||
.insertBefore($("#ytapiplayer_wrapper"));
|
||||
$("#ytapiplayer_wrapper").remove();
|
||||
}
|
||||
if(data.type != PLAYER.type) {
|
||||
PLAYER = new Media(data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue