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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:55:42+00:00 2026-06-05T15:55:42+00:00

I’m developing a news reader app, so I parse RSS feed data and then

  • 0

I’m developing a news reader app, so I parse RSS feed data and then populate android components. There, I have a WebView component which displays HTML data (parsed from specific XML tag, but it is not important).

So, that HTML data contain valid HTML, with text, formatting, images, and in some news – can contain embedded videos.

Videos are embedded through an (YT), (other video hosting sites) and are displayed/played correctly – web view plays it in-place. Videos are from YouTube, Vimeo, etc. but mainly (>90%) from YouTube, so YouTube is a scope of this question.

I use following code to display webview content:

    webContent.setWebViewClient(new WebViewOverrideUrl());
    webContent.getSettings().setJavaScriptEnabled(true);
    webContent.getSettings().setPluginsEnabled(true);
    webContent.loadDataWithBaseURL(null, htmlContent.toString(), "text/html", "utf-8", null);

My questions are:

1. Is there a possibility to redirect this video to a standalone app, i.e. YouTube or Flash player (or whatever user have installed to play videos)?

I have read so many posts regarding this topic but i can’t find a solution. Not even a clue.

2. Is it possible to tell that frame with video (mostly YouTube) content to play it in fullscreen when change orientation to landscape (Or if it is in landscape already, to play it in fullscreen immediately when clicked)?

3. Is it even possible with YouTube (Flash) player, and if it’s not, is it possible with HTML5 tag (instead of the iframe)?

There is a possibillity to create any tab for video and embed it in HTML contents on server side (, , , <…whatever…>), so i am looking for possible options.

Thanks a lot in advance, if I come up with some kind of solution in meantime, I will definitely post it here. A lot of people face the similar problems.

  • 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-05T15:55:43+00:00Added an answer on June 5, 2026 at 3:55 pm

    Well, to answer this question, at last.

    Because of a very large number of different devices and different Android systems on those devices, i decided to use the simplest approach – I just ask user where he wants to play video.

    The code that everyone knows is:

        Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
        startActivity(browserIntent);
    

    Since i was getting youTube link in an embedded tag, guy who creates XML data for me, made a regex which gets youTube link only and i wrapped it in html tags, partly on server, and partly inside app to get acceptable appearance.

    This was the only way i found that works on every device. Tried to aim YouTube app directly, but that didn’t work on some very common devices that even have YT installed (Telenor/Alcatel OneTouch). Tried and succeeded in creating custom video player, but it didn’t work on some random devices, although it worked on different pieces of a same device model.

    Hope this can help someone.

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

Sidebar

Related Questions

this is what i have right now Drawing an RSS feed into the php,
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a French site that I want to parse, but am running into
I have some data like this: 1 2 3 4 5 9 2 6
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I am trying to understand how to use SyndicationItem to display feed which is
I have a jquery bug and I've been looking for hours now, I can't

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.