Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6552723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:29:42+00:00 2026-05-25T12:29:42+00:00

I have an iPhone app and I want one view to push to a

  • 0

I have an iPhone app and I want one view to push to a UIWebView maybe that shows search results of youtube videos for a particular search term. Then I want the user to be able to select the video and play it in app.

I’ve looked at the youtube tutorials but can’t seem to get a good grasp as to how to do this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T12:29:42+00:00Added an answer on May 25, 2026 at 12:29 pm

    Here is a method I use in a view controller with a UIWebView :

    - (void)embedYouTubeWithURLString:(NSString *)urlStr {
        CGFloat w = webView.frame.size.width;
        CGFloat h = webView.frame.size.height;
        NSString *embed = [NSString stringWithFormat:@"<html><head><meta name=\"viewport\""\
        " content=\"initial-scale=1.0, user-scalable=no, width=%0.0f\"/></head><body "\
        "style=\"background-color:transparent;margin-top:0px;margin-left:0px\"><div><object "\
        "width=\"%0.0f\" height=\"%0.0f\"><param name=\"movie\" value=\"%@\" /><param name=\"wmode"\
        "\"value=\"transparent\" /><param name=\"allowFullScreen\" value=\"true\" /><param"\
        " name=\"quality\" value=\"high\" /><embed src=\"%@\" type=\"application/x-shockwave-flash"\
        "\" allowfullscreen=\"true\" wmode=\"transparent\" width=\"%0.0f\" height=\"%0.0f\" />"\
        "</object></div></body></html>", w, w, h, urlStr, urlStr, w, h];
        [webView loadHTMLString:embed baseURL:nil];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically, I want to have an app with only one view that has an
I have an iphone app i want that befor moving to next screen it
I have an iPhone app that allows users to record videos and I'd like
I have an iphone app that uses table view as the interface. Each time
I have done one iPhone app in Objective-C. When I want to link a
I have a iphone app where I want to present one of the views
Let's say I have a UIButton in one tab view in my iPhone app,
I'm working on an iphone app and want to have a page showing multiple
I have a tab-based iPhone app where I want to increase the perceived start-up
I want to read .ppt files from the iPhone mail app. I have already

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.