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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:47:13+00:00 2026-06-04T04:47:13+00:00

I’ve implemented the youtube api and it works as expected in a regular computer

  • 0

I’ve implemented the youtube api and it works as expected in a regular computer browser.
When I test it in both Ice Cream Sandwich and Gingerbread, on the stock Browser (which is Webkit) it also works exactly as it does on my computer.

However, when I load it into a WebView it experiences some very odd behavior. Specifically, it loads all the player controls (play button, progress bar, etc) and fires all the normal events for buffering and playing, but then rather than playing, it just skips to the end and displays the standard YouTube post-playback icons for other videos. If I click on one of those icons, it then skips that video and jumps straight to the end of that video.

I have setJavascriptEnabled and setPluginsEnabled both set to true. I assume I’m missing something, since it all works fine in the stock browser, but I’m stumped as to what it is. Has anyone implemented the YouTube Video player (or JWPlayer, or anything with which I can play youtube videos) in a WebView? And if so, please share how you managed to get it to work.

TIA

[EDIT]
Since posting this, I’ve implemented a native player that retrieves video streams directly from YouTube. This is INCREDIBLY clunky because the fragmentation between devices relating to which files they can/cannot play is *really huge, and since there’s no way to pass YouTube a device model and have it return the relevant streams, what happens is that you get all the streams and then have to pick from the array. Anyway… the point is that this is just a dreadful approach and I’d really love to figure out the good ole’ embedded player solution, since it *must work, given that it works in the stock browser. Could this be a headers issue?

  • 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-04T04:47:14+00:00Added an answer on June 4, 2026 at 4:47 am

    Have you tried this by any chance:
    http://code.google.com/p/html5webview/source/browse/trunk/HTML5WebView/src/org/itri/html5webview/HTML5WebView.java

    Basically the tag doesn’t work on a ‘default’ WebView without some complicated and not really documented configuration. Please tell us if that fixes your problems.

    Please also see this issue: http://code.google.com/p/android/issues/detail?id=22254

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I am writing an app with both english and french support. The app requests
I'm making a simple page using Google Maps API 3. My first. One marker
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I would like to count the length of a string with PHP. The string
For some reason, after submitting a string like this Jack’s Spindle from a text

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.