{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/24c1d0fe899d4855810e24f7f27eae3a\" frameborder=\"0\" width=\"1749\" height=\"1312\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1312,"width":1749,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1312,"thumbnail_width":1749,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/24c1d0fe899d4855810e24f7f27eae3a-d34ca5d1e99afd8b.gif","duration":41.232,"title":"Foreground Service Media Playback Permission in Futuri Media Apps","description":"In this video, I demonstrate the use of the FOREGROUND_SERVICE_MEDIA_PLAYBACK permission in all apps developed by Futuri Media.  Without the use of this permission:\n\nIf the task is deferred by the system, it would prevent the user from having control over their media playback entirely when the application is not in focus.\n\nIf the service is suspended while a media queue is playing, it would cause a desync between the application's ui and what's currently loaded in the media player"}