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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:09:41+00:00 2026-05-31T19:09:41+00:00

Helo. I am building an application for kids using Phonegap. On Android I have

  • 0

Helo.

I am building an application for kids using Phonegap.

On Android I have the following problem: I have a sellection of animations and I want to play it. BUT I do not want kids to go on youtube and be able to pick another video from youtube suggestions, nor I want them to be able to search a video (because of potentially unsafe content and because this will divert their attention from the lesson we are teaching).

A solution would be phonegap video plugin from Simon MacDonald BUT it gets me out of my app and into youtube with freedom for kids to choose any video or search, which could be dangerous and counterproductive. Maybe there are some yutube app parameters I can call in order to inhibit suggestions and searching and gracefuly returning in my app once video ended? On his blog ( http://simonmacdonald.blogspot.com/2011/11/video-player-plugin-for-phonegap.html ), Simon MacDonald said it could be easier somehow to embed youtube in webview once phonegap 1.5 is released, but I do not know how… (“We are working on an update to PhoneGap for late February which will allow you to embedded PhoneGap into your Android app. This way you can have two (or more) views in the same activity 1 is the PhoneGap view and the other is whatever you want and in your case a VideoView. So, in summary we can’t do it right now but the capabilities are coming.”)

Another sollution could be to emmbed the youtube video in a webview inside my app, but I am not sure how to do it, since html5 video or youtube iframe does not work in most android versions.
What could be the sollution?

Thank you. 🙂

  • 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-31T19:09:43+00:00Added an answer on May 31, 2026 at 7:09 pm

    One thing I wasn’t clear on that I’m assuming for this answer: You don’t want to wait for the phonegap update and will try other solutions not involving phonegap.

    So your content IS uploaded/streamed by Youtube?

    If so, please see: http://android-coding.blogspot.ca/2011/03/simple-example-using-videoview-to-play.html to play videos.

    If not, you can convert the video to h264 (Google FFMPEG) and put this file on the external storage and point MediaPlayer or VideoView (MediaPlayer wrapper for non fullscreen) to this file.

    It seems like you only need two real display states ((select an animation) AND (play an animation)). To simplify things if you’re not experienced with Android: try having a look at ViewSwitcher. This allows you two have to parent layouts (that can be used as your display states) in one xml and change them programmatically.

    ViewSwitcher: http://inphamousdevelopment.wordpress.com/2010/10/11/using-a-viewswitcher-in-your-android-xml-layouts/
    ViewSwitcher: http://developer.android.com/reference/android/widget/ViewSwitcher.html

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

Sidebar

Related Questions

Helo, I have implemented a chat application using Comet. the request is hang on
Helo. I have the following requirement: I have a list (ListView or Spinner depends
Helo, i have the following code which should filter entities. Half of the code
Helo folks., i am using jquery.cycle plugin for displaying image gallery.. i have a
Helo. I want to have few instances of webclient that all share all the
Helo, I am trying to run rake db:migrate for my rails 3 application using
Helo i now have finish making my upload profilephoto system. Now i want include
Helo, I am pretty new to Ruby (using 1.8.6) and need to know whether
Helo. Im developing an application that transferes data over bluetooth(with a flight recorder device).
Helo everyone. I have a class MyClass and a function escape () that can

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.