The ability to listen to audio from Youtube with a locked smartphone screen is a useful feature, for example, if you are listening to music or lectures. This is convenient, eliminates accidental tapping on the screen, besides - the locked, inactive screen of the smartphone consumes less energy.
Unfortunately, the official Youtube application (at least without a paid subscription) does not have such a function. I found the solution by chance and helped me in this Telegram. The
idea itself
is not new , but with Telegram this is the first decision. In addition, it does not display (and, accordingly, does not sound) advertising.
A video demo is available
here . I apologize in advance for the phrase "listen to the video", "image video".
But can I use the same algorithm for a video about the algorithm itself or a joke about recursion.Of course, even this video can be heard with a locked screen, but for this you need to know how, and for this you need to watch this video, which is also possible ...
Algorithm:
')
- Copy the link to the Youtube video, and send it to the Telegram channel, for example, to yourself. (UPD: even faster - you can share the link directly to Telegram from the Youtube application, without clicking on Copy / Paste)
- We open the Telegram video by clicking not on the link (this action will open the Youtube application or an external browser), but on the video image.
- After starting playback, the video will no longer include ads. Two buttons appear under the video - the right one copies the link to the video to the clipboard, the left one - opens the video in a floating window. Push the left button.
- Everything, you can lock the screen and listen to a lecture or music. Without advertising .
Minuses:
- You can not adjust the playback speed.
- You can not quickly stop playing. For example, if you listened to a lecture with headphones, when you disconnect the headphones, the lecture will continue to play (from the speaker of the smartphone) .
I hope this article will put the attention of specialists in information security, Android, Telegram, Youtube API and they will help you figure out how and why this is possible.
UPD: Apparently not relevant for the iPhone, but there are other methods. In the comments you will find many more interesting ways to achieve the desired effect, but comments on the topic “how is it and why the corporation of happiness allows it” did not appear.