[vlc-devel] [PATCH] VLC: play youtube URLs
Rafaël Carré
funman at videolan.org
Mon Jan 23 06:09:42 CET 2012
---
Hello,
This lets VLC open Youtube URLs.
With LUA built in, and config_GetAppDir() hacked to return a path to a
folder containing share/lua; the URL is parsed correctly.
However, after having parsed it, the media ends and the real Youtube
movie is not played.
"playlist" demuxers indeed use the VLC playlist which is not available
in libvlc ...
Any idea?
Fixing this would let m3u etc work too
vlc-android/AndroidManifest.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index 617da32..95eb58e 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -48,6 +48,12 @@
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:configChanges="orientation">
<intent-filter>
+ <data android:scheme="http" android:host="www.youtube.com" />
+ <action android:name="android.intent.action.VIEW" />
+ <category android:name="android.intent.category.BROWSABLE" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ <intent-filter>
<data android:scheme="http" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
--
1.7.8.3
More information about the vlc-devel
mailing list