javascript - JWPlayer No suitable players found error with youtube link -


I have a problem with JWPlayer, which was recently (i.e. working with this exact code) Using the YouTube link, I'm getting "no suitable player found". My setup is as follows:

  jwplayer ("mediaplayer2") setup ({Flash Player: "php / jwplayer / player. Swf ", file:" https://www.youtube.com/watch?v=YSYAR7hfPE ", autostart: true, control: wrong, logo:" http: // ... "," logo.link ":" "True", "true", image: "php / jwplayer / preview.jpg": "tracker2.php", "logo.hide": wrong, controlbar: "over", "controlbar, adelehead": "true", "controlbar." , Screen color: "000000", width: "500", height: "300", drag: "fill", skin: "php / jwplayer / skins / bekle "Http: // ...", event: {onPause: function () {If (success! = 1) this.play (true);}, about " Interactive: function () {//this.stop (); //$.post('php/jwplayer/callback.php '); if (success == 1) error at {this.stop ();}}, : Function (Message) {alert (message); console.log (message);}, onsetup error: function (fallback, message) {warning (message); Console.log (message);}}}); < / Code>  

How can I fix this?

The problem is with Youtubevideo, it's a private video youtube video embed in Jwplayer To learn more about how to do this

This is an error happening in the console

  Object message: "Error loading YouTube: Video removed or private" Type: "jwplayerError" __proto__: object   

Comment on this question and you can not play private YouTube video in jwplayer.

I have performed simple to show jwplayer with YouTube

Check it out

  jwplayer ("mediaplayer2"). Setup ({file: "https://www.youtube.com/watch?v=efuICQgCWLA", Autostart: true, // control: false, width: "500", height: "300", drag: "fill ",});   

Also check this troubleshooting guide

Error loading YouTube: Video removed or private means that The YouTube video has been removed (for any reason), or it has been marked as private by the owner of the video.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -