You are not logged in.

#1 2021-09-12 21:53:43

Artyom-rgb
Member
Registered: 2021-09-12
Posts: 8

Autoplay video - solved

Hello! Quite a strange problem: the video plays automatically in any player or browser. And it seems like it's not about pulsaudio. If someone knows how to help, please tell me the solution - it really hinders

Last edited by Artyom-rgb (2021-09-14 14:22:26)

Offline

#2 2021-09-12 22:49:58

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,617
Website

Re: Autoplay video - solved

What video? What browsers? What desktop environment(s)?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2021-09-13 00:54:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,498
Website

Re: Autoplay video - solved

What on earth does this even mean?  You need to tell us what the problem actually is.

Why would a video playing in "any player" be a problem?  Certianly if you open a video with a video player, you want it to play.  I'm quite sure it is not constantly autoplaying on it's own on every video player on your system.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2021-09-13 09:50:07

Artyom-rgb
Member
Registered: 2021-09-12
Posts: 8

Re: Autoplay video - solved

Xfce 4.16 desktop environment, vlc player, google-chrome browser.
When I open a page in a browser with a video and I stop it for example, to pour myself some tea, and leave, it turns on itself after 10 seconds

Offline

#5 2021-09-13 11:19:34

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,498
Website

Re: Autoplay video - solved

VLC, and "any player" is irrelevant if this is just in the browser.  When the video restarts, you do mean it's continuing to play in the browser, right?  It's not popping up in VLC is it?

Which video / websites have you seen this on?  Does this happen on youtube?

Last edited by Trilby (2021-09-13 11:20:37)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2021-09-13 11:31:37

Artyom-rgb
Member
Registered: 2021-09-12
Posts: 8

Re: Autoplay video - solved

No, this happens in both vlc and browser. Absolutely on any site: YoyTube, fmovies, vk, even voice messages in messengers are reproduced on their own after I stopped them

Offline

#7 2021-09-13 12:34:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,283

Re: Autoplay video - solved

Spurious input?
Do you have a <play media> shortcut/key?
Does it matter where the input focus is when you leave? (Eg. many player will respond to the space key as play/pause toggle) or possibly sth. is sending around mpris commands, check "dbus-monitor" for that.

Offline

#8 2021-09-13 12:46:26

Artyom-rgb
Member
Registered: 2021-09-12
Posts: 8

Re: Autoplay video - solved

Most likely the first. I don't have <play media> shortcat or key. And it does not matter where the input focus is. I checked  dbus-monitor and I got this

method call time=1631531890.899675 sender=:1.20 -> destination=org.mpris.MediaPlayer2.chromium.instance659 serial=11815 path=/org/mpris/MediaPlayer2; interface=org.freedesktop.DBus.Properties; member=GetAll
   string "org.mpris.MediaPlayer2"
method return time=1631531890.900490 sender=:1.46 -> destination=:1.20 serial=5240 reply_serial=11815

What does it mean?

Last edited by Artyom-rgb (2021-09-13 12:47:27)

Offline

#9 2021-09-13 14:14:17

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,283

Re: Autoplay video - solved

Something™ is querying the mpris interface of chromium.
Is this related to the magic autoplay? If not, stop the playback, monitor dbus and wait until the playback magically resumes and see whether there's a related message on the bus.
You can at the same time monitor "libinput debug-events" for spurious input (or on xinput, in case something is sending synthetic input over the xtest devices)

Offline

#10 2021-09-13 14:40:44

Artyom-rgb
Member
Registered: 2021-09-12
Posts: 8

Re: Autoplay video - solved

It turned out to be a pulseaudio plugin for the panel, so I just replaced it with another
Thanks

Offline

#11 2021-09-13 14:55:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,283

Re: Autoplay video - solved

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB