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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:30:36+00:00 2026-06-09T14:30:36+00:00

I want display a YouTube video playlist in a webview in my application. When

  • 0

I want display a YouTube video playlist in a webview in my application. When it loads, it displays on the entire screen of my phone instead of within the layout of my application, which includes a tabhost with three tabs, a title bar, and a status bar. Other links display fine. How do I load YouTube without it taking over my screen?

These are the setting of my webview…

newsfeed = (WebView) findViewById(R.id.webViewnews);
//Enables JavaScript (YouTube)
newsfeed.getSettings().setJavaScriptEnabled(true);
newsfeed.setVerticalScrollBarEnabled(false);

Here is the line of code in question…

} else
    if(selectednewsfeed.contentEquals("4")){
        try{
            //This link display on entire screen
            newsfeed.loadUrl("http://www.youtube.com/watch?v=_3PTjOdMKwY&list=UUBIwq18tUFrujiPd3HLPaGw&feature=plcp"); 

            //This link displays within the layout of my application, but as 
            //title and headline followed by source code
            //newsfeed.loadUrl("http://feeds2.feedburner.com/Maxkeisercom"); 
        }
        catch (Exception e){
            e.printStackTrace();
       }

I also want to know how to display content from FeedBurner in a webview. I want users to be able to read this feed and then access the podcast. How do I make a webview display full HTML?

  • 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-06-09T14:30:38+00:00Added an answer on June 9, 2026 at 2:30 pm

    I have added this as an answer in Video not playing in Android.

    I hope this may help you in a YouTube video to only fill your screen. VideoView and Mediaplayer can play only formats given in their documents named supported media formats.

    The YouTube link you gave is for an HTML page.

    String url = "your_youtube_link";
    Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
    

    If you want only the video to be viewed from that link, leave all other details in the page. Suppose this is the YouTube link, http://www.youtube.com/watch?v=ZC7ZOGpM2cU&feature=g-logo&context=G233b464FOAAAAAAABAA.

    If you parse the source of the YouTube HTML page, you may see this portion:

    <link rel="alternate" type="application/json+oembed" href="http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch?v%3DZC7ZOGpM2cU&amp;format=json" title="Bigg Boss 5: Juhi Parmar wins Big Boss season 5">
    <link rel="alternate" type="text/xml+oembed" href="http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch?v%3DZC7ZOGpM2cU&amp;format=xml" title="Bigg Boss 5: Juhi Parmar wins Big Boss season 5">
    <meta property="fb:app_id" content="87741124305">
    <meta property="og:url" content="http://www.youtube.com/watch?v=ZC7ZOGpM2cU">
    <meta property="og:title" content="Bigg Boss 5: Juhi Parmar wins Big Boss season 5">
    <meta property="og:description" content="Ntv News: Juhi Parmar wins Bigg Boss 5 - Juhi Parmar wins &#39;Bigg Boss 5&#39;, takes home Rs.1 crore - No kid for now, keen for good work: Juhi Parmar">
    <meta property="og:type" content="video">
    <meta property="og:image" content="http://i3.ytimg.com/vi/ZC7ZOGpM2cU/hqdefault.jpg">
      <meta property="og:video" content="http://www.youtube.com/v/ZC7ZOGpM2cU?version=3&amp;autohide=1">
    <meta property="og:video:type" content="application/x-shockwave-flash">
    <meta property="og:video:width" content="396">
    <meta property="og:video:height" content="297">
    <meta property="og:site_name" content="YouTube">
    

    In this, extract the following.

    <meta property="og:video" content="http://www.youtube.com/v/ZC7ZOGpM2cU?version=3&amp;autohide=1">
    

    In this, the http://www.youtube.com/v/ZC7ZOGpM2cU?version=3&amp;autohide=1 link will show it fullscreen.

    Similarly, you must extract the part of HTML codes for playlist.

    I hope this may help you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In one Application i use YouTube Video for display i want first that video
i use this foreach to build youtube video gallery but i want to display
I have a simple quiz application and I want display a nice timer /
I have some code that works fine to show YouTube Video. What I want
I want to develop an application that will display a list of videos from
I want to display other website videos (eg: DailyMotion, Youtube and Vimeo). How can
I want to display a certain YouTube channel's videos and allow the user to
I'm looking to get the title and duration of a YouTube video and display
all I want to display youtube subscriber using its api. But not able to
I writing an app where i want to display a list of YouTube videos.

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.