Following audio and video formats should work fine:
“Advanced Audio Coding”, “aac”,
“AIF Audio”, “aif;aiff”,
“AU/SND Audio”, “au;snd”,
“AVI”, “avi”,
“CD Audio”, “cda”,
“FLAC Audio”, “flac”,
“Flash Video”, “flv”,
“Matroska Media”, “mkv”,
“MIDI Audio”, “mid;midi;rmi”,
“MPEG Audio”, “mp2;mp3;mpa”,
“MPEG Video”, “mpg;mpeg;mpv;mp4”,
“Ogg bitstream”, “ogg;oga;ogv”,
“Quicktime Video”, “mov”,
“Vivo Video”, “viv”,
“WAVE Audio”, “wav”,
“WebM Video”, “webm”,
“Windows Media Audio”, “wma”,
“Windows Media Video”, “wmv”
In case you only get audio and not the video part of the file in your presentation, then try another format. The reason is that most video file formats are containers that can contain different content. Some might not work successfully in LibreOffice.
If you encounter such a problem, please open a bug report on the LibreOffice website (https://bugs.freedesktop.org/enter_bug.cgi?product=LibreOffice&bug_status=UNCONFIRMED) and attach (or create a download link) to the video file)