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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:18:44+00:00 2026-06-12T11:18:44+00:00

I use webview to display youtube content. For some reason, it adds a frame

  • 0

I use webview to display youtube content.
For some reason, it adds a frame to the video.

Does anyone knows how to remove it?

My code is:

String data_html = "<iframe width=\"300\" height=\"162\" src=\"http://www.youtube.com/embed
/RbyBj-pmNwM\" frameborder=\"0\"></iframe>";
video.loadData(data_html, "text/html", null);

And here is an example of the white frame I can’t get rid of:

enter image description here

  • 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-12T11:18:45+00:00Added an answer on June 12, 2026 at 11:18 am

    The solution was to use a fully constructed html page:

    String data_html = "<!DOCTYPE HTML> <html xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:og=\"http://opengraphprotocol.org/schema/\" xmlns:fb=\"http://www.facebook.com/2008/fbml\"> <head></head> <body style=\"margin:0 0 0 0; padding:0 0 0 0;\"> <iframe width=\"300\" height=\"162\" src=\"http://www.youtube.com/embed/RbyBj-pmNwM\" frameborder=\"0\"></iframe> </body> </html> ";
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use a WebView to display some internet content on one of our app's
I use loadData method to load some html content into a webview, but when
I am using a WebView to display some incoming content to users in a
I am attempting to use a UIWebView to display some variable-size content, and I'd
I am using a QWebView to display some content and I want to use
I make call from my app with this code (i use webview because after
I have a WebView component that I use to display HTML Ads in my
I use WebView to display an image, the image is large so there is
I am using an Android WebView to display my app's HTML content. I need
I am writing an Android app that uses a WebView to display content. The

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.