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 6701689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:57:51+00:00 2026-05-26T06:57:51+00:00

Here is the problem: I can’t seem to make a YouTube video work while

  • 0

Here is the problem: I can’t seem to make a YouTube video work while still inside of a WebViewClient. I have tried using an Intent, but that only redirects to the browser or the YouTube App (when using a vnd:+VIDEO_ID). I would like to be on a youtube page (example: http://www.youtube.com/user/thenewboston) and still be inside of the webview client – the user should not be able to leave the app.

When I have tried this on my own, I am able to see the YouTube mobile page of the video/channel. Everything works except the fact that when I touch the video on my Droid, all it does is highlight the video and then doesn’t do anything.

I need this because my application is free and is financed by an advertisement banner across the bottom of the app – which I can only display with WebViewClient not the native Android browser. JavaScript and plug-ins are enabled. I’m using Froyo as the target SDK and do have Adobe Flash Player installed on my phone.

setContentView(R.layout.internetv);
final WebView wv = (WebView) findViewById(R.id.web_holder);
/* for example */ 
wv.loadUrl("http://www.youtube.com/user/PokeGuideHD"); 
wv.setWebViewClient(new myClient());
wv.getSettings().setJavaScriptEnabled(true);
wv.getSettings().setPluginsEnabled (true);
wv.getSettings().setBuiltInZoomControls(true);
wv.requestFocus(View.FOCUS_DOWN);
  • 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-26T06:57:51+00:00Added an answer on May 26, 2026 at 6:57 am

    You cannot show them embedded except perhaps on devices that have Flash.

    However, if you can parse out the YouTube video details, you may be able to construct an ACTION_VIEW Intent that will show them on the YouTube application…for those Android devices that have the YouTube application.

    You might also experiment with HTML5’s tag, which AFAIK is supported in the Browser application and may therefore work in WebView.

    EDIT:

    It will look something like this…

    startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.youtube.com/watch?v=cxLG2wtE7TM")));
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is my problem. I have a chipmunk's rigid body (a soda can standing
Well here's my problem I have three tables; regions, countries, states. Countries can be
I'll try to explain my problem the best I can, here goes: I have
Check out My Complete Code for uploading Video on youtube click here The problem
What can be the problem here?
Here's the problem I'm having, I've got a set of logs that can grow
HI Guys, Here I am having problem that How can I post an image
Can check out here alt text http://51hired.com/static/problem.bmp
I know that can co-exists with web form no problem as Hanselman mention here
I am suffering from an unexpected behavior; here is the problem definition: I have

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.