MP4/Webm Alert ending too soon

Failure to fill out the requested information will result in us asking for it or closing the ticket as incomplete. This includes the request for Console output and any logs.

If reporting a bug, please open a topic under Support > Bug Reports.

The Nightly Build does not include support, however, we do accept bug reports under Nightly Builds > Bug Reports.

Fill out the following so that we are able to provide support for your inquiry.

To provide the bot information below, you can simply type botinfo in your bot console and hit enter. That will print the bot’s general information. Version 2.4.0+ you may get the versions from the Information panel.

Please remove this line and the lines above to make it less confusing for other users.

PhantomBot Version: v3.0.0
OS Version: Raspbian GNU/Linux 9 (stretch)
Java Version:1.8.0_65
Browser and Version (for Panel Support): Chrome 76.0.3809.100
Stock PhantomBot: Yes

Let us know what help you need:
Added some custom commands which call (alert file.mp4). Some of them stop after a few seconds. I tried mp4 and webm. Both are stopping too soon.

My initial guess is that the default duration is 3 seconds. You have to override the duration time. You can do this by providing the duration after the filename in the command.

For 10 seconds:
(alert file.mp4,10)

See if this helps, and let us know if it doesn’t. Warning: I may be thinking of audio files and this is not the issue at all.

You are right, it was the default duration time. Your solution fixed my problem. Thank you very much!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.