Aeva 6.9.99 and earlier (old)

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

Previous topic - Next topic

raven1

great mod and works perfectly, thanks for your time and effort

jossanaijr

Quote from: karlbenson on October 18, 2007, 06:38:19 PM
others inc non-english ones ... enabled by default.
non-english enabled too please...

karlbenson

#42
Ok,

I'm STILL adding more sites (thanks to those people who pm'd me a list)

karlbenson

update
yahoo video is out (their site won't work unless you have a secret key)
dailymotion is out (the embed video is isnt the same one as in the page url).

I'm just going through this topic now, double checking i've got all requests possible in it,
then I'll re-fix the package and then do some final testing and take some screenys.


karlbenson

The embed for Mofile.com wouldn't work.

I've tried every single video host mentioned to date.  If its not included its because it would not work (mostly likely because the video id in the url is not the same one as in the embed url)

The FINAL list of video clip media sites supported for 1.1 is
YouTube
YouTube Playlist
Google Video
MetaCafe
MySpaceTv
Stage6
Veoh
Gametrailers
LiveLeak
CellFish
MyVideo.de
ClipFish.de
Liberio.it
123video.nl
VSocial
IFilm
Sevenload
Revver
BrightCove
Aniboom
Vimeo
Guba
Glumbert
Tudou
dv.ouou
Biku
GameVideos

Just doing some final touch ups. (and double checking it on smf 2.0)

karlbenson

Ok, I've uploaded v1.1 [Mod]

Anyone with v1.0 will need to UNINSTALL 1.0, then INSTALL 1.1 (due to the complete re-write of the mod)

1.1 - 19th October 2007
o Added support for Youtube embed player url
o Added support for Youtube playlists
o Added support for many more video sites
Veoh, Gametrailers, LiveLeak, CellFish, MyVideo.de, ClipFish.de, Liberio.it, 123video.nl,
VSocial, IFilm, Sevenload, Revver, BrightCove, Aniboom, Vimeo, Guba, Glumbert, Tudou, dv.ouou, Biku, GameVideos,
o Improved security of mod by denying script access to flash objects (allowScriptAccess="never")
o Disables the convert for 'print' pages so is printer friendly. (Shows the link instead of object)
o Re-coded the arrays to be lighter, less html, using a generic object to embed
o Got rid of <embed> (forever?)

Please post any bugs/issues (with example links) of any problems getting some links to work.
Also any browser issues. (these clips won't work in really really really old browsers)

I'll fix any bugs later tomorrow (after another job interview)

hobox

Exactly what I've been looking for.

Let them all be turned on by default!

What about the different pornotubes, are they possible to add too? Can more sites be added by myself easily or do we suggest sites and you implement them?

karlbenson

#48
if you don't know what your doing it couldbe a security risk adding your own sites.
If your familiar with php and know how to safely parse information, then it is possible.

If you've got any sites you'd like to be supported in future please post a link to the website.
I don't mind including porno ones (but those will definately be disabled by default).

3MAJ

Great work karlbenson!

A bug I've noticed... Some of the older videos on LiveLeak have an address in a different format, for example

"old" video http://www.liveleak.com/view?i=8bd6139b92

"new" video http://www.liveleak.com/view?i=daf_1192758492

so the link doesn't get recognized by the mod.
Not a big problem, just to mention it...

Trinny

Awesome mod! Thank you so much for simplifying this. Now I can close the thread where every no0b wants to know how to embed a youtube video, even though it's already been explained fifty times.

rummie

Quote from: Trinny on October 19, 2007, 08:01:49 AM
Awesome mod! Thank you so much for simplifying this. Now I can close the thread where every no0b wants to know how to embed a youtube video, even though it's already been explained fifty times.


.....and instead open up new threads where the noobs want to embed porn tube videos! (see above)

karlbenson


karlbenson

#53
As stated above, feel free to post requests for supporting additional video sites.

However the following are a current list of sites which CANNOT be supported because the video id in the page url is not the same as the video id in the embed code.  I will not add any sites where the in order for it to work the user needs to fish the embed url out of the code.
- Godtube
- Megavideo
- Yahoo (Their player won't work unless you have a special code)
- Mofile.com
- Uncut.aol.com
- break
- ebaumsworld
- mp3tube
- dailymotion
- garagetv.be


wealthymaker

Ruth...aka Wealthymaker"
http://www.linkbrander.com/go/51561 [nofollow]
http://www.linkbrander.com/go/49152 [nofollow]

AllMassive

Thx !
After disabling your Anon-Mod in my Forum every Link is working fine.



karlbenson

#57
EDIT:
I've have managed to provide a fix for the bug of ALL SMF embed video clip bbcode type mods for the error "Message is empty", when you ONLY have a video clip in posts"

The fix mod has now been approved and can be downloaded from
http://custom.simplemachines.org/mods/index.php?mod=987

karlbenson

AllMassive, with regards to anon mod, if you add the domain name to your exclusions list, it will fix the problem.
I'll try to make both compatible with each other out of the box when i bug fix the anonym.to mod.

karlbenson

Heres a tip, which I've just added to my own forum.
If you don't want these clips being converted in signatures. (Good idea)

Open Sources/Load.php
FIND

$profile['signature'] = parse_bbc($profile['signature'], true, 'sig' . $profile['ID_MEMBER']);

REPLACE

$profile['signature'] = parse_bbc($profile['signature'], true, 'sig' . $profile['ID_MEMBER'], true);

Save it

OPEN Sources/Subs.php
FIND

function parse_bbc($message, $smileys = true, $cache_id = '')

REPLACE

function parse_bbc($message, $smileys = true, $cache_id = '', $sig = false)


FIND (in Subs.php again)

// AUTO EMBED VIDEO CLIPS MOD
// Disables if on print page
if($smileys !== "print") {

REPLACE

// AUTO EMBED VIDEO CLIPS MOD
// Disables if on print page
if($smileys !== "print" && $sig === false) {


Note performing this edit will mean that this mod won't be able to be automatically installed. (because it changes the code which this mod added)

Advertisement: