Email or username:

Password:

Forgot your password?
3,304 posts total
Eugen Rochko

I'm frustrated because I don't really know what's the best way to implement a pop-out media player for when you scroll away from a post that's playing and I'm worried that the approach I chose is the wrong one ๐Ÿ˜ฆ

Kinda have to create a new media element that's not part of the status component because you don't want to lose it if the status gets unmounted, but starting playback from a new element isn't gapless.

Show previous comments
Dafne Kiyui

@Gargron you could create an off screen media element and proxy to another media element or canvas that you then mount and use to proxy events, kind of like how bbc/VideoContext does it

โ‡„ ฮฃ = Mแ„ƒยฒ โ‡†

@Gargron for now users can PiP in Chrome

A new way to PIP

Just head over to
chrome://flags/#global-media-controls-picture-in-picture

flip the flag to โ€˜enabledโ€™, click that blue restart button and the next time you pull up a video that supports PIP (YouTube is the obvious choice, but many services use it), you can now look in your notifications tray for a new PIP button

works with Mastodon embedded vids

Sasha ๐Ÿณโ€๐ŸŒˆ

@Gargron in HTML you can just reappend same media element where you want and it will preserve it's state. Not sure if this is possible in React. And this does not work with iframes.

I guess for React you can play media in a portal and when status is visible, position: absolute it to status frame, and when status is not visible, change it to fixed element.

Another approach could be to manually restore state when media gets pinned, but again, it's impossible for iframes, and is heavy operation.

Eugen Rochko

This one singer I know from their YouTube channel has more listeners on Spotify than most of the bands I listen to :michaelwazowski:

Eugen Rochko

Vibing to Tigran Hamasyan's "A Fable" album

Eugen Rochko

I'm always like "I like when it rains" but when it does rain I feel gloomy as shit

Gregory Vanderlaan

@Gargron Rain Puts Out The Fires Here in California... Rain Has a Whole New Meaning Now... I Have Been Doing Rain Dances Recently... I Own Bells and Youtube Has the Songs... WHY NOT? Might Work!

Zvon

@Gargron the secret is lighting a candle and having hot chocolate when it's raining

Mephystoff

@Gargron
I live in Galicia (Spain) and (just like someone could say from Ireland) it's kinda a "_land of rain_" and I love it

Eugen Rochko

Twitter is bringing its โ€˜read before you retweetโ€™ prompt to all users

theverge.com/2020/9/25/2145563

I really should add something like this but with "Are you sure you really want to reply to this 2 year old post" ๐Ÿ˜…

Show previous comments
Daniil Baturin

@Gargron In the modern Internet, if a two year old post can be found at all, it means it's significant enough to deserve a reply. ;)

StephenAnfield

@Gargron People get so angry at old news that has already been resolved. I don't get it.

Karen E. Lund ๐Ÿ’™๐Ÿ’›

@Gargron "Do you want to spell-check before sending?"

This would eliminate at least half of the Qanon qult garbage I see on Twitter.

Eugen Rochko

And so, first week of going to the gym is complete

Show previous comments
Konrad

@Gargron Next week, the plan is to also exercise there? :-0

privvcy

@Gargron
And so, next week, actually looking at the machines and thinking about what it will take to plan to use them?

Eugen Rochko

PERIPHERY โ€“ Stranger Things (Cover by Lauren Babic, Victor Borba, & Ron Totman)

youtube.com/watch?v=KanJqFVkhv #np

dschense

@Gargron
hab's mir jetzt schon 3 mal angehรถrt. Schmeckt sehr gut ;-)

wauz ใƒฏใ‚ฆใ‚บ

@Gargron
We have a nice place at the station, where you can watch trains, buses and taxis..

Tera Echo TE-2

@Gargron The Andy Kaufmann show or you just staring at cars?

Eugen Rochko

I started watching The Boys. That first episode is brutal.

Show previous comments
Rev.Dr. Nikolai Kingsley

@Gargron

kind of weird seeing Simon Pegg playing Hughie's father, when Hughie was modeled on him in the comic.

Digital Mark ฮป ๐Ÿ“š ๐Ÿ•น ๐Ÿ’พ ๐Ÿฅƒ

@Gargron What's funny is the show is so much tamer than the comics, it's almost a PG sitcom in comparison. I call the comics the cure for superheroes: You'll never be able to read "serious" superhero comics again. Highly recommend those instead of the show.

Marco Zanetti

@Gargron and wait to see the others! I appreciate more the serie over the comics that are too gratuitously graphic IMHO. Anyway great serie, hurry up to get up to date with season two ;-)

Eugen Rochko

Wait so Blahaj is the IKEA product line name, I thought it was a specific name someone here gave their plush shark

Show previous comments
ElfLord

@Gargron Itโ€™s an easy mistake to make.

๐ŸŒˆโœก๏ธ Rochesters First Wife โœก๏ธ๐ŸŒˆ

@Gargron several Ikea stuffed animals have gone viral and people have a lot of fun posting theirs doing everyday things. I want the dunskog.

Steinar Bang

@Gargron it's Swedish for "Blue shark".

(I understood where the name came from but still thought it was funny...:-) )

Eugen Rochko

Honorary Astronaut - E. K. E.

youtu.be/XQNE2Z9s0D8 #np

(Casey Crescenzoโ€™s new band)

Eugen Rochko

I kinda slept on Haken's Virus album when it just came out but now I'm coming around on it :catjam:

Go Up