question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to show video in notification as a gif not working

See original GitHub issue

Home Assistant Android version: beta-2150-261ae31f]

Android version: Android 12 Phone model: Samsung S20+

Home Assistant version: Home Assistant 2022.3.3 Last working Home Assistant release (if known): N/A Description of problem:

I can’t seem to get video notifications working. I’ve installed beta-2150-261ae31f but no image/gif is appearing. Here’s how I’m calling the notification:

service: notify.mobile_app_s20
data:
  message: Test
  data:
    video: "https://download.samplelib.com/mp4/sample-20s.mp4"

The video is 20 seconds long.

Traceback (if applicable, to get the logs you may refer to: https://companion.home-assistant.io/docs/troubleshooting/faqs/#android-crash-logs):


Screenshot of problem:

Additional information:

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
NickM-27commented, Mar 8, 2022

Fix PR is up 👌

2reactions
NickM-27commented, Mar 8, 2022

I will have a PR up shortly, luckily the MediaMetaDataRetriever includes the ability to directly pass BitmapOptions

Read more comments on GitHub >

github_iconTop Results From Across the Web

Show GIF with glide in android notification - Stack Overflow
Android doesn't support GIF and Videos in notification because notification is built using RemoteViews and RemoteViews doesn't support GIF ...
Read more >
Doorbell (Only) Push Notifications Pull Down Gif Not Working
Clear the application cache or reinstall it. It will come right back. Happens sometimes on Android.
Read more >
How am i able to set a GIF or animated photo / video as my ...
I have tried setting a 1440p GIF as my screensaver, it is just set as a still image. Is there any way I...
Read more >
Video Preview in notifications via Home app not sh...
I just get a grey preview screen with an "i" in the centre. Tried restarting phone and uninstalling / reinstalled app, still no...
Read more >
Expose animated gif URL in the events API - Google Groups
Adding that gif is not easy, because there's a limit of 4K on the size of the notification message -- i.e. it's unlikely...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found