I'm new with building apps
I made it with eclipse to compile and phonegab.
A while ago I made a android app with video content.
It did work in the past, but not anymore.
I did it with a direct link
such as Play
When you click the link, Android used the "native"player. Thats what I want, but that doesn't work anymore.
Can anybody give me some advise or tell me why it doesn't work anymore?
Related
Problem:
Youtube Music sucks for playing back music you have uploaded for years. The app sucks, and the Android Auto app sucks. I've contacted the YT Music team many times, but they don't seem to listen to music ever so they don't even understand the problem(s).
Solution:
Create my own app to play back my own music that lives in Google/Youtube Music. I'm an Android app developer so might as well fix this my own way.
Are there APIs for Youtube Music? I know there's an unofficial Youtube Music API, but that's phython, it doesn't build at the moment (Feb 2022), and it seems to focus on paid music, not my own uploaded library.
Would Google drive APIs do this? If so, is there documentation on how to use it? I can figure out the OAuth part, but I don't know where to get the data for the parameters in this sample api
Is there a better way for this? I just need to download the music files, and then create a player around them.
Thank you!
I was looking for something similar but the closest I got was ytmusicapi in python. It works for me and I installed it via pip install ytmusicapi. Its source is hosted on https://github.com/sigma67/ytmusicapi there, perhaps, you can see the YTM protocol. Authentication works by simply copying cookies from your browser after authenticating with YTM manually. That worked for me as well.
Another option is Kodi and a plugin they have: https://forum.kodi.tv/showthread.php?tid=360827 (but that did not seem to work for me after 3 minutes I spent on it).
If you are serious about it and you can't get YTM protocol via the source of ytmusicapi, then you can perhaps reverse-engineer the protocol using your browser. Firefox's Tools->Browser Tools->Web Developer Tools is your best friend. After you authenticate to YTM, open the "tools", click on "Library" on YTM webpage, then in "tools" tab, go to Network and look for a POST similar to https://music.youtube.com/youtubei/v1/browse?key=... right click on it and Copy->Copy as Curl. You will be able to see what auth-headers it sends and also what's the protocol for showing up your YTM Library.
I am trying to (roughly) replicate the Sony Xperia "Live on Youtube" app. Since it is exclusive to the Xperia line, I am trying to build an app out of the Youtube WatchMe source code.
All I need is an app that can live stream video from the phone's camera to Youtube, as both of the apps mentioned above do. I know that WatchMe is meant to be nothing more than a reference for developers wanting to make apps that utilize this, but how possible would it be to modify the example code? I don't need a necessarily stable application, but something is better than nothing.
It would help even more if anyone knew of an app that already contained this functionality.
Due to sharing and open-source limitations of ffmpeg I wasn't able to distribute the built.
There were few people built successfully in here. They use ffmpeg + libx264 v2.3.
You'll also use Android.mk and ffmpeg-jni.c from the repo to build.
Take a look at TubeStreamer, now on Google Play. This is a work in progress but is currently working for streaming live video to YouTube.
I'm also trying to make this app worked.
I made it run on my phone, but with the wrong build method.
Here's my progress, just for reference.
I compiled the app on Eclipse except the libffmpeg.so.
Then, I got the lib file from someone provided on https://github.com/youtube/yt-watchme/issues/16
Finally, I push the file into the phone's directory "/data/app-lib/com.google.android.apps.watchme-1/libffmpeg.so"
After these steps and configure on Google develope console and Youtube, this app could run correctly.
I had purchased an HTML5 game named BattleBattle from envato market. It is working fine in my pc when I publish it using IIS. I tried to convert this game to android apk file using PhoneGap Cloud Build service. The apk file is being generated and I am able to install and play the game in my mobile but the only problem is that there is no sound playing whereas sound plays in the browser. What could be the reason? The game is developed using Construct. I searched for solutions online but nothing helped. I even tried including audio plugins for phonegap but that too didn't help. Could anyone help me to solve this problem?
You need to use the core media plugin. https://build.phonegap.com/plugins/1168 and play the audio using it.
You will have to dig into the code and change the way the audio is initiated. Also remember that you will be only allowed to play one file at a time.
After a good two hours of searching the Internet I can't find a solution to my problem.
I'm trying to develop an application for android and iOs using Cordova. In this application I make use of the Iframe API of Youtube. I need to be aware of the end of a certain video in order to call another one.
But it seems that this API is not working on Android (but well on iOs). Does anyone has a solution for this ?
Here is what I've thought of:
Basic embedding of a Youtube (without the API) and a custom listener to be notified of the end of a song (No idea how to do that...)
Use a Cordova plugin for the android youtube api (the one I saw only had the possibility to load a song not having listeners)
I searched a lot and didn't find the answer of my question.
I want to add to my android app video chat feature.
I am writing app for version 2.2 and latest.
Can I provide this feature or not and if I can,please write some link of code
which I need.
And also, I have read this tutorial and I want to know is this real working app and if yes how can I merge this to my native app code?