Skip to content

Crash when sharing link of a video not on supported platform #6780

@Thewisem

Description

@Thewisem

Checklist

Steps to reproduce the bug

  1. Open this link https://tilvids.com/videos/watch/f869e331-1cfa-44b1-8685-5d35ffa0c516​
  2. Open with newpipe
  3. See error

Actual behavior

Showed itself for a video platform it does not support

Expected behavior

Not show in open with

Screenshots/Screen recordings

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: GB
  • Content Language: en-GB
  • App Language: en_GB
  • Service: none
  • Version: 0.21.6
  • OS: Linux Android 7.1.1 - 25
Crash log

java.lang.RuntimeException: Unable to create service org.schabi.newpipe.player.MainPlayer: java.lang.RuntimeException: org.schabi.newpipe.extractor.exceptions.ParsingException: Embedded info did not provide YouTube player js url
	at android.app.ActivityThread.handleCreateService(ActivityThread.java:3573)
	at android.app.ActivityThread.-wrap6(ActivityThread.java)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1749)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:154)
	at android.app.ActivityThread.main(ActivityThread.java:6823)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1563)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1451)
Caused by: java.lang.RuntimeException: org.schabi.newpipe.extractor.exceptions.ParsingException: Embedded info did not provide YouTube player js url
	at org.schabi.newpipe.player.helper.PlayerDataSource.<init>(PlayerDataSource.java:80)
	at org.schabi.newpipe.player.Player.<init>(Player.java:396)
	at org.schabi.newpipe.player.MainPlayer.createView(MainPlayer.java:106)
	at org.schabi.newpipe.player.MainPlayer.onCreate(MainPlayer.java:100)
	at android.app.ActivityThread.handleCreateService(ActivityThread.java:3563)
	... 8 more
Caused by: org.schabi.newpipe.extractor.exceptions.ParsingException: Embedded info did not provide YouTube player js url
	at org.schabi.newpipe.extractor.services.youtube.YoutubeJavaScriptExtractor.extractJavaScriptUrl(YoutubeJavaScriptExtractor.java:82)
	at org.schabi.newpipe.extractor.services.youtube.YoutubeJavaScriptExtractor.extractJavaScriptCode(YoutubeJavaScriptExtractor.java:40)
	at org.schabi.newpipe.extractor.services.youtube.YoutubeJavaScriptExtractor.extractJavaScriptCode(YoutubeJavaScriptExtractor.java:56)
	at org.schabi.newpipe.extractor.services.youtube.YoutubeThrottlingDecrypter.<init>(YoutubeThrottlingDecrypter.java:45)
	at org.schabi.newpipe.player.helper.PlayerDataSource.<init>(PlayerDataSource.java:44)
	... 12 more


Device info

  • Android version/Custom ROM version: V 7.1.1 Nougat
  • Device model: Samsung Galaxy Tab A SM P555

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue is related to a bugtemplate ignoredThe user didn't follow the template/instructions (or removed them)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions