title: youtube and other video links not played in chromcast ios app
body: <p>I am working on an ios app where I need to play youtube and other websites's video in app as well as need to cast it on chromcast. I have followed Google's official code example from here  <a href="https://codelabs.developers.google.com/codelabs/cast-videos-ios/#0" rel="nofollow">https://codelabs.developers.google.com/codelabs/cast-videos-ios/#0</a>  I am able to play several video links which has extensions like .mp4 but not able to play youtube video url.</p>
  
  <p>working url :- </p>
  
  <p><a href="http://www.html5videoplayer.net/videos/toystory.mp4" rel="nofollow">http://www.html5videoplayer.net/videos/toystory.mp4</a></p>
  
  <p>but can't play youtube link like this
   <a href="https://www.youtube.com/watch?v=WfV-0Yv5vNY" rel="nofollow">https://www.youtube.com/watch?v=WfV-0Yv5vNY</a></p>
  
  <p>I am passing video link and other data in bellow code when user tap on play button while the chromcast it connected.</p>
  
  <pre><code>GCKMediaInformation *mediaInformation =
    [[GCKMediaInformation alloc] initWithContentID:
            @"https://www.youtube.com/watch?v=KgNSAXGVY8A"
                                        streamType:GCKMediaStreamTypeNone
                                       contentType:@""
                                          metadata:metadata
                                    streamDuration:0
                                        customData:nil];
  
    [_mediaControlChannel loadMedia:mediaInformation autoplay:YES     playPosition:0];
  </code></pre>
  
  <p>My chromcast receiver type is default and I am using this key "kGCKMediaDefaultReceiverApplicationID" for casting on default receiver.</p>
  
  <p>I have searched so may question for this issue but almost all the questions are related to android application. 
  so can anybody tell me whats is wrong with this? also I want to know that should I need to use custom receiver for youtube video player or I can use default one.
  any help will be appreciate.</p>