New media handler

Discuss site matters here

Moderators: FishPants, ooRip

Do you want to see media parsing happen without having to use media tags (just paste the link)?

Poll ended at Sun Jan 12, 2025 6:21 pm

Yes - Parse it automatically
32
94%
No - I prefer using media tags to embed it
2
6%
 
Total votes: 34

User avatar
FishPants
Server WhOOre
Posts: 4698
Joined: Fri Oct 15, 2004 1:38 pm
Location: Canada

New media handler

Post by FishPants »

** Poll running for this weekend above; I'll close it sometime Sunday evening or Monday morning.

I've migrated away from a (VERY) deprecated media handler we were using to embed Youtube videos on the forum. From what I can tell the previous embedded videos still show up properly, but going forward ANY media that you want embedded needs to use a MEDIA open and /MEDIA closing tag (vs the YOUTUBE and /YOUTUBE tags).

The neat thing is now we can embed a LOT more than the few things previously, there's too many to list - I had added Bluesky as well but that bombed out (it was from a forum post on their support channel so I'll go ask why it didn't work).

But for example some of the categories that you can embed with the MEDIA handler:

X, National Geographic, Twitch, Youtube, Vimeo, ABC news, Kickstarter, CNN, Instagram, MLB, Reddit, Pinterest, Liveleak - the list is huge, so if you want to embed something you can just stick it in the media tags and see if it works.

I also have the option to just parse a plain text URL posted in a post WITHOUT the media tags, but I've turned that off for now - I want to hear from you on whether you'd rather just see URLs parsed without having to do the media block around it. Let me know what you think here.
No.
User avatar
Rumpy
Posts: 13233
Joined: Sun Mar 27, 2005 6:52 pm
Location: Sudbury, Ontario, Canada

Re: New media handler

Post by Rumpy »

I would personally go with the auto-parsing, but that's just me. It's quicker and it removes a step.
PC:
Ryzen 5 3600
32GB RAM
2x1TB NVMe Drives
GTX 1660 Ti
User avatar
FishPants
Server WhOOre
Posts: 4698
Joined: Fri Oct 15, 2004 1:38 pm
Location: Canada

Re: New media handler

Post by FishPants »

Rumpy wrote: Sat Jan 11, 2025 6:26 pm I would personally go with the auto-parsing, but that's just me. It's quicker and it removes a step.
Make your vote, there's a poll at the top - thanks for the input, I'm thinking the same thing but want to see what everyone thinks before ramming in a change like that - we are all old curmudgeons that don't appreciate change; I don't need anyone freaking out at the local bridge tournament about URL parsing.
No.
User avatar
jztemple2
Posts: 12704
Joined: Fri Feb 13, 2009 7:52 am
Location: Brevard County, Florida, USA

Re: New media handler

Post by jztemple2 »

FishPants wrote: Sat Jan 11, 2025 6:28 pm we are all old curmudgeons that don't appreciate change; I don't need anyone freaking out at the local bridge tournament about URL parsing.
Well, as one of the oldest curmudgeons here, I approve this change and I voted in the poll. Thanks for asking us.
My father said that anything is interesting if you bother to read about it - Michael C. Harrold
User avatar
Rumpy
Posts: 13233
Joined: Sun Mar 27, 2005 6:52 pm
Location: Sudbury, Ontario, Canada

Re: New media handler

Post by Rumpy »

FishPants wrote: Sat Jan 11, 2025 6:28 pm
Rumpy wrote: Sat Jan 11, 2025 6:26 pm I would personally go with the auto-parsing, but that's just me. It's quicker and it removes a step.
Make your vote, there's a poll at the top - thanks for the input, I'm thinking the same thing but want to see what everyone thinks before ramming in a change like that - we are all old curmudgeons that don't appreciate change; I don't need anyone freaking out at the local bridge tournament about URL parsing.
Yeah, voted. But I do have a question in regards to spam related to this. Assuming we have one of the many bots doing a drive-by spamming, does the parser work for any unrecognized URL, or does it stick to known websites?
PC:
Ryzen 5 3600
32GB RAM
2x1TB NVMe Drives
GTX 1660 Ti
User avatar
Daehawk
Posts: 65994
Joined: Sat Jan 01, 2005 1:11 am

Re: New media handler

Post by Daehawk »

I have no idea.
--------------------------------------------
I am Dyslexic of Borg, prepare to have your ass laminated.
I guess Ray Butts has ate his last pancake.
http://steamcommunity.com/id/daehawk
"Has high IQ. Refuses to apply it"
When in doubt, skewer it out...I don't know.
User avatar
FishPants
Server WhOOre
Posts: 4698
Joined: Fri Oct 15, 2004 1:38 pm
Location: Canada

Re: New media handler

Post by FishPants »

Rumpy wrote: Sat Jan 11, 2025 6:46 pm
FishPants wrote: Sat Jan 11, 2025 6:28 pm
Rumpy wrote: Sat Jan 11, 2025 6:26 pm I would personally go with the auto-parsing, but that's just me. It's quicker and it removes a step.
Make your vote, there's a poll at the top - thanks for the input, I'm thinking the same thing but want to see what everyone thinks before ramming in a change like that - we are all old curmudgeons that don't appreciate change; I don't need anyone freaking out at the local bridge tournament about URL parsing.
Yeah, voted. But I do have a question in regards to spam related to this. Assuming we have one of the many bots doing a drive-by spamming, does the parser work for any unrecognized URL, or does it stick to known websites?
Good question - it only parses URLs that it knows (and that I have enabled). For example I opted to not enable URLs for mail.ru <-- I don't even know what mail.ru is, but what I do know is I don't want to manage whatever the hell comes from that domain.
No.
User avatar
Rumpy
Posts: 13233
Joined: Sun Mar 27, 2005 6:52 pm
Location: Sudbury, Ontario, Canada

Re: New media handler

Post by Rumpy »

Yeah, good call. Thanks. And I'm assuming this can be tweaked further if needed.
PC:
Ryzen 5 3600
32GB RAM
2x1TB NVMe Drives
GTX 1660 Ti
User avatar
LordMortis
Posts: 71991
Joined: Tue Oct 12, 2004 11:26 pm

Re: New media handler

Post by LordMortis »

I see merit in both methods, as sometimes people don't actually want previews but most of the time most of us would rather "things just work" without having to know how. So I'll go with the old curmudeony option, as that best describes me. Which one is that again?

Also, as always THANK YOU!
User avatar
Alefroth
Posts: 9376
Joined: Thu Oct 14, 2004 1:56 pm
Location: Bellingham WA

Re: New media handler

Post by Alefroth »

Are there any disadvantages to doing it automatically?
User avatar
FishPants
Server WhOOre
Posts: 4698
Joined: Fri Oct 15, 2004 1:38 pm
Location: Canada

Re: New media handler

Post by FishPants »

If you want to see the categories/types of media I have enabled currently (This will change if I see spam, problems with certain file types or frankly some of these I don't even know what they are - if they end up being "bad" I'll pull them).

No.
User avatar
$iljanus
Forum Moderator
Posts: 13949
Joined: Wed Oct 13, 2004 3:46 pm
Location: New England...or under your bed

Re: New media handler

Post by $iljanus »

FishPants wrote: Sat Jan 11, 2025 6:52 pm
Rumpy wrote: Sat Jan 11, 2025 6:46 pm
FishPants wrote: Sat Jan 11, 2025 6:28 pm
Rumpy wrote: Sat Jan 11, 2025 6:26 pm I would personally go with the auto-parsing, but that's just me. It's quicker and it removes a step.
Make your vote, there's a poll at the top - thanks for the input, I'm thinking the same thing but want to see what everyone thinks before ramming in a change like that - we are all old curmudgeons that don't appreciate change; I don't need anyone freaking out at the local bridge tournament about URL parsing.
Yeah, voted. But I do have a question in regards to spam related to this. Assuming we have one of the many bots doing a drive-by spamming, does the parser work for any unrecognized URL, or does it stick to known websites?
Good question - it only parses URLs that it knows (and that I have enabled). For example I opted to not enable URLs for mail.ru <-- I don't even know what mail.ru is, but what I do know is I don't want to manage whatever the hell comes from that domain.
In Russia, the domain manages…you

If you can reasonably filter out suspicious domains then why not embrace the new shiny tech? If it’s a clusterfuck for moderation for some reason we can always revert back I assume.
"Who's going to tell him that the job he's currently seeking might just be one of those Black jobs?"
-Michelle Obama 2024 Democratic Convention

Wise words of warning from Smoove B: Oh, how you all laughed when I warned you about the semen. Well, who's laughing now?
User avatar
FishPants
Server WhOOre
Posts: 4698
Joined: Fri Oct 15, 2004 1:38 pm
Location: Canada

Re: New media handler

Post by FishPants »

Alefroth wrote: Sat Jan 11, 2025 7:00 pm Are there any disadvantages to doing it automatically?
I think the only real change may be inadvertently allowing spammers to get more media embedded.. Although I'm sure I can make new users not have access somehow if it becomes a problem (its a permission flag, and I think there's a "role" for "newly registered users").

But really I guess not much downside that I can see.
No.
User avatar
FishPants
Server WhOOre
Posts: 4698
Joined: Fri Oct 15, 2004 1:38 pm
Location: Canada

Re: New media handler

Post by FishPants »

I have also just disabled "RuTube" which is some Russian media site; pretty much anything out of Russia I am going to filter - these days there's not a lot of anything from there that we would want to see embedded here I don't think.
No.
User avatar
Rumpy
Posts: 13233
Joined: Sun Mar 27, 2005 6:52 pm
Location: Sudbury, Ontario, Canada

Re: New media handler

Post by Rumpy »

Yeah, I guess I was mainly worried that allowing more to be parsed would create more crud via bots.
PC:
Ryzen 5 3600
32GB RAM
2x1TB NVMe Drives
GTX 1660 Ti
User avatar
Alefroth
Posts: 9376
Joined: Thu Oct 14, 2004 1:56 pm
Location: Bellingham WA

Re: New media handler

Post by Alefroth »

FishPants wrote: Sat Jan 11, 2025 7:08 pm
Alefroth wrote: Sat Jan 11, 2025 7:00 pm Are there any disadvantages to doing it automatically?
I think the only real change may be inadvertently allowing spammers to get more media embedded.. Although I'm sure I can make new users not have access somehow if it becomes a problem (its a permission flag, and I think there's a "role" for "newly registered users").

But really I guess not much downside that I can see.
Thanks!
User avatar
Blackhawk
Posts: 46290
Joined: Tue Oct 12, 2004 9:48 pm
Location: Southwest Indiana

Re: New media handler

Post by Blackhawk »

I don't see any issues with any of those. Spotify embedding will be nice. LiveLeak could be abused, but this isn't 15 years ago - as long as people are considerate, I don't see it becoming an issue.

Of course, the last thing I want to see is every thread with TikToks.
What doesn't kill me makes me stranger.
User avatar
Victoria Raverna
Posts: 5749
Joined: Fri Oct 15, 2004 2:23 am
Location: Jakarta

Re: New media handler

Post by Victoria Raverna »

Rumpy wrote: Sat Jan 11, 2025 7:14 pm Yeah, I guess I was mainly worried that allowing more to be parsed would create more crud via bots.
Bots need to have an account to post anything, so maybe something like not let new accounts to have the ability to post URLs.
User avatar
Isgrimnur
Posts: 85342
Joined: Sun Oct 15, 2006 12:29 am
Location: Chookity pok
Contact:

Re: New media handler

Post by Isgrimnur »

Blackhawk wrote: Sat Jan 11, 2025 9:56 pm LiveLeak could be abused, but this isn't 15 years ago
Liveleak is dead.
It's almost as if people are the problem.
User avatar
Lassr
Posts: 17004
Joined: Wed Oct 13, 2004 10:51 am
Location: Rocket City (AL)
Contact:

Re: New media handler

Post by Lassr »

If both are equal (no huge advantage or disadvantage) then I vote simplicity.
The only reason people get lost in thought is because it's unfamiliar territory.

Black Lives Matter
User avatar
Lassr
Posts: 17004
Joined: Wed Oct 13, 2004 10:51 am
Location: Rocket City (AL)
Contact:

Re: New media handler

Post by Lassr »

So I just tried to post a youtube video...All it did was post a link, I'm not sure what to do now. :?:

"[youtube] [/youtube]" did nothing
using media instead of youtube causes an error
The only reason people get lost in thought is because it's unfamiliar territory.

Black Lives Matter
User avatar
Rumpy
Posts: 13233
Joined: Sun Mar 27, 2005 6:52 pm
Location: Sudbury, Ontario, Canada

Re: New media handler

Post by Rumpy »

Victoria Raverna wrote: Sat Jan 11, 2025 10:08 pm
Rumpy wrote: Sat Jan 11, 2025 7:14 pm Yeah, I guess I was mainly worried that allowing more to be parsed would create more crud via bots.
Bots need to have an account to post anything, so maybe something like not let new accounts to have the ability to post URLs.
Yeah, that'd be fair. And have a certain postcount to unlock links. If it's possible.
Lassr wrote: Sun Jan 12, 2025 12:17 am So I just tried to post a youtube video...All it did was post a link, I'm not sure what to do now. :?:

"[youtube] [/youtube]" did nothing
using media instead of youtube causes an error
He did say the Youtube tag wouldn't work going forward.
PC:
Ryzen 5 3600
32GB RAM
2x1TB NVMe Drives
GTX 1660 Ti
User avatar
Kraken
Posts: 45306
Joined: Tue Oct 12, 2004 11:59 pm
Location: The Hub of the Universe
Contact:

Re: New media handler

Post by Kraken »

Just tell me what to do.
User avatar
stessier
Posts: 30208
Joined: Tue Dec 21, 2004 12:30 pm
Location: SC

Re: New media handler

Post by stessier »

Lassr wrote: Sun Jan 12, 2025 12:17 am So I just tried to post a youtube video...All it did was post a link, I'm not sure what to do now. :?:

"[youtube] [/youtube]" did nothing
using media instead of youtube causes an error
Same on the media tags - error is "you can not use certain BBcodes: MEDIA".
I require a reminder as to why raining arcane destruction is not an appropriate response to all of life's indignities. - Vaarsuvius
Global Steam Wishmaslist Tracking
Running____2014: 1300.55 miles____2015: 2036.13 miles____2016: 1012.75 miles____2017: 1105.82 miles____2018: 1318.91 miles__2019: 2000.00 miles
User avatar
Sudy
Posts: 8447
Joined: Sun Nov 21, 2004 3:11 am
Location: Ontario, Canada

Re: New media handler

Post by Sudy »

I don't know what I want and I'm having a really hard time visualizing how these choices might affect me in the future, but I went with the first option because everyone else was and I figure I prefer being lazy even if it ruins my life.
I DO NOT support forum autoplay!!
User avatar
LordMortis
Posts: 71991
Joined: Tue Oct 12, 2004 11:26 pm

Re: New media handler

Post by LordMortis »

Sudy wrote: Sun Jan 12, 2025 5:15 am I don't know what I want and I'm having a really hard time visualizing how these choices might affect me in the future, but I went with the first option because everyone else was and I figure I prefer being lazy even if it ruins my life.
:lol:
User avatar
FishPants
Server WhOOre
Posts: 4698
Joined: Fri Oct 15, 2004 1:38 pm
Location: Canada

Re: New media handler

Post by FishPants »

stessier wrote: Sun Jan 12, 2025 4:44 am
Lassr wrote: Sun Jan 12, 2025 12:17 am So I just tried to post a youtube video...All it did was post a link, I'm not sure what to do now. :?:

"[youtube] [/youtube]" did nothing
using media instead of youtube causes an error
Same on the media tags - error is "you can not use certain BBcodes: MEDIA".
You got an error using Media tags? Interesting, now I need to figure out these roles and permissions then sorry, it's working for me but I guess that's being an admin. Let me take a look.
No.
User avatar
FishPants
Server WhOOre
Posts: 4698
Joined: Fri Oct 15, 2004 1:38 pm
Location: Canada

Re: New media handler

Post by FishPants »

stessier wrote: Sun Jan 12, 2025 4:44 am
Lassr wrote: Sun Jan 12, 2025 12:17 am So I just tried to post a youtube video...All it did was post a link, I'm not sure what to do now. :?:

"[youtube] [/youtube]" did nothing
using media instead of youtube causes an error
Same on the media tags - error is "you can not use certain BBcodes: MEDIA".
Ok try with the media tag now, the group "Registered Users" didn't have permission to use the media tag which I've turned on for all of the forums.

No.
User avatar
LordMortis
Posts: 71991
Joined: Tue Oct 12, 2004 11:26 pm

Re: New media handler

Post by LordMortis »

works for youtube



Is there a list of other handlers? I tried to do a CNN snipped because I know that's the sort of thing people like Grif would appreciate. It didn't work, presumably because it's not in the package.

Edit: NVM I see the list upthread. That list had disappeared when last I looked.

Odd it says CNN works and yet..

[MEDIA]https://www.cnn.com/weather/live-news/l ... index.html[/MEDIA]

Maybe only for videos and it doesn't thumbnail stories. Ah well, can't let the perfect be the enemy of good.
User avatar
Lassr
Posts: 17004
Joined: Wed Oct 13, 2004 10:51 am
Location: Rocket City (AL)
Contact:

Re: New media handler

Post by Lassr »

I noticed this morning that on Tapatalk, through my phone, the video image was already there. I added Media tag and the youtube image popped up on the PC. So this media tag is only needed on the web forum and not tapatalk...
The only reason people get lost in thought is because it's unfamiliar territory.

Black Lives Matter
User avatar
FishPants
Server WhOOre
Posts: 4698
Joined: Fri Oct 15, 2004 1:38 pm
Location: Canada

Re: New media handler

Post by FishPants »

LordMortis wrote: Sun Jan 12, 2025 9:38 am
Is there a list of other handlers? I tried to do a CNN snipped because I know that's the sort of thing people like Grif would appreciate. It didn't work, presumably because it's not in the package.

Yes you can access the list of supported sites and examples of the URLs HERE. It definitely only embeds the audio/video feeds from sites like CNN, so straight news articles don't embed.
No.
User avatar
The Meal
Posts: 28144
Joined: Tue Oct 12, 2004 10:33 pm
Location: 2005 Stanley Cup Champion

Re: New media handler

Post by The Meal »

NO AUTOPLAY! Auto parsing is fine, though.
"Better to talk to people than communicate via tweet." — Elontra
User avatar
Sudy
Posts: 8447
Joined: Sun Nov 21, 2004 3:11 am
Location: Ontario, Canada

Re: New media handler

Post by Sudy »

I only want autoplay if everything on the page loads and plays at once.
I DO NOT support forum autoplay!!
User avatar
Rumpy
Posts: 13233
Joined: Sun Mar 27, 2005 6:52 pm
Location: Sudbury, Ontario, Canada

Re: New media handler

Post by Rumpy »

FishPants wrote: Sun Jan 12, 2025 9:16 am
stessier wrote: Sun Jan 12, 2025 4:44 am
Lassr wrote: Sun Jan 12, 2025 12:17 am So I just tried to post a youtube video...All it did was post a link, I'm not sure what to do now. :?:

"[youtube] [/youtube]" did nothing
using media instead of youtube causes an error
Same on the media tags - error is "you can not use certain BBcodes: MEDIA".
You got an error using Media tags? Interesting, now I need to figure out these roles and permissions then sorry, it's working for me but I guess that's being an admin. Let me take a look.
Well, at least we know it won't work with bots... ;)
PC:
Ryzen 5 3600
32GB RAM
2x1TB NVMe Drives
GTX 1660 Ti
User avatar
Blackhawk
Posts: 46290
Joined: Tue Oct 12, 2004 9:48 pm
Location: Southwest Indiana

Re: New media handler

Post by Blackhawk »

There are no circumstances under which I want autoplay.
What doesn't kill me makes me stranger.
User avatar
Rumpy
Posts: 13233
Joined: Sun Mar 27, 2005 6:52 pm
Location: Sudbury, Ontario, Canada

Re: New media handler

Post by Rumpy »

Yeah, definitely no autoplay. That'd get annoying very quickly in a page of full of videos.
PC:
Ryzen 5 3600
32GB RAM
2x1TB NVMe Drives
GTX 1660 Ti
User avatar
Sudy
Posts: 8447
Joined: Sun Nov 21, 2004 3:11 am
Location: Ontario, Canada

Re: New media handler

Post by Sudy »

Autoplay is a horrible idea, I can't believe we're voting on this!
I DO NOT support forum autoplay!!
User avatar
FishPants
Server WhOOre
Posts: 4698
Joined: Fri Oct 15, 2004 1:38 pm
Location: Canada

Re: New media handler

Post by FishPants »

Ok well clearly having this auto generate the media vs using the tags is the majority. I'll park this poll in meta and push the button on the config to allow straight URL parsing.
No.
User avatar
stessier
Posts: 30208
Joined: Tue Dec 21, 2004 12:30 pm
Location: SC

Re: New media handler

Post by stessier »

Sudy wrote: Sun Jan 12, 2025 7:03 pm Autoplay is a horrible idea, I can't believe we're voting on this!
Fwiw, we're not. We're voting on auto parsing.
I require a reminder as to why raining arcane destruction is not an appropriate response to all of life's indignities. - Vaarsuvius
Global Steam Wishmaslist Tracking
Running____2014: 1300.55 miles____2015: 2036.13 miles____2016: 1012.75 miles____2017: 1105.82 miles____2018: 1318.91 miles__2019: 2000.00 miles
User avatar
FishPants
Server WhOOre
Posts: 4698
Joined: Fri Oct 15, 2004 1:38 pm
Location: Canada

Re: New media handler

Post by FishPants »

Ok any URLs going forward should be auto parsed (FYI It will show the video in line if you don't paste it on its own line)

No.
Post Reply