Get 3gp link of Youtube video
The post "A simple example using VideoView to play 3gp from YouTube" describe how to play Youtube video in 3gp format on Android. But how can you get the 3gp link of Youtube video?For example, you want to embed the 3gp video of "Google I/O 2012 - What's New in Android?" in your app.
Right click the video to copy Video URL.
Paste and open the link, replace the leading "www.youtube.com" with "m.youtube.com" to get the mobile version.
Corresponding mobile version of the video will be loaded. Right click on the video to Copy Link Address. It's the 3gp link of the video:
rtsp://v4.cache7.c.youtube.com/CjYLENy73wIaLQky7ThXrRjPYRMYDSANFEIJbXYtZ29vZ2xlSARSBXdhdGNoYKjR78WV1ZH5Tgw=/0/0/0/video.3gp
You can copy this link to replace SrcPath in the example "A simple example using VideoView to play 3gp from YouTube".
0 komentar:
Posting Komentar