albertogasparin / external-video-player-addon

Firefox for Android addon to open HTML5 videos with any native video player
https://addons.mozilla.org/en-US/android/addon/external-video-player/
14 stars 0 forks source link

Video Player does not open #10

Open motareks opened 3 years ago

motareks commented 3 years ago

Hi, I use your Extension in Iceraven Browser. When I click on external video player a new tab open with "intent". Then I click on "open with app" bit no video player opens. Do you have an solution for this?

albertogasparin commented 3 years ago

Can you post an example of intent url (maybe posting from which website)? Also you might need to have a general purpose video player installed. I personally use MX Player and so far videos just work.

skanull commented 3 years ago

I also use this extension in iceraven browser. Here's an example of the intent that opens up in new tab "intent://m.youtube.com/c92bf432-52f5-4305-9df7-d8cb84d2614b#Intent;action=android.intent.action.VIEW;scheme=blob:https;type=video/*;end". I use VLC for my video player

albertogasparin commented 3 years ago

Thanks for that @skanull. Unfortunately youtube (and other more advanced streaming providers) are hard to support. Indeed the scheme is blob:https, which means that url is just a chunk of video in browser memory and not a stream, so we cannot play that somewhere else. We would have to try to capture the m3u8 (or similar) playlist but is very complicated (and the reason why tools such as yt-downloader exist).

On top of that, extensions capabilities on mobile are still quite limited, so don't think we can do much for now. As soon as FF supports showing toast messages, I might add one saying that the video stream cannot be "extracted".