News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Aeva 6.9.99 and earlier (old)

Started by karlbenson, October 14, 2007, 06:22:33 PM

Previous topic - Next topic

Nao 尚

Hello, Karl,
Alexa rank for this is > 3,000,000 -- I said I would rather NOT implement websites with traffic lower than my very own beta website (we're looking at under 1,000 visitors a day here), until I get a more precise idea of how we'll do the whole "module" thing...
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

karlbenson

its not for me  ;D honestly.

Just one that popped up in my email inbox in the last week.
So i pasted the link here before i deleted the email.

Nao 尚

Yeah, no problem, I understood it that way ;)

Karl, while you're here, can you tell me more about lookups? I noticed that if posting a link from a lookup-enabled website, the resulting link is the one from the lookup (as expected), and it plays as expected too. However, the original link is lost forever. Is this the intended behavior? Another of those options I could definitely add to the [aeva] tag (something like "originallink=")... Because it would definitely be more interesting to link (embed-nolink = false) to the original link, than to the decoded link... e.g. eBaumsWorld Audio provides through lookup a link to the mp3 file. There's no way to find the original page this way. And I'm not sure ebw would appreciate people posting direct links to their mp3 files...

(Yeah, I'm trying to get back to work on Aeva, as you can see...)

PS: You can answer me on MSN if you'd like.
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Nao 尚

#2243
Another question, both for Karl and everyday users...

Does the "embed link fix" work for everyone, on every site?

I was trying to include an embed link for a brightcove video as part of my tests. It failed to work. So I started reworking the link again and again, and ended up with something that works. The main problem is -- the pattern for rewriting considers "$2" as the first variable in the URL. It should be "$1", because Aeva(c) is str_replacing "(my_url)" with "my_embed_link"... So it removes the original parenthesis, which obviously (well, for regexp enthusiasts at least) turns $2 into $1 and so on...

At this point, I don't know if EVERY embed link is broken like that -- in which case it will be faster to replace with "(my_embed_link)" or just a few -- which means I'll have to manually check every embed link on every website... :(

Apart from that -- I made a lot of changes to the website list. Fixed several sites, and made sure & can also be seen as & everywhere (it's not the case in every rewriting pattern).

Also, Karl -- do you think it'd be safe to remove all &(?:amp;)? tests (i.e. only leave "&" in) from fix-html-pattern? I suppose the only moment where a &amp; could appear in place of an expected & would be if the mod is installed after posting such an embed link -- i.e. the embed link was already encoded into the message... But in that case, I guess all < and > would already be turned to &gt; and &lt; as well, so I might as well remove the extra (?:amp;)? tests... What do you think?
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

karlbenson

The embed link is pretty simple. So that should work. (at least my version did).

As for brightcove. It depends which one you mean.

Brightcove.tv is okay. But Brightcove.com (the one whose videos appear on other sites)
That site is a pain in the ass due to different variables that can appear in the embed/actual url.
I believe that one of the variables in the url is for the publisher/site details rather than video specific.

I presume if its not working, that its brightcove that isn't rather than all the others.



Note with &amp;
Be careful.

I removed ALL instances of &amp; in the 'embed' regex (the output one), and instead, replaced all & with &amp; during compiling of the object.

Also note, don't get confused with when &amp; is used in the matching regex.
This is because some sites serve their get variables with & and others with &amp;
(and this can differ on the same site).
This is why some of the matching regex's have something like &(?:amp;)? (so it matches either).
Using the wrong one will mean that it won't match.



I haven't got smf installed anymore, I'm without a server. And my localhost test sites & xampp lite have all been deleted.

Nao 尚

So you think that the $1/$2 issue with "fix-html-url" is just in a couple of websites and I should update only if problems are reported? :P

brightcove.com -- I simplified the fix-html-pattern to use [^\>]*?> instead of the complete pattern... I don't think they'll ever put a > inside the flashVars so we should be good...

Regarding &amp; -- I just realized that most of the hardcoded &amp; in the patterns are due to finding ampersands inside urlencoded urls in the pattern... (such as &file=...&amp;...) In which case, I'd better stay with the entity, yeah... I think I'm in a case of being too tired after several hours working on fixing patterns ;) (I'm close to getting an annoying MSN video to embed... Phew!!)
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

tripl3r

#2246
Anychance of getting this mod to recognise embed codes so that you may have both... simple url posting and embed codes.... really want this as youtube is now widescreen etc and want the ablity to post customised embed codes without getting rid of this great mod and leaving my forum full of just blank links.


Nao 尚

That's what it does right now... It recognizes embed codes and turns them into embedded videos.
If you want to keep the options in the embed code, you can't use Aeva -- so you need to put your embed code into  tags (provided that they are allowed on your board).

Later versions will feature an improved system that allows you to choose whether to show videos in 4/3 or 16/9, probably per-video (or per-user, or per-website, I'm not sure yet, haven't yet made my decision.)
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Akyhne

I don't think it's possible to change aspect ratio on the videos as long as you are using Youtubes player.

dannbass

Spanish translation available at Nao 尚's Website & Demo in the topic here

karlbenson

Allowing users to post customised <embed> code would be a HUGE security risk.

Thats why the aeva mod replaces the standard code.
And why Nao is working on allowing more features.

Nao 尚

+1.

Oh, before going to bed, I posted revision 14 of Aeva 5.0 over at noisen.com, and forgot to point it out here. I'll wait for most of the day for more people to test it if they'd like, and then I'll release it through the mod page here. Should work fine. (It does for me at least ;))
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

T-Bag


Nao 尚

I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Akyhne

#2254
When you click on the links to download the file, you get that error.

Nao 尚

Oh... Indeed. I just checked, and it does that for all attachments on the website. I'll try to fix that ASAP.
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Nao 尚

akyhne, it seems to be a bug on my server. I am unable to fix it, but I know where it happens. All I can say is -- it only happens on Opera and IE, which use a special header that now seems to crash my server (while it didn't, even a few days ago).

I would recommend to download the files using Firefox or Chrome until I come up with a solution.
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

Nao 尚

Yeah... It's officially out of beta ;) I'm through with beta sessions for a long time thankyouverymuch ;)

Version 5.0.16                                 10th December 2008
-----------------------------------------------------------------
* New versioning system -- 5.0.16 means "5.0" revision 16 (those who
  played Kyodai Mahjongg already know I love silly version numbers)
* MSN Video sucks. Spent hours on it, and managed to embed a single video (sic),
  which doesn't even work on their own website! Still, it's better than before
  (where nothing would embed)...
+ Added support for Justin TV, Mpora and Mpora TV
! Fixed BBC News videos and added links to their pages
! Fixed Veoh links
! Fixed Brightcove/Brightcode TV links and embed html code
! Fixed EbaumsWorld audio links and player dimensions
! Fixed Goear links, player dimensions and embed html code
! Fixed Divshare, BBC News and Rutube links
! Turned many &amp; to & in regular expressions
* Changelog/readme cleanup (who cares?)
* Optimized a lookup regexp
I will not make any deals with you. I've resigned. I will not be pushed, filed, stamped, indexed, briefed, debriefed or numbered.

Aeva Media rocks your life.

shaitanfr


Sabre™

Great job Nao.

Out of curiosity, have you removed any of the sites from Karls last version?
Im still running his beta, andf what fixes/changes youve made, Ive been implementing them to that. Just until your version become stable lol
Most things people have problems with, I have yet to even use, so have no problem there.

Great job all round champ.

Cheers :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Advertisement: