how to play youtube video using jwplayer in ios ?

Parth Bhadaja

I am curruntly trying to play youtube video using JWPlayer ios sdk for this i follow step like this:

1) I go on https://www.jwplayer.com/ and create free trial account
2) After i downloaded open source jwplayer demo from jwplayer SDK and setup app key in info.plist use code like

     JWConfig *obj_config = [[JWConfig alloc]init];
         obj_config.file = @"http://youtube.com/watch?v=VIDEO_ID";
         obj_config.image = @"Thumbnils_Url";
         obj_config.size = CGSizeMake(320,320);

    self.obj_player = [[JWPlayerController alloc] initWithConfig:obj_config];
    [self.view addSubview:self.obj_player.view];

It`s give error like:

SETUP ERROR { event = onSetupError; message = "Error loading player: No playable sources found"; }

my question is jwplayer support youtube streaming or not?
if supported than how to play youtube video ?

Madhu

Yes jwplayer supports youtube videos but HTML5 is the only supported method for Youtube playback in jwplayer.

For you reference https://support.jwplayer.com/customer/portal/articles/1406725-youtube-video-embed

You cannot play youtube videos in mobile through jwplayer.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Play youtube video in Background using YouTube Helper Library iOS

From Dev

How to play youtube video using MPMoviePlayerController?

From Dev

How to play a video with the YouTube API using YouTubePlayerFragment?

From Dev

How to play youtube video?

From Dev

How to play youtube video?

From Dev

Using YTPlayerView to play embedded YouTube video in iOS failed with restriction error

From Dev

How to play YouTube video without leaving app on iOS 7

From Dev

Play a Youtube video using JavaFX

From Dev

How to play Video using OpenGL in iOS?

From Dev

jwplayer: using seek(), onTime() and stop() to play part of the video

From Dev

How to add a button to play YouTube video full screen using JavaScript?

From Dev

how to play video in jwplayer when onclick function called....playlist

From Dev

how to play mp4 video in jwplayer in php file

From Dev

How can I trigger a YouTube video to play in browser on iOS by clicking on a play button instead of the embed?

From Dev

How Insert Video with JWPlayer

From Dev

How Insert Video with JWPlayer

From Dev

How to play video using Youtube Data API v3 and video id in Windows Universal App

From Dev

How to play YouTube video in WebView on Google Glass

From Dev

How to play youtube video in UIWebView muted?

From Dev

How to play a youtube video in ember application

From Dev

How to play and pause a Youtube video in the console?

From Dev

How to play youtube video upon click of an image?

From Dev

How to play YouTube video in WebView on Google Glass

From Dev

how to play Youtube Video in VLC Player

From Dev

How to play youtube video in UIWebView muted?

From Dev

How to make a Youtube player popout and play a video?

From Dev

ios7 and ios6 play youtube video

From Dev

How to play pre/post-roll ads on facebook using jwplayer?

From Dev

Jwplayer can't play video in Chrome

Related Related

  1. 1

    Play youtube video in Background using YouTube Helper Library iOS

  2. 2

    How to play youtube video using MPMoviePlayerController?

  3. 3

    How to play a video with the YouTube API using YouTubePlayerFragment?

  4. 4

    How to play youtube video?

  5. 5

    How to play youtube video?

  6. 6

    Using YTPlayerView to play embedded YouTube video in iOS failed with restriction error

  7. 7

    How to play YouTube video without leaving app on iOS 7

  8. 8

    Play a Youtube video using JavaFX

  9. 9

    How to play Video using OpenGL in iOS?

  10. 10

    jwplayer: using seek(), onTime() and stop() to play part of the video

  11. 11

    How to add a button to play YouTube video full screen using JavaScript?

  12. 12

    how to play video in jwplayer when onclick function called....playlist

  13. 13

    how to play mp4 video in jwplayer in php file

  14. 14

    How can I trigger a YouTube video to play in browser on iOS by clicking on a play button instead of the embed?

  15. 15

    How Insert Video with JWPlayer

  16. 16

    How Insert Video with JWPlayer

  17. 17

    How to play video using Youtube Data API v3 and video id in Windows Universal App

  18. 18

    How to play YouTube video in WebView on Google Glass

  19. 19

    How to play youtube video in UIWebView muted?

  20. 20

    How to play a youtube video in ember application

  21. 21

    How to play and pause a Youtube video in the console?

  22. 22

    How to play youtube video upon click of an image?

  23. 23

    How to play YouTube video in WebView on Google Glass

  24. 24

    how to play Youtube Video in VLC Player

  25. 25

    How to play youtube video in UIWebView muted?

  26. 26

    How to make a Youtube player popout and play a video?

  27. 27

    ios7 and ios6 play youtube video

  28. 28

    How to play pre/post-roll ads on facebook using jwplayer?

  29. 29

    Jwplayer can't play video in Chrome

HotTag

Archive