Rootviewcontroller tiene una vista web que reproduce un video de youtube y tiene un botón de cámara. El usuario puede hacer clic en el botón de la cámara y grabar el video. hasta este momento su funcionamiento muy bienipad camera and webview youtube video playing issue
Cuando me despido del controlador de la cámara y tratar de reproducir el vídeo en vista web, su marco se perturba a pesar de que he intentado quitar y añadir de nuevo a la vista.
Cuando me despido del controlador de la cámara sin la grabación del video de su trabajo bien ... Aquí está la imagen código para reproducir vídeo
GDataEntryBase *entry2 = [[AppDelegate.feed entries] objectAtIndex:[tag intValue]];
NSArray *contents = [[(GDataEntryYouTubeVideo *)entry2 mediaGroup] mediaContents];
NSString *urlString=[NSURL URLWithString:[[contents objectAtIndex:0] URLString]];
NSString *embedHTML = @"\
<html><head>\
<style type=\"text/css\">\
body {\
background-color: black;\
color: black;\
}\
</style>\
</head><body style=\"margin:0\"><div>\
<embed id=\"yt\" src=\"%@\" type=\"application/x-shockwave-flash\" \
width=\"736\" height=\"571\"></embed></div>\
</body></html>";
NSString *html = [NSString stringWithFormat:embedHTML, urlString, webplay.frame.size .width, webplay.frame.size.height];
NSLog(@"html=%@",html);
[webplay loadHTMLString:html baseURL:nil];
Por favor enviar el código. –
@iApple agregado compruébalo – GameLoading
Comprueba sus propiedades de autoevaluación – dark