It looks like the flooding happens during the whole of the video watching. See part of the log:
May 30 08:09:29 moshe kernel: [12137.158815] audit: type=1107 audit(1717045769.703:202): pid=896 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=12451 label="snap.firefox.firefox" peer_pid=930 peer_label="unconfined"
May 30 08:09:29 moshe kernel: [12137.158815] exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
May 30 08:09:29 moshe kernel: [12137.160419] audit: type=1107 audit(1717045769.703:203): pid=896 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=12451 label="snap.firefox.firefox" peer_pid=930 peer_label="unconfined"
May 30 08:09:29 moshe kernel: [12137.160419] exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
May 30 08:09:43 moshe kernel: [12150.504113] audit: type=1107 audit(1717045783.047:204): pid=896 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=12451 label="snap.firefox.firefox" peer_pid=930 peer_label="unconfined"
May 30 08:09:43 moshe kernel: [12150.504113] exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
May 30 08:09:43 moshe kernel: [12150.504971] audit: type=1107 audit(1717045783.051:205): pid=896 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=12451 label="snap.firefox.firefox" peer_pid=930 peer_label="unconfined"
May 30 08:09:43 moshe kernel: [12150.504971] exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
May 30 08:09:47 moshe kernel: [12154.640469] audit: type=1107 audit(1717045787.183:206): pid=896 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=12451 label="snap.firefox.firefox" peer_pid=930 peer_label="unconfined"
May 30 08:09:47 moshe kernel: [12154.640469] exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
May 30 08:09:47 moshe kernel: [12154.642454] audit: type=1107 audit(1717045787.187:207): pid=896 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=12451 label="snap.firefox.firefox" peer_pid=930 peer_label="unconfined"
May 30 08:09:47 moshe kernel: [12154.642454] exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
May 30 08:09:47 moshe kernel: [12154.665282] audit: type=1107 audit(1717045787.211:208): pid=896 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=12451 label="snap.firefox.firefox" peer_pid=930 peer_label="unconfined"
May 30 08:09:47 moshe kernel: [12154.665282] exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
May 30 08:09:47 moshe kernel: [12154.666338] audit: type=1107 audit(1717045787.211:209): pid=896 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=12451 label="snap.firefox.firefox" peer_pid=930 peer_label="unconfined"
May 30 08:09:47 moshe kernel: [12154.666338] exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
May 30 08:09:47 moshe kernel: [12154.822578] audit: type=1107 audit(1717045787.367:210): pid=896 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=12451 label="snap.firefox.firefox" peer_pid=930 peer_label="unconfined"
May 30 08:09:47 moshe kernel: [12154.822578] exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
May 30 08:09:47 moshe kernel: [12154.823639] audit: type=1107 audit(1717045787.367:211): pid=896 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.4" mask="receive" pid=12451 label="snap.firefox.firefox" peer_pid=930 peer_label="unconfined"
May 30 08:09:47 moshe kernel: [12154.823639] exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: apparmor 3.0.4-2ubuntu2.3
ProcVersionSignature: Ubuntu 5.15.0-107.117-generic 5.15.149
Uname: Linux 5.15.0-107-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Thu May 30 08:24:36 2024
InstallationDate: Installed on 2019-04-03 (1883 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
ProcEnviron:
LANGUAGE=en_IL:en
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_IL
SHELL=/bin/bash
ProcKernelCmdline: BOOT_IMAGE=/boot/vmlinuz-5.15.0-107-generic root=UUID=1977f133-1ba9-499b-aaf5-603f7d5ba691 ro quiet splash vt.handoff=7
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: apparmor
UpgradeStatus: Upgraded to jammy on 2022-08-12 (656 days ago)
Hmm I am not sure this is a bug in snapd - snapd will provide such access if a snap plugs the login-session- observe interface - and so I think instead the firefox snap should be updated to include this plug and a request made to auto-connect it via the snapcraft forum.