What happened to embedded videos?

For a while now all video threads are basically just opening a screenshot of the video when you expand them instead of opening the video itself. I noticed this both for YouTube and Catbox hosted videos and you now have to first open the thread itself, and then click on the actual link of the title to open the actual page where it is hosted to play the video. Previously you could just watch them from within your feed without leaving it.

I think the only exception I've seen for this are redgifs that sometimes pop up from the few lemmynsfw places that do manage to federate with kbin / mbin, but those also have issues like rendering behind the posts below them.

I also noticed that video playback does continue when you close the embedded container, so you always have to pause them manually (which is ironically not supported by redgifs player).

e-five ,

I think at least the first part of this is https://github.com/MbinOrg/mbin/pull/561

It was fixed a couple weeks ago but there hasn't been a tagged release in a while.

I'm not sure what the release plan is for 1.5.0, currently there's some very heavy migrations that require special upgrade instructions so I'd like to get a tagged release sooner rather than later to avoid instance admins running into issues, but I think there's still a lot of work in flight

DarkThoughts OP ,

I just noticed that the overlap issue also happens with pictures apparently, or at least those thumbnail screenshot from videos. Unless you hover over the image (or redgif video), then it hovers into the foreground.

e-five ,

Oh do you use compact mode? If so, sadly another thing that was fixed a while back that hopefully will be fixed for you next release https://github.com/MbinOrg/mbin/pull/544

DarkThoughts OP ,

Yes. The default view just adds a lot of wasted empty space, useless icons and even more useless cut-off text previews which I don't see the point of.

Doesn't quite look like the same issue, but I trust your word that it got fixed and hope for the next release then.

e-five ,

The post you showed in the screenshot does look fine to me both in classic and compact view on an instance with latest.

But I'd agree not all of your concerns have been addressed. I don't believe redgifs work (well), so will try to look into that if possible, but might be out of my depth.

The playback continuing is interesting. I had made a change long ago to not download every time it was expanded / collapsed as before it would make a request every single time, instead I changed it to just hide and show it after the first load, so that sounds like a side effect of that. Perhaps there's some way for me to also indicate to pause media, I will check

DarkThoughts OP ,

1.5 is out and the issue of not pausing persists. I also noticed some articles generate that preview button, but upon clicking it you download some master.m3u8 file.
Example: https://fedia.io/m/news@lemmy.world/t/659232/Ahmaud-Arbery-s-killers-ask-appeals-court-to-overturn-their-hate

It would also be nice if that entire feature would work on text posts.

e-five , (edited )

I didn't mention 1.5.0 fixing the pausing issue, only that I would look into it. It didn't look like there was a quick fix at a glance, I might be missing it but it looked like youtube had a specific API you could try to implement / support but I was hoping for a more generic solution.

I'll open a github issue about it for you once I'm free and perhaps another developer will know a way to fix it or be able to look into it

The downloading of files is a known issue in mbin/kbin, https://github.com/MbinOrg/mbin/issues/487

DarkThoughts OP ,

It's not just YouTube. Every video player does this.

e-five , (edited )

Exactly why I was hoping to find a generic solution, like a simple .pause() JS method. Unfortunately, that didn't seem to work, so will require more research, thanks for the report!

Edit: Bug made here

DarkThoughts OP ,

Is it not possible to just unload the entire player again when closing the embedded window?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • fedia
  • kamenrider
  • Rutgers
  • jeremy
  • Lexington
  • cragsand
  • mead
  • RetroGamingNetwork
  • loren
  • steinbach
  • xyz
  • PowerRangers
  • AnarchoCapitalism
  • WatchParties
  • WarhammerFantasy
  • Mordhau
  • itdept
  • AgeRegression
  • mauerstrassenwetten
  • MidnightClan
  • space_engine
  • learnviet
  • bjj
  • Teensy
  • electropalaeography
  • khanate
  • neondivide
  • supersentai
  • fandic
  • All magazines