fangzhzh / android-youtube-player Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/android-youtube-player
Automatically exported from code.google.com/p/android-youtube-player
What steps will reproduce the problem?
Tried to download videos with video ids:
RP19fnff_c
TwwmhcGbvt0
9RupgEQFEd8
What is the expected output? What do you see instead?
Expected playing videos. Instead there is the error "Error playing video!"
What version of the product are you using? On what operating system?
android 2.3.3 - 4.2.2
Please provide any additional information below.
07-08 15:27:55.687: E/QueryYouTubeTask(18720): Error playing video!
07-08 15:27:55.687: E/QueryYouTubeTask(18720): java.lang.RuntimeException:
Invalid NULL Url.
07-08 15:27:55.687: E/QueryYouTubeTask(18720): at
com.him.youtube.player.VideoPlayerActivity$QueryYouTubeTask.onPostExecute(VideoP
layerActivity.java:194)
07-08 15:27:55.687: E/QueryYouTubeTask(18720): at
com.him.youtube.player.VideoPlayerActivity$QueryYouTubeTask.onPostExecute(VideoP
layerActivity.java:1)
07-08 15:27:55.687: E/QueryYouTubeTask(18720): at
android.os.AsyncTask.finish(AsyncTask.java:602)
07-08 15:27:55.687: E/QueryYouTubeTask(18720): at
android.os.AsyncTask.access$600(AsyncTask.java:156)
07-08 15:27:55.687: E/QueryYouTubeTask(18720): at
android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:615)
07-08 15:27:55.687: E/QueryYouTubeTask(18720): at
android.os.Handler.dispatchMessage(Handler.java:99)
07-08 15:27:55.687: E/QueryYouTubeTask(18720): at
android.os.Looper.loop(Looper.java:137)
07-08 15:27:55.687: E/QueryYouTubeTask(18720): at
android.app.ActivityThread.main(ActivityThread.java:4424)
07-08 15:27:55.687: E/QueryYouTubeTask(18720): at
java.lang.reflect.Method.invokeNative(Native Method)
07-08 15:27:55.687: E/QueryYouTubeTask(18720): at
java.lang.reflect.Method.invoke(Method.java:511)
07-08 15:27:55.687: E/QueryYouTubeTask(18720): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
07-08 15:27:55.687: E/QueryYouTubeTask(18720): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
07-08 15:27:55.687: E/QueryYouTubeTask(18720): at
dalvik.system.NativeStart.main(Native Method)
Original issue reported on code.google.com by [email protected]
on 8 Jul 2013 at 11:49
Cambio: Fabian Moran Hernandez
Original issue reported on code.google.com by [email protected]
on 27 Jan 2015 at 6:00
Attachments:
08-01 17:22:11.735: E/QueryYouTubeTask(2427): Error occurred while retrieving
information from YouTube.
08-01 17:22:11.735: E/QueryYouTubeTask(2427): java.lang.NullPointerException
08-01 17:22:11.735: E/QueryYouTubeTask(2427): at
java.net.URLDecoder.decode(URLDecoder.java:130)
08-01 17:22:11.735: E/QueryYouTubeTask(2427): at
java.net.URLDecoder.decode(URLDecoder.java:68)
08-01 17:22:11.735: E/QueryYouTubeTask(2427): at
com.youtube.video.YouTubeUtility.calculateYouTubeUrl(YouTubeUtility.java:154)
08-01 17:22:11.735: E/QueryYouTubeTask(2427): at
com.youtube.video.OpenYouTubePlayerActivity$QueryYouTubeTask.doInBackground(Open
YouTubePlayerActivity.java:455)
08-01 17:22:11.735: E/QueryYouTubeTask(2427): at
com.youtube.video.OpenYouTubePlayerActivity$QueryYouTubeTask.doInBackground(Open
YouTubePlayerActivity.java:1)
08-01 17:22:11.735: E/QueryYouTubeTask(2427): at
android.os.AsyncTask$2.call(AsyncTask.java:185)
08-01 17:22:11.735: E/QueryYouTubeTask(2427): at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
08-01 17:22:11.735: E/QueryYouTubeTask(2427): at
java.util.concurrent.FutureTask.run(FutureTask.java:137)
08-01 17:22:11.735: E/QueryYouTubeTask(2427): at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
08-01 17:22:11.735: E/QueryYouTubeTask(2427): at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
08-01 17:22:11.735: E/QueryYouTubeTask(2427): at
java.lang.Thread.run(Thread.java:1096)
08-01 17:22:11.746: E/QueryYouTubeTask(2427): Error playing video!
08-01 17:22:11.746: E/QueryYouTubeTask(2427): java.lang.RuntimeException:
Invalid NULL Url.
08-01 17:22:11.746: E/QueryYouTubeTask(2427): at
com.youtube.video.OpenYouTubePlayerActivity$QueryYouTubeTask.onPostExecute(OpenY
ouTubePlayerActivity.java:489)
08-01 17:22:11.746: E/QueryYouTubeTask(2427): at
com.youtube.video.OpenYouTubePlayerActivity$QueryYouTubeTask.onPostExecute(OpenY
ouTubePlayerActivity.java:1)
08-01 17:22:11.746: E/QueryYouTubeTask(2427): at
android.os.AsyncTask.finish(AsyncTask.java:417)
08-01 17:22:11.746: E/QueryYouTubeTask(2427): at
android.os.AsyncTask.access$300(AsyncTask.java:127)
08-01 17:22:11.746: E/QueryYouTubeTask(2427): at
android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:429)
08-01 17:22:11.746: E/QueryYouTubeTask(2427): at
android.os.Handler.dispatchMessage(Handler.java:99)
08-01 17:22:11.746: E/QueryYouTubeTask(2427): at
android.os.Looper.loop(Looper.java:123)
08-01 17:22:11.746: E/QueryYouTubeTask(2427): at
android.app.ActivityThread.main(ActivityThread.java:4363)
08-01 17:22:11.746: E/QueryYouTubeTask(2427): at
java.lang.reflect.Method.invokeNative(Native Method)
08-01 17:22:11.746: E/QueryYouTubeTask(2427): at
java.lang.reflect.Method.invoke(Method.java:521)
08-01 17:22:11.746: E/QueryYouTubeTask(2427): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
08-01 17:22:11.746: E/QueryYouTubeTask(2427): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
08-01 17:22:11.746: E/QueryYouTubeTask(2427): at
dalvik.system.NativeStart.main(Native Method)
When i will play youtube it given error. So Please check it and tell me what's
The Problem
Original issue reported on code.google.com by [email protected]
on 1 Aug 2012 at 11:54
My android application's video is working very well in touch devices(e.g.
Mobile, Tablet).
Now I am working same application made for Google TV OS using existing code
with modification.
But I seen MP4 video is not playing using my application, and video is play
using VideoView.
It display message :
Title : Cannot play video
Message : Sorry, this video cannot be played
Even same code is working in other android devices(e.g. Mobile, Tablet)
When I play same video from SD card then it play very well in built in Google
TV video player.
Log information :
W/MediaPlayer(1164): info/warning (1, 0)
I/MediaPlayer(1164): Info (1,0)
E/MediaPlayer(1164): error (14, 0)
E/MediaPlayer(1164): Error (14,0)
D/VideoView(1164): Error: 14,0
My MP4 video is working in one odd scenario When my any one application is
running and my application is front of that app then video is running fine but
no any application running at at time my video is not running and above Error
is comes
Original issue reported on code.google.com by [email protected]
on 4 Oct 2013 at 11:32
Attachments:
nuevo
Original issue reported on code.google.com by [email protected]
on 26 Jan 2015 at 6:39
Attachments:
progress bar not working,without touching screen or control....if you don't
touch any control or screen then progress bar will not move ..video is playing
while play/pause button show play...when video is playing ....timer is 0.0 all
the time ....
Original issue reported on code.google.com by [email protected]
on 30 May 2013 at 5:05
What steps will reproduce the problem?
1. Try to play any video on a Nexus device that runs on 5.1
2. Notice the activity trying to resolve the URL
3. Error popus up telling "Error Playing the video"
What is the expected output? What do you see instead?
The Video plays normally as it does on all other OS versions.
What version of the product are you using? On what operating system?
Android Lollipop (5.1.1), (5.1)
Please provide any additional information below.
The logcat shows the follwing error :
Unable to open content:
http%3A%2F%2Fr2---sn-np4tjvg2-cvhe.googlevideo.com%2Fvideoplayback%3Fupn%3DU6RvN
al1FY0%26sparams%3Ddur%252Cid%252Cinitcwndbps%252Cip%252Cipbits%252Citag%252Cmim
e%252Cmm%252Cms%252Cmv%252Cpl%252Cratebypass%252Csource%252Cupn%252Cexpire%26exp
ire%3D1432215913%26id%3Do-AMM3yLoewg86HJb5SvZq5_hG0VxeypcD0CLAe-CSQDDj%26key%3Dy
t5%26ip%3D119.226.90.14%26ratebypass%3Dyes%26source%3Dyoutube%26dur%3D510.188%26
mv%3Dm%26initcwndbps%3D733750%26ms%3Dau%26itag%3D18%26mm%3D31%26ipbits%3D0%26fex
p%3D916648%252C9407701%252C9408093%252C9408142%252C9408593%252C9408710%252C94087
87%252C9409180%252C9413217%252C945137%252C948124%252C952612%252C952637%252C95264
2%26mime%3Dvideo%252Fmp4%26pl%3D23%26signature%3D7676289E4B4904E0F0D02BF0CC4C440
70918AC2C.7E9C99D285C926739C0FC6D3C73EB0758AF2785A%26mt%3D1432194232%26sver%3D3
Happens on the call mediaplayer.setDataSource()
Original issue reported on code.google.com by [email protected]
on 21 May 2015 at 11:20
lo cambie el 27/01/15
Original issue reported on code.google.com by [email protected]
on 28 Jan 2015 at 8:15
Attachments:
What steps will reproduce the problem?
1. Have device camped on CDMA/LTE mobile broadband network.
2. Open YouTube Player activity.
3. Observe.
What is the expected output? What do you see instead?
The video should play on high or low resolution depending on bandwidth.
Instead, you get "Communication Error" dialog and video fails to play.
What version of the product are you using? On what operating system?
openyoutubeactivity-1.1
on Android 2.3.4
Please provide any additional information below.
I've tested this on an AT&T device and the activity plays the video without
problem. I've also tried my Droid Bionic (CDMA/LTE device) connected to a WiFi
network and it is also able to play. Only on my Verizon Droid Bionic on mobile
broadband am I not able to play YouTube videos.
The code shows some conditional statements that appear not to account for CDMA
or LTE connection (see screenshot). Not sure if this accounts for the error on
first glance to me though.
Original issue reported on code.google.com by [email protected]
on 25 Jun 2012 at 6:02
Attachments:
What steps will reproduce the problem?
1. Try streaming youtube id: BUC2oxiKZ54 (in fact most don't work atm)
2. 3G/WiFi both reproduce the problem
What is the expected output? What do you see instead?
Expected output = plays youtube video fine. Worked brilliantly last week or
two, but has been down all day today. Displays error 1004 on media player:
09-27 16:30:53.666: E/MediaPlayer(2641): error (1, -1004)
09-27 16:30:53.666: E/MediaPlayer(2641): Error (1,-1004)
09-27 16:30:53.666: D/VideoView(2641): Error: 1,-1004
Caused by invalid URL:
URL set to Videoview =
http%3A%2F%2Fo-o---preferred---sn-ntq7enee---v19---lscache7.c.youtube.com%2Fvide
oplayback%3Fupn%3D3OYoh5ze5io%26sparams%3Dcp%252Cid%252Cip%252Cipbits%252Citag%2
52Cratebypass%252Csource%252Cupn%252Cexpire%26fexp%3D904822%252C922401%252C92070
4%252C912806%252C913419%252C913546%252C913556%252C919349%252C919351%252C925109%2
52C919003%252C912706%252C900816%26key%3Dyt1%26expire%3D1348740541%26itag%3D18%26
ipbits%3D8%26sver%3D3%26ratebypass%3Dyes%26mt%3D1348716254%26ip%3D58.109.93.136%
26mv%3Dm%26source%3Dyoutube%26ms%3Dau%26cp%3DU0hTTVdPTl9JS0NOM19PSVJGOlpjczRIWVJ
wX0VO%26id%3D0540b6a3188a679e
this is returned from YoutubeUtility.calculateYouTubeUrl
What version of the product are you using? On what operating system?
Android 2.3.4
Please provide any additional information below.
http://www.youtube.com/get_video_info?&video_id=BUC2oxiKZ54
returns a very long access_token that doesn't look right - would be curious to
see what the correct output is expected.
Right now, i catch the error and play a low quality youtube player instead by
invoking
http://gdata.youtube.com/feeds/mobile/videos/BUC2oxiKZ54
Original issue reported on code.google.com by [email protected]
on 27 Sep 2012 at 6:41
What steps will reproduce the problem?
String url = "http://www.youtube.com/watch?v=Aqyf2aYR1pQ&feature=featured";
Uri uri = Uri.parse(url);
String vid = uri.getQueryParameter("v");
Intent lVideoIntent = new Intent(null,Uri.parse("ytv://"+vid), this, OpenYouTubePlayerActivity.class);
startActivity(lVideoIntent);
What is the expected output? What do you see instead?
I wanted to see the my application plays the youtube video
What version of the product are you using? On what operating system?
Android 2.2
Please provide any additional information below.
Every time it says, Invalid url
11-15 18:22:41.446: ERROR/QueryYouTubeTask(1088): Error playing video!
11-15 18:22:41.446: ERROR/QueryYouTubeTask(1088): java.lang.RuntimeException:
Invalid NULL Url.
11-15 18:22:41.446: ERROR/QueryYouTubeTask(1088): at
com.keyes.youtube.OpenYouTubePlayerActivity$QueryYouTubeTask.onPostExecute(OpenY
ouTubePlayerActivity.java:431)
11-15 18:22:41.446: ERROR/QueryYouTubeTask(1088): at
com.keyes.youtube.OpenYouTubePlayerActivity$QueryYouTubeTask.onPostExecute(OpenY
ouTubePlayerActivity.java:1)
Original issue reported on code.google.com by [email protected]
on 15 Nov 2011 at 1:03
What steps will reproduce the problem?
1. Use any HTC Thunderbolt and it doesn't work.
What is the expected output? What do you see instead?
Error message
"communications error" "an error occured when receiving the video, this could
be caused by network issues or youtube protocol, please try again later"
What version of the product are you using? On what operating system?
Tested on 2.2 and 2.3
Please provide any additional information below.
Seems to be specifically on HTC Thunderbolt so far.
Original issue reported on code.google.com by [email protected]
on 29 Nov 2011 at 2:25
06-14 19:17:47.636: INFO/CheckinService(213): From server: Intent {
act=android.server.checkin.FOTA_CANCEL }
06-14 19:17:47.916: INFO/ActivityManager(98): Starting: Intent {
dat=ytv://hyOA2aveYbc
cmp=com.mufumbo.android.recipe.search/com.keyes.screebl.lite.OpenYouTubePlayerAc
tivity } from pid 5047
06-14 19:17:48.296: INFO/ActivityManager(98): Displayed
com.mufumbo.android.recipe.search/com.keyes.screebl.lite.OpenYouTubePlayerActivi
ty: +354ms
06-14 19:17:49.016: DEBUG/MediaPlayer(5047): Couldn't open file on client side,
trying server side
06-14 19:17:49.026: INFO/StagefrightPlayer(68):
setDataSource('http://www.youtube.com/get_video?video_id=hyOA2aveYbc&t=vjVQa1Ppc
FNT22maHmibynWVEItwbRFWQfPYkLqrdMs%3D&fmt=18')
06-14 19:17:49.036: INFO/NuHTTPDataSource(68): connect to
www.youtube.com:80/get_video?video_id=hyOA2aveYbc&t=vjVQa1PpcFNT22maHmibynWVEItw
bRFWQfPYkLqrdMs%3D&fmt=18 @0
06-14 19:17:49.096: DEBUG/dalvikvm(5047): GC_EXTERNAL_ALLOC freed 274K, 45%
free 3385K/6087K, external 5665K/5673K, paused 32ms
06-14 19:17:49.546: INFO/AwesomePlayer(68): mConnectingDataSource->connect()
returned -1004
06-14 19:17:49.546: ERROR/MediaPlayer(5047): error (1, -1004)
06-14 19:17:49.546: ERROR/MediaPlayer(5047): Error (1,-1004)
06-14 19:17:49.546: DEBUG/VideoView(5047): Error: 1,-1004
any thoughts?
Original issue reported on code.google.com by [email protected]
on 15 Jun 2011 at 2:23
What steps will reproduce the problem?
1. Create a private Video
2. Upload to youtube
3. Try to extract the Video using Video id
What is the expected output? What do you see instead?
The video does not play insted we get "This Video is private" response
What version of the product are you using? On what operating system?
Using it on openyoutubeactivity-1.1.jar. On FC14
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 11 May 2012 at 6:27
nuevo
Original issue reported on code.google.com by [email protected]
on 23 Jan 2015 at 7:38
What steps will reproduce the problem?
1. Followed the instructions provided step by step.
What is the expected output? What do you see instead?
I expected a video to be played. Instead, I see a dialog box saying
Communications Error - An error occurred durign teh retrieval of the video.
This could be due to network issues or YouTube protocols. Please try again
later.
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 19 Sep 2011 at 9:30
Hi team,
I want the comeback of buttons to Like or Dislike a Youtube video embedded on
the player. Because you killed them, rating videos is very difficult for me,
specially when I'm watching in my mobile (Galaxy S3) using headphones and
charging him (the connectors are in top and bottom), and rotate him is
hard-working.
What steps will reproduce the problem?
1. Open anyone video
2. Setup orientation to horizontal (full screen)
3. Connect both charger and headphone =D
Please, a few code lines puts them again! It's not difficult!
Thanks and best regards.
Original issue reported on code.google.com by jeferod83
on 17 Sep 2014 at 1:14
when I click on play button it start loading video then it show dialog
"Can't play this video"
Intent lVideoIntent = new Intent(null, Uri
.parse("ytv://"+"j0wYyf3UMSQ"),
MainActivity.this,
OpenYouTubePlayerActivity.class);
startActivity(lVideoIntent);
I tried many videos and same problem ??
I noticed that there is v 1.2 ?? but I can't find it on Downloads page ???
Original issue reported on code.google.com by [email protected]
on 29 Apr 2013 at 8:15
What steps will reproduce the problem?
Intent lVideoIntent = new Intent(null, Uri.parse("ytv://"+"U0GP5gEyR5c"), this,
OpenYouTubePlayerActivity.class);
startActivity(lVideoIntent);
What is the expected output? What do you see instead?
Communication Error while playing the video
What version of the product are you using? On what operating system?
2.3.3
Please provide any additional information below.
The issue is not fixed, I am still getting the error with new jar, also i made
code changes to use ytv
11-10 11:40:43.354: ERROR/QueryYouTubeTask(15812): Error playing video!
11-10 11:40:43.354: ERROR/QueryYouTubeTask(15812): java.lang.RuntimeException:
Invalid NULL Url.
11-10 11:40:43.354: ERROR/QueryYouTubeTask(15812): at
com.keyes.youtube.OpenYouTubePlayerActivity$QueryYouTubeTask.onPostExecute(OpenY
ouTubePlayerActivity.java:418)
11-10 11:40:43.354: ERROR/QueryYouTubeTask(15812): at
com.keyes.youtube.OpenYouTubePlayerActivity$QueryYouTubeTask.onPostExecute(OpenY
ouTubePlayerActivity.java:1)
11-10 11:40:43.354: ERROR/QueryYouTubeTask(15812): at
android.os.AsyncTask.finish(AsyncTask.java:417)
11-10 11:40:43.354: ERROR/QueryYouTubeTask(15812): at
android.os.AsyncTask.access$300(AsyncTask.java:127)
11-10 11:40:43.354: ERROR/QueryYouTubeTask(15812): at
android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:429)
11-10 11:40:43.354: ERROR/QueryYouTubeTask(15812): at
android.os.Handler.dispatchMessage(Handler.java:99)
11-10 11:40:43.354: ERROR/QueryYouTubeTask(15812): at
android.os.Looper.loop(Looper.java:130)
11-10 11:40:43.354: ERROR/QueryYouTubeTask(15812): at
android.app.ActivityThread.main(ActivityThread.java:3859)
11-10 11:40:43.354: ERROR/QueryYouTubeTask(15812): at
java.lang.reflect.Method.invokeNative(Native Method)
11-10 11:40:43.354: ERROR/QueryYouTubeTask(15812): at
java.lang.reflect.Method.invoke(Method.java:507)
11-10 11:40:43.354: ERROR/QueryYouTubeTask(15812): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:840)
11-10 11:40:43.354: ERROR/QueryYouTubeTask(15812): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:598)
11-10 11:40:43.354: ERROR/QueryYouTubeTask(15812): at
dalvik.system.NativeStart.main(Native Method)
Original issue reported on code.google.com by [email protected]
on 10 Nov 2011 at 4:45
1. extends YouTubePlayerFragment on Android TV (ADT-1)
2. and try to play video using YouTubePlayerFragment does not works
3. It works well on other devices including Logitech review box.\
4. On Android TV (ADT-1) it can be played in full screen using
YouTubeStandalonePlayer.
But our requirement is to run it in fragment.
this.initialize(ServiceSecret.youtube_developer_key,new
YouTubePlayer.OnInitializedListener() {
@Override
public void onInitializationSuccess(YouTubePlayer.Provider provider, YouTubePlayer youTubePlayer, boolean wasRestored) {
mProvider=provider;
mPlayer=youTubePlayer;
mPlayer.setShowFullscreenButton(false);
mPlayer.setPlayerStyle(YouTubePlayer.PlayerStyle.MINIMAL);
if (!wasRestored) {
mPlayer.loadVideos(mContents);
}
}
@Override
public void onInitializationFailure(YouTubePlayer.Provider provider, YouTubeInitializationResult youTubeInitializationResult) {
Log.e(tag,youTubeInitializationResult.toString());
Log.e(tag,youTubeInitializationResult.name());
}
});
Error Shown in fragment.
09-28 19:52:11.931 4226-4226/com.island.streamplayer
E/YoutubeVideoFragment﹕ SERVICE_INVALID
09-28 19:52:11.931 4226-4226/com.island.streamplayer
E/YoutubeVideoFragment﹕ SERVICE_INVALID
Original issue reported on code.google.com by [email protected]
on 28 Sep 2014 at 2:30
What steps will reproduce the problem?
1. Activity Started
2. It show in dialog Cannot play video,Sorry this video cannot
be played.
3.
What is the expected output? What do you see instead?
video can played
What version of the product are you using? On what operating system?
2.3.3 to 4.1.2
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 10 Apr 2013 at 5:30
What steps will reproduce the problem?
video_id=getIntent().getExtras().getString("video_id");
System.out.println("video_id : "+video_id);
Intent ytplayer = new Intent(null,Uri.parse("ytv://"+video_id),this,OpenYouTubePlayerActivity.class);
startActivity(ytplayer);
What is the expected output? What do you see instead?
i got error
TelephonyManager : Hidden constructor called more than once per process!
What version of the product are you using? On what operating system?
2.3.3
Original issue reported on code.google.com by [email protected]
on 22 Mar 2013 at 3:19
What steps will reproduce the problem?
1. Play a video of long duration lets's say 2 hours
2.
3.
What is the expected output? What do you see instead?
Expected output should Play video completely
But i see video crashes after 20 min for long duration video .
What version of the product are you using? On what operating system?
Android version i am using 2.3.3
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 29 Sep 2012 at 11:43
Changed to mUrl = lArgMap.get("url") + "&signature=" + lArgMap.get("sig"); line
30.
Original issue reported on code.google.com by [email protected]
on 16 Sep 2013 at 8:37
Attachments:
What is the expected output? What do you see instead?
Both video and audio should play but instead only audio is working.
What version of the product are you using? On what operating system?
I am trying on both android 2.2 and 4.0
Original issue reported on code.google.com by [email protected]
on 8 Jan 2013 at 8:37
For issue 15
http://code.google.com/p/android-youtube-player/issues/detail?id=15
Original issue reported on code.google.com by [email protected]
on 3 Jan 2013 at 10:18
Attachments:
I have this error ..
after I have imported jar file into my project libs then builded the path
"Unable to find explicit activity class
{com.blueltd.andalusnews/com.keyes.youtube.OpenYouTubePlayerActivity}; have you
declared this activity in your AndroidManifest.xml?"
Original issue reported on code.google.com by [email protected]
on 24 Sep 2013 at 7:47
For some reason the Youtube API is returning 403 errors with videos.
I've got a feeling the videoView is not handling the redirection urls properly
and hence streaming breaks.
Original issue reported on code.google.com by [email protected]
on 23 Mar 2012 at 12:17
What steps will reproduce the problem?
1. make sure internet connected
2. try to open youtube video
3. it show message: Cannot play video
What is the expected output? What do you see instead?
expect to play youtube video but it is show eeror message that video cannot be
played.
What version of the product are you using? On what operating system?
2.3 and above
Please provide any additional information below.
it is new case happend before 2 days almost
Original issue reported on code.google.com by [email protected]
on 29 Sep 2012 at 8:56
I have used this project for play youtube videos in my app, but I need play
these videos starting in time 41 second, like in youtub url:
http://www.youtube.com/watch?v=pNa6dx6VBlo&t=41s
In my app I have used:
Intent lVideoIntent = new Intent(null, Uri.parse("ytv://jNztrIHEsuU&t=41s"),
this, OpenYouTubePlayerActivity.class);
startActivity(lVideoIntent);
but all videos start on second 1.
Is possible start in other time moment?
Original issue reported on code.google.com by ivanzo73
on 15 Feb 2012 at 12:39
What steps will reproduce the problem?
1. Nexus 5 or Genymod with Android 4.3
What is the expected output? What do you see instead?
Controls are smaller and fullscreen, but video is small.
What version of the product are you using? On what operating system?
4.3
Please provide any additional information below.
Could you sell me the source so i could fix it or would you
make that ? I can even donate
Original issue reported on code.google.com by [email protected]
on 15 Jan 2014 at 5:56
Attachments:
What steps will reproduce the problem?
1. stream youtube video using this player
What is the expected output? What do you see instead?
video must be worked properly, but i see instead of this [Cannot play video
Sorry, this video cannot be played] message.
*also note that before 2 days videos was streamed from youtube without any
problem this issue happened just from 09/28/2012.
What version of the product are you using? On what operating system?
android 2.2
Please provide any additional information below.
following is logcat:
09-30 14:31:06.610: VERBOSE/PlayerDriver(1280): HandleInformationalEvent:
PVMFInfoErrorHandlingStart
09-30 14:31:06.610: VERBOSE/PlayerDriver(1280): HandleInformationalEvent:
type=26 UNHANDLED
09-30 14:31:06.610: WARN/MediaPlayer(12180): info/warning (1, 26)
09-30 14:31:06.610: VERBOSE/PlayerDriver(1280): CommandCompleted
09-30 14:31:06.610: VERBOSE/PlayerDriver(1280): Completed command PLAYER_INIT
status=PVMFFailure
09-30 14:31:06.610: ERROR/PlayerDriver(1280): Command PLAYER_INIT completed
with an error or info PVMFFailure, -1
09-30 14:31:06.610: ERROR/MediaPlayer(12180): error (1, -1)
09-30 14:31:06.610: VERBOSE/PVPlayer(1280): run_set_video_surface
s=-2147483648, cancelled=0
09-30 14:31:06.610: VERBOSE/PlayerDriver(1280): HandleInformationalEvent:
PVMFInfoErrorHandlingComplete
09-30 14:31:06.610: WARN/PlayerDriver(1280): PVMFInfoErrorHandlingComplete
Original issue reported on code.google.com by [email protected]
on 29 Sep 2012 at 11:10
Hello,
What steps will reproduce the problem?
1. when trying to play a playlist
What is the expected output? What do you see instead?
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341): Error occurred while
retrieving information from YouTube.
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341): java.lang.NullPointerException
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341): at
java.net.URLDecoder.decode(URLDecoder.java:104)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341): at
java.net.URLDecoder.decode(URLDecoder.java:48)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341): at
com.keyes.youtube.YouTubeUtility.calculateYouTubeUrl(YouTubeUtility.java:133)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341): at
com.keyes.youtube.OpenYouTubePlayerActivity$QueryYouTubeTask.doInBackground(Open
YouTubePlayerActivity.java:398)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341): at
com.keyes.youtube.OpenYouTubePlayerActivity$QueryYouTubeTask.doInBackground(Open
YouTubePlayerActivity.java:1)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341): at
android.os.AsyncTask$2.call(AsyncTask.java:185)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341): at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341): at
java.util.concurrent.FutureTask.run(FutureTask.java:138)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341): at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341): at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
07-19 05:41:29.920: ERROR/QueryYouTubeTask(341): at
java.lang.Thread.run(Thread.java:1019)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341): Error playing video!
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341): java.lang.RuntimeException:
Invalid NULL Url.
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341): at
com.keyes.youtube.OpenYouTubePlayerActivity$QueryYouTubeTask.onPostExecute(OpenY
ouTubePlayerActivity.java:431)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341): at
com.keyes.youtube.OpenYouTubePlayerActivity$QueryYouTubeTask.onPostExecute(OpenY
ouTubePlayerActivity.java:1)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341): at
android.os.AsyncTask.finish(AsyncTask.java:417)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341): at
android.os.AsyncTask.access$300(AsyncTask.java:127)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341): at
android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:429)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341): at
android.os.Handler.dispatchMessage(Handler.java:99)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341): at
android.os.Looper.loop(Looper.java:123)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341): at
android.app.ActivityThread.main(ActivityThread.java:3683)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341): at
java.lang.reflect.Method.invokeNative(Native Method)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341): at
java.lang.reflect.Method.invoke(Method.java:507)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
07-19 05:41:30.010: ERROR/QueryYouTubeTask(341): at
dalvik.system.NativeStart.main(Native Method)
What version of the product are you using? On what operating system?
openyoutubeactivity.jar -- Android 2.3.3 -- Fedora 15 64 bits
how could I fix it?
Best regards
--javier
Original issue reported on code.google.com by [email protected]
on 19 Jul 2011 at 4:51
What steps will reproduce the problem?
String url = "http://www.youtube.com/watch?v=w5fXOct6rJw";
Uri uri = Uri.parse(url);
String vid = uri.getQueryParameter("v");
//Intent lVideoIntent = new Intent(null, Uri.parse(url), this,OpenYouTubePlayerActivity.class);
Intent lVideoIntent = new Intent(null, Uri.parse("ytpl://"+ vid), this, OpenYouTubePlayerActivity.class);
startActivity(lVideoIntent);
What is the expected output? What do you see instead?
I get Communication Error, also the logs shows
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): Error occurred while
retrieving information from YouTube.
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): java.lang.NullPointerException
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
java.net.URLDecoder.decode(URLDecoder.java:104)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
java.net.URLDecoder.decode(URLDecoder.java:48)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
com.keyes.youtube.YouTubeUtility.calculateYouTubeUrl(YouTubeUtility.java:133)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
com.keyes.youtube.OpenYouTubePlayerActivity$QueryYouTubeTask.doInBackground(Open
YouTubePlayerActivity.java:398)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
com.keyes.youtube.OpenYouTubePlayerActivity$QueryYouTubeTask.doInBackground(Open
YouTubePlayerActivity.java:1)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
android.os.AsyncTask$2.call(AsyncTask.java:185)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
java.util.concurrent.FutureTask.run(FutureTask.java:138)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
java.lang.Thread.run(Thread.java:1019)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): Error playing video!
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): java.lang.RuntimeException:
Invalid NULL Url.
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
com.keyes.youtube.OpenYouTubePlayerActivity$QueryYouTubeTask.onPostExecute(OpenY
ouTubePlayerActivity.java:431)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
com.keyes.youtube.OpenYouTubePlayerActivity$QueryYouTubeTask.onPostExecute(OpenY
ouTubePlayerActivity.java:1)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
android.os.AsyncTask.finish(AsyncTask.java:417)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
android.os.AsyncTask.access$300(AsyncTask.java:127)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:429)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
android.os.Handler.dispatchMessage(Handler.java:99)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
android.os.Looper.loop(Looper.java:123)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
android.app.ActivityThread.main(ActivityThread.java:3806)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
java.lang.reflect.Method.invokeNative(Native Method)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
java.lang.reflect.Method.invoke(Method.java:507)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
09-17 01:27:02.416: ERROR/QueryYouTubeTask(5870): at
dalvik.system.NativeStart.main(Native Method)
What version of the product are you using? On what operating system?
2.3.3
Please provide any additional information below.
If i use below code it works
Intent myIntent = new Intent(Intent.ACTION_VIEW, Uri
.parse("http://www.youtube.com/watch?v=s8I05iFWkQ0"));
startActivity(myIntent);
Original issue reported on code.google.com by [email protected]
on 17 Sep 2011 at 5:41
This is returned by the server,Every time I can not share the video to the
server,I need help.Thank you.
Each server to return 501 and Exception catch to garbage
Original issue reported on code.google.com by [email protected]
on 24 Apr 2012 at 2:59
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.