support youtube's custom URL schemes (vnd.youtube: and vnd.youtube.launch:)

This commit is contained in:
Hans-Christoph Steiner 2016-01-01 23:51:34 +01:00
parent 2a93e9bd2e
commit efe5de4c75

View file

@ -55,6 +55,15 @@
<data android:host="youtu.be" />
<data android:pathPrefix="/" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="vnd.youtube" />
<data android:scheme="vnd.youtube.launch" />
</intent-filter>
</activity>
<activity android:name=".PlayVideoActivity"
android:configChanges="orientation|keyboardHidden|screenSize"