Youtube videos in app? - eviltoast

Sync for Reddit used to have this feature, but I think it was removed before the app was shutdown.

Just out of curiosity, what was the reason for removal and is it possible to implement this feature to Sync for Lemmy in the future?

  • redcalcium@lemmy.institute
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    The thing is, YouTube Android API, which was used by Android apps to embed YouTube videos, has been deprecated a few months ago. I remember YouTube video began to stop playing in Sync For Reddit app around two months ago. The API has been replaced with the YouTube iFrame API, but this API is very JavaScript/browser-centric, so it’s probably not trivial to add to a native app in a performant/memory-efficient way.