Closed GoogleCodeExporter closed 9 years ago
Can you provide a sample code to replicate this issue?
Original comment by sbrah...@gmail.com
on 24 Apr 2013 at 11:44
videoPlayer = new YouTubePlayer("p93XOlLoFws", "320px", "240px");
videoPlayer.addDebugHandler(new DebugHandler() {
@Override
public void onDebug(DebugEvent event) {
if (event.getMessage().contains("Video not found")) {
System.out.println("This should print something here");
} else if (event.getMessage().contains("Video playback not allowed")) {
System.out.println("This should print something here");
}
}
});
videoPlayer.playMedia();
Original comment by rplo...@gmail.com
on 29 Apr 2013 at 1:43
This issue is with the YouTube player. It does not issue any documented error
code in this scenario.
Original comment by sbrah...@gmail.com
on 14 May 2013 at 1:47
Added an default message for undocumented error codes:
- An unknown error has occured - API Error Code(xxx)
Original comment by sbrah...@gmail.com
on 14 May 2013 at 1:51
Original issue reported on code.google.com by
rplo...@gmail.com
on 29 Mar 2013 at 5:21Attachments: