Android Question Show Youtube in app

johnmie

Active Member
Licensed User
Longtime User
I used to work with the YouTubeStreamFinder library which worked fine until a few weeks ago (and I could not find a newer version of it).
I then looked for an alternatives and stumbled over the 2013 SNYouTube libarary which is exactly what I needed.

There is just one irritating beauty spot: When a user pauses the video a button "MORE VID..." pops up. If he clicks on it then the YouTube web site appears with a title "You may also like..." which can send you on a wild and distracting journey complete with advertising and it becomes very difficult for the user to find his way back to my app.

I did not have this with the YouTubeStreamFinder when it still worked. Maybe the answer is one of Erels tutorial videos?

Is there perhaps a newer version of the SNYoutube library available or does anyone know how to work around this?

Many users of my app are community health workers in rural areas in LMICs looking for practical knowledge in a language they understand. My app shows videos and alongside a scrolling text prompt in another language and should,therefore, ideally be able to show these videos on-line and also download videos for later off-line viewing.

Thanks for all your help.

john m.
 

Sandman

Expert
Licensed User
Longtime User
Your analysis might be flawed, due to a recent and unfortunate change of YouTube urls.

It seems that it used to be possible to remove the suggestions by adding
B4X:
&rel=0
to the end of the url, but that possibility was removed very recently, as stated by this article.

Perhaps YouTubeStreamFinder used that way of removing them, and now it neither would be able to remove them.

That's why you still get the suggestions when the url looks like this:

B4X:
https://www.youtube.com/watch?v=dQw4w9WgXcQ&rel=0

 
Last edited:
Upvote 0
Top