Wedge

Public area => Features => The Pub => Features: Posts & Topics => Topic started by: Nao on May 6th, 2011, 07:31 PM

Title: Auto-embedding
Post by: Nao on May 6th, 2011, 07:31 PM
Feature: Auto-embedding
Developer: Nao
Target: users
Status: 99% (completed. By its nature, the site list will need updates to keep up with the web's evolution.)
Comment:

Based on Aeva Lite, this is the only auto-embedding tool you'll ever need. (Feel free to disagree, but then again you're free to be stupid :niark:)
There's not much to be said... It's just there, it's enabled by default, it works great with 200+ sites, but most people will know it as "the thing that magically embeds my YouTube videos and Google Maps when I post their URLs." Oh, and yes, it also supports the recent youtu.be URLs.
Title: Re: Auto-embedding
Post by: nhwd on June 27th, 2011, 06:12 AM
Could their possibly be an option to add custom sites to embed from?
Title: Re: Auto-embedding
Post by: Arantor on June 27th, 2011, 09:19 AM
Considering there already is in Aeva...
Title: Re: Auto-embedding
Post by: Dragooon on June 27th, 2011, 10:28 AM
Quote from Arantor on June 27th, 2011, 09:19 AM
Considering there already is in Aeva...
Which means not a chance.
Title: Re: Auto-embedding
Post by: Arantor on June 27th, 2011, 10:32 AM
Well, here's the thing, while you could build an interface, the content for it is very complicated with regular expressions, and if you can cope with regexps, you can add code...
Title: Re: Auto-embedding
Post by: live627 on June 27th, 2011, 11:10 AM
Everybody clap your hands! (Ugh, stupid song)

So everybody wants a one-click solution to their problems and they want it now, faster, faster, faster! All good things take time but they also take work.
Title: Re: Auto-embedding
Post by: Wanchope on April 30th, 2013, 01:21 PM
Please consider adding sports (Soccer) websites like Arsenal, Manchester United, Chelsea, Real Madrid, Barcelona. My country is a soccer mad country and members are always looking beyond youtube for interviews, match highlights etc.
Title: Re: Auto-embedding
Post by: Oracle on April 30th, 2013, 01:26 PM
Talking songs Live...Who was it that released "Something's coming on....? :whistle:
Title: Re: Auto-embedding
Post by: Nao on April 30th, 2013, 02:45 PM
Quote from wanchope on April 30th, 2013, 01:21 PM
Please consider adding sports (Soccer) websites like Arsenal, Manchester United, Chelsea, Real Madrid, Barcelona. My country is a soccer mad country and members are always looking beyond youtube for interviews, match highlights etc.
My country is a soccer mad country, too... We actually even won the world cup some time ago, still don't know how we did that...

Doesn't change the fact that I have no interest for football, and no intention of ever going to a sports-related website... :P
Aeva-related requests should be made after Wedge is out. Maybe I'll cook up some kind of plugin to easily allow adding new sites; right now, I think it's quite 'monolithic', as I probably removed most of the auto-update code. (Aeva for SMF also went through the same, as I decided long ago to stop updating it except for potential security fixes...)
Title: Re: Auto-embedding
Post by: Arantor on April 30th, 2013, 03:40 PM
I've thought about making new definitions pluggable for some time.
Title: Re: Auto-embedding
Post by: Wanchope on April 30th, 2013, 06:08 PM
Thanks for your insights, once again I am selfish for making such demand. Youtube is best for now and should be okay for everyone. Others can patiently wait. Anything that is a better version of smf is something else. I have used smf for sometime now and can testify what it can really do. Keep on the good work and let us know when you are thirsty, may a 'bottle of bear' can do great.
Title: Re: Auto-embedding
Post by: MrCat on December 18th, 2013, 10:40 PM
Hi.
I'm not sure exactly where to post this but here goes:

What I'd like to suggest is, when somebody attaches a photo to a post, that it automatically adds to a gallery album (maybe one selected in admin as 'attached' to the board).

Maybe this has already been thought of?
Title: Re: Auto-embedding
Post by: Nao on December 18th, 2013, 11:51 PM
This implies dropping the attachment system entirely, in favor of AeMe items.
This was part of my original plans for Wedge, but as TE wrote the importer, and didn't want to deal with AeMe at all, I postponed it to later... And it probably will not happen in Wedge 1.0, if ever. I'm upset about that, but I'm trying to be realistic.

Actually, I mentioned that in the blog post I wrote today... :whistle:
Title: Re: Auto-embedding
Post by: MrCat on December 19th, 2013, 06:49 AM
Thanks for your reply.
I have a small SMF forum with Aeva, and I just stumbled on Wedge today after planning a new forum, so it was really exciting to hear of the possibility of something hugely better. Your work on this is much appreciated.
When I start my new forum there will be a lot of members coming from Facebook so a built in gallery and Like system are my top priorities. The features of Facebook has dictated what people expect these days... unfortunately.
Title: Re: Auto-embedding
Post by: Pandos on December 19th, 2013, 08:21 AM
Quote from MrCat on December 19th, 2013, 06:49 AM
The features of Facebook has dictated what people expect these days... unfortunately.
Yes it's true. Sadly.
But I think we can make it better. Wedge has some great advantages over Facebook.
There are more features to come (e.g. streaming profiles). So stay tuned.
@Nao:
What do you think about not to drop the entire attachment system, but give the user a possibility (dropdown box) to upload this attachment as Item in AeMe while posting?
Title: Re: Auto-embedding
Post by: Nao on December 20th, 2013, 03:27 PM
I don't know what a streaming profile is... :P

Frankly, I'd love to integrate AeMe more into Wedge, and to be honest, I don't have to do it: I could simply remove AeMe from the mod site at SMF, and then ensure that I have absolute exclusivity of AeMe code in the SMF world. I'm not interested in doing that, though, because as a user I would be pissed.

I haven't heard about AeMe bugs, though. If I did, I would fix them. In Wedge at the very least, and possibly in AeMe for SMF if they were security-related (or really bad for my reputation, lol.)
Title: Re: Auto-embedding
Post by: Wanchope on December 21st, 2013, 02:24 AM
Quote from MrCat on December 18th, 2013, 10:40 PM
Hi.
I'm not sure exactly where to post this but here goes:

What I'd like to suggest is, when somebody attaches a photo to a post, that it automatically adds to a gallery album (maybe one selected in admin as 'attached' to the board).

Maybe this has already been thought of?
It's already here and running in Wedge. I can't remember using attachment in any of my posts here. I only attach my photos from media. To make achieve this, admin will have to disable the attachment function of the forum so files can only be attached for media.
eg. This post's image - http://wedge.org/pub/off/8109/just-hanging-out/ was automatically inserted form a created media file (while I was creating the post) - wedge.org/do/media/?sa=item;in=177
 
Title: Re: Auto-embedding
Post by: MrCat on December 21st, 2013, 07:06 PM
Thanks for the input guys.

@Nao
The bug in AeMe I mentioned in my other question, is when a user edits a photo description that contains line breaks, they all show up as <br> in the editing box and have to be deleted and re-entered. That's in version 1.4
Title: Re: Auto-embedding
Post by: MrCat on February 16th, 2014, 11:17 PM
Quote from MrCat on December 21st, 2013, 07:06 PM
The bug in AeMe I mentioned in my other question, is when a user edits a photo description that contains line breaks, they all show up as <br> in the editing box and have to be deleted and re-entered. That's in version 1.4
Hmmmm... well this is curious: I installed SMF with Aeva on localhost and that problem doesn't exist. It happens in my live forum all the time.
I figured it was strange that Nao would have overlooked such an obvious fault.
This suggests there is a server setting on my commercial host that is causing it. What could this be?
Title: Re: Auto-embedding
Post by: Nao on February 16th, 2014, 11:42 PM
I don't know.
I'm not even sure this bug still exists in Wedge, if anything.

You know, it's just a matter of calling, or not calling, a particular string transformation function, such as westr::safe, westr::htmlspecialchars, or something like nl2br...
Just need to reproduce, etc. I remember it happening before to me.

Maybe it's inconsistent for you because you're using a different browser..? Well, just a shot in the dark.
Title: Re: Auto-embedding
Post by: MrCat on February 17th, 2014, 01:25 AM
I just installed Wedge on the same server as my forum and Wedge does the same thing as AeMe in SMF:
Photo 1 - press edit = photo 2
Not sure what the difference is between my server and theirs, but I thought you may want to know about this :)

Same browser (Chrome) in all cases.
Title: Re: Auto-embedding
Post by: Nao on February 17th, 2014, 01:34 PM
Didn't you say it was in item descriptions..? This one's a comment...
Title: Re: Auto-embedding
Post by: MrCat on February 17th, 2014, 07:24 PM
Quote from Nao on February 17th, 2014, 01:34 PM
Didn't you say it was in item descriptions..? This one's a comment...
Hey you're right - didn't I notice that. It happens in both descriptions and comments. Maybe there is a php config setting that is affecting htmlspecialchars, or whatever is used in the editing box.
Title: Re: Auto-embedding
Post by: MrCat on February 18th, 2014, 12:56 AM
I don't expect you to spend time on this Nao as I know you're busy! I'm basically thinking out loud here. Sorry if I'm off topic also.
Now is not the time for bug finding in Wedge, but since this also exists in SMF with Aeva I figured I need to explore this a bit further...

I'm trying to find a pattern...? Anyone?

In Aeva this problem happens (to me anyway) in:
Descriptions and comments on commercial server.
Descriptions but NOT comments on local server.

In Wedge this happens in:
Comments but NOT descriptions on commercial server.
Comments but NOT descriptions on local server.

Three different browsers same behaviour.

I've tried examining the settings in phpinfo but don't really know what to look for.