support youtube's custom URL schemes (vnd.youtube: and vnd.youtube.launch:)
This commit is contained in:
parent
2a93e9bd2e
commit
efe5de4c75
|
@ -55,6 +55,15 @@
|
||||||
<data android:host="youtu.be" />
|
<data android:host="youtu.be" />
|
||||||
<data android:pathPrefix="/" />
|
<data android:pathPrefix="/" />
|
||||||
</intent-filter>
|
</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>
|
||||||
<activity android:name=".PlayVideoActivity"
|
<activity android:name=".PlayVideoActivity"
|
||||||
android:configChanges="orientation|keyboardHidden|screenSize"
|
android:configChanges="orientation|keyboardHidden|screenSize"
|
||||||
|
|
Loading…
Reference in New Issue