Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: karlbenson on October 14, 2007, 06:22:33 PM

Title: Aeva 6.9.99 and earlier (old)
Post by: karlbenson on October 14, 2007, 06:22:33 PM
Message To All

This topic had gone to over 1000 posts long over the many iterations of the mod.

I am now introducing version 4.0 which has been completely re-written from scratch.
Therefore I decided that it would be beneficial to start a fresh.

So this is the support topic for any PRE-v4.0 versions.  Eventually when I get to the point of recommend that people upgrade to v4.0, I will of course lock this topic.

The NEW support topic for version 4.0 can be found
http://www.simplemachines.org/community/index.php?topic=200401.0

And v4.0 is now available from the mod site.
http://custom.simplemachines.org/mods/index.php?mod=977

Thankyou.


AUTO EMBED VIDEO/AUDIO CLIPS (AEVAC) v3.1.2
By Karl Benson (http://custom.simplemachines.org/mods/index.php?action=profile;u=63186)

Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=977) | Support Topic (http://www.simplemachines.org/community/index.php?topic=200401.0) | Demo (http://www.adrevenueshare.com/index.php?topic=16.0) | Donate (http://www.adrevenueshare.com/donate)

Compatibility
For SMF 1.1.x and SMF 2.0 Beta x

Introduction
Automatically embed video and audio clips in your SMF forum posts from OVER 130+ sites including YouTube/DailyMotion/MetaCafe/GoogleVideo/BBC Iplayer (uk only) from urls. Without the need for bbcode or messy html.

Just copy the url from your address bar into a post (like http://youtube.com/watch?v=B8XC7idFyvE)and let the mod will do the rest. Its the ultimate user-friendly way of posting clips.

35+ of those sites require doing a 'lookup' on posting to get the actual embed url/filename in order for embedding to work.
This may not work on all servers. (Such as those with PHP Safe Mode and/or OpenBaseDir enabled).

Features [New in v3.1 shown in bold]
o Supports the following; [Sites shown in red require 'lookups' in order to work.]
- YouTube (Normal|Playlists), Google Video, Dailymotion, BBC Iplayer (UK Only) , Megavideo, MetaCafe, 123video.nl, Aniboom, AOL Uncut, Archive.org, AtomFilms, AtomFilms Uploads, Bebo, Biku, Blip.tv, BoFunk.com, Break.com, BrightCove, CellFish, ClipFish.de, ClipMoon, Clipser.com, Clipshack.com, Coldlink (Anti Video Hotlinkers), CollegeHumor, ComedyCentral/TheDailyShow, Crackle.com, Crunchyroll.com Old, Crunchyroll.com New, Current.com, Dailyhaha.com, Dave.tv, Deezer.com, DipVid.com, DotSub.com, DoubleViking.com, dropshots.com, dv.ouou, EASportsWorld, EbaumsWorld.com, ESPN, FunnyOrDie, Gamespot, Gametrailers, Gametrailers User Movies, Gametube.org, GameVideos, GarageTv.Be, Gloria.tv, GoEar, Glumbert, Godtube, Gofish Videos, Gofish Channels, Grindtv.com, Guba, Hulu.com (US Only), Humour.com, IFilm, IGN, Imageshack.us, Imeem (Music|Playlists|Video), IndyaRocks, Izlesene.com (Turkish), Jamendo.com, Jeux-France.com, Jokeroo.com, Jubii.co.uk, Jujunation.com, JumpCut.com, Kewego.co.uk, Koreus, Leettube.com, Libero.it, LiveLeak, LiveVideo, Machinima.com, MotionBox, MSN Live/Soapbox Video, Mofile, Mp3tube.net, Mtvu, MusOpen, MySoccerMedia, MyShows.cn / SeeHaha.com (Chinese), MySpaceTv, MyVideo, M Thai, Newgrounds.com (Flash Video only), OnSmash, Orb.com, Photobucket, Pikniktube.com, Project Playlist, PutFile, Rawvegas.tv, Redlasso, Revver, Seeqpod, Sevenload, ShareView.us, Sharkle.com, Smotri, Snotr, Space.tv.CCTV.com, Spike.com, Streetfire.net, Stupidvideos.com, Tinypic.com, Tm-tube.com, TrailerAddict.com, TrTube.com, Tu.tv, Tudou, UUME, Veoh, VideoJug.com, videotube.de, videos.sapo.pt, VideoWebTown.com, Vidiac.com, Viddler.com, Vidilife.com, VidMax.com, Vimeo.com, Vidivodo, VSocial.com, WeGame.com, Wipido.com, Yahoo (Except HK), Yahoo HK Only, Yahoo Music, Youku.com, You.Video.Sina.com.cn
o No configuration necessary
- No admin settings/permissions to fiddle with. Install and DONE!
o Works for all themes/languages, no manual edits necessary
o Lookups to grab the actual video url/filename, enabling sites to be supported which could not be previously
- On POSTING, the mod checks the post for links to sites that require lookups
- This may not work on all servers (Such as PHP Safe Mode and/or OpenBaseDir enabled)
- Doing a lookup is likely to count towards your host bandwidth limits. (But it should only be eg 20kb each time)
- Lookups will NOT affect pre-existing posts.  You'll need to edit the post to make it do the lookup.
o Use [noembed][/noembed] bbcode to prevent links being converted to embedded clips
o Prevents embedding inside quote and code blocks
o Hard-coded limit to number to converted links per page (to prevent flash overload/browser crash)
- Only applies to links converted by this mod
o Disabled for Printer Friendly pages & Signatures (& on SMF 2.0 inside the WYSIWYG)
o Safe from security standpoint
- They can't just embed ANY object hosted ANYWHERE, it only works for trusted supported sites
- Properly validates/sanitizes/parses the video id before including it in the url
- Disables script access (allowScriptAccess="never")
o Since all the videos are hosted by external sites, it won't consume your bandwidth
o The mod does NOT allow embedding of video/audio clips on your own site.
o It is possible to have both this mod and the YouTube BBCode mod (http://custom.simplemachines.org/mods/index.php?mod=936) installed at the same time. They won't conflict.

Since the mod only converts active links, it is recommended to have the setting "Automatically link posted URLs" enabled.
(via Admin > Posts & Topics > Bulletin Board Code)
Other than that there are no admin settings with this mod. Uninstall the mod to disable it.

Note: Some users have reported that the players won't go fullscreen. This maybe caused by bugs in some versions of Adobe Flash Player when wmode="transparent" is in use. Check & Get the Latest Version of Adobe Flash Player (http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507).

Note: Are some YouTube clips not working? YouTube has recently started allowing clip authors to prevent users external embedding their clips.  So if a YouTube clip doesn't work, check at youtube for the embed code. Where it says "Embedding disabled by request", those clips will only work when viewed at YouTube.

Note: Some users reporting issues with VEOH.  It appears some of their videos now will only work by installing their crappy VEOHTV player (http://www.veoh.com/veohTV/download.html)

Installation
Any previous versions of this mod MUST be uninstalled BEFORE installing this version.

Install the mod via the SMF Package Manager, and your done. It installs on ALL themes automatically as it only affects Source files.
There are NO theme edits required and there are NO language strings to translate.

Useful Links
SMF Package Parser (http://www.adrevenueshare.com/parser)
Manual Installation Of Mods (http://docs.simplemachines.org/index.php?topic=402)
How Do I Modify Files? (http://www.simplemachines.org/community/index.php?topic=24110.0)

Donate
Has this modification helped you? Support the developer by Donating (http://www.adrevenueshare.com/donate)

Customizing
The mod has been designed to be fully functional 'out of the box' and not require any configuration or manual edits.
However some 'hardcoded' capability/hooks have been included for those who understand php/smf and maybe wish to customize the mod.

Enable/Disable Specific Sites
In Sources/Subs-AEVAC.php each supported site can quickly and easily be enabled/disabed by changing the
'enabled' => 1, to 'enabled' => 0, and vice versa.
For better performance, remove any sites that you won't ever use.

Increase/Decrease The Limit On The Number Embedded Objects Per Page
Too much flash can be bad for your health (eg it will crash your browser).  Thats why the limit was put in place.
IE, Firefox, Opera etc start kicking and screaming if you get over 10 objects.
Open Sources/Subs-AEVAC.php
FIND
static $autoembedmax = 12 ;
Change 12 to another number. Use -1 for no limit (Not Recommended).

Disabling Embedding In Specific Areas
By default embedding is disabled in signatures.
Some people requested a way to disable it for other sections such as Shoutbox.
You must find in the relevant SOURCE file where that string or data is put through the function "parse_bbc"
And on the line BEFORE it, put
$context['disableAEVAC'] = 1 ;

Support
o Please don't ask me to do the edits for you
o Please use the modification thread for support with this modification such as bugs/video & audio site requests, HOWEVER
o Please DON'T ask me to help to make this mod support videos hosted on your OWN site.
Sorry, but I don't have the time nor the desire. You may find someone to write the regex patterns for you by posting a request in the Help Wanted (http://www.simplemachines.org/community/index.php?board=50.0) board.

Before requesting that I support an additional video/audio site, please note that despite v3.1 being able to lookup/grab the embeddable url, it has still not been possible to include the following sites;
o (Don't allow external embedding) NFL.com, NHL.com,  Grapheine (Bombay.tv), dohhhup.com, trilulilu.ro
o (Javascript based) Veeple, Videos.Clarin.com, Itv.com, Pokertube.com
o (Can't get to work atm) Truveo.com, FileFront, zippyvideos.com (uses WMP, not flash), Yatahonga, link.BrightCove.com, Pitchfork Tv. itvsource.com
o (Dead sites?) Quxiu.com, 56.com,
o (Not audio/video so won't be supporting) Slide.com, Slideshare.net
o (Uses Divx not flash) beta.vreel.net (Although originally the mod did have support for divx with Stage6, IMO its not worth it for a small amateurish video site).
o Todou playlists (they are individual links, not a single flash)
(For those I've been unable to get working I will keep trying for subsequent versions.)

Requested sites I will try to add for future versions (to save people requesting them again).
- BBC (non-iplayer ones)

No adult/porn site requests please as I am not supporting them.

Thanks for Contributions
o Din 1031 - Re Faster performance with static/array
o Eliana Tamerin - Re Answering many support questions
o Nao - Re continued bug reports
(and thanks to anyone who has helped with suggestions, answered questions, and those I may have missed)

(Optional) Convert Old Video BBCode
(Mysql users only) If you have had video bbcode mods previously installed eg [youtube], then you might want to use my convert_old_video_bbcodes.php (http://custom.simplemachines.org/mods/index.php?mod=977) script to convert bbcoded video links to normal links (and therefore make those links work with this mod).

Use this at your OWN risk.
This cannot be undone, so backup your database and files prior to running it.
Upload it via ftp to your directory where SMF runs from. Put your forum in maintenance mode, and then point to it in your browser.
For security reasons, remove the file once completed.
o Only applies to topics/posts.
o Works for valid links or ids
o Works for both types of bbcode (with or without sizes)
o Converts the following bbcodes
[youtube], [yt], [ytplaylist], [stage6], [metacafe], [googlevid], [gv], [google_video], [gvideo], [dailymotion], [livevideo], [liveleak], [myvideo], [clipfish], [veoh]
Other uses of the bbcode will remain untouched.
o You can use the script at any time (with or without the AEVAC mod installed)

Changelog
v3.1 - 13th July 2008
o Fixed so don't call function with an empty $_POST['message'] for both edits on Posting (Post.php) (Thanks Nao + others)
o Fixed Veoh - they changed their player. (Note Veoh seems to have lots of issues atm with videos not playing - its to do with their servers/script, and not this mod.)
o Added Din1031 fix for faster processing.  Stores as static arrays.
o Fixed StupidVideos.com - they changed the player link
o Added several new sites (see those on the list in bold)
o Renumbered all replacements $1, $2 etc increasing by 1 (as $1 is now the FULL raw link)
o Fixed CrunchyRoll.com (they changed their links AGAIN!)
o Added original raw link back into the post for most sites (except ones where the raw link = the embed link (eg $2))
o Added nolink variable to enable you to decide not to show links for specific sites.
o Fixed protection of code bbcode so don't get bbcode/links inside it
o Fixed so mod follows setting whether or not to autolinkurls
o Fixed protection script to be more optimized
o Fixed possibility of getting html link instead of expected bbcode version
o Wrote accompanying guide on how to add sites
o Fixed bug not clearing left over noembed bbcode
o Fixed 2.x only edit for WYSIWYG into separate file, so 1.1.x users don't get confused and try to add it
v3.1.1 - 13th July 2008
o Fixed utf8 issue
v3.1.2 - 18th July 2008
o Fixed utf8 posting issue (this time I've really fixed it) [Big thanks to everyone who helped debug this one)
(anyone using less than v3.1.2 is recommended to uninstall their version and install the latest one)
o Fixed utf8 lookup issue (re Mp3tube, Thx AllMassive)
o Disabled the link below the video, since noone liked it (can be uncommented inside subs-aevac.php)
For the full changelog for previous versions please see changelog.txt
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MinasC on October 14, 2007, 06:52:10 PM
installed , working great !
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MRavMac on October 14, 2007, 09:04:22 PM
You have made this so easy.  I hate to bring up yet another video site link.  but how can we add godtube to the list.

Here is the embed code for one of our videos we use.  We have used the Youtube version with your script and it works great

<embed src="http://godtube.com/flvplayer.swf" FlashVars="videoThumb=http://www.godtube.com/thumb/1_17922.jpg&flvPath=http://www.godtube.com/flvideo1/21/17922.flv" wmode="transparent" quality="high" width="330" height="270" name="flv_demo" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>

Thanks in advance
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 14, 2007, 09:20:19 PM
It will NOT be possible to support GodTube.com with this mod

It order to be able to work the exact video id from the embed code MUST appear in the video url.

URL: http://godtube.com/view_video.php?viewkey=b5b4d94e4044a28018f4

EMBED: <embed src="http://godtube.com/flvplayer.swf" FlashVars="videoThumb=http://www.godtube.com/thumb/1_31045.jpg&flvPath=http://www.godtube.com/flvideo1/48/31045.flv" wmode="transparent" quality="high" width="330" height="270" name="flv_demo" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>

The video id is 31045, yet this does not appear in the url. Therefore it is not possible to support it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MRavMac on October 14, 2007, 09:26:16 PM
Thanks for the try, maybe it will get modded some day.    Again Blessings and Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: flame baiter on October 14, 2007, 09:28:57 PM
Thanks!

Looks great, but...why no support for Veoh?   :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: styckx on October 14, 2007, 10:04:17 PM
Again, thank you for taking my request and turning it into a working mod. As you can see, by the replies here, it was wanted and a mod people will actually use. :)

My users thank you also, great job, great mods. God bless SMF
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 14, 2007, 10:21:43 PM
Quote from: flame baiter on October 14, 2007, 09:28:57 PM
Looks great, but...why no support for Veoh?   :)

Never heard of that one.

Looking at the site it should be possible to add it. (since the embed video id does occur in the links)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: haiwasnm on October 14, 2007, 11:29:47 PM
Hi,karlbenson 
can work  the following Video sites of chinese in this mod?
please: www.tudou.com | www.mofile.com | dv.ouou.com | www.biku.com
thanks you!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: jazzgirlzz on October 15, 2007, 01:51:18 AM
is there a button for the people or do they just do the html embedding? I installed it and don't see a button.
THanx.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: asdas2 on October 15, 2007, 02:10:37 AM
wooooooooooooooooooooooooooooooooooooow ...... great mod .... i love .... i hope it would work on my board
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: flame baiter on October 15, 2007, 03:29:56 AM
Quote from: karlbenson on October 14, 2007, 10:21:43 PMNever heard of that one.

Looking at the site it should be possible to add it. (since the embed video id does occur in the links)

That would be cool, thanks!

Maybe this helps?   http://custom.simplemachines.org/mods/index.php?mod=754    ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: falguni1 on October 15, 2007, 03:57:38 AM
great thanks for this video mod
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: microbone on October 15, 2007, 06:20:11 AM
Quote from: jazzgirlzz on October 15, 2007, 01:51:18 AM
is there a button for the people or do they just do the html embedding? I installed it and don't see a button.
THanx.

just paste the link.....as stated in the description, no buttons needed
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: microbone on October 15, 2007, 06:28:26 AM
another suggestion, would it be possible to add filefront to the list also? or is it a nogo like godtube?

right now we use something like:
[flash width=450 height=338]http://static4.filefront.com/ffv6/player/vp_embed.swf?v=370604&autorun=false[/flash]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 15, 2007, 08:30:43 AM
filefront is a nogo. I'm afrai
That video id doesnt appear in the url link to the page.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: DivineMessage on October 15, 2007, 03:31:35 PM
please add gametrailers.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on October 16, 2007, 11:21:44 AM
I don't know if this is a bug or not, but if only the video url is posted, the post will come back with an error saying that there was nothing put into the message box.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MRavMac on October 16, 2007, 11:38:48 AM
That is correct.  I just put a short description first.  A space or on a new line and the link.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on October 16, 2007, 06:47:04 PM
This sounds like a really 'must-have' for Forums allowing ppl to post Videos - but unfortionatly it doesnt work for mine :(

I just installed it without any errors ..  .

All the Links you pasted just appear as normal Links on my Forum.

My Plugins (smf 1.1.4):
1.  3guks PJIRC Integrated Chat Mod  1.1    [ Deinstallieren ]  [ Dateien auflisten ]  [ Löschen ]
2. Deutsche Kalender Tage! 1.00 [ Dateien auflisten ] [ Löschen ]
3. Wikipedia BBCode 1.2 [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ]
4. SMF 1.1.2 Update Package 1.1.2 [ Dateien auflisten ] [ Löschen ]
5. Trim Url 1.0.2 [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ]
6. Seo 4 SMF 0.2.9.8 [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ]
7. YouTube BBC Tag (XHTML Compliant) 1.2 [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ]
8. Users Online Today Mod 1.4.0 [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ]
9. Seo 4 SMF 0.2.9.9 [ Dateien auflisten ] [ Löschen ]
10. Streaming 3 4.2.2b [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ]
11. MySpace BBC Tag 1.0 [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ]
12. SMF Arcade 2.0.9 [ Dateien auflisten ] [ Löschen ]
13. DailyMotion BBC Tag (XHTML Compliant) 1.0 [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ]
14. MySpace Field 2.4 [ Dateien auflisten ] [ Löschen ]
15. SMF Arcade PM Switch 1.0.1 [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ]
16. Clipfish BBC Tag (XHTML Compliant) 1.3 [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ]
17. MyVideo BBC Tag (XHTML Compliant) 1.3 [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ]
18. Merge Double Posts 1.0.8 [ Dateien auflisten ] [ Löschen ]
19. Merge Double Posts German Pack 1.0.8 [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ]
20. mp3 Flash Player BBC Tag (XHTML Compliant) 1.0 [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ]
21. SMF 1.0.11 / 1.1.3 Update 1.1 [ Dateien auflisten ] [ Löschen ]
22. Read Topic Permission Mod 1.0.4 [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ]
23. Google Member Map 0.60 [ Dateien auflisten ] [ Löschen ]
24. URL Popup 1.0 [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ]
25. Anonym.to All External Links 1.2 [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ]
26. Auto Embed Video Clips 1.0 [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ]
27. Advanced Visual Verification 1.2 [ Modifikation anwenden ] [ Dateien auflisten ] [ Löschen ]
28. SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update 1.0 [ Deinstallieren ] [ Dateien auflisten ] [ Löschen ]


Perhaps it interferes with one of my installed ones ? - I tried to add a link (stage6) that i dont have already any plugins installed - but still - just appears as a normal link  :'(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on October 17, 2007, 10:10:30 AM
It might be interfering with the SEO mod, or the URL popup. That's the only one I can envision messing up the mod right now. Or the Anonym.to All External Links mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Chopper on October 17, 2007, 01:26:33 PM
I too am having a similar problem. I have installed and applied but still it doesnt work :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: captjlucpicard on October 17, 2007, 02:30:53 PM
It doesn't work for some people on my board, but it works just fine for me when I view a topic with a youtube video link. Any idea why it wouldn't be showing up for them?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 3MAJ on October 17, 2007, 02:50:44 PM
Could you please add support for liveleak.com videos?
Or at least a pointer in the right direction...

EDIT: Figured it out, the code was very user-friendly  ;)

For LiveLeak, just add the following lines in your Sources/Subs.php file:

$embed['liveleak'] = array(
'enabled' => 1,
'pattern' => 'http://www.liveleak.com/(view\?i=|i/)([0-9A-Za-z-_]{1,15})(.*)',
'embed' => '<embed src="http://www.liveleak.com/player.swf" width="450" height="370" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="autostart=false&token=ed5_1192575213" scale="showall" name="index"></embed>',
);


EDIT2: Nor working properly, always displays the same video :( Help?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 17, 2007, 03:21:16 PM
I'm going to work on this right now for both bug testing, improvements, additional sites.

New version hopefully will be posted later.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 17, 2007, 03:22:40 PM
If you know of any more popular video sites which arent supported/been mentioned already, please post post asap to get them in this next version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: jossanaijr on October 17, 2007, 04:47:50 PM
Installed without problems and working fine, thank you!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on October 17, 2007, 05:16:15 PM
Quote from: karlbenson on October 17, 2007, 03:22:40 PM
If you know of any more popular video sites which arent supported/been mentioned already, please post post asap to get them in this next version.

sevenload.com
myvideo.de
clipfish.de
dailymotion.com

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 17, 2007, 05:24:27 PM
I will try to include them all

But non-english ones will be disabled by default.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on October 17, 2007, 06:34:37 PM
Uhm - perhaps also ebaumsworld.com  :-X
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dashaman on October 17, 2007, 06:37:22 PM
If i were to add a site by my self such as gametrailers how would i do that?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 17, 2007, 07:29:17 PM
Ebaumsworld cannot be added because the video id does not correspond to the url video link.

Gametrailers will be in the next version. (which hopefully will be ready by tomorrow night at the latest)


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 17, 2007, 11:07:14 PM
I've added several bug fixes so far, although I havent finished adding all of those additional sites requested (of those which actually can be added).

Its definately going to be tomorrow now before version 1.1. is posted
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Bigguy on October 17, 2007, 11:40:53 PM
Nice mod; I just installed it myself without a hitch :) on a new forum.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: captjlucpicard on October 18, 2007, 05:34:19 PM
Just curious, is version 1.1 about ready?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 18, 2007, 05:37:59 PM
I'm testing at the moment what I've done so far.

So far I've added over a dozen new video sites.  Still about a dozen more to add.

I've actually re-written most of the mod again today because I realised that 90% of the video sites do not give your xhtml valid code.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: captjlucpicard on October 18, 2007, 05:42:37 PM
Fantastic :) Thanks for taking time to work on this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rummie on October 18, 2007, 06:09:24 PM
here here!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on October 18, 2007, 06:24:59 PM
Cant hardly wait to install it  ;D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 18, 2007, 06:38:19 PM
What would you guys prefer?

a) Only major videos sites enabled by default, others inc non-english ones are disabled by default (and can be enabled similar to in 1.0)

b) All enabled by default.

At the moment I'm trying to resolve issues with
xhtml validity vs cross browser support
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: raven1 on October 18, 2007, 06:52:03 PM
great mod and works perfectly, thanks for your time and effort
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: jossanaijr on October 18, 2007, 08:13:53 PM
Quote from: karlbenson on October 18, 2007, 06:38:19 PM
others inc non-english ones ... enabled by default.
non-english enabled too please...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 18, 2007, 08:17:57 PM
Ok,

I'm STILL adding more sites (thanks to those people who pm'd me a list)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 18, 2007, 09:00:35 PM
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.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: haiwasnm on October 18, 2007, 09:03:09 PM
can add www.tudoo.com and www.mofile.com?
I come from china. thanks .
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 18, 2007, 09:57:39 PM
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)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 18, 2007, 10:31:27 PM
Ok, I've uploaded v1.1 [Mod] (http://custom.simplemachines.org/mods/index.php?mod=977)

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)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: hobox on October 19, 2007, 04:04:55 AM
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?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 19, 2007, 05:46:56 AM
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).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 3MAJ on October 19, 2007, 06:36:38 AM
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...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 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.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rummie on October 19, 2007, 08:43:49 AM
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)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 19, 2007, 09:44:23 AM
3MAJ I will fix the liveleak link asap.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 19, 2007, 09:47:44 AM
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
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: haiwasnm on October 19, 2007, 10:29:39 AM
karlbenson , you are my hero , hehe.....
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wealthymaker on October 19, 2007, 11:20:00 AM
Great Mod! Thanks! Works great! Love it!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on October 19, 2007, 11:20:43 AM
Thx !
After disabling your Anon-Mod (http://custom.simplemachines.org/mods/index.php?mod=894) in my Forum every Link is working fine.


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 19, 2007, 12:06:12 PM
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
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 19, 2007, 12:08:29 PM
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.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 19, 2007, 12:41:22 PM
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)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on October 19, 2007, 02:56:28 PM
I cant get working the following Implementations:

myvideo.de
clipfish.de
gametrailers.com
gamevideos.com

All others seem to work  O:)

*EDIT*

I just rechecked with IE7 - normally i use Firefox 2.0.7 - every Video-URL works with IE7 - seems to be a Firefox-Issue ?!

*EDIT2*
gametrailers.com-link does not work with IE7.

*EDIT3*
sevenload.com works in Firefox - in IE7 i get 'video not available'

*EDIT4*
Myspacetv - the url which isn shown in the browser-bar works (http://vids.myspace.com/index.cfm?....), but using the Video-URL-Link which is shown under the Video (http://myspacetv.com/index.cfm?...) does not work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Trinny on October 19, 2007, 03:39:41 PM
Quote from: rummie on October 19, 2007, 08:43:49 AM
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)
you know, if we could embed youporn life would just about be perfect eh.

How 'bout it karl? Give us the pr0n! :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on October 19, 2007, 05:10:50 PM
My last Post now even seems confusing to me - i started a Test in our Forum and let the ppl report.

One Thing for sure - the sevenload.com shows up in FF, but not in IE7.

I'll post the results later.

*EDIT*

Quote from: karlbenson on October 18, 2007, 09:00:35 PM
dailymotion is out (the embed video is isnt the same one as in the page url).
Sorry - i cant code at all, but i need to ask this:
Could you 'intercept' the embedded URLS for the supported Video-Pages within the Posts ?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 19, 2007, 06:09:31 PM
Thanks All Massive.

I'm testing/working on them all right now. v1.2 will be posted later.
I'm testing every single link in IE7/Opera/Firefox.

Re: Dailymotion, I'm not supporting any sites where the url in the address bar won't work.
This is because
a) it requires users fishing for the url in the embed code.
b) it would cause confusion for users
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 19, 2007, 08:15:05 PM
Ok, here we go again. v1.2 now uploaded.

1.2 - 20th October 2007
o Fixed Gametrailers
o Added support for old style LiveLeak links
o Added support for different style Google video links
o Fixed Cellfish (their current player doesnt work, so switched to older one)
o Fixed Glumbert
o Fixed Gamevideos (although, it won't work in Firefox still for some reason)

Every video site has been tested in my IE7, Firefox 2, Opera are work (apart from Gamevideos in Firefox)
Here is my test set of links that were used. It is not recommended to post the whole set to test them as it crashed all three of my testing browsers doing that.

http://www.youtube.com/watch?v=TpLd2KT32Gg
http://www.youtube.com/ep.swf?id=EBF5D6DC4589D7B7&eurl=
http://video.google.co.uk/url?docid=-3577646779865291562&
http://video.google.com/videoplay?docid=1372861896199527576
http://www.metacafe.com/watch/716264/woman_tankinggas/
http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=19800251
http://myspacetv.com/index.cfm?fuseaction=vids.individual&videoid=19800251
http://stage6.divx.com/user/Nero666/video/1229174/Hot-girl-on-a-webcam
http://www.veoh.com/videos/v901274x8scKgd3?source=featured&cmpTag=featured&rank=0
http://www.gametrailers.com/player/26577.html
http://www.liveleak.com/view?i=daf_1192758492
http://www.liveleak.com/view?i=8bd6139b92
http://cellfish.cellfish.com/video/174813/Leave-Britney-Alone-again
http://www.myvideo.de/watch/366128
http://clipfish.de/player.php?videoid=NDcyMjA0fDU5NjU3NA%3D%3D
http://video.libero.it/app/play?id=eb52a2f8fce0a43964c47eb8ff95d890
http://123video.nl/playvideos.asp?MovieID=142734
http://www.vsocial.com/video/?d=71716
http://www.ifilm.com/video/2865157
http://de.sevenload.com/videos/IahhoH1/50-Cent-In-Da-Club-Live-Emporio-Armani-Red-One/sliderPage/1
http://en.sevenload.com/videos/IahhoH1/50-Cent-In-Da-Club-Live-Emporio-Armani-Red-One/sliderPage/1
http://sevenload.com/videos/IahhoH1/50-Cent-In-Da-Club-Live-Emporio-Armani-Red-One/sliderPage/1
http://www.sevenload.com/videos/IahhoH1/50-Cent-In-Da-Club-Live-Emporio-Armani-Red-One/sliderPage/1
http://revver.com/watch/437586
http://www.brightcove.tv/title.jsp?title=1155105345
http://www.aniboom.com/Player.aspx?v=57489
http://www.vimeo.com/345394
http://www.guba.com/watch/3000088939?duration_step=0&featured
http://www.glumbert.com/media/connie
http://www.tudou.com/programs/view/XlTwZD-17uc
http://www.biku.com/opus/171889.html
http://dv.ouou.com/play/v_15aea635cc46f4.html
http://www.gamevideos.com/video/embed?video=15568
http://gamevideos.com/video/id/15438
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Matthew Schenker on October 20, 2007, 06:50:56 AM
This looks excellent!

So, with this mod, can I uninstall my previous video mods -- "GoogleVideo BBCode by Yakuza" and "YouTube BBC Tag (XHTML Compliant)"?

Here's a list of my installed modifications.  Do you see any conflicts?
Rename Topic 1.0.2
MessagePreviewOnHover 1.5
FontandSizeDropdown 1.1
Member Color Link 2.0.0
EmailFlash 2.0
Ignore user 1.3
Inline Attachments 1.0.4.2
Image Popup 1.0
URL Popup

A few posts ago, someone said there might be a conflict with the URL Popup mod.  Is that true?

Great work!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 20, 2007, 12:01:13 PM
The ONLY mod that there is a known conflict with is my Anonym.to mod.

You should UNINSTALL the youtube mod if it is NOT my youtube mod (http://custom.simplemachines.org/mods/index.php?mod=936), because ALL the other youtube mods have a security vulnerability.

Other than that any other video clip mods can remain installed, they will be take precedence over this mod, and then this mod will convert any links that werent converted.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Matthew Schenker on October 20, 2007, 05:28:21 PM
karlbenson,
So it sounds like I would be fine uninstalling the other modifications and just using the one you created.
Thanks for the hard work.
Matt
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 3MAJ on October 20, 2007, 06:35:42 PM
Quote from: karlbenson on October 19, 2007, 08:15:05 PM

Here is my test set of links that were used. It is not recommended to post the whole set to test them as it crashed all three of my testing browsers doing that.


Don't know if this is possible, but how about adding a line for limiting the number of videos a user can add in a single post?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: billyevil on October 20, 2007, 08:36:46 PM
I'm really impressed with this mod. I posted on my site about it. It's amazing how it makes everything so easy. Thank you so much.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rummie on October 20, 2007, 09:40:26 PM
Quote from: karlbenson on October 19, 2007, 08:15:05 PM
...snip..
o Fixed Glumbert
o Fixed Gamevideos (although, it won't work in Firefox still for some reason)

Every video site has been tested in my IE7, Firefox 2, Opera are work (apart from Gamevideos in Firefox)
Here is my test set of links that were used. It is not recommended to post the whole set to test them as it crashed all three of my testing browsers doing that.
...snip
[/quote]

hmm... a possible DOS on your forum?

wow...could we do something to limit the number of video links that would be translated?

I wouldnt mind limiting the translation to just one
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 20, 2007, 09:54:16 PM
It would not be a risk or be a realistic DDOS attack since Flash is client side, so it would crash/slow a users browser.
But not effect the server at all.

I'm not sure if it would be possible to add a limit. 

The php function preg_replace has the ability to set a limit since php 4.0.2.
So I could set it to 10 for example. But it would be 10 PER supported site.

In order to set a max limit for all the sites it would be necessary to use 'count', however that was only added in php 5.1.0 so alot of people might not have a new enough version of php.
http://uk3.php.net/preg_replace
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rummie on October 21, 2007, 12:31:02 AM
well, DOS means simply, Denial of Service so a post with lots of embedded video links (which as you've said crashes the browser) would deny service to those affected individuals.

Granted, you can do something similar by linking off line to huge graphics on a slow server via the IMG tag (which is why I disable it)

a thought occurred to me...

we can bypass all the $count issue and simply count the number of <embed> or <object> tags are found in the resulting buffer, and, if it is more than 'n' return the buffer to its initial state, optionally adding a message "TOO MANY VIDEO LINKS'

(that way we avoid triggering an error when used in conjunction with some other embedding mod or Admin supplied HTML tags)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: forty on October 21, 2007, 12:35:35 AM
why it is not working in my smf 1.1.4 with bbc enabled?
it just shows links.

the youtube mod works for me but this one does not.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on October 21, 2007, 09:32:02 AM
With the latest Version (1.2) everything seems to be fine - some ppl (like me) had problems with Firefox but it seems to be buggy Flash-Installations.

But now some ppl complain, that they had postet a link by purpose and dont want it to be embedded in the Post  :-\

Any plans to add smth like a 'Board-Permission' for embedding those Links ?
Or could you perhaps add a flag to put before the Video-URL so it dont get parsed ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 21, 2007, 11:15:33 AM
@ Forty.
Are you using v1.2 of the mod?
Are you just posting a link like http://www.youtube.com/watch?v=GXCbxcY7YFU
Is the link showing as an active link (which if clicked will take you to the clip)
Does it just show as blank? What browser are you using?  Tested in IE/O/FF

@ Rummie
FYI This mod uses <object> tags only. <embed> tags are not part of the spec and not valid code.
Counting <object> tags isnt practical because
a) not all the objects might be in the same post
b) other flash objects if used on the page would be counted in the buffer. And would impact other video mods.

The solution would probably be to use the 'count' and work in some check of what php version your using. Requiring minimum 5.1.0 for the count function to work.

@ Allmassive
No plans to add per-board permissions.
In fact other than considering adding a 'hard-coded' limit and potentially additional sites, I don't have any plans to add further functionality to this mod.
If it gets converted to a link, it will be converted.
Use [nobbc] or tags to prevent it being converted to a link and therefore prevent it being converted.

Indeed for v1.0 and v1.1 there were some issues with different browsers, but that was mainly due to different code from different sites.  In 1.2 they all now use the same object embed code.
There should be no problems with ANY of the supported sites in version 1.2.  in IE6/7 or Firefox 1/2 or Opera (except Gamevideos in FF). As every site has been tested for v1.2.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on October 21, 2007, 11:39:42 AM
ok - but i dont get it right - could you please explain.

I have these links:
[b]Bass:[/b]
- Victor Wooten: [url=http://www.youtube.com/watch?v=f9a4ThBNacY]>> click[/url]
- Stanley Clarke: [url=http://www.youtube.com/watch?v=MmI_BsVfuCg]>> click[/url]
- Marcus Miller: [url=http://www.youtube.com/watch?v=bhbi8GSsqrU]>> click[/url]


Where do i need to put the [nobbc] ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 21, 2007, 02:44:19 PM
It is not possible to have working links that do not convert.
The whole mod works on 'replacing' converted links.

The ONLY solution is to have links which are not CLICKABLE.  It is not possible to have links which don't convert.
eg like

[b]Bass:[/b][nobbc]
- Victor Wooten: http://www.youtube.com/watch?v=f9a4ThBNacY
- Stanley Clarke: http://www.youtube.com/watch?v=MmI_BsVfuCg
- Marcus Miller: http://www.youtube.com/watch?v=bhbi8GSsqrU
[/nobbc]

would appear as
Bass:
- Victor Wooten: http://www.youtube.com/watch?v=f9a4ThBNacY
- Stanley Clarke: http://www.youtube.com/watch?v=MmI_BsVfuCg
- Marcus Miller: http://www.youtube.com/watch?v=bhbi8GSsqrU


The only alternative solution is to put the links through an anonymiser so it won't match.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rummie on October 21, 2007, 10:38:30 PM
Quote from: karlbenson on October 21, 2007, 11:15:33 AM
....
@ Rummie
FYI This mod uses <object> tags only. <embed> tags are not part of the spec and not valid code.
Counting <object> tags isnt practical because
a) not all the objects might be in the same post
b) other flash objects if used on the page would be counted in the buffer. And would impact other video mods.

The solution would probably be to use the 'count' and work in some check of what php version your using. Requiring minimum 5.1.0 for the count function to work.
.

Actually, it would work and would really be the best way to approach it!

What I am saying is; The mod would check to see if ..THE ADDITION OF MORE EMBED TAGS WOULD RESULT IN AN "OVERLOAD SITUATION FOR THE BROWSER, AND IF SO, REFUSE TO ADD MORE EMBEDDED TAGS"

In effect, leave the post exactly as it is w/o returning an updated buffer!

It is possible to make this embedded 'limit' browser dependent, for instance, the Nintendo WII will crap out on 2 or 3 embedded objects and only supports flash 6, for example, the PSP portable also has similar limitations
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: forty on October 22, 2007, 12:02:20 AM
Quote@ Forty.
Are you using v1.2 of the mod?
Are you just posting a link like http://www.youtube.com/watch?v=GXCbxcY7YFU
Is the link showing as an active link (which if clicked will take you to the clip)
Does it just show as blank? What browser are you using?  Tested in IE/O/FF

yes iam using v1.2
yes these are the links that i posted
     http://youtube.com/watch?v=aQd0ELH7SNI
     http://video.google.com/videoplay?docid=-7105707010768650236
     http://youtube.com/watch?v=L6RSD8m_QOQ
no its not an active link.
it just shows the link(inactive link). Iam using ff2.0.0.8, ie6.0.29, opera 9.20, safari 3.0.3
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on October 22, 2007, 07:45:15 AM
Rummie, it might be best to figure out a solution for your specific board. SMF is designed to be used primarily by MS/Mac/Linux PC-based internet browsers. PSP, Wii, Xbox, etc are not the typical browsing devices for the forum, so taking them into account should be done only on a case-by-case basis.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 22, 2007, 09:03:40 AM
@ forty
[url] and [iurl] tags must be enabled
If the link is not active, that is why it has not been converted.

@ Rummie
All other objects are converted first. (thats why youtube bbcode etc have precedence).
So even if I added a limit, it would still keep converting those.
The more I think about this the only, quick, efficient and convenient way to do this is via the count and limit method above.  Ignoring the limiter for users on anything less than php 5.1.0
(since very few people will be running php4 now anyway and its getting canned at Christmas)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PopsicleStickChick on October 22, 2007, 12:11:09 PM
Great mod, thanks!  Only issue is the empty post error when you post just a link.  You have to enter a period or a number of something for it to take the post.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Chopper on October 22, 2007, 02:22:37 PM
Hi after installing the mod i notice that when i try to embed i have two vodeos instead of one?? Any ideas how i can stop this from happening?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 22, 2007, 03:20:29 PM
Quote from: PopsicleStickChick on October 22, 2007, 12:11:09 PM
Only issue is the empty post error when you post just a link.
This is an issue with SMF that affects all video clip mods (not just this one).

I posted a separate fix mod http://www.simplemachines.org/community/index.php?topic=200401.msg1279572#msg1279572

@Chopper.
I've not had any reports of that before.
Do you have any other video mods installed?
Can you check in Subs.php that this mod is not installed twice?

If necessary can you attach your Subs.php to a post here so I can double check.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SoulPleX on October 22, 2007, 05:54:20 PM
Is it possible to creat my own video link site?   

For example:

http://123.123.123.123/folder/video.wmv.

All i would put into the post is video.wmv. which 'video' could be anything. The file extension and the IP address would always stay the same.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 22, 2007, 06:44:38 PM
SoulPlex.
This mod does NOT support embedding your own content or non-flash based clips.
I would suggest you look at the 'embed' mod by 1948pal which does support it with embed bbcode.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: DASBEAN on October 22, 2007, 09:29:41 PM
Wow this is a fantastic mod, thank you!!!

Any possibility of adding CollegeHumor into the list of sites that work?

Thanks!!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dashaman on October 22, 2007, 10:16:16 PM
I tried putting a gametrailer video clip but it doesn work o_o just shows me the html any ideas?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: DASBEAN on October 22, 2007, 10:47:17 PM
Quote from: karlbenson on October 19, 2007, 12:06:12 PM
Also I've 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"

It is awaiting approval by smf (You can't yet download it from the mod site, but for now i've attached a copy here)
http://custom.simplemachines.org/mods/index.php?mod=987

How do you apply this fix?

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: forty on October 22, 2007, 11:09:46 PM
Quote@ forty
[url] and [iurl] tags must be enabled
If the link is not active, that is why it has not been converted.

@karlbenson
yes [url] and [iurl] are enabled in the bulletin board code settings.
but "automatically link posted url" is disabled.
when i enabled it it works.

but i have pretty weired problem.
i have 2 youtube vids and 1 google vids

when i first tried this link it works but now its not working anymore, and it shows an active link.
http://youtube.com/watch?v=aQd0ELH7SN

http://video.google.com/videoplay?docid=-7105707010768650236 (working)

http://youtube.com/watch?v=L6RSD8m_QOQ (working)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Chopper on October 23, 2007, 04:34:02 AM
Quote from: karlbenson on October 22, 2007, 03:20:29 PM
Quote from: PopsicleStickChick on October 22, 2007, 12:11:09 PM
Only issue is the empty post error when you post just a link.
This is an issue with SMF that affects all video clip mods (not just this one).


@Chopper.
I've not had any reports of that before.
Do you have any other video mods installed?
Can you check in Subs.php that this mod is not installed twice?

If necessary can you attach your Subs.php to a post here so I can double check.

Where do i find this? If its in Sources folder i have two Subs.php......is that correct?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 23, 2007, 10:07:03 AM
@ Mr Bean,
you install the fix as a mod via the  package manager
@ Chopper.
No sorry.
If your getting two videos, it may have installed twice INTO the file subs.php.

If you can attach that file here I'll take a look.

@forty
Indeed, the mod requires 'automatically convert urls' to be enabled. I will need to state that when I update the readme for the mod.

The reason why that link is not converted is because it is NOT valid.
The ID for the youtube video has to be 11 characters (according to youtube).
Whereas the top one you posted is only 10.
If you click the link, youtube itself will tell you the link is not validly formed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: DASBEAN on October 23, 2007, 07:59:21 PM
Quote from: karlbenson on October 19, 2007, 12:06:12 PM
Also I've 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"

It is awaiting approval by smf (You can't yet download it from the mod site, but for now i've attached a copy here)
http://custom.simplemachines.org/mods/index.php?mod=987

When attempting to apply this fix, I receive the error: "The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

SMF v1.1.4, Auto Embed Video Clips v1.2

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 23, 2007, 08:45:55 PM
download the mod to your computer then upload it via package manager.

For some reason the web install isnt working.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Chopper on October 24, 2007, 08:57:39 AM
Sorry Karlbensen but where do i find the subs.php? I found one in a sources folder but it would not allow me to paste the entire script here?
Sorry but i have very little knowlege of script
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 24, 2007, 09:44:03 AM
Sources/Subs.php

What you need to do is download it to your computer.

Then goto full reply here and under additional options, attach the file
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Chopper on October 24, 2007, 10:58:10 AM
Quote from: karlbenson on October 24, 2007, 09:44:03 AM
Sources/Subs.php

What you need to do is download it to your computer.

Then goto full reply here and under additional options, attach the file

Hope this helps.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rummie on October 24, 2007, 08:16:56 PM
Quote from: Eliana Tamerin on October 22, 2007, 07:45:15 AM
Rummie, it might be best to figure out a solution for your specific board. SMF is designed to be used primarily by MS/Mac/Linux PC-based internet browsers. PSP, Wii, Xbox, etc are not the typical browsing devices for the forum, so taking them into account should be done only on a case-by-case basis.


Is that so? lol

you know you can access SMF from your web enabled cell phone in WAP mode dont you?

check some of the bigger SMF forums, and if you see a post with a tiny cellphone beside it, it was posted by someone accessing it from a mobile phone!
.... all I need is a noob with a dictionary :P


back to the topic, I think we can examine the buffer and either modify it, or abort the modifications to the post..I'll have to really dig into the code for a bit..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 24, 2007, 08:21:30 PM
I'll look into it very soon, but since I've recently spent alot of time fixing up this mod, i've really need to fix bugs in other mods before I look at this one again.

a) I'd rather not be altering the buffer.
b) I don't want to be giving any error messages (as that would require adding language strings which is something I've been desperate to avoid in the mod).
c) I don't want to be limiting other mods.  so I only want the limit to apply to objects embedded by this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rummie on October 24, 2007, 09:03:05 PM
cv;foreach <?php //Auto edit for SMF
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 24, 2007, 10:12:54 PM
I'll see what I come up with.

I'm struggling to do anything at the moment, my internet is dialup speed.  1/30th of the speed I'm supposed to be getting.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Chopper on October 25, 2007, 06:35:38 AM
Quote from: Chopper on October 24, 2007, 10:58:10 AM
Quote from: karlbenson on October 24, 2007, 09:44:03 AM
Sources/Subs.php

What you need to do is download it to your computer.

Then goto full reply here and under additional options, attach the file

Hope this helps.

Hi,

any luck with a solution?

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 25, 2007, 10:36:43 AM
sorry chopper.
I've been through your file twice and I can't see why your getting two clips.

a) What browser are you using?
b) Whats your forum url so i can test it
c) if it still won't work, try uninstalling/reinstalling.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ProbablyNot on October 25, 2007, 11:09:23 AM
I'd really like to use this mod, but it needs options.

1) I like the change you made for disabling the embedding in signatures, however I hate that I would need to modify the mod every time you update.  How about making that an admin option?

2) I can see my message board from work, pretty much all video sites are blocked from work, repeatedly trying to hit blocked sites results in me being flagged for internal review.  I'd like to have a user settable option to disable embedding so that each user can choose to see the links or the embeds.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 25, 2007, 11:32:44 AM
As stated above, for this mod I do NOT want to add any admin/user settings.
Doing so means
- Adding language strings
- Making template changes which would require manual edits for other themes.

That is why the enabled/disable is in the code.
I've tried to make the mod so NO manual editing is necessary out of the box.

The manual edit to disable the embedding in signatures will NOT be included in the mod because it alters a major function of smf as a dirty hack rather than a good modification and may not be compatible with other mods or future versions of smf.  I have requested that hooks be built into that function which would enable mods to be written to disable parts of bbcode for specific areas like the signature.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Chopper on October 25, 2007, 11:39:18 AM
The test video didnt work Karlbensen but thanks for trying
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 25, 2007, 12:02:22 PM
Chopper,
The test video works fine for me.  1 x working instance of the video.

This could be a browser issue. What browser are you using?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on October 25, 2007, 12:19:16 PM
@Rummie,

Yes, I'm well aware that SMF is configured for WAP usage. It's not recommended on WAP 1, though, but that's not the point. The point is that while the functionality is included, it's not the primary way SMF is designed. The mods, styles and features are designed to be used by fully-functioning PC-based internet browsers. If you can find some way to configure your PSP/Wii/etc browser to read as WAP under SMF, that might be the best way. Or for SMF to read the PSP/Wii/etc browsers as wireless browsers on your board. That might help.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Chopper on October 25, 2007, 03:47:11 PM
Quote from: karlbenson on October 25, 2007, 12:02:22 PM
Chopper,
The test video works fine for me.  1 x working instance of the video.

This could be a browser issue. What browser are you using?

Internet Explorer
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 25, 2007, 04:07:11 PM
what version?
This mod has been tested in 5.5/6/7 all without issue.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Chopper on October 25, 2007, 05:01:48 PM
Quote from: karlbenson on October 25, 2007, 04:07:11 PM
what version?
This mod has been tested in 5.5/6/7 all without issue.

internet explorer 7. Still not working yet
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 25, 2007, 05:16:29 PM
try clearing all your cache/history/cookies.

Its working fine for me in all my browsers.
The only alternative is possibly a faulty flash install. Does it work on other sites?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karky on October 26, 2007, 04:37:26 AM
Hello

Everything's working fine for my forum with firefox and IE6.
IE 7 user's can't see the google video's (others seem to work)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Chopper on October 26, 2007, 04:48:23 AM
Still 2 videos appearing???? Strange
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karky on October 26, 2007, 05:06:18 AM
With google videos and IE7, the videos don't start.

For example : http://video.google.com/videoplay?docid=7900886901361535984
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: iPivot on October 26, 2007, 07:02:57 PM
Yeah, I tryed to test the mod (v1.2), and it just posted the link and not the video, I'm using IE7.

Now I think i know why, before I install the mod, it gives me this:

Modification - Install.xml       Modification Parse Error
Modification -                      Modification Parse Error
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 26, 2007, 08:11:43 PM
that is not an error with the mod but an issue with your server setup.

Mostly likely either the permissions are not 777 on the packages folder or your server has php in safe mode.
See http://www.simplemachines.org/community/index.php?topic=200213.0
If that does not resolve your issue please create a separate topic to get help with the issue rather than further posts in this mod.

if you got the error, you should not have clicked install and if you tried to it will have not have installed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: iPivot on October 26, 2007, 08:13:22 PM
Packages Folder is 777, not sure about safe mode.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 26, 2007, 08:17:46 PM
It is almost certain you will get this error with any mod you install.

It would look to be a specific server issue.  I've seen it before with crappy hosting from servage.

I would therefore suggest you try obtain help by creating a topic in one of the support forums such as
http://www.simplemachines.org/community/index.php?board=9.0
as this topic is for mod-specific support.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fratzi on October 27, 2007, 03:09:22 PM
Stage6 Videos doesn't work on firefox?
IE 6 everything works fine.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 27, 2007, 03:46:50 PM
I have tested Stage6 on Firefox 1 and 2 and it works fine for me.

Did you install the divx plugin?
Were you prompted to install it?
Or did you already have it installed?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 27, 2007, 03:52:02 PM
Quote from: karky on October 26, 2007, 05:06:18 AM
With google videos and IE7, the videos don't start.

For example : http://video.google.com/videoplay?docid=7900886901361535984

Sorry I missed your message.

That link works for me on my test smf. :(
What other mods do you have installed?

Edit:
Sometimes it appears that you need to click once on the object to get it to be focused before you can click play to get it to play.
Is that the case?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Richard Wing on October 27, 2007, 05:00:25 PM
Karl,

Days back you mentioned that you would be providing a fix so that people who have your Anonym.to installed will not get conflicts if applying this mod.

I havent seen any more mention of this. Can you indicate if that is still planned?

I saw that you mentioned we can put the urls to the video sites in the exclusion list and have this mod work along with anonym.to mod. Is that correct? If so can you provide a full list of supported video sites that are now used in this mod for us to copy and paste.

Reading through the entire thread I noticed some worked and others didnt and was hoping you had a full list of supported video sites in one list.

Thanks for your great mods and support,
Richard Wing
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: winaje on October 27, 2007, 11:00:50 PM
Karl, great mod, I love it.  One question:

youtube.com works fine, but au.youtube.com does not.

Am I missing something here?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: lanlord on October 28, 2007, 12:43:57 AM
This mod rocks!!!


Nuff said.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karky on October 28, 2007, 06:10:48 AM
Quote from: karlbenson on October 27, 2007, 03:52:02 PM
Quote from: karky on October 26, 2007, 05:06:18 AM
With google videos and IE7, the videos don't start.

For example : http://video.google.com/videoplay?docid=7900886901361535984

Sorry I missed your message.

That link works for me on my test smf. :(
What other mods do you have installed?

Edit:
Sometimes it appears that you need to click once on the object to get it to be focused before you can click play to get it to play.
Is that the case?

Hello Karl

I have this mods :

Itemstats
WoW Character Profiles
Auto Embed Video Clips    1.2
SMF 1.1.4 Search "brd" Bug Fix (1.0.1)    1.0.1
RSS Feed Icon    1.1
Fix Message Empty Error For Embed Video Mods    1.0

1-
With IE6, IE7  it remains black but i can click the "play" button...but nothing happens (i also try to click the screen preview)
Also if I click "google video" I can see a link "go to google vidéo"..does'nt work either


2- Others : With Opera 9.5 beta i can see an image preview but i can't click
With Avantbrowser (i did'nt test this one) it does'nt work either

This problems appear with google videos, the others seems to work


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cru on October 28, 2007, 07:41:56 AM
hi karl! this worked on my test site. i have 1 question though,

1. how does video clips like this affect bandwidth transfer?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 28, 2007, 08:09:43 AM
@RichardWing.
The fix related to the Anonym.to mod will be part of the Anonym.to mod. (Its a bug in that mod, not this one).
I am working through my mods bug fixing. With all my mods though its taking weeks to go through them all.

@ Winaje
Re Youtube AU.
It maybe a bug, I'll have another look at it later afet my driving lesson.

@ Karky
Do you have any blockers/firewalls in place such as PeerGuardian etc.
Googlevideo definately works.  I suspect its either an issue with your browser or your server.

@cru.
For your server, Since all the clips are hosted externally, there will be negligible minimal increase in your bandwidth transfer (to the extent of the addition of the object html code only.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karky on October 28, 2007, 12:26:25 PM
That's not an issue with firewalls : all ie user's have this problem :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 28, 2007, 12:32:08 PM
hmm, its works for me in every browser i test and on every computer I've tested it on.

I've posted that video on my forum in a test post which works for me (and a couple of users I asked who all use IE6/7 or FF)
http://www.youposted.com/index.php?topic=26582.0

Does the video work for you on my site?

Whats your forum link?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cru on October 28, 2007, 05:57:26 PM
installed easily! great mod!!!!! thanks! :) :) :)
worked on IE6 too! :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 28, 2007, 06:50:48 PM
I will be posting version 1.3 of the mod by tomorrow night at the latest.
Some size bug fixes, hard-coded max embeds to prevent flash overloading.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on October 28, 2007, 07:53:23 PM
can you tell me where to put the codes?

because as of now i can't use the pactage installer.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dashaman on October 28, 2007, 10:15:48 PM
gametrailer doesnt work
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 28, 2007, 10:18:14 PM
When you say gametrailer doesnt work, do you mean that the link does not get converted to a flash object, or that the flash object doesnt work.

if its not converted, what link are you trying to add, maybe that format of link is not supported. Please post the link.

If the flash object doesnt work.
what browser are you using?
(there is a known issue with gametrailer and firefox). it does work in IE/Opera for certain.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 28, 2007, 11:38:54 PM
Ok, I've uploaded v1.3 to the mod site. [Mod] (http://custom.simplemachines.org/mods/index.php?mod=977)

1.3 - 29th October 2007
o Fixed a minor bug in the <object> code that affected xhtml validity
o Added warning to readme, requires auto convert urls to be enabled
o Added support for more YouTube localised versions
- Australia, Hong Kong, Mexico, New Zealand
o Fixed Metacafe sizes
o Fixed Googlevideo sizes
o Added a 'hard-coded' limit to the number of links PER PAGE that can be converted to embedded objects (default: 12)
o Added [noembed]LINK[/noembed] bbcode to protect links from being embedded.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: winaje on October 28, 2007, 11:47:38 PM
Brilliant, thanks heaps Karl, works like a charm with au. youtube files.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karky on October 29, 2007, 04:16:14 AM
Thanx for the great job Karl :)

If you want to see my problem, the url is http://www.guilde-taverniers.com/
I post it for you in public/flood/Avis des membres NEW FOFO

I've juste tested the vidéo in your site...(I didn't see the link this morning :p)

Il doesn't work either with IE6 and IE7
Few users have juste tested it with...Some are at home..Others at work (direct link or proxy)
So I don't think it's a question of installation of SMF and/or the mod
I can see two explanations :
1- are the browsers and the OS of your friends up to date with Microsoft's patches ?
2- Could It be a problem with IE or the OS french version and the mod ??
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: supermastereu on October 29, 2007, 12:27:06 PM
Hi. Another page...
http://futebol.videos.sapo.pt/
http://videos.sapo.pt/

Can you help me to modify this mod for insert this page vídeos
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 29, 2007, 12:56:44 PM
It is not possible to do it for http://futebol.videos.sapo.pt because the video id is not in the url.

However, for videos.sapo.pt it is possible.
Here is the code you need to add


$embed[] = array(
'name' => 'Videos.Sapo.pt',
'enabled' => 1,
'pattern' => 'http://(.*?)videos\.sapo\.pt/([0-9a-z-_]{20})(.*?)',
'embedlink' => 'http://imgs.sapo.pt/sapovideo/swf/flvplayer-sapo.swf?file=http://rd3.videos.sapo.pt/$2/mov/1',
'width' => '400',
'height' => '325',
);
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Chriss Cohn on October 29, 2007, 07:04:29 PM
Great Mod karlbenson! A very great work you provide us with your outstanding mods!
This Mod will be my replacement for parts of the Streaming 3 mod.

Question: Will it be possible in future, that it will support to just put in a link of avi,mpg,flv,wav,mov,etc Links and your Mod embeds them (of course only if the user has the correct player installed)?
The Streaming3 mod can do this, but you need to use BBC-buttons for it.

Edit: Another Question:
Why dont you add also the possibility to put in a link of a youtube playlist, and let it be auto-embed? Just like your youtube-BB-Code does - but without the need of putting it inside of BB-Codes.

Regards, Christian
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 29, 2007, 07:35:55 PM
By default, its not really feasible to support links on your own site, because this mod relies on matching urls with patterns.
When creating the mod i considered and rejected including such links because it would be very difficult to predict what type of link to expect. Eg with the youtube link, its always the same except for the video id which has a fixed length and contains (0-9a-z-)
With your own links its could be mysite.com/files/my_really__cool_VIDEO&story.wmv

Also there is a security concern that the files that could be embedded could be unsafe (thats why the youtube/embed and this mod were developed, to allow vids from safe sites)

The way I have designed the mod, it would be technically possible for you to customize to support your own sites links. HOWEVER, I do NOT have the time to explain or help you do that.

If you found someone who understands php pretty well I'm sure they could help you include your site.
You would have to be extremely careful to ensure that you were not putting your site at risk.  It would be quite easy to unintentionally make your site vulnerable in allowing unwanted and dangerous strings to pass into the object.

Maybe someone in the Help Wanted forum could help with a [free] or [paid] request.  But be careful.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: projectg on October 30, 2007, 04:32:34 AM
Please help!!! It does not work for me. ive tried both versions and nothing. im running smf 1.1.4.

How do u turn Auto Convert Links to be enabled. on???


I have anonymous mod on. is there any workaround this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on October 30, 2007, 08:34:18 AM
Turn anonymous mod off.

To turn off the hard coded object limit, do we just need to comment out the one line? Or is there more depending on that?

static $autoembedmax = 12 ;
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 30, 2007, 09:28:48 AM
@projectg
The anonymous mod currently won't work with this mod. It will prevent links being converted.
It is a bug with the anonym.to mod which I'm hoping to fix asap.
For now either turn off anonym.to mod or add each domain of the video clips to your exclusions eg
youtube.com
google.com
google.co.uk
etc

Auto Convert Links is turned on via Admin > Posts & Topics > Bulletin Board Code > Check Auto Convert Links

@ Eliana Tamerin
It is not recommended to alter the hard coded limit.  All browsers I've tried will slowdown or crash with only a few more than 12 flash objects. So just set it higher.  But purposefully you can't disable it, because allowing 30 flash objects not only crashed Firefox, but my computer aswell. So its there to protect your users.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: boredtoday on October 30, 2007, 01:31:46 PM
can you make it so that we have options to limit auto-embedding to mods and admins only?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 30, 2007, 05:05:29 PM
I am not intending to add settings/options/permissions to this mod.
And like all other bbcode, its an all or nothing type of mod.

The mod is intended to be an install and works straight away "out of the box". No configuring
I'm not even sure if it would be technically possible.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cru on October 30, 2007, 08:20:19 PM
karl, how do i upgrade? i have 1.2 installed. do i have to uninstall it first?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 7earitup on October 30, 2007, 10:07:34 PM
I am trying to use this with my own site, and I know you said you don't have time to help with that, but if you could tell me what each of your codes means, it would help alot. Currently they are DIVX videos, using the DIVX web player. Which should use the same setup as Stage6 I am assuming. I tried this:
$embed[] = array(
'name' => 'underoath video',
'enabled' => 1,
'pattern' => 'http://(www\.|)under-oath\.org/videos/([0-9a-z-_])/([0-9a-z-_])/([0-9a-z-_])/([0-9a-z-_])(.*?)',
'embedlink' => '', // STAGE6 DON'T USE THIS TYPE, IT MUST BE A PARAM
'width' => '640',
'height' => '352',
'codebase' => 'http://go.divx.com/plugin/DivXBrowserPlugin.cab',
'pluginspage' => 'http://go.divx.com/plugin/download/',
'classid' => 'clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616',
'type' => 'video/divx',
'extraparams' => '<param name="src" value="http://video.stage6.com/$2/.divx" />'
.'<param name="custommode" value="Stage6" />'
.'<param name="autoplay" value="false" />'
.'<param name="showpostplaybackad" value="false" />',
);


It acts like it wants to load it but it doesn't. There has to be a way for me to use this mod, as I have the videos cataloged well. For instance, if it is a video for a show like family guy, it would be a link such as:
http://www.under-oath.org/videos/comedy/familyguy/s1/famguy_e1.divx

I want it to detect anything linked in the videos folder though and then play it in the divx web player.

Any help at all? It would be appreciated.  ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 31, 2007, 09:04:03 AM
A commented version which explains what each line means is at the top of them all in the code.

What you have done so far looks right
but you now need to alter
'<param name="src" value="http://video.stage6.com/$2/.divx" />'

To replace with
'<param name="src" value="http://www.under-oath.org/videos/$2/$3/$4/$5.divx" />'

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on October 31, 2007, 03:45:34 PM
Quote from: nick09 on October 28, 2007, 07:53:23 PM
can you tell me where to put the codes?

because as of now i can't use the pactage installer.

could you please?^^
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 7earitup on October 31, 2007, 05:46:42 PM
Okay, I set this:

$embed[] = array(
'name' => 'underoath video',
'enabled' => 1,
'pattern' => 'http://(www\.|)under-oath\.org/videos/([0-9a-z-_])/([0-9a-z-_])/([0-9a-z-_])/(.*?)',
'embedlink' => '', // STAGE6 DON'T USE THIS TYPE, IT MUST BE A PARAM
'width' => '640',
'height' => '352',
'codebase' => 'http://go.divx.com/plugin/DivXBrowserPlugin.cab',
'pluginspage' => 'http://go.divx.com/plugin/download/',
'classid' => 'clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616',
'type' => 'video/divx',
'extraparams' => '<param name="src" value="http://www.under-oath.org/videos/$2/$3/$4/$5.divx" />'
.'<param name="custommode" value="Stage6" />'
.'<param name="autoplay" value="false" />'
.'<param name="showpostplaybackad" value="false" />',
);


The link only shows up as a clickable link. Any ideas?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 7earitup on October 31, 2007, 05:49:03 PM
Also, is the pattern right?
'pattern' => 'http://(www\.|)under-oath\.org/videos/([0-9a-z-_])/([0-9a-z-_])/([0-9a-z-_])/(.*?)',

to detect something like this?
http://www.under-oath.org/videos/comedy/familyguy/s1/famguy_e1.divx
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 31, 2007, 08:12:59 PM
You were missing the {1,12} on each of your patterns.  That means each bit must be between 1-12 characters.
Increase to the 12 as needed.  Also another match to get the filename and the .divx bit. The bit after is parsed but ignored, so if people tried adding ?remotescript=executebadcode etc at the end of the string it won't get included.

Best of luck with it.  But in future I don't have the time to be helping customize/add extra sites.


$embed[] = array(
'name' => 'underoath video',
'enabled' => 1,
'pattern' => 'http://(www\.|)under-oath\.org/videos/([0-9a-z-_]{1,12})/([0-9a-z-_]{1,12})/([0-9a-z-_]{1,12})/([0-9a-z-_]{1,12}).divx(.*?)',
'embedlink' => '', // STAGE6 DON'T USE THIS TYPE, IT MUST BE A PARAM
'width' => '640',
'height' => '352',
'codebase' => 'http://go.divx.com/plugin/DivXBrowserPlugin.cab',
'pluginspage' => 'http://go.divx.com/plugin/download/',
'classid' => 'clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616',
'type' => 'video/divx',
'extraparams' => '<param name="src" value="http://www.under-oath.org/videos/$2/$3/$4/$5.divx" />'
.'<param name="custommode" value="Stage6" />'
.'<param name="autoplay" value="false" />'
.'<param name="showpostplaybackad" value="false" />',
);
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 7earitup on October 31, 2007, 08:33:55 PM
It still doesn't work, however, the link doesn't show up now - so it acts like it wants to work. Just out of curiosity, I tried a Stage6 link and that does not work either. Is there a bug with your DIVX code in general?

$embed[] = array(
'name' => 'Stage6',
'enabled' => 1,
'pattern' => 'http://stage6\.divx\.com/(.*?)/video/([0-9]{1,11})/(.*?)',
'embedlink' => '', // STAGE6 DON'T USE THIS TYPE, IT MUST BE A PARAM
'width' => '640',
'height' => '480',
'codebase' => 'http://go.divx.com/plugin/DivXBrowserPlugin.cab',
'pluginspage' => 'http://go.divx.com/plugin/download/',
'classid' => 'clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616',
'type' => 'video/divx',
'extraparams' => '<param name="src" value="http://video.stage6.com/$2/.divx" />'
.'<param name="custommode" value="Stage6" />'
.'<param name="autoplay" value="false" />'
.'<param name="showpostplaybackad" value="false" />',
);


I know you don't have time for this, but it would be nice to know if your mod works for DIVX videos so I know whether or not I am wasting my time. The only reason I need this to work is because no one but admins can use the HTML tags, therefore they cannot embed a divx video. I need this functionality.

Thanks  ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 31, 2007, 09:21:27 PM
The stage6 divx DOES work

Try removing the param
<param name="src" value="http://www.under-oath.org/videos/$2/$3/$4/$5.divx" />

And replacing
'embedlink' => '', // STAGE6 DON'T USE THIS TYPE, IT MUST BE A PARAM
with
'embedlink' => 'http://www.under-oath.org/videos/$2/$3/$4/$5.divx',
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 7earitup on October 31, 2007, 09:26:28 PM
Could something else I have installed be causing this not to work?

My link still does not work. And this:
http://video.stage6.com/1759977/.divx
just shows up as a clickable link.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on November 01, 2007, 01:22:24 AM
Quote from: nick09 on October 31, 2007, 03:45:34 PM
Quote from: nick09 on October 28, 2007, 07:53:23 PM
can you tell me where to put the codes?

because as of now i can't use the pactage installer.

could you please?^^

Look in the install.xml. Follow the instructions in there, open the files it specifies, and look for the codes between the CDATA[[ (code in here) ]] tags. There's probably a post or topic around somewhere explaining how to manually install mods from the xml files. Search for it on the forum.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on November 01, 2007, 08:59:41 AM
Quote from: Eliana Tamerin on November 01, 2007, 01:22:24 AM
Quote from: nick09 on October 31, 2007, 03:45:34 PM
Quote from: nick09 on October 28, 2007, 07:53:23 PM
can you tell me where to put the codes?

because as of now i can't use the pactage installer.

could you please?^^

Look in the install.xml. Follow the instructions in there, open the files it specifies, and look for the codes between the CDATA[[ (code in here) ]] tags. There's probably a post or topic around somewhere explaining how to manually install mods from the xml files. Search for it on the forum.

alright i will look.

but, if someone does not mind to tell me.

go ahead!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 01, 2007, 09:03:42 AM
Manual Installatiom of mods
http://docs.simplemachines.org/index.php?topic=402.msg531

@7earitup
The mod doesnt work for the file links. BUT for the url/page links only
so instead of
http://video.stage6.com/1759977/.divx
it works for
http://stage6.divx.com/user/negativezerofilms/video/1782772/Grief-Assurance-Trailer
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on November 01, 2007, 09:35:26 AM
Quote from: karlbenson on November 01, 2007, 09:03:42 AM
Manual Installatiom of mods
http://docs.simplemachines.org/index.php?topic=402.msg531

@7earitup
The mod doesnt work for the file links. BUT for the url/page links only
so instead of
http://video.stage6.com/1759977/.divx
it works for
http://stage6.divx.com/user/negativezerofilms/video/1782772/Grief-Assurance-Trailer

the http://stage6.divx.com/user/negativezerofilms/video/1782772/Grief-Assurance-Trailer

does not work for me. :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 01, 2007, 09:55:47 AM
what browser are you using? (this mod has been tested in ie6/7, ff1/2, Opera
have you already got divx codec installed?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on November 01, 2007, 09:57:35 AM
Quote from: karlbenson on November 01, 2007, 09:55:47 AM
what browser are you using? (this mod has been tested in ie6/7, ff1/2, Opera
have you already got divx codec installed?

firefox 2.0.0.8

and yes i do have the codec installed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 01, 2007, 10:01:16 AM
I've posted that video on my forum
http://www.youposted.com/index.php?topic=26737.0

It works me for in FF 2.0.0.8.
Does it work for you?
If not?
Does it appear as a link?
Does it appear as a box?
When you click play does it say connecting?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on November 01, 2007, 10:09:11 AM
Quote from: karlbenson on November 01, 2007, 10:01:16 AM
I've posted that video on my forum
http://www.youposted.com/index.php?topic=26737.0

It works me for in FF 2.0.0.8.
Does it work for you?
If not?
Does it appear as a link?
Does it appear as a box?
When you click play does it say connecting?

none of those it does not appear......

here is a image:
(http://i13.tinypic.com/6h73exs.png)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 01, 2007, 10:13:00 AM
are flash and other plugins enabled by your browser?
do you have any firewalls blocking it?
in the sourcecode of the page, is the flash object there?
<object ......etc
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on November 01, 2007, 10:17:26 AM
Quote from: karlbenson on November 01, 2007, 10:13:00 AM
are flash and other plugins enabled by your browser?
do you have any firewalls blocking it?
in the sourcecode of the page, is the flash object there?
<object ......etc

yes.i have flash enabled.

yes when i check it.

here is the part of it:
<div class="post"><br>testng stage 6<br><object codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab" classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616" type="video/divx" height="480" width="640"><param name="movie" value=""><param name="wmode" value="transparent"><param name="allowScriptAccess" value="never"><param name="src" value="http://video.stage6.com/1782772/.divx"><param name="custommode" value="Stage6"><param name="autoplay" value="false"><param name="showpostplaybackad" value="false"><param name="pluginspage" value="http://go.divx.com/plugin/download/"></object><br><br>Edit: woot, works<br></div>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: acex on November 01, 2007, 10:21:09 AM
Thanks for great efford ! Mr karlbenson !
Could you add clip.vn ?
Its sample: http://clip.vn/watch/OUy,vn,Dep-qua-?cPage1=1&cTab=0
Real flv link: http://media.clip.vn/media2/YenTuyen/22924.flv
If i don't forget, you said you didn't support for non-English site :( , if so plz support for flv link. It's great for me and many people !

Regards !
acex

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Chriss Cohn on November 01, 2007, 11:01:11 AM
Quote from: nick09 on November 01, 2007, 10:09:11 AM
Quote from: karlbenson on November 01, 2007, 10:01:16 AM
I've posted that video on my forum
http://www.youposted.com/index.php?topic=26737.0 (http://www.youposted.com/index.php?topic)

It works me for in FF 2.0.0.8.
Does it work for you?
If not?
Does it appear as a link?
Does it appear as a box?
When you click play does it say connecting?

none of those it does not appear......

here is a image:
(http://i13.tinypic.com/6h73exs.png)
Same problem here on Firefox 2.0.0.8 with fresh installed divx-plugin/webplayer

Also if i add this vieo to my forums: http://stage6.divx.com/user/negativezerofilms/video/1329026/Henry-on-WWII-(Sample-1)

I just get a ")" appearing (without the quotes) in my post.

Best Regards, Christian
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 01, 2007, 12:17:54 PM
I'll have a look at this after my driving lesson.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Chopper on November 01, 2007, 12:40:44 PM
Still gettin 2 videos. Somethings not right &gt;:(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Chriss Cohn on November 01, 2007, 03:17:11 PM
Quote from: karlbenson on November 01, 2007, 12:17:54 PM
I'll have a look at this after my driving lesson.
Thanks!
BTW: Found another issue:
When entering nothing but the videolink inside the messagebody, the following error appears:
"The message body was left empty."

So you always need to put in at least one letter in to avoid this.

Regards, Christian
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 01, 2007, 05:07:06 PM
Will have a look soon.

Re the empty post issue, its a bug in smf, not these mods
From the readme
Quote
Note: Due to a problem/bug in SMF.  If you try to post with only a link to a clip on any of the supported video sites in it, you will get an "empty message" error because there is no actual content to the post.
However I have posted a Mod to Fix (http://custom.simplemachines.org/mods/index.php?mod=987) the issue for this and ALL other video clip embed/type mods.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on November 02, 2007, 07:09:06 PM
Thx for adding [noembed][/noembed] -  :-*
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on November 02, 2007, 08:04:17 PM
well my firefox got updated to 2.0.0.9

but still no video.... :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: spiky1471 on November 03, 2007, 07:55:01 AM
if i want a different video site added how do i do it any1 help

basically the url is
http://www.something.com/watch/84131

end is just combination of numbers not letters so how do i add it
i no once you tell me ill have to put the correct url in but that is simple enough

thx for the help
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 03, 2007, 10:18:32 AM
Stage 6 does not work and neither does Veoh at the moment.

http://stage6.divx.com/user/joket/video/1466302/Park-Wars---South-Park

http://www.veoh.com/videos/e58531gnEb2FwE?searchId=3113625261861910052&rank=0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on November 03, 2007, 10:21:57 AM
Quote from: mark7144 on November 03, 2007, 10:18:32 AM
Stage 6 does not work and neither does Veoh at the moment.

http://stage6.divx.com/user/joket/video/1466302/Park-Wars---South-Park

http://www.veoh.com/videos/e58531gnEb2FwE?searchId=3113625261861910052&rank=0

its not installed on this forum.... if you mean on this forum.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 03, 2007, 10:31:15 AM
No I don't mean on this forum.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 03, 2007, 10:34:46 AM
Stage6 links just give empty posts. Neither the link or video show.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on November 03, 2007, 11:11:37 AM
Quote from: mark7144 on November 03, 2007, 10:34:46 AM
Stage6 links just give empty posts. Neither the link or video show.

same for me man....

and i use stage6 for videos..

but there is a stage6 mod somewheres that uses a tag: [stage6][/stage6]

there is about 2.

heres one made by karlbenson:
http://custom.simplemachines.org/mods/index.php?mod=983
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: spiky1471 on November 04, 2007, 05:47:30 AM

if i want a different video site added how do i do it any1 help

basically the url is
http://www.something.com/watch/84131

end is just combination of numbers not letters so how do i add it
i no once you tell me ill have to put the correct url in but that is simple enough

thx for the help
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Isaac on November 04, 2007, 08:24:58 PM
Really great mod, thanks for this.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on November 05, 2007, 10:48:55 AM
Hi,

I am trying to add embed video from www.youku.com. One typical link looks like:

http://v.youku.com/v_playlist/cd00f839257o9p1.html

I tried but was not successful. Will you kindly give some help?

Even copy the give flash code, it still not show. Does this mean the mod disables the SMF flash tag? Please help and I really appreciate.

Thank you.
Jimmy
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: vik on November 05, 2007, 02:12:46 PM
Stage 6 And Voah is giving problem to me too

please tort it out as i use both

no link no video is given for stage 6 by the mod


anyways i edited both of them from subs.php

but would love if both of them start working
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: spiky1471 on November 05, 2007, 04:07:52 PM
--------------------------------------------------------------------------------
if i want a different video site added how do i do it any1 help

basically the url is
http://www.something.com/watch/84131

end is just combination of numbers not letters so how do i add it
i no once you tell me ill have to put the correct url in but that is simple enough

thx for the help
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on November 06, 2007, 02:12:30 PM
Please help.

Quote from: wjhdiz on November 05, 2007, 10:48:55 AM
Hi,

I am trying to add embed video from www.youku.com. One typical link looks like:

http://v.youku.com/v_playlist/cd00f839257o9p1.html

I tried but was not successful. Will you kindly give some help?

Even copy the give flash code, it still not show. Does this mean the mod disables the SMF flash tag? Please help and I really appreciate.

Thank you.
Jimmy
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: harmoni on November 06, 2007, 09:23:18 PM
Karl..it works fine. Great mod...but I got one little issue...when members posted a vid link in the shoutbox..it will shows the vid contents there...but the shoutbox refresh rate (55 secs) disturbing the video show.

How to disable it in the shoutbox?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 07, 2007, 10:21:52 AM
Please see my signature.

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: hobox on November 08, 2007, 11:31:01 AM
When your back online, could you please post a summary of sites that can't be supported by this mod? Just to make an overview easy, so I don't request stuff that you already mentioned as unsupported.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on November 08, 2007, 10:35:46 PM
Thanks karlbenson. Got your message and hope you will help out.

Jimmy
Quote from: karlbenson on November 07, 2007, 10:21:52 AM
Please see my signature.

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mbn02 on November 09, 2007, 03:22:01 PM
Thanks for this awesome mod, it works great!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ryuoh on November 10, 2007, 07:17:54 PM
Quote from: vik on November 05, 2007, 02:12:46 PM
Stage 6 And Voah is giving problem to me too

please tort it out as i use both

no link no video is given for stage 6 by the mod


anyways i edited both of them from subs.php

but would love if both of them start working

same for me it works in internet explorer but when i look at it in firefox its empty
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: VeNoM27 on November 11, 2007, 06:27:21 AM
This mod looks great but I'm having a problem.
Im new working with smf, and according to the mod creater you must have Auto Convert Links to be enabled.
How to I activate this, because when I post a url of a video it stays the url and does not convert the video.

Cheers.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on November 11, 2007, 12:28:44 PM
Auto Convert Links is turned on via Admin > Posts & Topics > Bulletin Board Code > Check Auto Convert Links
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: VeNoM27 on November 11, 2007, 12:44:57 PM
I don't have any option saying that  :-[  ;:(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: harmoni on November 11, 2007, 09:25:17 PM
Yeah got your message..thanks

Quote from: karlbenson on November 07, 2007, 10:21:52 AM
Please see my signature.

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Chopper on November 13, 2007, 06:02:38 AM
Hi

Is there a fix for this to work in Internet explorer6?

I have tried but the videos dont show up, just a cross in the left hand corner.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: iyeru42 on November 15, 2007, 09:20:40 PM
The noembed bbcode is not rendered "as-is" when put through the code BBCode, it should.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ASF on November 16, 2007, 04:58:35 PM
with this put, is it possible to do..

www.Allsomaliforum.com/video

and embed videos from all those sites you've allowed i.e. youtube, dailymotion and so on, and maybe members can comment on it.

is this possible with this MOD?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 20, 2007, 04:59:34 PM
@ASF
The mod just embeds a video clip.  Thats it.
Of course that doesnt stop people from commenting on the video in topics or whatever.

Note: Dailymotion is NOT supported, because the video id in the URL is not the same as in the embed code.

@ General note
I'll have a newer version ready in the next few days. I will have to compromise the xhtml validity to make it work for some browsers by using non-standard <embed> html.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: iyeru42 on November 20, 2007, 07:08:34 PM
And I don't care about XHTML Validity.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 21, 2007, 08:21:18 AM
Yeah, when it comes to a forum XHTML valid pages are not such a big deal to me. I do care that the ones that I want to rank well are valid but those are on my main site.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: iyeru42 on November 21, 2007, 09:40:45 AM
Quote from: mark7144 on November 21, 2007, 08:21:18 AM
Yeah, when it comes to a forum XHTML valid pages are not such a big deal to me. I do care that the ones that I want to rank well are valid but those are on my main site.

Because phpBB3 doesn't have valid XHTML by itself. :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 21, 2007, 03:52:27 PM
What?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ThisIsMyForum on November 22, 2007, 06:37:41 AM
Would you be able to add support (or tell me how to add it) for megavideo.com?

Thanks in adv.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: DarthNuno on November 22, 2007, 03:39:57 PM
It doesn' work on my forum :-(

I'm trying to un-install it via 'Browse Packages' in my admin panel but :

Apply Mod
Please remember to always make regular backups of your sources and database before installing mods, especially beta versions. 


!!Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Uninstall Actions
Uninstall Actions "Auto Embed Video Clips":
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/Subs.php Test failed


How to deinstall it now please ?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 22, 2007, 05:45:33 PM
@ThisIsMyForum
Megavideo will NOT work. I have already tried to add it into the mod.
The reason is that the video id in the url is NOT the same as in the embed code.

@DarthNuno
The mod has been tested and will uninstall and reininstall and uninstall without any issues.
However if you have since installed other mods they may prevent the mod from being uninstalled.

The only option is to manually install the mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ASF on November 22, 2007, 06:39:07 PM
karlbenson
im just saying it will be great if you can develop this MOD further to what i've described earlier..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 22, 2007, 06:50:28 PM
I don't plan on turning this mod into gallery style with comments.

I know that SMF Gallery pro already supports that. (paid)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: DarthNuno on November 23, 2007, 02:58:19 AM
Quote from: karlbenson on November 22, 2007, 05:45:33 PM

@DarthNuno
The mod has been tested and will uninstall and reininstall and uninstall without any issues.
However if you have since installed other mods they may prevent the mod from being uninstalled.

The only option is to manually install the mod.

Do you have a procedure who explain how to manually uninstall the mod please ? I mean which code lines to remove in which files ?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on November 23, 2007, 11:35:06 AM
Look at the xml file in the mod zip.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: perro88 on November 24, 2007, 06:30:13 PM
do you know how to make that, for example if a user post a youtube link on the smf shoutbox, it don´t embed the video there? because of the refresh rate os the shoutbox
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on November 24, 2007, 10:39:50 PM
That's because the shoutbox works on a different code. Posts pull up code from the display template, whereas the shoutbox works on its own template. Besides, I don't think you'd want videos to be embedded there, one with the refresh rate, and two with just the logistics of it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: basis on November 25, 2007, 06:00:55 AM
Quote from: karlbenson on October 28, 2007, 10:18:14 PM
When you say gametrailer doesnt work, do you mean that the link does not get converted to a flash object, or that the flash object doesnt work.

if its not converted, what link are you trying to add, maybe that format of link is not supported. Please post the link.

If the flash object doesnt work.
what browser are you using?
(there is a known issue with gametrailer and firefox). it does work in IE/Opera for certain.

Hi karl, thanks for this great mod!

However is there a work around for gametrailer's site with firefox?
I tried adding gametrailer links, but everytime I attempt to do it, the forum reports "The message body was left empty."

Combining AEVC with your other GameTrailer mod doesn't work either right? I gave that a go and the same error was still reported.

And I even tried adding the modfix (to fix the message error) and that did not help. (http://custom.simplemachines.org/mods/index.php?mod=987)

The link i tried to add was: http://www.gametrailers.com/player/28250.html

I hope you have time to at least answer if it is still possible to get Gametrailers to work again. Thanks for your time and effort.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: VeNoM27 on November 25, 2007, 12:24:25 PM
Yeah I'm having the same problem.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: perro88 on November 25, 2007, 12:36:53 PM
Quote from: Eliana Tamerin on November 24, 2007, 10:39:50 PM
That's because the shoutbox works on a different code. Posts pull up code from the display template, whereas the shoutbox works on its own template. Besides, I don't think you'd want videos to be embedded there, one with the refresh rate, and two with just the logistics of it.
No i don´t want to embed videos ther that´s why I posted :D to find a solution(if possible).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 25, 2007, 01:23:49 PM
I am still working on this mod. I think I've got a solution to build in the functionality to enable you to disable the mod for various areas. (BUt it will mean you need to edit the part of the code/files for the bit you want to prevent it.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on November 26, 2007, 08:13:43 PM
I'm just stumbled accros this:
I couldn't tell our Users how to use the [noembed][/noembed]-Feature - i tried it in the code-bbc - but there was nothing visible  :-\

Oh - i habe just seen that here (http://www.simplemachines.org/community/index.php?topic=200401.msg1310656#msg1310656) someone is having the same Problem - perhaps a noembed-bbc-button would be handy.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Scanlite on November 26, 2007, 08:28:28 PM
I  would love to be able to utilise this great little mod! However i am running SMF 1.14 & after trying to it throws up the following 2 parse errors!

Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    install.xml    Modification parse error
2.    Execute Modification    -    Modification parse error

Any idea what could be wrong?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 26, 2007, 09:19:45 PM
@All Massive
I'll look into the [noembed] code.  All that should happen is whatever is between the tag should just remain as a link or text.

I don't want to add a bbcode button because it means Language strings and template edits.

@Scanlite
That is not a problem with this mod, but a general smf issue/problem.
See these topics
http://www.simplemachines.org/community/index.php?topic=200213.0
http://www.simplemachines.org/community/index.php?topic=203336.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on November 26, 2007, 09:36:49 PM
When trying to show people codes, you can also use the [nobbc][/nobbc] tags.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 26, 2007, 10:29:45 PM
The  tag will NOT affect [noembed] tag because the tag isnt part of the SMF bbcode system.

So if you try to post [noembed] tags between [nobbc] it should still be converted.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on November 27, 2007, 11:17:30 AM
Hi my friend Karlbenson, have you looked at my early message? I am still interested in your help on this case.

Thanks
Jimmy

Quote from: wjhdiz on November 06, 2007, 02:12:30 PM
Please help.

Quote from: wjhdiz on November 05, 2007, 10:48:55 AM
Hi,

I am trying to add embed video from www.youku.com. One typical link looks like:

http://v.youku.com/v_playlist/cd00f839257o9p1.html

I tried but was not successful. Will you kindly give some help?

Even copy the give flash code, it still not show. Does this mean the mod disables the SMF flash tag? Please help and I really appreciate.

Thank you.
Jimmy
Quote from: wjhdiz on November 05, 2007, 10:48:55 AM
Hi,

I am trying to add embed video from www.youku.com. One typical link looks like:

http://v.youku.com/v_playlist/cd00f839257o9p1.html

I tried but was not successful. Will you kindly give some help?

Even copy the give flash code, it still not show. Does this mean the mod disables the SMF flash tag? Please help and I really appreciate.

Thank you.
Jimmy
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 27, 2007, 11:21:20 AM
I did see your link.  I will look to see if I can add it.  My primary aim is to resolve the bug issues first, then I'll go through every post since I posted the last version.

Looking at the site it might be possible to support youku for their normal links.
But it will not be possible to support their playlist links (such as the one you posted). (because the id in the url is not actual url.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on November 27, 2007, 01:51:50 PM
Very nice MOD karlbenson. Good stuff  8)
It even converted a few posts that peeps didn't know how to use the previous BBC mod I installed!  ;D

One thing I would like to be able to do per individual post as I can with the "YouTube BBC Tag" is set the window size when posting!?
Or be able to go full screen? Although I believe that is blocked from YouTube & VideoGoogle as they use a different viewer!

It works great as is anyway, it's so simple for peeps to use  ;D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 27, 2007, 01:55:06 PM
It is not possible to change the size of the items.
This mod uses the 'default' sizes of each.

As you can appreciate the whole point of this mod is to embed links without bbcode, and there is no way to set sizes therefore.
Although you can always alter the sizes in the php code. (but that would be for every post)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: bendingpixels on November 27, 2007, 06:01:03 PM
Hi Karl, I just installed, and tested it with a you tube link and it seems to be working fine. My question is this:

I'm a teacher, and I've set up video tutorials that I've posted on my own website. the videos are in flash format on individual pages. and the link format for the pages looks like this: 

http://www.bendingpixels.com/forum_tutorials/3dmg/1_interface.html

Is it possible to make these links show up as embeded video using your mod? if not is there a different way I can post the video's to make them compatible with your mod? Right now i have the videos posted on discreet pages, but I'd love to be able to simply post the videos right into the forum so they could watch them without having to go to an external link.

Thanks for a great mod!
Rob
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 27, 2007, 06:06:33 PM
From looking at it, the answer would be no.
This mod will only support sites which has the filename from the embed code, in the url to the page.

Furthermore as indicated on previous pages, whilst I am willing to try to add further popular sites to this mod, I do not have th time to provide support to help to customize the mod to support videos from your own sites.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: bendingpixels on November 27, 2007, 07:20:30 PM
Karl, I completely understand your time limitations.

I'm no coder, but From looking at the commented code in the package, it would appear that if I were to make my posted video pages conform to those standards, and then put in my web info in the appropriate locations, then it might be possible for this to work?

Has any one else out there tried to do something like this? I've been searching the forum, (that's how I found this thread) but I haven't seen this yet.

Thanks
Rob
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 27, 2007, 07:22:20 PM
It might be.
But the issue would be to make it secure enough.
The filenames of the videos need to conform to some sort of standard, to be able to validate and sanitize them.

You may be able to find someone to do some custom work for you in the Help Wanted forum with a [free] or [paid] request.  Please note, I am currently in the middle of a significant update to this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: bendingpixels on November 27, 2007, 07:57:56 PM
Thanks Karl, I'll post in the help wanteds...

Is there anyone you would recommend for the job? Paid or Free?

Rob
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 28, 2007, 12:50:21 AM
Just uploaded v1.4, I've also been through every post to date.

1. A list of all the sites that can't be supported is now shown in the readme/info.
2. I do not offer support to make/help make your own sites be supported
3. The new version automatically disables the code for signatures, if you used the old code, you should uninstall it.
(if you made any changes you may need to uninstall manually)
See the readme for the variable to set to disable the embedding for other sections.
4. All sites requested that could be added were (only one, youku)
5. v1.4 ALL sites have been tested in latest versions of Opera/Firefox/IE6 and 7. All sites currently work, if you have a site/link which isnt please post a) the name of the site, b) the link that wouldnt get embedded.



1.4 - 28th November 2007
o Fixed [noembed] blank replacements
o Added <embed> version for non-ie browsers. Breaks xhtml validation.
o Added <noembed> link
o Changed extraparams, now added by an array
o Fixed Veoh
o Fixed YouTube default Playlist sizes (they changed them)
o Fixed Stage6
o Added Disabled for signatures.
o Added support for YouKu.com
o Improve preg subpatterns for speed/resource improvements.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: basis on November 28, 2007, 02:11:51 AM
thanks karl for all the hard work!

will give this new version a good this evening! hope gametrailers is fixed :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on November 28, 2007, 06:27:48 AM
Just installed - Everything is working fine.
Just one thing - since a few days there' also a localized .de-youtube - i added it myself but perhaps for future versions  ;)

weightman: you should reread the Mod-description

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 3MAJ on November 28, 2007, 06:53:17 AM
@weightman

The videos aren't stored on your own server nor it ads any additional bandwidth on it, that's the beauty of this mod :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 28, 2007, 08:17:21 AM
Weightman, you should read about this mod properly before coming to such a harsh and frankly ignorant conclusion.

This mod is fantastic and is absolutely needed by many.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on November 28, 2007, 09:22:11 AM
Thanks Karlbenson. Please PM or email me when this is done. You are great.

Jimmy
Quote from: karlbenson on November 27, 2007, 11:21:20 AM
I did see your link.  I will look to see if I can add it.  My primary aim is to resolve the bug issues first, then I'll go through every post since I posted the last version.

Looking at the site it might be possible to support youku for their normal links.
But it will not be possible to support their playlist links (such as the one you posted). (because the id in the url is not actual url.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 28, 2007, 10:59:36 AM
@wjhdiz. Youku was added in this version.

@weightman
For security reasons you are recommended not to use html in posts.  Thats why bbcode video mods were developed.
This mod purely gets rid of the need for bbcode.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 28, 2007, 04:20:21 PM
Yes, I am sorry. I had this mod mixed up with another. I certainly meant not offense. I was simply curious. It does indeed sound quite useful.

Thank you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 28, 2007, 07:50:38 PM
@ Weightman, no worries ;)




1.5 - 29th November 2007
o Added support for Vidiac.com
o Added support for de.youtube.com
o Added support for collegehumor.com
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: basis on November 28, 2007, 08:03:52 PM
Karl I gotta question - been trying to get videos from GameTrailers to work but with little success, even with v1.4 of the mod.

I can get other sites like Youtube to link and work correctly, but not for GameTrailers.

Is there something that I am missing here? Just copy the url link for GameTrailers should make it work right? (take for instance the link i posted about 2 pages back... http://www.gametrailers.com/player/28250.html)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 28, 2007, 08:12:08 PM
I've had difficulty with gametrailers in the past.

When I worked on v1.4 I tested with that EXACT link which was posted and it works for me in IE/FF/O
But it wouldnt work in FF in earlier versions.

I've just tested v1.4 and v1.5 and Gametrailers works for me with that and other links in IE/FF/O
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: tkam on November 28, 2007, 08:43:29 PM
I'm receiving a "Modification parse error" trying to install v1.5.  I've had 1.3 and 1.4 installed previously without any issues.  I made sure to remove the previous versions before trying to install the new one.

Also I tried re-downloading the file and I'm still getting the same error.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: basis on November 28, 2007, 08:45:18 PM
ok thanks for the reply Karl. I will go take a look at it again. If you can think of any other issues or possible problems that i might have missed, do let me know and i will go check it out.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 28, 2007, 09:00:40 PM
@tkam

I've reuploaded the file again.

Delete your copy from your server.
Download a fresh copy of 1.5 from the mod area
Upload it via package manager.

See whether that works.

@Basis
What browser are you using?OS?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 28, 2007, 11:37:18 PM
It appears Winzip was adding compression again. (and thus preventing smf extracting the files)

Anyways I've extracted, re-zipped the files and reuploaded the zip.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on November 29, 2007, 11:38:53 AM
THANKS Karlbenson, you are great. Sorry to bother you again. If you could, will you consider adding www.56.com too?

Jimmy

Quote from: karlbenson on November 28, 2007, 10:59:36 AM
@wjhdiz. Youku was added in this version.

@weightman
For security reasons you are recommended not to use html in posts.  Thats why bbcode video mods were developed.
This mod purely gets rid of the need for bbcode.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 29, 2007, 11:45:20 AM
I will look to add any requests for popular video sites when I next bug fix this mod (eg v1.6)
I go through every post from the one where I posted that it was updated to v1.5.

For now I've spent quite alot of time on this mod. And I need to work on some of my other mods which need fixing up/improving/re-writing.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on November 29, 2007, 11:51:35 AM
I cry for "Integrate Lightbox"
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 29, 2007, 11:54:52 AM
Well thats ones submitted, but awaiting approval.
As soon as the SMF team have finished the once over, I fix any issues.  It should be released.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: geber on November 29, 2007, 01:57:48 PM
Hi

after installing successfully your modification appears in the error log some errors like:

Quote
./index.php?action=packages;sa=uninstall2;package=Auto_Embed_Video_Clips_v1.5.zip
8: Undefined variable: count
Datei: /www/htdocs/w0064686/Sources/Subs.php
Zeile: 2723

- SMF 1.1.4
- Language = german
- no further modifikations in Subs.php & Load.php

Any idea ???

Otherwise the mod works fine :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 29, 2007, 02:05:49 PM
I have an idea what it is.
It should not be a problem other than the error in the error log.

I'll post a fixed version later tonight.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 29, 2007, 06:58:26 PM
1.6 - 30th November 2007
o Fixed count undefined variable
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 29, 2007, 07:13:11 PM
This version works for me now with no errors. Very nice and I am very grateful. A question, what, if anything, should I do about your youtube bbc code mod? Uninstall it? Will that make all the old embeds fail?

Thanks again
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 29, 2007, 07:18:41 PM
Thanks.
Any old style bbcode will not be converted to embedded objects.

Personally I still find the youtube bbcode version useful for doing larger sizes. Aswell as converting historic uses of the code. If you don't want the bbcode button anymore.  Why not just remove the bbcode button. And let it parse [youtube] bbcode as normal.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 29, 2007, 07:20:09 PM
Sounds good. Your the man.

Cheers
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 29, 2007, 07:21:46 PM
And if that was a question about whether I will continue to support the YouTube bbcode mods now that I have this mod.
The answer is i will be keeping it supported/updated.
;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Indy74 on November 29, 2007, 09:06:31 PM
Absolutely great mod! I mean it!

I was about to try to add another site myself but then i've read your security warnings and dropped it.

So, is this nice movie trailers site able to be embeded?

Here it is: http://www.dtrailer.com (http://www.dtrailer.com)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: iPivot on November 29, 2007, 09:20:23 PM
How about GameSpot video?

<embed id="mymovie" width="432" height="355" flashvars="paramsURI=http%3A%2F%2Fwww%2Egamespot%2Ecom%2Fpages%2Fvideo%5Fplayer%2Fproteus%5Fxml%2Ephp%3Fadseg%3D770219%26adgrp%3D11544%26sid%3D6180951%26pid%3D939465%26mb%3D%26onid%3D%26nc%3D1196389019734%26embedded%3D1%26showWatermark%3D0%26autoPlay%3D0" allowfullscreen="true" allowscriptaccess="always" quality="high" name="mymovie" src="http://image.com.com/gamespot/images/cne_flash/production/media_player/proteus/gs/proteus_embed.swf" type="application/x-shockwave-flash"/>

http://www.gamespot.com/video/939465/6180951/soulcalibur-legends-official-movie-5

Check carefully, the Video ID is in both, but not where you think..

EDIT: I've underlined the ID to make it easier to find.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 29, 2007, 09:38:49 PM
Your don't just need the id.
You need ALL the variables that are unique to that file.
eg 1196389019734

I will try in future to add those IF it is possible.
But it won't be until I next need to bug fix this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ketchup on November 30, 2007, 01:28:34 AM
hey this is cool...can ypu help with one thing please

Youtube RSS feed posts videos with a link that does not work

such as

http://youtube.com/?v=ns5CLC-8DAI (shows up as a link)

but the link from the actual page that works as a video is

http://youtube.com/watch?v=ns5CLC-8DAI


I would like the youtube rss posts that I'm using in my forum to show as videos too

How can we make this work?

thanks! :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: geber on November 30, 2007, 02:21:52 AM
Quote from: karlbenson on November 29, 2007, 02:05:49 PM
I have an idea what it is.
It should not be a problem other than the error in the error log.

I'll post a fixed version later tonight.

thanks :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 30, 2007, 12:36:05 PM
@ketchup

I will look to support youtube rss links in a future version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: danishj on December 01, 2007, 06:15:32 AM
I'm trying to install Auto Embed Video Clips v1.6 and getting these errors while installing thru packages.

Installations actions for "Auto Embed Video Clips":
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification install.xml Modification parse error
2. Execute Modification - Modification parse error


if I let it continue as it is.. It's doesnt work.. What should I do?

Please help me out
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: danishj on December 01, 2007, 07:50:07 AM
My Problem has bee resolved :)


Great MOD :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Scanlite on December 01, 2007, 02:26:09 PM
Karl
I just wanted to take time out to thank you for this update to this great package!
version 1.6has solved all my parse error messages it installed flawlessly & is working beautifully!

thank you very much indeed!
your a real star!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 01, 2007, 03:24:03 PM
Thanks Scanlite, I appreciate it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on December 02, 2007, 08:04:17 PM
i got something to report..... :P

when i post a stage6 link the embing does not work.

wait a minute i see why.

the website domain changed from http://stage6.divx.com/ to http://www.stage6.com/

so we are going to need a update. :o
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 02, 2007, 09:38:23 PM
Indeed it appears they have changed.

I'll update the mod tomorrow to support both new types (and old for any remaining links on your forum)
+ I'll go back through the topic since 1.6 to fix/add stuff (eg youtube rss alternative link)

Thanks (it also means I'll have to update my Stage6 mod aswell)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ch4rOon on December 03, 2007, 10:01:54 AM
Great mod either ! :) most usefull.
Is it possible to incluse dailymotion link ? It's one of the most used in europe as google vidéo and youtube.
It'll be an important "plus value" to your mod i suppose ;)
In case :
Normal link : http://www.dailymotion.com/video/x3gqd6_best-of-emission-12-novembre_fun

Embed link :
<div><object width="425" height="335"><param name="movie" value="http://www.dailymotion.com/swf/4jP5s3lsI6vbzopV8"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.dailymotion.com/swf/4jP5s3lsI6vbzopV8" type="application/x-shockwave-flash" width="425" height="335" allowFullScreen="true" allowScriptAccess="always"></embed></object><br /><b><a href="http://www.dailymotion.com/video/x3gqd6_best-of-emission-12-novembre_fun">Best of emission 12 Novembre</a></b><br /><i>envoy&eacute; par <a href="http://www.dailymotion.com/lemurinfernal">lemurinfernal</a></i></div>

Thx a lot for the time you've passed on...You're the one ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on December 03, 2007, 10:06:25 AM
QuoteNote: Before you request that this mod support another popular video clip site, it is NOT possible to add support for the following sites because the video id/filename in the embed code is not the same as in the url.
Dailymotion, Godtube, Megavideo, Mofile.com, Uncut.aol.com, break, ebaumsworld, mp3tube, garagetv.be, youporn, 56.com
& Yahoo just won't work without a special code.

Read the first post before you ask.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on December 03, 2007, 10:30:00 AM
i think this mod should have support for BlipTV (http://blip.tv/) too. :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 03, 2007, 12:49:09 PM
Blip.tv will NOT work with this mod.
For the same reason as why Dailymotion can not be included.

I had already tried it in the past when someone requested it, but I added it to the list of those which don't work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on December 03, 2007, 02:43:48 PM
Quote from: karlbenson on December 03, 2007, 12:49:09 PM
Blip.tv will NOT work with this mod.
For the same reason as why Dailymotion can not be included.

I had already tried it in the past when someone requested it, but I added it to the list of those which don't work.


alright. just gonna have to emb via flash. :P

EDIT:
stage6 has a second domain its http://stage6.com/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 03, 2007, 03:23:11 PM
Indeed, stage6 has been fixed in a 1.7 which i'm working on which adds support for many new sites.

I've even managed to get a couple working which didnt previously..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on December 03, 2007, 03:25:19 PM
Quote from: karlbenson on December 03, 2007, 03:23:11 PM
Indeed, stage6 has been fixed in a 1.7 which i'm working on which adds support for many new sites.

I've even managed to get a couple working which didnt previously..

what video sites?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 03, 2007, 04:03:57 PM
details will be posted later as they are subject to change.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on December 03, 2007, 04:22:18 PM
Quote from: karlbenson on December 03, 2007, 04:03:57 PM
details will be posted later as they are subject to change.

ok. :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aileen on December 05, 2007, 07:00:59 PM
This is very nice mod. Is it possible to post a link after each video?

Lets say a link below the video linked to a thread on how to post a video clip in the forum?


thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: chadon on December 05, 2007, 08:12:51 PM
This is a great mod but it doesn't work for what I want to do with it. Do you have any date for a next release to have both youtube URLs converted? Or is there an easy modification for that?
http://www.youtube.com/watch?v=Hbn9NG1VhPw (working)
http://www.youtube.com/?v=Hbn9NG1VhPw (Not working)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on December 05, 2007, 09:09:56 PM
Quote from: chadon on December 05, 2007, 08:12:51 PM
This is a great mod but it doesn't work for what I want to do with it. Do you have any date for a next release to have both youtube URLs converted? Or is there an easy modification for that?
http://www.youtube.com/watch?v=Hbn9NG1VhPw (working)
http://www.youtube.com/?v=Hbn9NG1VhPw (Not working)


the video link is http://www.youtube.com/watch?v=Hbn9NG1VhPw

NOT http://www.youtube.com/?v=Hbn9NG1VhPw

when i click that second link it turns into:
http://www.youtube.com/watch?v=Hbn9NG1VhPw

so that is not a REAL youtube link.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 06, 2007, 12:00:49 AM
Sorry I havent posted the new version so far, however for 2 days I've been unable to browse smf and half the video clip sites due a failure/timeout at the London Internet Exchange (LINX)

The youtube format
http://www.youtube.com/?v=Hbn9NG1VhPw
will be supported in the next version.

@will888
Most people (including me) have explained the details in an announcement post on our forums.
I don't really forsee adding link/information, although it would be possible for your to customize the mod (as with any mod)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 06, 2007, 01:21:06 AM
Ok, here is what I've been working on.  Support for 17 new sites.
I've gone through every site I said couldn't be added and managed to get some of them to work.
The list of those which won't work has also been update (see the mod info)

1.7 - 6th December 2007
o Added support for new-style Stage6 urls (they changed them)
o Added support for new-style YouTube rss links
o Added support for 17 new video sites.
- AOL Uncut, AtomFilms, AtomFilms Uploads, Dave.tv, ESPN, Godtube, Koreus, LiveVideo, Megavideo, MSN Live/Soapbox Video, Mofile, OnSmash, Streetfire.net, videotube.de, VidMax, Yahoo (Except HK), Yahoo HK Only
For the full changelog for previous versions please see changelog.txt
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: haiwasnm on December 06, 2007, 08:53:46 AM
Hi,karlbenson
I post link like this:
Quotehttp://www.youtube.com/watch?v=vId30c0D3
http://www.tudou.com/programs/view/u28CpXSnlNc/
but it con't working in my forum.
Auto Convert Links to be enabled
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on December 06, 2007, 09:14:42 AM
It works on mine. Are other video sites working?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Canuck on December 06, 2007, 09:55:24 AM
Stage6 does not work for me.

Only works if I remove the www  ???
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 06, 2007, 10:01:19 AM
1) Can you make it so when you do [noembed] the link is actually clickable?

2) When you want to delibretly link some text to a video, it just converts everything into a video embed. I think this is bad as often the user might write several paragraphs but it would end up being totally broken up with a huge ugly video embeded in it.

Example where the anchor text just turns into a video,
[url=http://stage6.divx.com/user/spiteyourface/video/1778401/Spider-Man:-The-Peril-of-Doc-Ock,-alt-ending]Spider Man: The Peril of Doc Ock[/url]

3) Please include the parameter found here (http://www.stage6.com/forum/722/2896/) that prevents the embedded Stage 6 videos from playing automatically on page load. Otherwise, it can be incredibly annoying every time you visit a page but are not intending on viewing the video again.

'extraparams' => array(
'custommode' => 'false',
'showpostplaybackad' => 'false',
'autoPlay' => 'false',
),


4) Same problem as above in v1.7 - Stage6 with their new domain only embeds without the www.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on December 06, 2007, 12:26:53 PM
1. As a workaround, you can do this:

[noembed][url]http://www.moviesite.com/?vIdEOcoDe[/url][/noembed]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mbn02 on December 06, 2007, 01:43:15 PM
awesome work karlbenson, updating now!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on December 06, 2007, 04:54:25 PM
awesome!

thanks for the update! :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 06, 2007, 06:31:17 PM
Quote from: weightman on December 06, 2007, 12:33:20 PM
karlbenson,

You are simply amazing to update this mod so quickly and frequently. Should I uninstall old version before installing new? Seems like the obvious answer is yes but wanted to make sure...

THANKS!
Yes, that's the correct procedure.

Quote from: Eliana Tamerin on December 06, 2007, 12:26:53 PM
1. As a workaround, you can do this:

[noembed][url]http://www.moviesite.com/?vIdEOcoDe[/url][/noembed]
Thanks, hopefully it gets implemented into the mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: iPivot on December 06, 2007, 07:25:13 PM
YouTube Canada is also missing.

The links are VERY similar:

http://www.youtube.com/watch?v=vId30c0D3 (Global)
http://ca.youtube.com/watch?v=vId30c0D3 (Canada)

If they are already in the new version, tell me, because I don't want to sound stupid.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aileen on December 06, 2007, 08:18:48 PM
Quote from: karlbenson on December 06, 2007, 12:00:49 AM
Sorry I havent posted the new version so far, however for 2 days I've been unable to browse smf and half the video clip sites due a failure/timeout at the London Internet Exchange (LINX)

The youtube format
http://www.youtube.com/?v=Hbn9NG1VhPw
will be supported in the next version.

@will888
Most people (including me) have explained the details in an announcement post on our forums.
I don't really forsee adding link/information, although it would be possible for your to customize the mod (as with any mod)

thanks karl, I just dont know what file to edit since I made instructions on how to post a video on the forum but seems no one is reading the post in my forums.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 06, 2007, 11:59:22 PM
@haiwasnm
The youtube link is invalid, thats why that won't convert
The tudou one works for me.

@Canuck 
Stage6 and www. is fixed in v1.8

@mark1744
1. The links not being auto converted between [noembed] tags is todo with smf.
I did try to figure out why when making the mod, but couldn't.  I do believe if you add a space before the url inside the tag will enable it to be converted. alternativelly a line break.

2. Use [noembed] for anything you don't want embedding. It can be chunks or bbcode/text.

3/4. Stage6 fixed, thanks

@mbn02 & nick09
Thanks.

@iPivot
Youtube Canada wasn't on their list the last time I checked, but they have been steadily adding more and more localised versions.  After you spotted it, I've added it to v1.8

@will888
The function for the mod is contained in Subs.php file and at the bottom of the parse_bbc function.
I am unable to provide support to provide exact details on how to customize/add bits. I just don't have the time I'm afraid.

@ New version. Yes it doesnt contain an upgrade.  Uninstall reinstall.

1.8 - 7th December 2007
o Fixed Stage6 with www. & added autoplay=false param
o Added support for Youtube Canada
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 07, 2007, 02:53:08 AM
Nice one karl :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on December 07, 2007, 01:23:27 PM
I installed v1.8 - now every written Text disappeared in my forum - i needed to downgrade.
Topics are still available - but they all had no Content  :o

2: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Compilation failed: unmatched parentheses at offset 49
Datei: /orum/Sources/Subs.php
Zeile: 3033


But i don't have line 3033 anymore - if you need it i could reinstall it - i got this error on ~100 Errorpages during the same second.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 07, 2007, 02:11:30 PM
Interesting... I'll wait for Karl's reply 'till I upgrade.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on December 07, 2007, 02:45:11 PM
I reinstalled it to show - here my line 3033:
$message = preg_replace($pattern, $object, $message, $autoembedmax, $count);
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: politirant on December 07, 2007, 03:02:19 PM
thanks for this mod karl and all your updates -- it's been great

unfortunately i too am having a bit of a problem with version 1.8

now that i've installed it, i get a message stating:

"Warning: preg_match_all() [function.preg-match-all]: Compilation failed: unmatched parentheses at offset 49 in subs.php" on line 2685

any thoughts on what this might be? thanks again
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: memo on December 07, 2007, 04:33:18 PM
Hi

Installation of this Mod was ok. But after that ALL my post are empty! I see nothing. When i click to edith the posts are still there. After uninstall of the mod all is fine.
Do you have an idea?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 07, 2007, 05:10:56 PM
I'll investigate it right now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 07, 2007, 05:27:03 PM
Sorry folks.  My fault completely.
Between re-testing the package and re-packaging the mod some extra characters got placed in the code.

Another day, another bug fix release.

Anyone using v1.8 should upgrade asap. v1.8 is nuked.

1.9 - 8th December 2007
o Fixed v1.8 Stage6 bug causing errors/missing data.
For the full changelog for previous versions please see changelog.txt
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: politirant on December 07, 2007, 05:44:15 PM
thank you karl, the new version works great! no more error messages and the videos work perfectly  :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 07, 2007, 05:45:41 PM
Thats good to know.

Panic over ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on December 07, 2007, 06:49:02 PM
YES!!!!!

i can see STAGE6 now!

thanks! :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 07, 2007, 06:50:37 PM
Finally I can let you guys watch some video clips. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 08, 2007, 01:35:48 AM
Thanks again! I installed the new version with no issues!

U Da The Man!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on December 08, 2007, 09:05:35 AM
One thing I have noticed is video.google list stuff from youtube, so on google they play fine within the video.google site, but will not play when I paste the code.
The cure of course is to use part of the code from the embed section or just search the title in yourtube and paste that code, job done!
E.g. this is a yourtube clip on google, these don't work for me! http://video.google.co.uk/videoplay?docid=-565289577275338579

Not really a problem as all the links are over on yourtube!
As said before, great mod  8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on December 08, 2007, 09:10:58 AM
Quote from: Jaba on December 08, 2007, 09:05:35 AM
One thing I have noticed is video.google list stuff from youtube, so on google they play fine within the video.google site, but will not play when I paste the code.
The cure of course is to use part of the code from the embed section or just search the title in yourtube and paste that code, job done!
E.g. this is a yourtube clip on google, these don't work for me! http://video.google.co.uk/videoplay?docid=-565289577275338579

Not really a problem as all the links are over on yourtube!
As said before, great mod  8)

thats like a page with a iframe made to show the youtube video.

i don't think its possible.......but who knows?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 08, 2007, 10:56:12 AM
Hey Jaba, thanks for bringing it to my attention.
There isn't really anything that I can add to this mod to safely detect youtube vids on google video.

The only thing i can recommend is hitting the Remove Frame link in the top right before copying the url.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on December 08, 2007, 12:52:48 PM
You're welcome karlbenson.
Yeah Remove Frame option is the way to go and does the job. I guess I was too busy looking at the vids to notice that option lol

Would it be possible to add an option for setting the frame size when posting  ???
At the moment I use your other MOD's for this for YT and VG!
Or maybe an Admin option to set for all sites.
Anyway I'm sure I can have a go by editing Subs.php if there are a few sites I would like always to run a bigger frame.

Cheers again. I love dragging links in and have them playing in seconds  8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on December 08, 2007, 02:12:45 PM
Yeah, it's in the subs file.

Find this:
$embed[] = array(
'name' => 'YouTube',
'enabled' => 1,
'pattern' => 'http://(?:(?:www|uk|fr|ie|it|jp|pl|es|nl|br|au|hk|mx|nz|de)\.|)youtube\.com/(?:(?:watch|)\?v=|v/|jp\.swf\?video_id=)([0-9A-Za-z-_]{11})(?:.*?)',
'embedlink' => 'http://www.youtube.com/v/$1',
'width' => '425',
'height' => '350',


And change these elements
'width' => '425',
'height' => '350',


You can do that for any of the videos.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on December 08, 2007, 02:19:42 PM
Thanx Eliana, already done a dusted  :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 08, 2007, 04:40:40 PM
My default the sizes are the default sizes of each site.

it isnt really practical to set a standard size because each video site uses different aspect ratios, have a different sized and shaped player.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Fallen Angel on December 08, 2007, 07:08:20 PM
I just love Version 1.9..  ;)

Just added it to my danish forum.



Thanx again for a GREAT MOD karlbenson
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aileen on December 09, 2007, 01:01:44 PM
Quote from: karlbenson link=topic=200401.msg1333164#msg1333164
@will888
The function for the mod is contained in Subs.php file and at the bottom of the parse_bbc function.
I am unable to provide support to provide exact details on how to customize/add bits. I just don't have the time I'm afraid.

Thanks karl,

Here is what I did

Look for in subs.php
// BUILD THE <OBJECT> FOR EACH VIDEO SITE
$object = '<object' .
' codebase="'.(empty($arr['codebase']) ? 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' : $arr['codebase'] ) .'" '.
( empty($arr['classid']) ? '' : 'classid="'.$arr['classid'].'" ' ) .
'type="'. (empty($arr['type']) ? 'application/x-shockwave-flash' : $arr['type'] ) .'" '.
( empty($arr['embedlink']) ? '' : 'data="'.$arr['embedlink'].'" ' ) .
'width="'.$arr['width'].'px" height="'.$arr['height'].'px">'.
'<param name="movie" value="'.$arr['embedlink'].'" />'.
'<param name="wmode" value="transparent" />'.
'<param name="allowScriptAccess" value="never" />'.
( empty($arr['extraparams']) ? '' : $arr['extraparams'] ) .
'<param name="pluginspage" value="'.( empty($arr['pluginspage']) ? 'http://www.macromedia.com/go/getflashplayer' : $arr['pluginspage'] ) .'" />'.
'</object>';


Replace with
// BUILD THE <OBJECT> FOR EACH VIDEO SITE
$object = '<object' .
' codebase="'.(empty($arr['codebase']) ? 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' : $arr['codebase'] ) .'" '.
( empty($arr['classid']) ? '' : 'classid="'.$arr['classid'].'" ' ) .
'type="'. (empty($arr['type']) ? 'application/x-shockwave-flash' : $arr['type'] ) .'" '.
( empty($arr['embedlink']) ? '' : 'data="'.$arr['embedlink'].'" ' ) .
'width="'.$arr['width'].'px" height="'.$arr['height'].'px">'.
'<param name="movie" value="'.$arr['embedlink'].'" />'.
'<param name="wmode" value="transparent" />'.
'<param name="allowScriptAccess" value="never" />'.
( empty($arr['extraparams']) ? '' : $arr['extraparams'] ) .
'<param name="pluginspage" value="'.( empty($arr['pluginspage']) ? 'http://www.macromedia.com/go/getflashplayer' : $arr['pluginspage'] ) .'" />'.
'</object> WHATEVER YOU HTML WANT TO PLACE';



THis is really a great mod
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gmvasco on December 09, 2007, 03:05:34 PM
If possible, please add http://videos.sapo.pt . It's Portugal's biggest video site, and I know two big forums who would like to use this mod if it is supported.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on December 09, 2007, 03:16:41 PM
Quote from: gmvasco on December 09, 2007, 03:05:34 PM
If possible, please add http://videos.sapo.pt . It's Portugal's biggest video site, and I know two big forums who would like to use this mod if it is supported.

yes it would work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 09, 2007, 05:11:21 PM
@will888

In the new versions be careful, because the <object> is used by Non-Mac IE only.

@gmvasco
videos.Sapo.tv can be supported (I provided instructions previously for someone to add it).
I will look to add support in the next version.
However they have sub-sections on their site which cannot be supported, one of which was their football clips section.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kimmie on December 09, 2007, 09:37:12 PM
I noticed on the mod download page that it "Requires: Auto Convert Links to be enabled. (via Admin > Posts & Topics)". I Just wanted to let you know that I installed this mod but it didnt install the section in the admin panel under Posts and Topics - which was ok because it still works. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 09, 2007, 09:45:43 PM
Kimme.

The mod will only active hyperlinks. (eg clickable)
So if users use [url] it will work, but if they just post a straight link into posts, it won't be converted to an active link and therefore won't convert.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: endiZ on December 10, 2007, 12:27:59 AM
Hello, great concept.. but I can't seem to get the mod to work.

I have it installed, and "Automatically link posted URLs" is enabled in BBCode settings.

Is there something else I must enable?

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kimmie on December 10, 2007, 01:20:29 AM
Quote from: karlbenson on December 09, 2007, 09:45:43 PM
Kimme.

The mod will only active hyperlinks. (eg clickable)
So if users use [url] it will work, but if they just post a straight link into posts, it won't be converted to an active link and therefore won't convert.

I dont have to use the [url] code. I just insert the link into the post (from the address bar) and it works. Are you saying its not supposed to do that? I'm confused..lol.

I was just letting you know that it doesnt install the part in the admin section where you are supposed to go to "enable" the feature but it works without it so its all good.  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Fallen Angel on December 10, 2007, 05:53:21 AM
Question;

Is it posible to watch movie trailers in this mod also? Like from http://movies.go.com/movie_trailers and http://movies.yahoo.com/trailers/ ?????
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: flame baiter on December 10, 2007, 08:10:43 AM
Is http://www.streetfilms.org/ already added?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ch4rOon on December 10, 2007, 11:12:01 AM
Thx a lot Karlbenson ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: sk8agrrl on December 10, 2007, 06:03:24 PM
I installed it but cant get it to work. I cant find the Auto Convert Links option (its not in the posts and topics section) Found it, it was already checked but it still doesnt work - it just gives me a link to the youtube page the vid is on...

I dont have any other mods installed at this time.

any ideas what i can do to get it working?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 10, 2007, 06:18:36 PM
What is the YouTube link your trying to link to?

It maybe the link is either invalid? or a new-style format?
Are you viewing in a regular browser?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 10, 2007, 06:23:17 PM
@flame baiter  & Fallen Angel
Those sites are currently not supported.
I will to add them in future.

@ ~ Everyone ~
I had a suggestion of doing an Audio add-on mod.  Eg a separate mod to add some audio clip sites into the mod.
Eg Seeqpod.  Thoughts?  Useful/Bloat/Needed?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ch4rOon on December 10, 2007, 07:29:12 PM
Quote@ ~ Everyone ~
I had a suggestion of doing an Audio add-on mod.  Eg a separate mod to add some audio clip sites into the mod.
Eg Seeqpod.  Thoughts?  Useful/Bloat/Needed?

Year ! It must be very usefull in a music section ... Great idea !  :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 10, 2007, 08:04:33 PM
anyone know of any other flash music sites then that allow embedding?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 10, 2007, 08:35:28 PM
karlbenson,

I LOVE all your mods! I am asking to understand. What exactly would your mod do that the mp3 Flash Player BBC Tag mod won't?

Thanks!!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 10, 2007, 08:50:05 PM
Well it wouldn't support mp3s. I'm talking about sites which have flash players to embed music

- No BBCode, just post a straight link like http://www.seeqpod.com/music/?plid=0089e99fc6
- Security (only embed links from supported sites)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 10, 2007, 09:56:40 PM
LOL!!!!!!!!!!!!!!

Cool. I am all for it, though my site isn't music oriented.

U Da Man!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on December 10, 2007, 10:32:21 PM
Try radioblogclub.com.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: elfreakz on December 12, 2007, 04:12:55 AM
works perfect!! thanks for the mod :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: write on December 12, 2007, 05:53:03 AM
can you please make it work on 1.1.4 please? .... 'cause i get this error when i try to aply it "Modification parse error" .....
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 12, 2007, 07:35:22 AM
The mod is DESIGNED for 1.1.4.

Modification Parse Error is not an issue with this mod, but your CHMOD permissions on the packages folder and/or the files which this mod alters.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: write on December 12, 2007, 07:45:16 AM
i thought so .... i guess something stopped the chmod process when i tried... thnx though
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 12, 2007, 07:47:50 AM
See whether this topic helps
http://www.simplemachines.org/community/index.php?topic=200213.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 12, 2007, 10:25:49 AM
Hulu (http://www.hulu.com/) (Fox/NBC) is likely to be huge when it goes public so might be an idea to get this mod to support it now.

Example of an embed: http://www.openhulu.com/TheOffice/theoffice4_episode4.html

Sorry if this isn't enough info to add it to the mod, maybe we will have to wait for public release.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 12, 2007, 05:28:21 PM
It won't be possible to support Hulu it because their embed filename is
http://www.hulu.com/embed/8EDlli9Bze6pJN_eItIYT3ZN3lHQPtHH
Where as the link is
http://www.openhulu.com/TheOffice/theoffice4_episode4.html
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 13, 2007, 04:53:48 AM
That's such a shame, hopefully that will change as they further work on it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on December 13, 2007, 08:27:22 AM
Probably when Hulu goes public, they would be able to.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 14, 2007, 04:54:28 AM
Is there any possibility of supporting BBC's iPlayer?

Page with video (http://www.bbc.co.uk/iplayer/page/item/b008d7dc.shtml?filter=txdate%3A14-12&filter=txslot%3Aevening&scope=iplayerlast7days&start=1&version_pid=b008d700)

Link format: http://www.bbc.co.uk/iplayer/page/item/b008d7dc.shtml
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 14, 2007, 05:28:07 AM
It doesn't look like they allow you to embed, only link to pages.
And from the source code, they use a special javascript to embed the video which may not be possible.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 14, 2007, 07:43:25 AM
Ah well, it's very new so hopefully they will in the future.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: chadon on December 14, 2007, 07:47:18 AM
What about webridestv.com?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Fallen Angel on December 14, 2007, 08:00:37 AM
Quote from: write on December 12, 2007, 05:53:03 AM
can you please make it work on 1.1.4 please? .... 'cause i get this error when i try to aply it "Modification parse error" .....


Works perfect on my forum SMF v. 1.1.4 with Dilber MC theme.....
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Matthew Schenker on December 15, 2007, 09:02:27 AM
Can someone help me?

I really want to install "Auto Embed Video Clips," but I need to uninstall two previous video-embedding modifications:
- YouTube BBC Tag
- GoogleVideo BBCode by Yakuza

I'm having a problem uninstalling the "GoogleVideo" modification.  In my Package Manager, the modification is listed but there is no option to uninstall it!  There is only an option to delete it, which will not uninstall it.

I need to take care of this to install your modification, so I'm wondering if someone can give me a pointer here!

Thanks,
Matt
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TrueSatan on December 15, 2007, 09:07:34 AM
Replied to on your posting to the mod in question.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Matthew Schenker on December 15, 2007, 09:08:32 AM
TrueSatan,
Thanks for your help!  I always feel safe when you are around!!
Matt
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: lordlol on December 16, 2007, 05:35:11 AM
Hi guys.
Yes, i allready read some guides about those mods.
But it's still not working.
I uploaded all the files in the mod-folder to my Packages folder in the web.
Now i went to www.domain.com/forum/Packages/install.xml
The only thing that happened is:

"−
   <modification>
<name>Auto Embed Video Clips</name>
<id>karlbenson:autoembedvideoclips</id>
<version>1.9</version>
<homepage>http://www.youposted.com</homepage>

   <file name="$sourcedir/Load.php">

   <operation>

   <search position="after">
$profile['signature'] = parse_bbc($profile['signature'], true, 'sig' . $profile['ID_MEMBER']);
</search>
<add>
         $context['disableautoembedvideo'] = 1 ;
</add>
</operation>
</file>

   <file name="$sourcedir/Subs.php">

   <operation>

   <search position="before">
$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '' => "\n"));
</search>

   <add>......."

i saw this and it said that it displays this because no Stylesheet-file is shortcutted with this.
Well yes im new but it would be realy nice if you could help me ♥


Thanks in advance,
lordlol.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 16, 2007, 05:43:10 AM
lordlol
There is no need to extract the files from the mod package.

To install a mod (preferred/best method)
Download mod to your pc from the mod site
Goto your SMF site and
Click 'Admin' tab > Click 'Package Manager' (from the left menu)

From the horizontal tab strip click 'Browse packages'

Upload the mod file and install.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: lordlol on December 16, 2007, 05:55:42 AM
Quote from: karlbenson on December 16, 2007, 05:43:10 AM
lordlol
There is no need to extract the files from the mod package.

To install a mod (preferred/best method)
Download mod to your pc from the mod site
Goto your SMF site and
Click 'Admin' tab > Click 'Package Manager' (from the left menu)

From the horizontal tab strip click 'Browse packages'

Upload the mod file and install.


Oh thanks m8, this is just godly ♥♥♥
Didnt know something like this did exist.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 16, 2007, 05:57:17 AM
For future reference please note,
This mod is unlike most other mods in that since it doesnt make any template change it doesnt require theme edits.

For other mods on themes other than SMF Default Core Theme, some manual edits may be required.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Basie on December 16, 2007, 01:25:41 PM
I'm interested in  installing this mod, but I have a couple of questions...

1) If you open a post which has an embedded video will the video automatically begin to download? If this is the case can this be disabled, as it would be unsuitable for users with a slow connection.

2) Is there an option to NOT have the links embedded by default, but allows users to add bbcode - such as [embed] [/embed] if they wish to embed. I know there is [unembed], but I kind of want the opposite.

Thanks. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on December 16, 2007, 01:30:42 PM
1) The videos don't automatically start, but there is a bit of a download when the video is fetched. It might be best to restrict the use of direct-link videos to one thread or forum, warn dialup users about that one place, and then force the [noembed] tags on everywhere else.

2) No. That would be done by the individual BBC mods like the Youtube BBC mod, Stage6 BBC mod, etc.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Basie on December 16, 2007, 01:37:34 PM
Quotebut there is a bit of a download when the video is fetched.

Yeah, this is what I was talking about. It would be a nightmare for users with slow connections, so unless there is a way to prevent this from happening automatically then I guess I won't be able to use this mod.

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on December 16, 2007, 01:49:44 PM
Quote from: seek2501 on December 16, 2007, 01:37:34 PM
Quotebut there is a bit of a download when the video is fetched.

Yeah, this is what I was talking about. It would be a nightmare for users with slow connections, so unless there is a way to prevent this from happening automatically then I guess I won't be able to use this mod.

Thanks.

I'm pretty sure he can make it so it requires bbcode.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on December 16, 2007, 03:34:20 PM
That would defeat the purpose of the Auto Embed Video Clips mod. Karl's already made a bunch of video site bbcode mods. Just search for them on the mod site and download them.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 17, 2007, 03:00:41 AM
I think seek2501's questions have been pretty much answered by Eliana and Nick09.

The mod is designed so it does NOT use bbcode.
If you only want videos embedded where bbcode is used then try one of the many bbcode clip mods.

I didn't really want to add any bbcode to this. But [noembed] bbcode was the only way I could think of to tell the post not to embed this clip.

I definately do not intend adding [embed] bbcode.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Matthew Schenker on December 17, 2007, 12:25:35 PM
This is a great modification!  Previously, I had the Youtube and Google video modifications installed.  This makes adding videos way easier.

But I have one quick question: what about the videos my members previously inserted using the old modifications?  I noitice that they now show up in posts with the BBC code as a message.

For examople, a Youtube video that was inserted with BBC code still gets displayed like this:
[youtube=425,350]http://www.youtube.com/watch?v=cZNJpqto-3Y[/youtube]

Is there a way to make this new modification recognize the previously inserted videos that used BBC code?  Or do members have to go in and manually remove all the BBC video references in their posts?

Thanks,
Matt
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on December 17, 2007, 12:56:27 PM
Are your youtube and google video mods uninstalled?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Bigguy on December 17, 2007, 01:23:31 PM
Members have to go in and manually remove all the BBC video references in their posts
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Webbyman on December 17, 2007, 09:21:34 PM
(nobody shout at me)

Karl,

Is there an easy way to add code to display other video sites within this mod?

You know like the ones with 'red' or 'x' at the beginning of the title?

I'm looking to add code to the file, not sure how it will come out, as obviously some sites just don't work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on December 17, 2007, 10:08:30 PM
I believe some x-rated sites area already included, but hard-coded disabled in the mod on installation. You'll need to modify the mod code to access them. Otherwise, he does have a tutorial of sorts in his mod files, you can take a look at that first.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: FataMorgana on December 18, 2007, 04:11:54 AM
Can there be a max of embedded video's in one topic?
I'm searching why the last few movies in the topic:
http://www.croatiahrvatska.nl/forum/index.php?topic=322.msg1607;topicseen#new (http://www.croatiahrvatska.nl/forum/index.php?topic=322.msg1607;topicseen#new)
don't show up...
First used version 1.6, now after finding this topic 1.9 but it's the same.
Code works, links are fine. Address just YouTube... Can't find it...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 18, 2007, 04:37:08 AM
@Matthew Schenker
For the moment the only solution to old bbcoded youtube links is to edit them.

@Webbyman
I did consider at one point adding some 'porno' sites and was going to disable them by default.
However out of the dozen or so pornoclip sites I tried, only 1-2 of the lesser known sites would work.
In the end I opted to keep the mod clean.

@FataMorgana
The reason your links are not showing is that the default limit is 12 embedded objects PER page.
You can alter the limit in the code (see the readme/first page of this topic for how to)
However it is NOT recommended, just viewing that page in Firefox almost caused it to crash. (Too many flash objects is bad for your health).

It would not be practical to do a limit per topic instead because it would involve many queries and would affect performance.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Richard Wing on December 18, 2007, 07:08:08 AM
Karl,

My Load.php file has this:

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

I am having to manually add this line into the load.php file...

$context['disableautoembedvideo'] = 1 ;

Do I add it on the next line after the above referenced line?

$modSettings['allowedFlashGroups']));

When an xml mentions search position AFTER does that mean to add in the code after the code referenced in the install.xml for that file?


<file name="$sourcedir/Load.php">
<operation>
<search position="after"><![CDATA[$profile['signature'] = parse_bbc($profile['signature'], true, 'sig' . $profile['ID_MEMBER']);
]]></search>
<add><![CDATA[
$context['disableautoembedvideo'] = 1 ;
]]></add>


Thanks,
Richard Wing
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 18, 2007, 07:12:02 AM
Its confusing, but in this format of xml AFTER means BEFORE. and vice versa.

It would not matter whether $context['disableautoembedvideo'] = 1 ; was on the line before or after $modSettings['allowedFlashGroups']));

Just as long as its before the
$profile['signature'] = parse_bbc

For your information, $modSettings['allowedFlashGroups'])) will NOT be taken into account by the AEVC mod. All users can embed the clips.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Richard Wing on December 18, 2007, 07:23:40 AM
Thanks Karl,

I cant see the option in the post topics to check off the auto embed. Where would I see it on that page? under which other option?

Thanks,
Richard Wing
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 18, 2007, 07:25:26 AM
Do you mean checking auto Convert urls?

Admin > Posts & Topics > Bulletin Board Code 'tab'
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Richard Wing on December 18, 2007, 07:33:10 AM
Your front page description indicates Admin > Posts & Topics

I was looking on that page.

On the Bulletin Board Code 'tab'

I see this option...

Automatically link posted URLs:

Is that it?

I was looking for something that referred to video urls.

On a side note does this work with the anon mod you put out so that we can use both mods on the forum?

Thanks again for your prompt responses.

Richard Wing
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 18, 2007, 07:54:01 AM
Sorry Yes it is that.

Yeah the description in the readme is incorrect/confusing. (my fault for not checking).
That setting is part of smf, and not added by this mod.

What that setting does is convert urls in posts where bbcode [url] and [iurl] was NOT used to active urls.
Those links will then be converted by the auto embed mod (since the mod only auto embeds clips from ACTIVE links).

Hopefully thats a bit clearer. I'll try to fix the wording/description in the next version.

As for anonymize mod.  I have not tested it.
But versions 2.0 of anonymize mod and onwards should work.  The links should have been converted into embedded objects BEFORE the anonymizing function. (v1.x versions of the anonymize mod [when it was referred to as anonym.to mod]probably won't work).

If you try it and it doesnt work let me know.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Richard Wing on December 18, 2007, 08:00:56 AM
Thanks for the clarification and again the prompt response. I will test the anonymize in a few.

Richard Wing
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Matthew Schenker on December 18, 2007, 10:03:16 AM
Quote from: Bigguy on December 17, 2007, 01:23:31 PM
Members have to go in and manually remove all the BBC video references in their posts

Oh, I was so hoping for a different answer!  Does anyone know any tricks for searching and replacing BBC code?
Thanks for the great work!
Matt
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on December 18, 2007, 12:55:52 PM
You can try downloading your database, searching and replacing the
tags with nothing, and then reuploading it. But you'd probably have to take your forum offline for that, otherwise new posts would get deleted.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on December 18, 2007, 05:21:02 PM
you will just have to do it the hard way edit the posts. :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 19, 2007, 03:38:54 AM
Hold on Nick.

Maybe there is something I can add in this mod for the next version. It won't be this week. (I'm too busy with half a dozen other mods which I am working on)
And I need some time to think of the best way to do it.

Just hold off.

Since its my mod which is making bbcode video mods obselete (including my own). Maybe there is something I can do.
But it won't be support for [youtube] bbcode.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Matthew Schenker on December 19, 2007, 09:13:40 AM
Quote from: nick09 on December 18, 2007, 05:21:02 PM
you will just have to do it the hard way edit the posts. :P

Well, that won't happen, since my forum has loads of videos.  I think I'll just wait and see if karlbenson, the hard-working developer, can come up with a fix for this!

Quote from: karlbenson on December 19, 2007, 03:38:54 AM
...Since its my mod which is making bbcode video mods obselete (including my own). Maybe there is something I can do.  But it won't be support for [youtube] bbcode.

Do you mean the [youtube] stuff will always have to be fixed manually?

I really like the concept of this modification, so I'm rooting for you!

Thanks for all your hard work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on December 19, 2007, 10:45:09 AM
My guess is he might include a database script that would check through and wipe all occurrences of the [youtube], etc, codes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 19, 2007, 11:26:27 AM
It's also very important that this mod add-on will auto correct posts that try and use the 'youtube' tag - many of my users still use them even though I've told them they don't need to.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 19, 2007, 11:38:21 AM
What I meant when I said "But it won't be support for
closing tag.

But I don't want to be including direct Youtube bbcode support.
Eg So I won't be converting
into an embedded video.

If a FULL url was used between the bbcode then without me doing anything it would automatically get embedded by this mod).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dxyy on December 27, 2007, 02:04:38 AM
Two quick questions that I couldn't find the answer to after skimming through this thread.

I already installed this mod, but I used to have the "YouTube BBC Tag (XHTML Compliant)" mod installed before I upgraded to 1.1.4. After I upgraded I decided to go with this mod since it seemed easier for my members to use. Anyway, now in quite a few places I just have something like [youtube=425,350]pARWwOkED5U[/youtube], but the video of course is not displayed. If I reinstall the old mod, can these two work together?

The second question is, is it possible to disable embedding when you link to a youtube video. For example in a thread I wanted to link to a youtube video like this: NSFW (http://www.youtube.com/watch?v=lgyIv4U1ok4), but that also embedded the video on my forum rather than being displayed like it is in this post. Hope this makes sense. :P

Anyway some guidance on these two things would be much appreciated.

Thank you. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 27, 2007, 06:57:48 AM
Hugo.

YouTube bbcode mods WILL work with this mod.

Note however, all the other YouTube bbcode mods EXCEPT mine were removed from SMF mod site because they contained a XSS exploit.

My YouTube mod works exactly the same as the old XHTML compliant mod (except with MORE functionality), so I would recommend installing that rather than the old youtube mods http://custom.simplemachines.org/mods/index.php?mod=936

To prevent blocks of paragraphs from converting use [noembed] bbcode.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Stelko on December 27, 2007, 09:20:31 AM
Great mod but pls add support with http://www.vbox7.com/ tnx  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: S1L1C0N on December 27, 2007, 11:48:15 AM
Somehbow youtube videos now show as being not available even tho they are still there.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: S1L1C0N on December 27, 2007, 11:55:19 AM
Scratch that, It says that when the uploader disables embedding on their video.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 27, 2007, 12:08:11 PM
Yeah theres nothing I can do if the uploader decides to disallow embedding.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xarcell on December 27, 2007, 10:20:58 PM
would it be possible to add gametrailers to the list?

http://www.gametrailers.com/remote_wrap.php?mid=29246
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 28, 2007, 08:30:58 AM
Gametrailers is already supported, although that style/format of link you posted is new to me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: humbleworld on December 29, 2007, 01:54:47 AM
Karl Benson, a million thanks to you for this MOD. It works perfectly in all my sites. I can't thank you enough for this MOD. God bless you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on December 29, 2007, 02:10:40 AM
i know i posted this in your other Remove images in quotes, but i thought i would post it here be cause it is relavant.


is there anyway in your next version, to make it so that if a url to video is quoted, that it is not automatically embedded?




Thanks,
Brandon
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 29, 2007, 09:24:22 AM
Indeed, I've already said I will disable auto conversion inside quotes.

You are right, its good to let the folks know here. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on December 30, 2007, 12:09:10 AM
ok sounds good. that'll make me a very happy SMF powered forum administrator.


thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Craw on December 30, 2007, 07:05:24 AM
I couldn't install this mod. When I try to click on the Download link in Admin > Packages > Download Packages it always gives me this error:
QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.

The only mod I have right now is Siteviews and I'm using the OverView theme.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Matthew Schenker on December 30, 2007, 07:59:20 AM
This is a great modification!  Thanks to karlbenson for yet another great improvement to SMF!!

Can you help me with one small issue?  I am uninstalling the old "YouTube BBC Tag (XHTML Compliant)" modification, but I am getting this error:
Execute Modification./Themes/default/Post.template.phpTest failed


I know this is not your modification, but to install yours I need to uninstall the old one, and the old modification is no longer listed in the SMF modifications pages.

Do you think it's safe to just go ahead with the installation even witih this error?

Thanks again for all your hard work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 30, 2007, 08:37:55 AM
Thanks for the comments.

No, it is NEVER safe to proceed with (un)instation when some elements have failed.  It could break your forum, or at least cause a mountain of errors.

The reason the old youtube mod was pulled from the mod site is because it contained an xss vulnerability (due to a bug in YouTube).  My youtube mods weren't affected, because they sanitized and parsed the data.

The best way to do it is to manually remove the mod.
Download the mod from your Packages/ folder to your computer
Then upload it to the package
Set it to uninstall.
And it will tell you what to do.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on December 30, 2007, 08:47:17 AM
Matthew

use this praser:
http://www.smfhacks.com/smf-package-parser.html

to uninstall the youtube mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kimmie on December 30, 2007, 11:25:46 PM
When I try to uninstall this mod, the stage6 mod, AND the youtube mod,  I get this error:


Error in Package Installation

QuoteAt least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

Execute Modification ./Sources/Subs.php Test failed

I am not installing it I am UN installing it..lol

Using that parser doesnt work....this is all it said when I tried to remove the youtube mod:

QuoteGeneral Package Information
This is general information about the package, such as the package ID and name.
Package ID: karlbenson:youtubebbcode
Package name: YouTube BBCode
Package version: 1.7
Package type: modification


Uninstallation instructions for SMF versions: Not defined
Files deleted
$themedir/images/bbc/youtube.gif will be deleted
Modifications to SMF files
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Bigguy on December 31, 2007, 03:22:52 AM
This is the wrong thread for that question. Can you please post in the mod authors thread for help on those individual mods. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 31, 2007, 09:07:09 AM
Which are these topics
http://www.simplemachines.org/community/index.php?topic=197280.0 (YouTube)
http://www.simplemachines.org/community/index.php?topic=197283.0 (Stage6)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: lendaurbana on December 31, 2007, 12:28:26 PM
Very very good yhank+s a lot man works 100%
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 31, 2007, 12:40:14 PM
Thanks, Lendaurbana
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kimmie on December 31, 2007, 06:30:28 PM
Quote from: Bigguy on December 31, 2007, 03:22:52 AM
This is the wrong thread for that question. Can you please post in the mod authors thread for help on those individual mods. :)

One of the ones that I listed is the mod in this topic.  ;)

Its all good.. I was able to get them all uninstalled fine.  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sakae on January 02, 2008, 07:09:35 AM
I was saving time to spend installing this mod on my vacation, when I realized it doesn't change any theme files at all!!!!!!

Silly me, silly me... LOL!

Another great job, Karl...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: jackregan on January 02, 2008, 09:00:05 AM
Just to say that this mod is absolutely amazing.

It works for posts, but also profiles, live chat, profile comments mod. It really does give my forum the functionality close to myspace/ facebook.

:D :D :D :D :D :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: humbleworld on January 02, 2008, 10:37:04 AM
Jackregan, you said it well. This MOD makes an SMF site a truly all-in-one website. I'm raising certain amount of money to donate to Karlbenson who made this MOD. I'm still a student and when I have enough savings I'll donate to SMF and KarlBenson. I use many of his MODs because it works well in other themes other than the default one.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sakae on January 02, 2008, 06:42:57 PM
Quote from: behumbleearth on January 02, 2008, 10:37:04 AM
Jackregan, you said it well. This MOD makes an SMF site a truly all-in-one website. I'm raising certain amount of money to donate to Karlbenson who made this MOD. I'm still a student and when I have enough savings I'll donate to SMF and KarlBenson. I use many of his MODs because it works well in other themes other than the default one.

Me too!! He created Mp3tube MOD because of my request!

But I didn't wanted to say a thing, but since I said it... I'm requesting his address already to send a postcard from Brazil...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on January 02, 2008, 06:55:13 PM
Quote from: softcore on January 02, 2008, 06:42:57 PM
I'm requesting his address already to send a postcard from Brazil...


o.0












Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick_indy on January 03, 2008, 12:11:49 AM


$embed[] = array(
'name' => 'M Thai',
'enabled' => 1,
'pattern' => 'http://video\.mthai\.com/player\.php\?id=([0-9A-Za-z]{14,20})(?:.*?)',
'embedlink' => 'http://video.mthai.com/Flash_player/player.swf?idMovie=$1',
'width' => '370',
'height' => '330',
);




VDO On Mthai.com
Of thailand
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: bighealbob on January 04, 2008, 10:35:27 AM
Hi Karl,

First up, wonderful mod. It really is a gem. Your work is outstanding and a wonderful effort to the community..

I noticed that you mentioned that Filelist  vids CAN NOT be supported because they do not have the vid id in the URL path.

This is not entirely true if you know where to look for them.

I have a couple of examples here:
http://static.filefront.com/ffv6/player/vp_embed.swf?v=469265
http://static1.filefront.com/ffv6/player/vp_embed.swf?v=234774

Whilst, its not bleeding obvious to your 'standard' user on how to get the vid address, it really is quite simple for the users who are a bit more tech savvy.

When your viewing the vid via the Filefront interface
http://files.filefront.com/Street+Fighter+IV+Dragon+Punch+HD+WMV/;9342593;/fileinfo.html

you will see the little Embed under it, well if you look in that, you will be able to find the Vid id. This is the data in the embed box

<object width="450" height="338"><param name="movieID" value="http://static.filefront.com/ffv6/player/vp_embed.swf?v=469265&autorun=false"></param><param name="wmode" value="transparent"></param><embed src="http://static1.filefront.com/ffv6/player/vp_embed.swf?v=469265&autorun=false" type="application/x-shockwave-flash" wmode="transparent" width="450" height="338"></embed></object><br/><a href="http://files.filefront.com/Street+Fighter+IV+Dragon+Punch+HD+WMV/;9342593;/fileinfo.html" title="Street Fighter IV `Dragon Punch` HD (WMV)">Street Fighter IV `Dragon Punch` HD (WMV)</a>

In this example, all you need for this video is the line hxxp://static.filefront.com/ffv6/player/vp_embed.swf?v=469265


I was wondering if you would be able to reconsider your stand in the support for filefront vids?

Cheers
~Bob

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 04, 2008, 12:54:39 PM
Hey bighealbob.
I won't support any filesites that require users to 'fish' in the embed code for url.
The url in your address bar is the one which is supported.

HOWEVER, I am looking into the possibility for a future version to grab the page and parse the url.
And then storing that information in a lookup table in the database.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: humbleworld on January 04, 2008, 02:02:29 PM
Try embedding ESPN videos from Karl. It's perfect. Thanks Karl.

You are the man of the hour in SMF MOD.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 04, 2008, 04:42:27 PM
Karl, don't suppose you'll ever consider supporting WMP or Real Player?

I know there is a mod out there that does this but it seems to make sense to have it all in the one package.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 04, 2008, 04:53:22 PM
Definately NOT.
My primary reason for developing this mod was to enable multi-site video support BUT ONLY for 'safe and trusted' sites.
And preventing the embedding of 'ANY' video from 'ANYWHERE' which could have meant people could potentally embed dangerous flash objects.

If there are 'popular video' websites using WMP or Real Player, then I would consider supporting them, just as it supports flash or divx.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 04, 2008, 07:04:01 PM
ok, I understand :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: humbleworld on January 04, 2008, 10:58:29 PM
You said it well, Karl. And you're doing the right thing. Only safe video sites much be part of this MOD of the great Karl Benson.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nutronic on January 05, 2008, 07:29:16 AM
Im having problems installing this on 1.1.4, its coming up with:

An Error Has Occurred!
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

but it is set to writeable.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 05, 2008, 08:46:10 AM
check via your FTp that the packages folder is set to 777.

Then if that doesnt work, create a folder inside Packages called temp
and also set that to 777
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nutronic on January 05, 2008, 09:17:31 AM
OK ill give it a try Karl.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nutronic on January 05, 2008, 09:19:42 AM
yep that worked, cheers :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sakae on January 05, 2008, 11:02:06 AM
Quote from: karlbenson on January 04, 2008, 12:54:39 PM
Hey bighealbob.
I won't support any filesites that require users to 'fish' in the embed code for url.
The url in your address bar is the one which is supported.

Let's people change the world, not the world changing people! LOL

Anyway, I undersign what bighealbob said, because I have lots of vids in Dailymotion too.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cubetgio on January 05, 2008, 12:18:28 PM
Hi Karl,

Is somebody report already to you that video screen appear twice in post message   ???
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 05, 2008, 01:42:39 PM
Quote from: cubetgio on January 05, 2008, 12:18:28 PM
Hi Karl,

Is somebody report already to you that video screen appear twice in post message   ???
Doesn't for me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on January 05, 2008, 02:02:47 PM
Quote from: mark7144 on January 05, 2008, 01:42:39 PM
Quote from: cubetgio on January 05, 2008, 12:18:28 PM
Hi Karl,

Is somebody report already to you that video screen appear twice in post message   ???
Doesn't for me.

me neither.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: keyboard on January 05, 2008, 02:18:46 PM
Good Job !!!! Works great and with no problems.....This was the easiest mod to install  :) :)  I wish you could write all the mods..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: NigelW on January 05, 2008, 02:39:29 PM
Checkout the error I get. I've removed the old version and tried uploading the package using package manager, but still no luck. It's quite frustrating because right now all of my already embedded video can't be displayed because I removed the old version.

Thank you for any help.

Quote
!!
Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

1.     Execute Modification     ./Sources/Load.php     Test failed
2.    Execute Modification    ./Sources/Subs.php    Test successful
Powered by SMF 1.1.4
   
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on January 05, 2008, 02:43:15 PM
edit load.php manully.

and install the rest.

use this praser to help you edit the load.php
http://www.smfhacks.com/smf-package-parser.html
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: NigelW on January 05, 2008, 03:07:13 PM
Thanks nick09,

I've edited the Load.php manually, I needed to add one line only. After I've done this, I've tried installing the Package the same way I did before, but I get the same error. Should I click "Install now" and ignore the error because I already modified the Load.php?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dxyy on January 05, 2008, 03:28:00 PM
NigelW if you already edited the load.php then you can proceed with the installation and everything should be fine. Just be sure to backup both your database and files before making any further changes. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: thomasjensen on January 06, 2008, 05:27:48 AM
I´m using smf 1.1.4 Danish.
I´ve tried every single suggestion in here but nothing seems to work for me.

Still I get the "some files needs to be writable etc..." but they all are.
So far I´ve chmodded Packages dir, made a temp dir withnin packages dir and chmodded it.
Still I get the samme error about files not being writable

Any new suggestions ? I´m getting pretty desperate :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nutronic on January 06, 2008, 06:31:48 AM
I was wondering is there a way for us to add a custom frame around the video with our sites url on it etc?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on January 06, 2008, 09:17:51 AM
Quote from: thomasjensen on January 06, 2008, 05:27:48 AM
I´m using smf 1.1.4 Danish.
I´ve tried every single suggestion in here but nothing seems to work for me.

Still I get the "some files needs to be writable etc..." but they all are.
So far I´ve chmodded Packages dir, made a temp dir withnin packages dir and chmodded it.
Still I get the samme error about files not being writable

Any new suggestions ? I´m getting pretty desperate :)

edit the files manually.

use the praser to help you:
http://www.smfhacks.com/smf-package-parser.html
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 06, 2008, 02:08:26 PM
@Nutronic

Try this post: http://www.simplemachines.org/community/index.php?topic=200401.msg1336421#msg1336421

After the </object> tag, you are free to add any HTML you wish. This can include a link to your own site. Also, if you are comfortable enough, you could add in your own code to frame the videos with whatever you wish.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: humbleworld on January 06, 2008, 03:54:46 PM
I am satisfied with this MOD and I don't think I need to customize it. This is the best MOD I've seen so far in any forum software.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 06, 2008, 05:10:17 PM
Quote from: humbleworld on January 06, 2008, 03:54:46 PM
I am satisfied with this MOD and I don't think I need to customize it. This is the best MOD I've seen so far in any forum software.
It's certainly top-3 for me... I think SEO4SMF is up there in that list as well.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 06, 2008, 06:04:00 PM
@thomasjensen 
The files that the modification alters also need to be writeable.
Sources/Subs.php
Sources/Load.php

@Nutronic - re custom frame
Not sure what you mean 'custom' frame.  But like Eliana Tamerin kindly posted, see http://www.simplemachines.org/community/index.php?topic=200401.msg1336421#msg1336421

@Everyone else
Thank you everyone for your kind comments.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mbn02 on January 06, 2008, 07:54:13 PM
kind of a weird question, but will http://www.youku.com/ be supported?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 06, 2008, 08:01:57 PM
It already is.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ApplianceJunk on January 07, 2008, 09:35:48 PM
Seems to be working great on our site.

Thank you!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Damian1221 on January 08, 2008, 05:14:43 PM
Great Mod Thanks  :)

I figured out how to disable the Shoutbox but I'm having trouble disabling the News Box. any help appreciated  :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 08, 2008, 05:19:55 PM
Sources/subs.php (in default/clean files its line 3037 of the function setupThemeContext)
// Clean it up for presentation ;).
$context['news_lines'][$i] = parse_bbc(stripslashes(trim($context['news_lines'][$i])), true, 'news' . $i);


Adding the thing on the line above, should fix it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 08, 2008, 10:43:12 PM
Ok,
I'm clearing a backlog of work/bugs to do on my mods.

So heres 2.0.
There aren't any new features apart from some new sites.
New sites include DailyMotion which appear to have changed their links in the past week or so to be able to support this mod.

2.0 - 9th January 2008
o Added DailyMotion Support (they seemed to have changed their link format!)
o Added video.Mthai.com
o Added Hulu (only for US)
o Added YouTube Russia & Taiwan support
o Added Google Video China support.
o Few other very minor tweaks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mbn02 on January 09, 2008, 12:20:34 AM
Thanks again for this awesome update! I was just going to ask if Hulu was supported...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 09, 2008, 12:24:04 AM
Yeah it is, but it will ONLY work people in the USA
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 09, 2008, 03:43:30 PM
I asked for Hulu and you did it, woohoo!

I thought you said there was a problem with doing it? Anyway, nice one :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 09, 2008, 04:49:30 PM
^ with the Hulu one,
I didnt understand that OpenHulu is an unofficial 3rd party sites with links of.

So although OpenHulu is not supported, The official Hulu.com is. (although its beta, and the videos only work for usa visitors)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 09, 2008, 05:06:39 PM
I look forward to whatever parser you're planning to make to grab the links from sites. I wish that hulu links have to be dug for, but oh well, I guess. Works so far. Thanks for adding the Hulu and dailymotion support.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fous on January 09, 2008, 08:30:45 PM
This mod isn't working for revver videos for me. Youtube works but when i put in the url for a revver video it just posts a link?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 09, 2008, 10:00:18 PM
Yeah, like Hulu.com, you're going to have to fish for the links. I've tried various urls from the embed code, but they don't seem to work. Hmm. Not quite sure what kind of url you're going to need for that.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 09, 2008, 10:30:31 PM
You shouldn't have to fish for the links in the embed code for ANY sites.

At the time of inclusion, ALL of the 'browser address bar' links of the video clip sites worked when I tested them.
But
- Some sites change their links (as dailymotion have)
- Some sites have multiple versions of links to be a way in.

@Eliana - the problem with Hulu, is that I'm in the UK, so a) the embed links don't work for me (i had to get Alundra to test for me) and b) I don't know what the standard links are.
If you can provide me with a couple of standard links for Hulu taken from the address bar. I will make them work.

As ever, please post me links that don't work. (please the EXACT link, not altered ones) so I can test them myself.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fous on January 09, 2008, 10:44:49 PM
Hey Karl.

Try this from revver:

http://revver.com/video/608856/technical-analysis-portfolio-update-10908/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 09, 2008, 10:46:12 PM
Alright, will do.

Hulu links:
http://www.hulu.com/watch/2753/house-ugly#c3

http://www.hulu.com/watch/4555/outer-limits-decompression#c2

http://www.hulu.com/watch/4569/firefly-serenity#c1

If those are put into the post, they do not parse into the appropriate embedded object. If you would like the appropriate embed links for those movies, I can get them. Not sure how hulu.com works for those in the UK or what level of access, if any, you have.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 09, 2008, 10:52:16 PM
The videos just say, not available in your locale.
We are geotargetted.

Eliana, is the embed id for the first one 2753?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 09, 2008, 11:22:11 PM
Link: http://www.hulu.com/watch/2753/house-ugly#c3
Embed: http://www.hulu.com/embed/4u4qGI0wTwnW0pC5CCB9kBMWU9atC0ez

Link: http://www.hulu.com/watch/4555/outer-limits-decompression#c2
Embed: http://www.hulu.com/embed/lUeT2juQHwRIcCW_b3G-DU-zomxqYGGX

Link: http://www.hulu.com/watch/4569/firefly-serenity#c1
Embed: http://www.hulu.com/embed/91dIZQbB5N5BVItMoLNWbqmJP04Opco-

Have you ever tried an american proxy?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 09, 2008, 11:26:16 PM
:(

It looks like I won't be able to support them then.
As you see, the actual filename/id isn't in the url.

Can you just check whether these work (and are the exact same video)
http://www.hulu.com/embed/2753/
http://www.hulu.com/embed/4555/
http://www.hulu.com/embed/4569/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 09, 2008, 11:33:07 PM
They all point to http://www.hulu.com/playerembed.swf?&referrer=None which comes up as an unavailable video.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 09, 2008, 11:50:18 PM
Damn, it would be a shame to have to pull Hulu.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 10, 2008, 12:07:23 AM
Well, the embed links still parse. Could leave it up for those technically knowledgeable to grab them. Otherwise, didn't you say you were working on a link grabber anyways for sites that didn't have the embed id in the page url?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 10, 2008, 12:10:05 AM
Indeed I have thought about a 'link' grabber.  I know how to do it.

But it wouldn't work for Hulu, since you need to be logged in to view the pages.
It would eventually be possible if and when Hulu is out of beta, but that could be years.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 10, 2008, 01:04:20 AM
Well, that link grabber could work for openhulu.com. Wouldn't need to be logged in for those movies. Just something to think about for the future, I guess.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: humbleworld on January 10, 2008, 03:41:01 AM
Thanks Karl for the new update of your wonderful MOD.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 10, 2008, 05:51:27 AM
Karl, to watch Hulu without being in the US, simply download Hotspot Shield (http://hotspotshield.com/), run it, open your browser and view Hulu clips.

And I think Hulu will go public much quicker than a few years, Fox/NBC made it to take on YouTube, wouldn't be much competition if it was private only.

PS. Regarding something else, can you read my post on your other mod (http://www.simplemachines.org/community/index.php?topic=213257.msg1369218#msg1369218) as I think it would be a really good idea to have as an optional function. Sorry for posting in here but I posted there quite a while ago :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 10, 2008, 10:25:53 AM
Mark7144, thanks for Hotspot.

With regards to preventing quoting. I did try to add it in this version, but it wouldn't work for multiple quotes. (I'm guessing the same issue could be with my other mod).

For the moment, I'm just getting through the backlog of bugs rather than adding new features to mods.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 10, 2008, 11:07:18 AM
My suggestion isn't to prevent quoting but have it so the quoted item is reduced to avatar size. Obviously for this mod that would be quite tedious to implement but for the images mod I'm more optimistic :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RakeReport on January 11, 2008, 07:34:18 AM
Could support be added for www.PokerTube.com please?

Also, love this mod, so simple & easy to use, my forum members are going to be psyched!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on January 11, 2008, 03:17:32 PM
Quote from: RakeReport on January 11, 2008, 07:34:18 AM
Could support be added for www.PokerTube.com please?

Also, love this mod, so simple & easy to use, my forum members are going to be psyched!

URL: http://www.pokertube.com/ShowMovie.aspx?movieID=9699b4a7-50bb-469b-917f-829dd7df54ba

Embed: <script language="JavaScript">var host = document.location;document.write("<iframe src=\"http://www.pokertube.com/MakePlayer.aspx?host="+ host +"&movieID=9699b4a7-50bb-469b-917f-829dd7df54ba\" frameborder=\"0\" height=\"374\" width=\"434\" scrolling=\"No\"></iframe>");</script>

the id is the same so it should work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RakeReport on January 11, 2008, 03:39:53 PM
Neither of those work when I try to post in my forums, just come up as text and links. 

Or were you saying that he should be able to easily convert them to work with this mod for us?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on January 11, 2008, 03:43:23 PM
Quote from: RakeReport on January 11, 2008, 03:39:53 PM
Neither of those work when I try to post in my forums, just come up as text and links. 

Or were you saying that he should be able to easily convert them to work with this mod for us?

its not in the mod yet.

i should of said it would work if added in the mod.

the video id is the same as the url.

so it should work if added.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 11, 2008, 04:06:24 PM
Yeah, what Nick said. Pokertube.com should be very easy for Karl to add, when he gets the time. He's doing bug fixes on all his mods, I believe.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 11, 2008, 08:07:30 PM
Karl, can you make it so this link also converts: http://youtube.com/watch?v=PW23wpE4AOw&feature=related

The feature=related stops it doing so.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 11, 2008, 08:11:33 PM
Mark, what version are you using?
That link works for me in my tests.  It should take ignore feature = relate into account.

Edit: I tested my youtube mods aswell, and it works with those aswell.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 12, 2008, 08:23:57 AM
Oh sorry, I was on 1.9 not 2.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 12, 2008, 12:40:33 PM
mark, As far as I'm aware, I've not changed that part in YouTube since about v1.4.

Don't worry.  I appreciate reports of any links that don't appear to work for any of the supported sites.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Marcus J on January 13, 2008, 04:04:15 PM
I just installed the mod, and it works perfectly.  :)

Thanks for a great addition to SMF!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 15, 2008, 02:39:02 AM
Karl, any chance of adding WeGame (http://wegame.com/watch/Gmod_Chain_Reaction_TRUSTEDKILLER/) - it's a fairly new popular site that is likely to get very big in the gaming community.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: clericvash on January 15, 2008, 11:27:13 AM
Doesnt work for me:
http://hateboredom.info/forum/index.php?topic=2.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 15, 2008, 04:02:27 PM
@Clericvash
I've managed to get that video working on my site
http://www.adrevenueshare.com/index.php?topic=1.0

Can you doublecheck thats it says the mod installed in Admin > Packages
When you installed did it give any errors?
Are there any errors in your error log?
Can you check in subs.php inside the parse_bbc function whether the code and video sites arrays were added
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mintschi on January 15, 2008, 08:15:00 PM
Hello,

I'd installed version 2.0 (SMF 1.1.4) and video post preview works fine.
But when I click the post button, the following error message appears:

Datenbankfehler: Duplicate entry '0' for key 1
Datei: C:\xampplite\htdocs\forum\smf\Sources\Subs-Post.php
Zeile: 1535


Any Idea...?!

greetz,
Mintschi
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 15, 2008, 08:50:58 PM
That is NOT related to this mod.
The Auto Embed Video mod does not alter the Subs-post.php file.

That error is related to a mysql query.  If you don't mind. I'd recommend you post a new topic in the General Support areas.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RakeReport on January 15, 2008, 08:59:42 PM
Hey Karl,

Once again, thanks for this awesome mod, my forum members are making excellent use of it.

When you have a chance to add www.pokertube.com it would be greatly appreciated, as poker is our sites focus so that would open up a lot of additional options.  Much obliged.   :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 16, 2008, 04:21:51 AM
Karl,

I'm on 2.0 but for some reason this video only show when I click 'Preview' in the post but when I submit it only shows (http://www.murraysworld.com/talk/video-clip-thread-t932.0.html;msg293968#msg293968) the clickable URL?

http://youtube.com/watch?v=PW23wpE4AOw
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nutronic on January 16, 2008, 05:23:28 AM
How do I update it?

According to my Package Manager iI have the latest (1.9) but as I have read its 2.0 now.....do I just upload and overwrite package-info.xml and install.xml?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 16, 2008, 10:59:29 AM
Quote from: Nutronic on January 16, 2008, 05:23:28 AM
How do I update it?

According to my Package Manager iI have the latest (1.9) but as I have read its 2.0 now.....do I just upload and overwrite package-info.xml and install.xml?
No, in Package Manager you uninstall it, then you upload 2.0 and install. Very quick and simple.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 16, 2008, 02:23:31 PM
Mark, I think its because your reaching the limit for embedded clips per page.

In that topic you have so many flash objects, its almost at the point of crashing IE7 and Firefox.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 16, 2008, 04:16:02 PM
Ah I see, that guy posted up loads of videos in one post. Is there a way to limit the number of videos posted in a single post?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: andygar on January 17, 2008, 02:56:29 AM
thanks and how about megarotic is a xxx site but i need.


thanks a lot
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 17, 2008, 03:06:54 AM
@mark.
The only limit is per-page.
I can't really see a way to do it per-post or per-topic.

@Andygar.
I'm not supporting any porn sites. But that one you mentioned will not work with it anyway.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: andygar on January 17, 2008, 04:18:27 AM
Thanks for your time,  i try and share my mofication-
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mbn02 on January 17, 2008, 06:25:52 AM
just wondering, will mtvu work with the mod?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 17, 2008, 10:59:19 AM
what is mtvu?

Unless its listed on the first page as being supported, the answer is no.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mbn02 on January 17, 2008, 04:11:09 PM
Quote from: karlbenson on January 17, 2008, 10:59:19 AM
what is mtvu?

you can read more about it here: http://www.mtvu.com/about/

this video doesnt work on my forum  [ http://www.mtvu.com/video/?id=1574743&vid=192746 ], so Im guessing not

either way, theres a lot of similar sites supported

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 17, 2008, 04:16:44 PM
It should be possible in future for me to support it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 2Ntense on January 18, 2008, 10:35:11 PM
Is this mod offline?  I've tried 4 different browsers on 2 different computers, and all I get is a totally empty page when I hit the DOWNLOAD link.  It looks *just* like what My Lady wants, and has the security features that I'd insist on for an EMBED function.

And yeah, I can download other mods just fine (I just tried) so it's not *me*.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 18, 2008, 10:37:56 PM
I attached the zip to my post, see if you can download that.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 18, 2008, 11:03:15 PM
I have reuploaded this mod and screenshots for it.

I am in the process of doing it for ALL my other mods aswell.  Please bear with me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fmofmpls on January 18, 2008, 11:11:27 PM
I'm looking to embed flash movies from the Internet Archive site. They provided this code to insert into a web site (or forum post). I can't get it to work though. Does this mod support this kind of code?

Here's the code:

<object type="application/x-shockwave-flash" width="320" height="263" id="FlowPlayer" data="http://www.archive.org/flv/FlowPlayerWhite.swf">
  <param name="movie" value="http://www.archive.org/flv/FlowPlayerWhite.swf"/>
  <param name="scale" value="noScale"/>
  <param name="wmode" value="transparent"/>
  <param name="allowScriptAccess" value="sameDomain"/>
  <param name="quality" value="high"/>
  <param name="flashvars" value="config={
    loop: false,
    autoPlay:false,
    initialScale: 'fit',
    videoFile: 'http://www.archive.org/download/mental_hospital/mental_hospital.flv',
  }"/>
</object>

Thank you!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 18, 2008, 11:19:18 PM
The Internet Archive is not currently supported.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on January 18, 2008, 11:33:48 PM
Very cool mod, thanks!   8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 2Ntense on January 18, 2008, 11:36:20 PM
Thanks for ALL of your efforts!  And yep, the D/L link in the mod works perfectly, now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 18, 2008, 11:41:27 PM
thanks for the comments.

@fmofmpls
As ever I will look at/consider adding support for it when i next do an update to the mod, providing that the filename for the file is in the url.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rucanunes on January 19, 2008, 04:24:04 AM
Hello,

How can I add this video in a Post?
<embed src="http://rd3.videos.sapo.pt/play?file=http://rd3.videos.sapo.pt/L2UVoMbS1TcFa2NkoYPp/mov/1" type="application/x-shockwave-flash" width="400" height="322"></embed>

Thank you,
Raul Nunes
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on January 19, 2008, 09:34:06 AM
Hmmm with Google Video clips I just get a black box and a play button but no video.  Anyone else get this?

Works fine with YouTube.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 19, 2008, 01:10:26 PM
@RoarinRow
There is an issue with Google Videos where the clips are actually on YouTube, but listed in Google video.
There isn't really a way to detect them.

@rucanunes
I thought Sapo.pt was supported by the mod.  But I checked and it isn't currently.  I will look to see if I can support it in the next version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rucanunes on January 19, 2008, 01:29:49 PM
Quote from: karlbenson on January 19, 2008, 01:10:26 PM
@rucanunes
I thought Sapo.pt was supported by the mod.  But I checked and it isn't currently.  I will look to see if I can support it in the next version.

Thanks a lot!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fmofmpls on January 19, 2008, 01:48:29 PM
Quote from: karlbenson on January 18, 2008, 11:41:27 PM
I will look at/consider adding support for it when i next do an update to the mod, providing that the filename for the file is in the url.

Does this look like a filename - http://www.archive.org/download/AreYouPo1947/AreYouPo1947.flv

Here is the page url for the vid - http://www.archive.org/details/AreYouPo1947

BTW, they have an embed video link for their vids, but I can't get it to work at SMF. Any other ideas?

Thanks for the reply, and for the great mod! An absolute must for YouTube fans!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 19, 2008, 03:13:46 PM
Wait until karlbenson updates this mod with more sites or request a specific mod to enable a BBC feature to do that instead. My suggestion is wait, it looks like it's easily supportable, karlbenson will work out the kinks as necessary.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fmofmpls on January 19, 2008, 04:28:28 PM
Looking forward to, (and hoping) that the Internet Archive will be supported in a future mod update. That site has a huge resource of wonderful videos just dying to be shared at a SMF forum. Fingers crossed.  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on January 19, 2008, 05:00:20 PM
Quote from: karlbenson on January 19, 2008, 01:10:26 PM
@RoarinRow
There is an issue with Google Videos where the clips are actually on YouTube, but listed in Google video.
There isn't really a way to detect them.

@rucanunes
I thought Sapo.pt was supported by the mod.  But I checked and it isn't currently.  I will look to see if I can support it in the next version.

i see.  i understand, but that sure is strange.  thank you!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: caglezxj on January 20, 2008, 12:14:11 AM
I would call myself a newbie to all this and I figured it out with ease. Nice mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 20, 2008, 09:04:43 AM
Thanks for using my mod ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: clericvash on January 20, 2008, 01:49:43 PM
Quote from: karlbenson on January 15, 2008, 04:02:27 PM
@Clericvash
I've managed to get that video working on my site
http://www.adrevenueshare.com/index.php?topic=1.0

Can you doublecheck thats it says the mod installed in Admin > Packages
When you installed did it give any errors?
Are there any errors in your error log?
Can you check in subs.php inside the parse_bbc function whether the code and video sites arrays were added

It says installed.

Where exactly would the video code be in subs.php ??
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 20, 2008, 02:21:28 PM
It should be almost right at the bottom of the function parse_bbc
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: target_locked on January 20, 2008, 11:49:59 PM
My silly question,
After installing the MOD, how to use it?
I tried to post a normal link (copy from the demo page) but it does not work.
Only a blank post.
http://www.youtube.com/watch?v=vjYMIGUr84o
Does it require to install some softwares to the PC prior to using this mod? Or do I have to set anything in the ACP?
Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fiona on January 21, 2008, 12:00:18 AM
installled the Mod successfully, however when I include a link to an active youtube video in a post (http://youtube.com/watch?v=3HA4lSUhlbw), the player doesn't show up - just a hyperlink.   

There is no chance that there are too many embedded clips per page as there have been no other posts such as this in the forum to this point.

Also, I did double check the Bulletin Board Code settings in the Posts and Topics admin panel, and it is checked to allow automatic linking to posted URLs. 

Here is the link to my post in our forum: http://blazinggames.net/smf/index.php?topic=30.msg55#msg55

Any ideas why this Mod isn't working for us?   We are on SMF 1.14 with v2 of this Mod.

Thanks, appreciate any assistance.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: DukeN on January 21, 2008, 05:25:44 PM
I really want to use the mod but i can't install it correctly.


1.    edit    ./Sources/Load.php    Succes
2.    edit    ./Sources/Subs.php    Failed

Someone knows what to do?  Thx
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dxyy on January 21, 2008, 08:21:50 PM
You'll have to manually edit your subs.php file.

This should help you make the necessary changes: http://www.smfhacks.com/packageparser/package.php

Please remember to backup your files and database before installing any mod though. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: DukeN on January 22, 2008, 02:33:57 AM
I Tried that. But when i'm uploading Auto_Embed_Video_Clips_v2.0.zip
the to http://www.smfhacks.com/packageparser/package.php it give the error: ERROR: The package-info.xml file is invalid!

Is there an other way? :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Str8upNate on January 22, 2008, 05:03:19 AM
hmm i noticed that you have a limit on the amount of videos per post??? any way to make it bigger?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 22, 2008, 05:36:35 AM
@DukeN
I'll fix that error later

@Str8upNate 
Its explained in the readme how to increase the limit.
Although as it stands its limited to 12 per PAGE. (thats not per topic or post, but per pageview)
Even at 12 its already near the point of crashing IE and firefox.
So I wouldn't recommend increasing it much more.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dxyy on January 22, 2008, 05:51:46 AM
DukeN, for some reason there was some weird text at the start of one of the files. :P

You can try this one with the parser, I mean try the file I attached to this post. ;)

In case that doesn't work for you, here are the changes you need to make to the subs.php file:
Find:

$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '' => "\n"));



Add after:

// START OF AUTO EMBED VIDEO CLIPS MOD

// Disables if on printer friendly page or if told to disable eg signatures
if($smileys !== "print" && empty($context['disableautoembedvideo']) && strpos($message, '<a href="') !== false)
{
$embed = array();

$embed[] = array(
'name' => '123video.nl',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)123video\.nl/playvideos\.asp\?MovieID=([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://www.123video.nl/123video_share.swf?mediaSrc=$1',
'width' => '420',
'height' => '339',
'classid' => 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000',
);
$embed[] = array(
'name' => 'Aniboom',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)aniboom\.com/Player.aspx\?v=([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://api.aniboom.com/embedded.swf?videoar=$1',
'width' => '448',
'height' => '372',
);
$embed[] = array(
'name' => 'AOL Uncut',
'enabled' => 1,
'pattern' => 'http://uncutvideo\.aol\.com/videos/([0-9a-f]{32})(?:.*?)',
'embedlink' => 'http://uncutvideo.aol.com/v6.220/en-US/uc_videoplayer.swf?aID=1$1&site=http://uncutvideo.aol.com/',
'width' => '415',
'height' => '347',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'AtomFilms',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)atomfilms\.com/film/([0-9a-z_-]{1,40})\.jsp(?:.*?)',
'embedlink' => 'http://www.atomfilms.com:80/a/autoplayer/shareEmbed.swf?keyword=$1',
'width' => '426',
'height' => '350',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'AtomFilms Uploads',
'enabled' => 1,
'pattern' => 'http://uploads\.atomfilms\.com/Clip\.aspx\?key=([0-9a-f]{1,16})(?:.*?)',
'embedlink' => 'http://uploads.atomfilms.com/player.swf?key=$1',
'width' => '430',
'height' => '354',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Biku',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)biku\.com/opus/(?:player.swf\?VideoID=|)([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://www.biku.com/opus/player.swf?VideoID=$1&embed=true&autoStart=false',
'width' => '480',
'height' => '395',
);
$embed[] = array(
'name' => 'BrightCove',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)brightcove\.(tv|com)/title.jsp\?title=([0-9]{1,12})(?:.*?)',
'embedlink' => 'http://www.brightcove.$1/playerswf?allowFullScreen=true&initVideoId=$2&servicesURL=http://www.brightcove.tv'
.'&viewerSecureGatewayURL=https://www.brightcove.tv&cdnURL=http://admin.brightcove.com&autoStart=false',
'width' => '486',
'height' => '412',
'extraparams' => array('swLiveConnect' => 'true'),
);
$embed[] = array(
'name' => 'CellFish',
'enabled' => 1,
'pattern' => 'http://cellfish\.cellfish\.com/(?:video|multimedia)/([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://cellfish.com/static/swf/player.swf?Id=$1',
'width' => '420',
'height' => '315',
);
$embed[] = array(
'name' => 'ClipFish.de',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)clipfish\.de/(?:player.php|videoplayer\.swf)\?(?:.*?)videoid=([a-z0-9]{1,20})(?:.*?)',
'embedlink' => 'http://www.clipfish.de/videoplayer.swf?as=0&videoid=$1&r=1&c=0067B3',
'width' => '464',
'height' => '380',
'classid' => 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'CollegeHumor',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)collegehumor\.com/video:([0-9]{1,12})(?:.*?)',
'embedlink' => 'http://www.collegehumor.com/moogaloop/moogaloop.swf?clip_id=$1',
'width' => '480',
'height' => '360',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Dailymotion',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)dailymotion\.com/(?:.*?)video/([a-z0-9]{1,8})(?:.*?)',
'embedlink' => 'http://www.dailymotion.com/swf/$1',
'width' => '420',
'height' => '335',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Dave.tv',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)dave\.tv/MediaPlayer.aspx\?contentItemId=([0-9]{1,10})(?:.*?)',
'embedlink' => 'http://dave.tv/dbox/dbox_small.swf?configURI=http://dave.tv/dbox/config.ashx&volume=50&channelContentId=$1',
'width' => '300',
'height' => '260',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'dv.ouou',
'enabled' => 1,
'pattern' => 'http://dv\.ouou\.com/(?:play/v_|v/)([a-f0-9]{14})(?:.*?)',
'embedlink' => 'http://dv.ouou.com/v/$1',
'width' => '480',
'height' => '385',
);
$embed[] = array(
'name' => 'ESPN',
'enabled' => 1,
'pattern' => 'http://sports\.espn\.go\.com/broadband/video/videopage\?(?:.*?)videoId=([0-9]{1,10})(?:.*?)',
'embedlink' => 'http://sports.espn.go.com/broadband/player.swf?mediaId=$1',
'width' => '440',
'height' => '361',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Gametrailers',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)gametrailers\.com/player/([0-9]{1,8})\.html(?:.*?)',
'embedlink' => 'http://www.gametrailers.com/remote_wrap.php?mid=$1',
'width' => '480',
'height' => '392',
'classid' => 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000',
'extraparams' => array('swLiveConnect' => 'true'),
);
$embed[] = array(
'name' => 'GameVideos',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)gamevideos\.com/(?:video/id/|video/embed\?video=)([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://gamevideos.com:80/swf/gamevideos11.swf?embedded=1&autoplay=0&src=http://gamevideos.com:80/video/videoListXML%3Fid%3D$1%26adPlay%3Dfalse',
'width' => '420',
'height' => '405',
);
$embed[] = array(
'name' => 'Glumbert',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)glumbert\.com/media/([a-z0-9_-]{1,30})(?:.*?)',
'embedlink' => 'http://www.glumbert.com/embed/$1',
'width' => '425',
'height' => '335',
);
$embed[] = array(
'name' => 'Godtube',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)godtube\.com/view_video\.php\?viewkey=([0-9a-f]{20})(?:.*?)',
'embedlink' => 'http://godtube.com/flvplayer.swf?viewkey=$1',
'width' => '330',
'height' => '270',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Google Video',
'enabled' => 1,
'pattern' => 'http://video\.google\.(com|com\.au|co\.uk|de|es|fr|it|nl|pl|ca|cn)/(?:videoplay|url)\?docid=([0-9a-z-_]{1,20})(?:.*?)',
'embedlink' => 'http://video.google.$1/googleplayer.swf?docId=$2',
'width' => '400',
'height' => '326',
);
$embed[] = array(
'name' => 'Guba',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)guba\.com/watch/([0-9]{1,12})(?:.*?)',
'embedlink' => 'http://www.guba.com/f/root.swf?video_url=http://free.guba.com/uploaditem/$1/flash.flv&amp;isEmbeddedPlayer=true',
'width' => '525',
'height' => '360',
);
$embed[] = array(
'name' => 'Hulu.com (US Only)',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)hulu\.com/(?:embed/|playerembed\.swf\?pid=)([a-z0-9-_]{1,32})(?:.*?)',
'embedlink' => 'http://www.hulu.com/embed/$1',
'width' => '567',
'height' => '350',
);
$embed[] = array(
'name' => 'IFilm',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)ifilm\.com/video/([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://www.ifilm.com/efp?flvbaseclip=$1',
'width' => '448',
'height' => '365',
);
$embed[] = array(
'name' => 'Koreus',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)koreus\.com/video/([0-9a-z-]{1,50})\.html(?:.*?)',
'embedlink' => 'http://www.koreus.com/video/$1',
'width' => '400',
'height' => '300',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Libero.it',
'enabled' => 1,
'pattern' => 'http://video\.libero\.it/app/play(?:/index.html|)\?id=([a-f0-9]{32})(?:.*?)',
'embedlink' => 'http://video.libero.it/static/swf/eltvplayer.swf?id=$1.flv&ap=0',
'width' => '400',
'height' => '333',
);
$embed[] = array(
'name' => 'LiveLeak',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)liveleak\.com/view\?i=([0-9a-z]{3}_|)([a-z0-9]{10})(?:.*?)',
'embedlink' => 'http://www.liveleak.com/player.swf?autostart=false&token=$1$2',
'width' => '450',
'height' => '370',
);
$embed[] = array(
'name' => 'LiveVideo',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)livevideo\.com/video/(?:view/|)(?:(?:.*?)/|)([0-9a-f]{32})(?:.*?)',
'embedlink' => 'http://www.livevideo.com/flvplayer/embed/$1',
'width' => '445',
'height' => '369',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Megavideo',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)megavideo\.com/\?v=([0-9a-z]{8})(?:.*?)',
'embedlink' => 'http://www.megavideo.com/v/$1.0.0',
'width' => '432',
'height' => '351',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'MetaCafe',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)metacafe\.com/(?:watch|fplayer)/([0-9]{1,10})/(?:.*?)',
'embedlink' => 'http://www.metacafe.com/fplayer/$1/metacafe.swf',
'width' => '400',
'height' => '345',
);
$embed[] = array(
'name' => 'MSN Live/Soapbox Video',
'enabled' => 1,
'pattern' => 'http://(?:soapbox|video)\.msn\.com/video\.aspx\?(?:(?:.*?)vid=|from=msnvideo&showPlaylist=true&playlist=videoByUuids:uuids:)((?:[0-9a-z]{8})(?:(?:-(?:[0-9a-z]{4})){3})-(?:[0-9a-z]{12}))(?:.*?)',
'embedlink' => 'http://images.video.msn.com/flash/soapbox1_1.swf?c=v&v=$1',
'width' => '432',
'height' => '364',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Mofile',
'enabled' => 1,
'pattern' => 'http://(?:www\.|tv\.|)mofile\.com/([0-9a-z]{8})(?:.*?)',
'embedlink' => 'http://tv.mofile.com/cn/xplayer.swf?v=$1',
'width' => '480',
'height' => '395',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'M Thai',
'enabled' => 1,
'pattern' => 'http://video\.mthai\.com/player\.php\?id=([0-9a-z]{14,20})(?:.*?)',
'embedlink' => 'http://video.mthai.com/Flash_player/player.swf?idMovie=$1',
'width' => '370',
'height' => '330',
);
$embed[] = array(
'name' => 'MySpaceTv',
'enabled' => 1,
'pattern' => 'http://(?:vids\.myspace|myspacetv)\.com/index\.cfm\?fuseaction=vids\.individual&amp;VideoID=([0-9]{1,10})(?:.*?)',
'embedlink' => 'http://lads.myspace.com/videos/myspacetv_vplayer0005.swf?m=$1&amp;type=video',
'width' => '480',
'height' => '386',
);
$embed[] = array(
'name' => 'MyVideo.de',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)myvideo\.de/watch/([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://www.myvideo.de/movie/$1',
'width' => '470',
'height' => '406',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'OnSmash',
'enabled' => 1,
'pattern' => 'http://(?:www\.|videos\.|)onsmash\.com/(?:v|e)/([0-9a-z]{16})(?:.*?)',
'embedlink' => 'http://videos.onsmash.com/e/$1',
'width' => '448',
'height' => '374',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Revver',
'enabled' => 1,
'pattern' => 'http://(?:one\.|www\.|)revver\.com/watch/([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://flash.revver.com/player/1.0/player.swf?mediaId=$1&affiliateId=0&allowFullScreen=true',
'width' => '480',
'height' => '392',
);
$embed[] = array(
'name' => 'Sevenload',
'enabled' => 1,
'pattern' => 'http://(en\.|tr\.|de\.|www\.|)sevenload\.com/(?:videos|videolar)/([0-9a-z]{1,8})(?:.*?)',
'embedlink' => 'http://$1sevenload.com/pl/$2/425x350/swf',
'width' => '425',
'height' => '350',
);
$embed[] = array(
'name' => 'Stage6',
'enabled' => 1,
'pattern' => 'http://(?:(?:www\.)stage6|stage6\.divx)\.com/(?:.*?)/video/([0-9]{1,11})/(?:.*?)',
'embedlink' => 'http://video.stage6.com/$1/.divx',
'src' => 1, // Special, Stage6 use src rather than video, this bool, tells me to use src instead
'width' => '640',
'height' => '480',
'codebase' => 'http://go.divx.com/plugin/DivXBrowserPlugin.cab',
'pluginspage' => 'http://go.divx.com/plugin/download/',
'classid' => 'clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616',
'type' => 'video/divx',
'extraparams' => array(
'custommode' => 'false',
'showpostplaybackad' => 'false',
'autoPlay' => 'false',
),
);
$embed[] = array(
'name' => 'Streetfire.net',
'enabled' => 1,
'pattern' => 'http://(?:www\.|videos\.|)streetfire\.net/video/((?:[0-9a-z]{8})(?:(?:-(?:[0-9a-z]{4})){3})-(?:[0-9a-z]{12}))\.htm(?:.*?)',
'embedlink' => 'http://videos.streetfire.net/vidiac.swf?video=$1',
'width' => '428',
'height' => '352',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Tudou',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)tudou\.com/(?:programs/view/|v/)([a-z0-9-]{1,12})(?:.*?)',
'embedlink' => 'http://www.tudou.com/v/$1',
'width' => '400',
'height' => '300',
);
$embed[] = array(
'name' => 'Veoh',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)veoh\.com/videos/([0-9a-z]{14,16})(?:.*?)',
'embedlink' => 'http://www.veoh.com/videodetails2.swf?permalinkId=$1&id=anonymous&player=videodetailsembedded&videoAutoPlay=0',
'width' => '540',
'height' => '438',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'videotube.de',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)videotube\.de/watch/([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://www.videotube.de/flash/player.swf?baseURL=http%3A%2F%2Fwww.videotube.de%2Fwatch%2F$1',
'width' => '480',
'height' => '400',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Vidiac',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)vidiac\.com/video/((?:[0-9a-z]{8})(?:(?:-(?:[0-9a-z]{4})){3})-(?:[0-9a-z]{12}))\.htm(?:.*?)',
'embedlink' => 'http://www.vidiac.com/vidiac.swf?video=$1',
'width' => '428',
'height' => '352',
);
$embed[] = array(
'name' => 'VidMax',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)vidmax\.com/index\.php/videos/view/([0-9]{1,10})(?:.*?)',
'embedlink' => 'http://vidmax.com/img/vidmax_player.swf?xml=http://vidmax.com/index.php/videos/playlist/&id=$1&autoPlay=true&bg=http://vidmax.com/img/back.jpg',
'width' => '450',
'height' => '447',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Vimeo',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)vimeo\.com/([0-9]{1,12})(?:.*?)',
'embedlink' => 'http://vimeo.com/moogaloop.swf?clip_id=$1&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1'
.'&amp;show_byline=1&amp;show_portrait=0&amp;color=01AAEA',
'width' => '400',
'height' => '225',
);
$embed[] = array(
'name' => 'VSocial',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)vsocial\.com/video/\?d=([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://static.vsocial.com/flash/ups.swf?d=$1&a=0',
'width' => '410',
'height' => '400',
);
$embed[] = array(
'name' => 'Yahoo (Except HK)',
'enabled' => 1,
'pattern' => 'http://(?:(?:www|uk|fr|it|es|br|au|mx|de|ca)\.|)video\.yahoo\.com/video/play\?vid=([0-9]{1,10})(?:.*?)',
'embedlink' => 'http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player/media/swf/FLVVideoSolo.swf?id=$1',
'width' => '425',
'height' => '350',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Yahoo HK Only',
'enabled' => 1,
'pattern' => 'http://hk\.video\.yahoo\.com/video/video\.html\?id=([0-9]{1,10})(?:.*?)',
'embedlink' => 'http://w.video.hk.yahoo.net/video/dplayer.html?vid=$1',
'width' => '420',
'height' => '370',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Youku',
'enabled' => 1,
'pattern' => 'http://(?:v\.youku\.com/v_show/id_(?:[0-9a-z]{4})|player\.youku\.com/player\.php/sid/)([0-9a-z]{6,14})(?:.*?)',
'embedlink' => 'http://player.youku.com/player.php/sid/$1=/v.swf',
'width' => '450',
'height' => '372',
);
$embed[] = array(
'name' => 'YouTube',
'enabled' => 1,
'pattern' => 'http://(?:(?:www|au|br|ca|es|fr|de|hk|ie|it|jp|mx|nl|nz|pl|ru|tw|uk)\.|)youtube\.com/(?:(?:watch|)\?v=|v/|jp\.swf\?video_id=)([0-9A-Za-z-_]{11})(?:.*?)',
'embedlink' => 'http://www.youtube.com/v/$1',
'width' => '425',
'height' => '350',
);
$embed[] = array(
'name' => 'YouTube Playlist',
'enabled' => 1,
'pattern' => 'http://(?:(?:www|au|br|ca|es|fr|de|hk|ie|it|jp|mx|nl|nz|pl|ru|tw|uk)\.|)youtube\.com/(?:ep\.swf\?id=|view_play_list\?p=|p/)([0-9a-f]{16})(?:.*?)',
'embedlink' => 'http://www.youtube.com/p/$1',
'width' => '425',
'height' => '355',
);

// Max auto embeds *per page* to avoid flash overload. It only applies to this mod, and not other video mods
// Use -1 for no-limit (not recommended)
static $autoembedmax = 12 ;

// Protect any noembed links
if(preg_match_all('#\[noembed\](.*?)\[/noembed\]#im', $message, $noembed, PREG_SET_ORDER))
{
foreach ($noembed as $a => $b)
{
// Including the [noembed] ensures it will always be unique (since we are replacing [noembed])
$message = str_replace($b[0],'[noembed]###NOEMBEDPROTECTED#'.$a.'##[/noembed]',$message);
$noembed[$a] = $b;
}
unset($a, $b);
}

// Now do the magic, convert those links in messages to automatically embed the videos
foreach($embed as $id => $arr)
{
// If this site is enabled and if we haven't reached our max replacements
if($arr['enabled'] && $autoembedmax != 0)
{
// Build the extraparams for <object> & <embed>
$object = $objectparams = $embedparams = '';
if(isset($arr['extraparams']) && is_array($arr['extraparams']))
{
foreach($arr['extraparams'] as $a => $b)
{
$objectparams .= '
<param name="'.$a.'" value="'.$b.'" />';
$embedparams .= ' '.$a.'="'.$b.'"';
}
}
// Build the <object> (Non-Mac IE Only)
if($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'])
{
$object = '<object' .
' codebase="'.(empty($arr['codebase']) ? 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' : $arr['codebase'] ) .'" '.
( empty($arr['classid']) ? '' : 'classid="'.$arr['classid'].'" ' ) .
'type="'. (empty($arr['type']) ? 'application/x-shockwave-flash' : $arr['type'] ) .'" '.
'width="'.$arr['width'].'px" height="'.$arr['height'].'px">'.
'<param name="'.( empty($arr['src']) ? 'movie' : 'src' ).'" value="'.$arr['embedlink'].'" />'.
( !empty($objectparams) ? $objectparams : '' ) .
'<param name="wmode" value="transparent" /><param name="allowScriptAccess" value="never" />'.
'<param name="quality" value="high" /><param name="pluginspage" value="'.( empty($arr['pluginspage']) ? 'http://www.macromedia.com/go/getflashplayer' : $arr['pluginspage'] ) .'" />';
}

// Build the <embed>
$object .= '
<embed type="'. (empty($arr['type']) ? 'application/x-shockwave-flash' : $arr['type'] ) .'" '.
'src="'.$arr['embedlink'].'" width="'.$arr['width'].'px" height="'.$arr['height'].'px" '.
'AllowScriptAccess="never" quality="high" wmode="transparent"'.
( !empty($embedparams) ? $embedparams : '' ) .
' />'.
'<noembed><a href="'.$arr['embedlink'].'" target="_blank">'.$arr['embedlink'].'</a></noembed>';

// If using <object> remember to close it
if($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'])
$object .= '</object>';

// Tidy up
unset($objectparams, $embedparams);

// Build the pattern/(re)set the count
$pattern = '#<a href="'.$arr['pattern'].'"(?:.*?)</a>#i'.($context['utf8'] ? 'u' : '') ;
$count = 0;

// Pre php 5.1.0, No count parameter, so do it the slower, inefficient way
if (@version_compare(PHP_VERSION, '5.1.0') == -1)
{
// Grab all the matches to count the no. of replacements that will be made
if(preg_match_all($pattern, $message, $out, PREG_PATTERN_ORDER))
{
$count = count($out[0]);
unset($out);
$message = preg_replace($pattern, $object, $message, $autoembedmax);
}
}
else
// Fantastic! From 5.1.0 we can use the count parameter
$message = preg_replace($pattern, $object, $message, $autoembedmax, $count);

// Reduce remaining replacements allowed
if($autoembedmax != -1)
$autoembedmax = $autoembedmax - $count;

// Tidy up
unset($object, $count);
}
}

// Reverse protection of noembed stuff
if(!empty($noembed))
{
foreach ($noembed as $a => $b)
$message = str_replace('[noembed]###NOEMBEDPROTECTED#'.$a.'##[/noembed]',$b, $message);
}
// Tidy up
unset($embed, $pattern, $object, $arr, $count, $noembed, $a, $b);
}
// Reset the status
$context['disableautoembedvideo'] = 0 ;
// END OF AUTO EMBED VIDEO CLIPS MOD
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 22, 2008, 06:07:09 AM
I've just quickly reuploaded it without that minor errors in the package-info.xml

Like I said, I'm hoping to post a v2.1 later which will add support for SMF 2.0 beta 2.

I'll also look to add all the requested sites.  Any more for any more?
;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on January 22, 2008, 06:42:42 AM
Thank's for the nice mod. Works like a charm. (http://personal.inet.fi/koti/speedy/hymiot//good.gif)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: target_locked on January 22, 2008, 07:38:23 AM
Quote from: target_locked on January 20, 2008, 11:49:59 PM
My silly question,
After installing the MOD, how to use it?
I tried to post a normal link (copy from the demo page) but it does not work.
Only a blank post.
http://www.youtube.com/watch?v=vjYMIGUr84o
Does it require to install some softwares to the PC prior to using this mod? Or do I have to set anything in the ACP?
Thanks.
Finally, It worked for me. Firstly I intended to give up the Mod but one day after that I visit my post and see the video showing up. No need to install anything else. If you can see the video on youtube or google video you can see it in your forum.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fiona on January 22, 2008, 04:32:17 PM
target_locked glad that whatever the problem was, it worked out for you.   however i posted a Youtube video link some days ago after installing this MOD, but the video is still not showing in the post - just the hyperlink.   if you visit our forum link, tell me if you see the video or a hyperlink ok?  http://blazinggames.net/smf/index.php?topic=30.0

I have checked everything possible to find out what setting might be prohibiting the display, but everything looks fine & the MOD installed without any errors.  I can view videos on the various sites (YouTube, Google Video etc), but they will not show in the forum.... a bit frustrating to say the least.   

Hoping someone will be able to give me a clue where to look next to troubleshoot the problem.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mintschi on January 22, 2008, 08:27:13 PM
I have the same problem with my Gamer forum.
Only one link is indicated. Mmh...???
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 22, 2008, 09:46:03 PM
I'm not so sure if that mod was properly installed due to the bug that was posted above.

I'll look into this more closely tomorrow for 2.1
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fiona on January 23, 2008, 03:21:17 AM
In a last ditch effort to troubleshoot our error, I decided to look at our subs.php file & sure enough it required editing as per hugodiaz' earlier post in this thread (see below).  Once I uploaded the revised subs.php, the video is now showing up in the forum!

Thanks hugodiaz for that info & many thanks to the MOD creator!


Quote from: hugodiaz on January 22, 2008, 05:51:46 AM
DukeN, for some reason there was some weird text at the start of one of the files. :P

You can try this one with the parser, I mean try the file I attached to this post. ;)

In case that doesn't work for you, here are the changes you need to make to the subs.php file:
Find:

$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '' => "\n"));



Add after:

// START OF AUTO EMBED VIDEO CLIPS MOD

// Disables if on printer friendly page or if told to disable eg signatures
if($smileys !== "print" && empty($context['disableautoembedvideo']) && strpos($message, '<a href="') !== false)
{
$embed = array();

$embed[] = array(
'name' => '123video.nl',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)123video\.nl/playvideos\.asp\?MovieID=([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://www.123video.nl/123video_share.swf?mediaSrc=$1',
'width' => '420',
'height' => '339',
'classid' => 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000',
);
$embed[] = array(
'name' => 'Aniboom',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)aniboom\.com/Player.aspx\?v=([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://api.aniboom.com/embedded.swf?videoar=$1',
'width' => '448',
'height' => '372',
);
$embed[] = array(
'name' => 'AOL Uncut',
'enabled' => 1,
'pattern' => 'http://uncutvideo\.aol\.com/videos/([0-9a-f]{32})(?:.*?)',
'embedlink' => 'http://uncutvideo.aol.com/v6.220/en-US/uc_videoplayer.swf?aID=1$1&site=http://uncutvideo.aol.com/',
'width' => '415',
'height' => '347',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'AtomFilms',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)atomfilms\.com/film/([0-9a-z_-]{1,40})\.jsp(?:.*?)',
'embedlink' => 'http://www.atomfilms.com:80/a/autoplayer/shareEmbed.swf?keyword=$1',
'width' => '426',
'height' => '350',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'AtomFilms Uploads',
'enabled' => 1,
'pattern' => 'http://uploads\.atomfilms\.com/Clip\.aspx\?key=([0-9a-f]{1,16})(?:.*?)',
'embedlink' => 'http://uploads.atomfilms.com/player.swf?key=$1',
'width' => '430',
'height' => '354',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Biku',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)biku\.com/opus/(?:player.swf\?VideoID=|)([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://www.biku.com/opus/player.swf?VideoID=$1&embed=true&autoStart=false',
'width' => '480',
'height' => '395',
);
$embed[] = array(
'name' => 'BrightCove',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)brightcove\.(tv|com)/title.jsp\?title=([0-9]{1,12})(?:.*?)',
'embedlink' => 'http://www.brightcove.$1/playerswf?allowFullScreen=true&initVideoId=$2&servicesURL=http://www.brightcove.tv'
.'&viewerSecureGatewayURL=https://www.brightcove.tv&cdnURL=http://admin.brightcove.com&autoStart=false',
'width' => '486',
'height' => '412',
'extraparams' => array('swLiveConnect' => 'true'),
);
$embed[] = array(
'name' => 'CellFish',
'enabled' => 1,
'pattern' => 'http://cellfish\.cellfish\.com/(?:video|multimedia)/([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://cellfish.com/static/swf/player.swf?Id=$1',
'width' => '420',
'height' => '315',
);
$embed[] = array(
'name' => 'ClipFish.de',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)clipfish\.de/(?:player.php|videoplayer\.swf)\?(?:.*?)videoid=([a-z0-9]{1,20})(?:.*?)',
'embedlink' => 'http://www.clipfish.de/videoplayer.swf?as=0&videoid=$1&r=1&c=0067B3',
'width' => '464',
'height' => '380',
'classid' => 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'CollegeHumor',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)collegehumor\.com/video:([0-9]{1,12})(?:.*?)',
'embedlink' => 'http://www.collegehumor.com/moogaloop/moogaloop.swf?clip_id=$1',
'width' => '480',
'height' => '360',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Dailymotion',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)dailymotion\.com/(?:.*?)video/([a-z0-9]{1,8})(?:.*?)',
'embedlink' => 'http://www.dailymotion.com/swf/$1',
'width' => '420',
'height' => '335',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Dave.tv',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)dave\.tv/MediaPlayer.aspx\?contentItemId=([0-9]{1,10})(?:.*?)',
'embedlink' => 'http://dave.tv/dbox/dbox_small.swf?configURI=http://dave.tv/dbox/config.ashx&volume=50&channelContentId=$1',
'width' => '300',
'height' => '260',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'dv.ouou',
'enabled' => 1,
'pattern' => 'http://dv\.ouou\.com/(?:play/v_|v/)([a-f0-9]{14})(?:.*?)',
'embedlink' => 'http://dv.ouou.com/v/$1',
'width' => '480',
'height' => '385',
);
$embed[] = array(
'name' => 'ESPN',
'enabled' => 1,
'pattern' => 'http://sports\.espn\.go\.com/broadband/video/videopage\?(?:.*?)videoId=([0-9]{1,10})(?:.*?)',
'embedlink' => 'http://sports.espn.go.com/broadband/player.swf?mediaId=$1',
'width' => '440',
'height' => '361',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Gametrailers',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)gametrailers\.com/player/([0-9]{1,8})\.html(?:.*?)',
'embedlink' => 'http://www.gametrailers.com/remote_wrap.php?mid=$1',
'width' => '480',
'height' => '392',
'classid' => 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000',
'extraparams' => array('swLiveConnect' => 'true'),
);
$embed[] = array(
'name' => 'GameVideos',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)gamevideos\.com/(?:video/id/|video/embed\?video=)([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://gamevideos.com:80/swf/gamevideos11.swf?embedded=1&autoplay=0&src=http://gamevideos.com:80/video/videoListXML%3Fid%3D$1%26adPlay%3Dfalse',
'width' => '420',
'height' => '405',
);
$embed[] = array(
'name' => 'Glumbert',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)glumbert\.com/media/([a-z0-9_-]{1,30})(?:.*?)',
'embedlink' => 'http://www.glumbert.com/embed/$1',
'width' => '425',
'height' => '335',
);
$embed[] = array(
'name' => 'Godtube',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)godtube\.com/view_video\.php\?viewkey=([0-9a-f]{20})(?:.*?)',
'embedlink' => 'http://godtube.com/flvplayer.swf?viewkey=$1',
'width' => '330',
'height' => '270',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Google Video',
'enabled' => 1,
'pattern' => 'http://video\.google\.(com|com\.au|co\.uk|de|es|fr|it|nl|pl|ca|cn)/(?:videoplay|url)\?docid=([0-9a-z-_]{1,20})(?:.*?)',
'embedlink' => 'http://video.google.$1/googleplayer.swf?docId=$2',
'width' => '400',
'height' => '326',
);
$embed[] = array(
'name' => 'Guba',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)guba\.com/watch/([0-9]{1,12})(?:.*?)',
'embedlink' => 'http://www.guba.com/f/root.swf?video_url=http://free.guba.com/uploaditem/$1/flash.flv&amp;isEmbeddedPlayer=true',
'width' => '525',
'height' => '360',
);
$embed[] = array(
'name' => 'Hulu.com (US Only)',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)hulu\.com/(?:embed/|playerembed\.swf\?pid=)([a-z0-9-_]{1,32})(?:.*?)',
'embedlink' => 'http://www.hulu.com/embed/$1',
'width' => '567',
'height' => '350',
);
$embed[] = array(
'name' => 'IFilm',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)ifilm\.com/video/([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://www.ifilm.com/efp?flvbaseclip=$1',
'width' => '448',
'height' => '365',
);
$embed[] = array(
'name' => 'Koreus',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)koreus\.com/video/([0-9a-z-]{1,50})\.html(?:.*?)',
'embedlink' => 'http://www.koreus.com/video/$1',
'width' => '400',
'height' => '300',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Libero.it',
'enabled' => 1,
'pattern' => 'http://video\.libero\.it/app/play(?:/index.html|)\?id=([a-f0-9]{32})(?:.*?)',
'embedlink' => 'http://video.libero.it/static/swf/eltvplayer.swf?id=$1.flv&ap=0',
'width' => '400',
'height' => '333',
);
$embed[] = array(
'name' => 'LiveLeak',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)liveleak\.com/view\?i=([0-9a-z]{3}_|)([a-z0-9]{10})(?:.*?)',
'embedlink' => 'http://www.liveleak.com/player.swf?autostart=false&token=$1$2',
'width' => '450',
'height' => '370',
);
$embed[] = array(
'name' => 'LiveVideo',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)livevideo\.com/video/(?:view/|)(?:(?:.*?)/|)([0-9a-f]{32})(?:.*?)',
'embedlink' => 'http://www.livevideo.com/flvplayer/embed/$1',
'width' => '445',
'height' => '369',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Megavideo',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)megavideo\.com/\?v=([0-9a-z]{8})(?:.*?)',
'embedlink' => 'http://www.megavideo.com/v/$1.0.0',
'width' => '432',
'height' => '351',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'MetaCafe',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)metacafe\.com/(?:watch|fplayer)/([0-9]{1,10})/(?:.*?)',
'embedlink' => 'http://www.metacafe.com/fplayer/$1/metacafe.swf',
'width' => '400',
'height' => '345',
);
$embed[] = array(
'name' => 'MSN Live/Soapbox Video',
'enabled' => 1,
'pattern' => 'http://(?:soapbox|video)\.msn\.com/video\.aspx\?(?:(?:.*?)vid=|from=msnvideo&showPlaylist=true&playlist=videoByUuids:uuids:)((?:[0-9a-z]{8})(?:(?:-(?:[0-9a-z]{4})){3})-(?:[0-9a-z]{12}))(?:.*?)',
'embedlink' => 'http://images.video.msn.com/flash/soapbox1_1.swf?c=v&v=$1',
'width' => '432',
'height' => '364',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Mofile',
'enabled' => 1,
'pattern' => 'http://(?:www\.|tv\.|)mofile\.com/([0-9a-z]{8})(?:.*?)',
'embedlink' => 'http://tv.mofile.com/cn/xplayer.swf?v=$1',
'width' => '480',
'height' => '395',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'M Thai',
'enabled' => 1,
'pattern' => 'http://video\.mthai\.com/player\.php\?id=([0-9a-z]{14,20})(?:.*?)',
'embedlink' => 'http://video.mthai.com/Flash_player/player.swf?idMovie=$1',
'width' => '370',
'height' => '330',
);
$embed[] = array(
'name' => 'MySpaceTv',
'enabled' => 1,
'pattern' => 'http://(?:vids\.myspace|myspacetv)\.com/index\.cfm\?fuseaction=vids\.individual&amp;VideoID=([0-9]{1,10})(?:.*?)',
'embedlink' => 'http://lads.myspace.com/videos/myspacetv_vplayer0005.swf?m=$1&amp;type=video',
'width' => '480',
'height' => '386',
);
$embed[] = array(
'name' => 'MyVideo.de',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)myvideo\.de/watch/([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://www.myvideo.de/movie/$1',
'width' => '470',
'height' => '406',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'OnSmash',
'enabled' => 1,
'pattern' => 'http://(?:www\.|videos\.|)onsmash\.com/(?:v|e)/([0-9a-z]{16})(?:.*?)',
'embedlink' => 'http://videos.onsmash.com/e/$1',
'width' => '448',
'height' => '374',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Revver',
'enabled' => 1,
'pattern' => 'http://(?:one\.|www\.|)revver\.com/watch/([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://flash.revver.com/player/1.0/player.swf?mediaId=$1&affiliateId=0&allowFullScreen=true',
'width' => '480',
'height' => '392',
);
$embed[] = array(
'name' => 'Sevenload',
'enabled' => 1,
'pattern' => 'http://(en\.|tr\.|de\.|www\.|)sevenload\.com/(?:videos|videolar)/([0-9a-z]{1,8})(?:.*?)',
'embedlink' => 'http://$1sevenload.com/pl/$2/425x350/swf',
'width' => '425',
'height' => '350',
);
$embed[] = array(
'name' => 'Stage6',
'enabled' => 1,
'pattern' => 'http://(?:(?:www\.)stage6|stage6\.divx)\.com/(?:.*?)/video/([0-9]{1,11})/(?:.*?)',
'embedlink' => 'http://video.stage6.com/$1/.divx',
'src' => 1, // Special, Stage6 use src rather than video, this bool, tells me to use src instead
'width' => '640',
'height' => '480',
'codebase' => 'http://go.divx.com/plugin/DivXBrowserPlugin.cab',
'pluginspage' => 'http://go.divx.com/plugin/download/',
'classid' => 'clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616',
'type' => 'video/divx',
'extraparams' => array(
'custommode' => 'false',
'showpostplaybackad' => 'false',
'autoPlay' => 'false',
),
);
$embed[] = array(
'name' => 'Streetfire.net',
'enabled' => 1,
'pattern' => 'http://(?:www\.|videos\.|)streetfire\.net/video/((?:[0-9a-z]{8})(?:(?:-(?:[0-9a-z]{4})){3})-(?:[0-9a-z]{12}))\.htm(?:.*?)',
'embedlink' => 'http://videos.streetfire.net/vidiac.swf?video=$1',
'width' => '428',
'height' => '352',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Tudou',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)tudou\.com/(?:programs/view/|v/)([a-z0-9-]{1,12})(?:.*?)',
'embedlink' => 'http://www.tudou.com/v/$1',
'width' => '400',
'height' => '300',
);
$embed[] = array(
'name' => 'Veoh',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)veoh\.com/videos/([0-9a-z]{14,16})(?:.*?)',
'embedlink' => 'http://www.veoh.com/videodetails2.swf?permalinkId=$1&id=anonymous&player=videodetailsembedded&videoAutoPlay=0',
'width' => '540',
'height' => '438',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'videotube.de',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)videotube\.de/watch/([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://www.videotube.de/flash/player.swf?baseURL=http%3A%2F%2Fwww.videotube.de%2Fwatch%2F$1',
'width' => '480',
'height' => '400',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Vidiac',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)vidiac\.com/video/((?:[0-9a-z]{8})(?:(?:-(?:[0-9a-z]{4})){3})-(?:[0-9a-z]{12}))\.htm(?:.*?)',
'embedlink' => 'http://www.vidiac.com/vidiac.swf?video=$1',
'width' => '428',
'height' => '352',
);
$embed[] = array(
'name' => 'VidMax',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)vidmax\.com/index\.php/videos/view/([0-9]{1,10})(?:.*?)',
'embedlink' => 'http://vidmax.com/img/vidmax_player.swf?xml=http://vidmax.com/index.php/videos/playlist/&id=$1&autoPlay=true&bg=http://vidmax.com/img/back.jpg',
'width' => '450',
'height' => '447',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Vimeo',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)vimeo\.com/([0-9]{1,12})(?:.*?)',
'embedlink' => 'http://vimeo.com/moogaloop.swf?clip_id=$1&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1'
.'&amp;show_byline=1&amp;show_portrait=0&amp;color=01AAEA',
'width' => '400',
'height' => '225',
);
$embed[] = array(
'name' => 'VSocial',
'enabled' => 1,
'pattern' => 'http://(?:www\.|)vsocial\.com/video/\?d=([0-9]{1,8})(?:.*?)',
'embedlink' => 'http://static.vsocial.com/flash/ups.swf?d=$1&a=0',
'width' => '410',
'height' => '400',
);
$embed[] = array(
'name' => 'Yahoo (Except HK)',
'enabled' => 1,
'pattern' => 'http://(?:(?:www|uk|fr|it|es|br|au|mx|de|ca)\.|)video\.yahoo\.com/video/play\?vid=([0-9]{1,10})(?:.*?)',
'embedlink' => 'http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player/media/swf/FLVVideoSolo.swf?id=$1',
'width' => '425',
'height' => '350',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Yahoo HK Only',
'enabled' => 1,
'pattern' => 'http://hk\.video\.yahoo\.com/video/video\.html\?id=([0-9]{1,10})(?:.*?)',
'embedlink' => 'http://w.video.hk.yahoo.net/video/dplayer.html?vid=$1',
'width' => '420',
'height' => '370',
'extraparams' => array('allowFullScreen' => 'true'),
);
$embed[] = array(
'name' => 'Youku',
'enabled' => 1,
'pattern' => 'http://(?:v\.youku\.com/v_show/id_(?:[0-9a-z]{4})|player\.youku\.com/player\.php/sid/)([0-9a-z]{6,14})(?:.*?)',
'embedlink' => 'http://player.youku.com/player.php/sid/$1=/v.swf',
'width' => '450',
'height' => '372',
);
$embed[] = array(
'name' => 'YouTube',
'enabled' => 1,
'pattern' => 'http://(?:(?:www|au|br|ca|es|fr|de|hk|ie|it|jp|mx|nl|nz|pl|ru|tw|uk)\.|)youtube\.com/(?:(?:watch|)\?v=|v/|jp\.swf\?video_id=)([0-9A-Za-z-_]{11})(?:.*?)',
'embedlink' => 'http://www.youtube.com/v/$1',
'width' => '425',
'height' => '350',
);
$embed[] = array(
'name' => 'YouTube Playlist',
'enabled' => 1,
'pattern' => 'http://(?:(?:www|au|br|ca|es|fr|de|hk|ie|it|jp|mx|nl|nz|pl|ru|tw|uk)\.|)youtube\.com/(?:ep\.swf\?id=|view_play_list\?p=|p/)([0-9a-f]{16})(?:.*?)',
'embedlink' => 'http://www.youtube.com/p/$1',
'width' => '425',
'height' => '355',
);

// Max auto embeds *per page* to avoid flash overload. It only applies to this mod, and not other video mods
// Use -1 for no-limit (not recommended)
static $autoembedmax = 12 ;

// Protect any noembed links
if(preg_match_all('#\[noembed\](.*?)\[/noembed\]#im', $message, $noembed, PREG_SET_ORDER))
{
foreach ($noembed as $a => $b)
{
// Including the [noembed] ensures it will always be unique (since we are replacing [noembed])
$message = str_replace($b[0],'[noembed]###NOEMBEDPROTECTED#'.$a.'##[/noembed]',$message);
$noembed[$a] = $b;
}
unset($a, $b);
}

// Now do the magic, convert those links in messages to automatically embed the videos
foreach($embed as $id => $arr)
{
// If this site is enabled and if we haven't reached our max replacements
if($arr['enabled'] && $autoembedmax != 0)
{
// Build the extraparams for <object> & <embed>
$object = $objectparams = $embedparams = '';
if(isset($arr['extraparams']) && is_array($arr['extraparams']))
{
foreach($arr['extraparams'] as $a => $b)
{
$objectparams .= '
<param name="'.$a.'" value="'.$b.'" />';
$embedparams .= ' '.$a.'="'.$b.'"';
}
}
// Build the <object> (Non-Mac IE Only)
if($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'])
{
$object = '<object' .
' codebase="'.(empty($arr['codebase']) ? 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' : $arr['codebase'] ) .'" '.
( empty($arr['classid']) ? '' : 'classid="'.$arr['classid'].'" ' ) .
'type="'. (empty($arr['type']) ? 'application/x-shockwave-flash' : $arr['type'] ) .'" '.
'width="'.$arr['width'].'px" height="'.$arr['height'].'px">'.
'<param name="'.( empty($arr['src']) ? 'movie' : 'src' ).'" value="'.$arr['embedlink'].'" />'.
( !empty($objectparams) ? $objectparams : '' ) .
'<param name="wmode" value="transparent" /><param name="allowScriptAccess" value="never" />'.
'<param name="quality" value="high" /><param name="pluginspage" value="'.( empty($arr['pluginspage']) ? 'http://www.macromedia.com/go/getflashplayer' : $arr['pluginspage'] ) .'" />';
}

// Build the <embed>
$object .= '
<embed type="'. (empty($arr['type']) ? 'application/x-shockwave-flash' : $arr['type'] ) .'" '.
'src="'.$arr['embedlink'].'" width="'.$arr['width'].'px" height="'.$arr['height'].'px" '.
'AllowScriptAccess="never" quality="high" wmode="transparent"'.
( !empty($embedparams) ? $embedparams : '' ) .
' />'.
'<noembed><a href="'.$arr['embedlink'].'" target="_blank">'.$arr['embedlink'].'</a></noembed>';

// If using <object> remember to close it
if($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'])
$object .= '</object>';

// Tidy up
unset($objectparams, $embedparams);

// Build the pattern/(re)set the count
$pattern = '#<a href="'.$arr['pattern'].'"(?:.*?)</a>#i'.($context['utf8'] ? 'u' : '') ;
$count = 0;

// Pre php 5.1.0, No count parameter, so do it the slower, inefficient way
if (@version_compare(PHP_VERSION, '5.1.0') == -1)
{
// Grab all the matches to count the no. of replacements that will be made
if(preg_match_all($pattern, $message, $out, PREG_PATTERN_ORDER))
{
$count = count($out[0]);
unset($out);
$message = preg_replace($pattern, $object, $message, $autoembedmax);
}
}
else
// Fantastic! From 5.1.0 we can use the count parameter
$message = preg_replace($pattern, $object, $message, $autoembedmax, $count);

// Reduce remaining replacements allowed
if($autoembedmax != -1)
$autoembedmax = $autoembedmax - $count;

// Tidy up
unset($object, $count);
}
}

// Reverse protection of noembed stuff
if(!empty($noembed))
{
foreach ($noembed as $a => $b)
$message = str_replace('[noembed]###NOEMBEDPROTECTED#'.$a.'##[/noembed]',$b, $message);
}
// Tidy up
unset($embed, $pattern, $object, $arr, $count, $noembed, $a, $b);
}
// Reset the status
$context['disableautoembedvideo'] = 0 ;
// END OF AUTO EMBED VIDEO CLIPS MOD

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RickyNOS on January 23, 2008, 05:08:55 AM
Thanks you sir, it works very well :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on January 23, 2008, 10:01:04 AM
I've found this error in my log:

8: Array to string conversion
Datei: /forum/Sources/Subs.php
Zeile: 3097


My line 3097:

$message = str_replace('[noembed]###NOEMBEDPROTECTED#'.$a.'##[/noembed]',$b, $message);

This error shows up in posts that i modified with [noembed].
There's a huge topic in my forum where the ppl added youtube-links but dont wanted to get them converted - they are postet as:
- John Buttler: [url=http://www.youtube.com/watch?v=6VAkOhXIsI0]click[/url]

The time you introduced the [noembed]-Tag i simply edited all the posts with [noembed] in the first line of every post - every post ended with [/noembed] in the last line

Now - since one of the latest versions (i think since 2.0) this error shows up and all the posts are shown as empty - there's only one word in it :
Array
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mintschi on January 23, 2008, 01:24:38 PM
I had inserted again all necessary strings by hand in the suitable files, 'cause the installation over the Package Manager didn't work on this server.
Since then integrating and posting from videos works perfectly, but, now the extinguishing of this post is no more possible. While I'd tried this, this error message appeared:

Datenbankfehler: Lost connection to MySQL server during query
Datei: /srv/www/vhosts/sam-host.de/subdomains/gamerinside/httpdocs/forum/smf/Sources/RemoveTopic.php
Zeile: 361Datenbankfehler: MySQL server has gone away
Datei: /srv/www/vhosts/sam-host.de/subdomains/gamerinside/httpdocs/forum/smf/Sources/Load.php
Zeile: 2017



Mintschi
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Bokito on January 23, 2008, 03:21:22 PM
This is mod is great!!!  8) 8) 8)

Maybe you can make it compatible with concerts that are hosted on this site www.fabchannel.com. They host a lot of concerts and they add codes to embed their concerts.
They have codes like this one:
<embed src="http://www.fabchannel.com/embed/player.swf?ap=artist.fiction_plane" type="application/x-shockwave-flash" width="400" height="350" allowFullScreen="true"></embed>

Anyway, thanks a lot for this great mod!

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 24, 2008, 12:38:55 AM
Ok, heres v2.1.  There aren't many sites added. I've gone through all the requested sites in posts, but some I couldn't get to work.
I could NOT get to work
Pokertube (they use an Iframe, to embed the video, so it won't work, the iframe then leads to a page with an embed which is completely different)
FabChannel (they video filename/id isn't in the url.  i won't support sites which require users fishing in the embed code)
Photobucket (I am convinced this will work, but they use a variety of urls, so for now its not included).
Internet Archive (they use a weird player/format that I can't get to work with this)

Right now, as for whats actually in v2.1
I am recommending anyone who is using less than v2.1, uninstall that version and then install v2.1 as soon as its convenient due to a couple of issues.
2.1 - 24th January 2008
o Fixed (potential) Major bug with the regex  [affecting all pre-v2.1 versions]
o Added 2.0 Beta 2 support
o Fixed bug in package-info.xml that prevented installing properly
o Added support for WeGame, DailyMotion.Alice.it
o Attempted to support YouTube videos on Google
o Updated Revver for new style links
o Updated YouTube for new style .swf link
o Moved most of the functions into Subs-AutoEmbedVideoClips.php
o Fixed [noembed] bug added bug 2.0
o Improved regex so will find the desired tag in middle of link
o Improved efficiency/speed
o Re-ordered the supported sites so popular ones are first
For the full changelog for previous versions please see changelog.txt
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RakeReport on January 24, 2008, 12:55:08 AM
Thanks for trying to add pokertube. 

I have 2.0 of this mod, should I upgrade to 2.1 because of any specific issues?  And if so, where is the link and instructions on how to do so?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 24, 2008, 12:58:03 AM
Hey RakeReport.

Yes, I'm recommending all users 'upgrade' to v2.1 as it is likely ALL previous version suffer from a particular bug.
However there isn't an upgrade script.  You need to uninstall whatever version you currently have installed and then install the latest version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RakeReport on January 24, 2008, 01:04:37 AM
Was very simple to do.  Uinstalled and deleted the 2.0 version, downloaded and installed the 2.1 without a hitch.  Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 24, 2008, 02:32:30 AM
Thanks for adding WeGame, good move!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Below on January 24, 2008, 07:11:36 AM
Thanks for this mod, but Dailymotion now don`t work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 24, 2008, 07:23:31 AM
Oops, adding DailyMotion.alice.it killed it.
Fixed;

2.1.1 - 24th January 2008
o Fixed DailyMotion
For the full changelog for previous versions please see changelog.txt

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: antraciet on January 25, 2008, 08:10:57 AM
Ok, i used the latest version. Doesn't work.
What can i do more please ?
http://www.woonforum.be/index.php?option=com_smf&Itemid=38&topic=275.0#new
http://www.woonforum.be/index.php?option=com_smf&Itemid=38&topic=276.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mintschi on January 25, 2008, 09:54:12 AM
The new version didn't work for me, too. Same problems as before...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 25, 2008, 09:57:30 AM
Any errors in your error log?
Can you check that the edits were made
(using the package parser)
adrevenueshare.com/parser
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: antraciet on January 25, 2008, 10:26:21 AM
Quote from: karlbenson on January 25, 2008, 09:57:30 AM
Any errors in your error log?

LOTS
How come it works with others ?

Can you check that the edits were made
(using the package parser)
adrevenueshare.com/parser
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 25, 2008, 10:27:54 AM
Please post the errors then please.

Also what other mods do you have installed? Please copy the full list.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: antraciet on January 25, 2008, 10:40:40 AM
Quote from: karlbenson on January 25, 2008, 10:27:54 AM
Please post the errors then please.

Also what other mods do you have installed?

None

Please copy the full list.

I tried to uninstalled it again:

2: fopen****smf/Sources/Load.php): failed to open stream: Permission denied
Bestand: ****smf/Sources/Subs-Package.php
Regel: 1901

2: fclose(): supplied argument is not a valid stream resource
Bestand: ****/smf/Sources/Subs-Package.php
Regel: 1908

2: fopen(/****/smf/Sources/Subs.php): failed to open stream: Permission denied
Bestand: ***/smf/Sources/Subs-Package.php
Regel: 1901

2: fclose(): supplied argument is not a valid stream resource
Bestand: /****/smf/Sources/Subs-Package.php
Regel: 1908

2: fopen****/smf/Sources/Load.php): failed to open stream: Permission denied
Bestand: ****/smf/Sources/Subs-Package.php
Regel: 1901

2: fclose(): supplied argument is not a valid stream resource
Bestand: /****/smf/Sources/Subs-Package.php
Regel: 1908

2: fopen****/smf/Sources/Subs.php): failed to open stream: Permission denied
Bestand: ****/smf/Sources/Subs-Package.php
Regel: 1901

2: fclose(): supplied argument is not a valid stream resource
Bestand: /****/smf/Sources/Subs-Package.php
Regel: 1908

2: unlink(/****/smf/Sources/Subs-AutoEmbedVideoClips.php): No such file or directory
Bestand: ***/smf/Sources/Subs-Package.php
Regel: 1047

2: file_get_contents****/smf/Packages/temp/./install.xml): failed to open stream: No such file or directory
Bestand: /****/smf/Sources/Packages.php
Regel: 544

Then i installed it again :

2: fopen****/smf/Sources/Load.php): failed to open stream: Permission denied
Bestand: ****/smf/Sources/Subs-Package.php
Regel: 1901

2: fclose(): supplied argument is not a valid stream resource
Bestand: /****/smf/Sources/Subs-Package.php
Regel: 1908

2: fopen****/smf/Sources/Subs.php): failed to open stream: Permission denied
Bestand: /****/smf/Sources/Subs-Package.php
Regel: 1901

2: fclose(): supplied argument is not a valid stream resource
Bestand:****/smf/Sources/Subs-Package.php
Regel: 1908

2: fopen(/****/smf/Sources/Load.php): failed to open stream: Permission denied
Bestand: ****/smf/Sources/Subs-Package.php
Regel: 1901

2: fclose(): supplied argument is not a valid stream resource
Bestand: ****/smf/Sources/Subs-Package.php
Regel: 1908

2: fopen(/***/smf/Sources/Subs.php): failed to open stream: Permission denied
Bestand: /****/smf/Sources/Subs-Package.php
Regel: 1901

2: fclose(): supplied argument is not a valid stream resource
Bestand: ****/smf/Sources/Subs-Package.php
Regel: 1908

2: file_get_contents****/smf/Packages/temp/./Subs-AutoEmbedVideoClips.php): failed to open stream: No such file or directory
Bestand:***/smf/Sources/Subs-Package.php
Regel: 1824

2: copy(/***smf/Packages/temp/./Subs-AutoEmbedVideoClips.php): failed to open stream: No such file or directory
Bestand: ***/smf/Sources/Subs-Package.php
Regel: 1025

2: file_get_contents(/***/smf/Packages/temp/./install.xml): failed to open stream: No such file or directory
Bestand: ***/smf/Sources/Packages.php
Regel: 544

2: fopen***/smf/Sources/Subs-AutoEmbedVideoClips.php): failed to open stream: No such file or directory
Bestand: ***/smf/Sources/Subs-Package.php
Regel: 1901

512: package_flush_cache(): some files are still not writable
Bestand: ****/smf/Sources/Subs-Package.php
Regel: 1905
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on January 25, 2008, 01:49:05 PM
hey karl how about break.com (http://www.break.com/index/dominos-with-1500-hard-drives.html)?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 25, 2008, 02:02:40 PM
@nick09 
Its on the list of sites that CANNOT be supported.

@antraciet
Are you using the Package-Servers to get the file?
If you were, uninstall and then download the file directly from the mod page to your pc.  Then upload it via the package manager
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on January 25, 2008, 02:11:25 PM
Quote from: karlbenson on January 25, 2008, 02:02:40 PM
@nick09 
Its on the list of sites that CANNOT be supported.

@antraciet
Are you using the Package-Servers to get the file?
If you were, uninstall and then download the file directly from the mod page to your pc.  Then upload it via the package manager

alright karl.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 25, 2008, 02:14:01 PM
I am trying to keep that list in the readme updated everytime I update the mod with sites that cannot be supported.
And of course ever so often I check if that have changed their links sufficiently that they can be supported (as happened with DailyMotion some time in December)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: antraciet on January 25, 2008, 02:29:49 PM
Quote from: karlbenson on January 25, 2008, 02:02:40 PM
@antraciet
Are you using the Package-Servers to get the file?
If you were, uninstall and then download the file directly from the mod page to your pc.  Then upload it via the package manager

I did that yes. I downloaded the latest version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 25, 2008, 02:32:08 PM
Did you check whether the edits were actually made?

Eg check whether the following file exists
Sources/Subs-AutoEmbedVideoClips.php

And checking the other edits were made to Load.php and Subs.php (both in sources)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: antraciet on January 25, 2008, 02:39:21 PM
Quote from: karlbenson on January 25, 2008, 02:32:08 PM
Did you check whether the edits were actually made?

Eg check whether the following file exists
Sources/Subs-AutoEmbedVideoClips.php

No, can't find that file.

And checking the other edits were made to Load.php and Subs.php (both in sources)

No, i don't think so, the dates are from last year (when i updates SMF i think).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: antraciet on January 25, 2008, 02:41:30 PM
Well, i need to go to work now. Thank you in advance to give possible sollutions.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 25, 2008, 02:42:00 PM
Its not installed the mod then.

The only thing I can suggest is manually installing the mod.

SMF Package Parser (http://www.adrevenueshare.com/parser)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ceewee on January 27, 2008, 04:15:39 PM
I wanted to replace 1.3 version with 2.1.1. but uninstall got me test failed on subs.php
Tried to install 2.1.1. instead and packages said test succesfull !?
(didn't go thru with it, because 2 mods won't work fine I think)

what do I have to delete in subs.php before I can install 2.1.1. ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 27, 2008, 05:01:05 PM
You did uninstall 1.3 correct? You must uninstall the previous mod first. If that doesn't work, run 1.3 through the package parser to see what it adds, and do the reverse. Then install 2.1.1
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: antraciet on January 28, 2008, 12:40:22 AM
I gave it up. I don't even find the changes i need to make in all those files.
I don't think the package is wrong, but something with the forum itself. The other package for embed videoclips doesn't work either.
But thanks anyway.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ceewee on January 28, 2008, 07:05:20 AM
Quote from: Eliana Tamerin on January 27, 2008, 05:01:05 PM
You did uninstall 1.3 correct? You must uninstall the previous mod first. If that doesn't work, run 1.3 through the package parser to see what it adds, and do the reverse. Then install 2.1.1
Uninstall gave in package manager : test failed in subs.php for version 1.3
(chmod 777-recursive and chown webserver-recursive) so I have to reverse that by means of package parser.
On the other hand when testing 2.1.1. in package manager it said all ok !?
So I assume it's completly different code.
Possibly uninstall conflicts with one or more of my 83 mods I already installed. :-)
http://www.unitedworldforum.net
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 28, 2008, 07:33:31 AM
You can't just install a new version OVER an existing install.
There is no upgrade script in this mod.

With my mods, you always need to uninstalled/reinstall.

If it fails uninstalling then you should manually install the mod

SMF package parser (http://www.adrevenueshare.com/parser)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ceewee on January 28, 2008, 01:56:41 PM
Quote from: karlbenson on January 28, 2008, 07:33:31 AM
You can't just install a new version OVER an existing install.
There is no upgrade script in this mod.

With my mods, you always need to uninstalled/reinstall.

If it fails uninstalling then you should manually install the mod

SMF package parser (http://www.adrevenueshare.com/parser)

I plan to do just that.

As mentioned, I didn't uninstalled 1.3 thru package manager because its said test failed,
and I didn't instal 2.1.1. just tested install in package manager.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: topdog2k on January 28, 2008, 09:17:26 PM
I searched this topic but couldn't find any posts about this yet.  I'm having problems with HOW video links are posted.


The links don't work when I use http://www.liveleak.com/view?i=666_1200517388

They only work when I just use www.liveleak.com/view?i=666_1200517388 (no http)

or if I use the [url] tag.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fmofmpls on January 28, 2008, 10:56:45 PM
A couple of questions and concerns. I love this mod like there's no tomorrow, as does my forum's members. My forum is currently using v1.3 with no troubles whatsoever. I'm a little concerned about making the upgrade and then having trouble with the mod. If it ain't broke, why fix it? I'm sure v2.1.1 is more stable and I realize it provides more options with various video embeds, but is there any other pressing matter which would encourage me to mess with this? I'm leery. I'm assuming that I would have to manually uninstall all of this to be able to install the new mod? I'm using modified themes in conjunction with other mods. Would I use the parser to direct me through the uninstall process as well as the upgrade install?  Or could I uninstall directly through the package manager?

Thank you for your time!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 28, 2008, 11:25:14 PM
Since all of the code is contained within source files, you wouldn't need to uninstall it from specific themes. And those two files are so little used by other mods that it's unlikely there would truly be a conflict. In any case, all mod versions prior to 2.1.1 feature a bug with the regex, so upgrading to 2.1.1 is really your best bet to avoid that.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 29, 2008, 05:04:47 AM
Uninstall would probably work directly from the Package Manager.
If not, it is only 2 or 3 edits in total which should take a couple of minutes.
SMF Package Parser (http://www.adrevenueshare.com/parser)

Since v1.3 there has been a load more sites supported. And like Eliana said, there is a bug in all versions prior to v2.1.

@topdog2k
I'll investigate it later.  Thanks for reporting it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MadTurki on January 29, 2008, 01:55:50 PM
Worked perfectly for me in 1.1.4 with a custom theme.   Is there any way to make it work with stupidvideos.com ?  Just throwing that out there ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 29, 2008, 04:14:37 PM
i'll look at it for future versions
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fmofmpls on January 30, 2008, 10:35:37 AM
Hello. I'm trying to upgrade this mod from v1.3 to 2.1  I tried an uninstall first through the package manager but I got a failure notice in sources.subs

Can I still go ahead with a manual install of v2.1 without first uninstalling the previous version? Meaning will the edits overwrite the previous code? And if not, how can I uninstall v1.3? I don't have the zip file any longer to run through the Parser for a manual uninstall edit.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 30, 2008, 11:27:04 AM
No, it will not upgrade/overwrite.

You need to fully uninstall previous version.

I've attached a copy of v1.3

(note, in future, i hopefully will be able to provide upgrades, but for 2.0+ version only. This is because in 2.0 i moved most of the code into a separate file)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fmofmpls on January 30, 2008, 11:51:40 AM
Thank you Karl for the reply and the attachment! Now I can get to work. I'll report back here with my results.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fmofmpls on January 30, 2008, 12:26:33 PM
Just followed directions according to the Parser for an uninstall of v1.3 and a fresh install of 2.1 and ended up with bad results. My boards went completely blank. I panicked, inserted my backups, and went back to 1.3. Now everything is fine again.

This is what I was worried about. What happened? I did everything to a T.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 30, 2008, 12:48:42 PM
Please attach your
Subs.php
Load.php

I'll see if I can manually uninstall it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fmofmpls on January 30, 2008, 01:25:25 PM
Here ya go.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fmofmpls on January 30, 2008, 01:31:02 PM
BTW Karl, in my attempt to manually uninstall 1.3, I first edited all the code according to the Parser for the manual uninstall, then went back to the package manager to uninstall the mod, and was still left with the Sources fail error. I uninstalled it anyways thinking it wasn't yet recognizing the edits. It wasn't until I manually installed V2.1 that the boards went blank?

See requested attachments in previous post. I'll be gone for a few hours. Check back later. Thanks again!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 30, 2008, 02:00:26 PM
It looks like part of the mod was double installed in Subs.php.
Your load.php was fine.
Subs.php with AEVC mod completely removed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fmofmpls on January 30, 2008, 04:57:55 PM
That did it! Thanks Karl for the wonderful support! I'm running 2.1 now and all is working fine! Still crossing my fingers that someday the Internet Archive will reconfigure their embeds so it will work with this mod. Can't complain though. This is by far the most exciting mod out there! My members love it! Nicely done!

Best, Terry.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: renske on January 31, 2008, 03:13:44 PM
Hey,

Veoh at Auto Embed Video Clips works, but when you click at the fullscreen button nothing happens...
Please your help.

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on January 31, 2008, 04:09:16 PM
I'll investigate it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: miseryshining on February 01, 2008, 09:09:11 AM
You might want to remove the readme from "REMOVE QUOTED IMAGES v1.0" from the installer (this appears after you click on "apply mod").
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: forumguy on February 02, 2008, 01:34:17 PM
Anyone have a problem with the noembed tags not working?  When try to use them all that is put in the post is "Array"...

Thanks.

(I'm running most current version of SMF)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on February 02, 2008, 01:58:40 PM
Current version of AEVC?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 02, 2008, 02:07:25 PM
I will take a look at this.

I'm part way through work on updating it.
And writing a script to convert bbcoded video links eg
etc to normal links.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on February 02, 2008, 07:31:01 PM
Quote from: forumguy on February 02, 2008, 01:34:17 PM
Anyone have a problem with the noembed tags not working?  When try to use them all that is put in the post is "Array"...

Thanks.

(I'm running most current version of SMF)

You should upgrade to the latest MOD-Version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: forumguy on February 03, 2008, 02:40:36 AM
Hmm, well, I just downloaded and installed the mod.. last week?  So I'm assuming I have the latest version.  Just to be certain, the admin packages page says:

"Auto Embed Video Clips 2.0"

Oh crap, I guess I downloaded an older version. (duh)  So I'm testing the 2.1.1 now...

Yeaahhhh, it works.  Sorry about that guys.  Thanks for your willingness to help out.  <goes and feels like an idiot somewhere>  ;D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MakiaResc on February 04, 2008, 06:20:47 PM
   
Excuse my English.

Install this mod, in putting the links videos and preview shows whether the video, but to publish the post videos are left to see.

How do I fix this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on February 04, 2008, 08:33:28 PM
If I'm understanding you correctly, the preview accurately shows the video embedded in the post, but the post itself only contains the link?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: raaja on February 04, 2008, 08:35:56 PM
itz workin fine but whn u post a video frm youtube.. it showing the vidoe twice.. i means.. same video for twice...

how to fix this
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on February 05, 2008, 11:00:03 PM
Hi Karl,

Will you kindly check and see if you can add this video site to the embedded site list:

http://you.video.sina.com.cn/pg/topicdetail/topicPlay.php?tid=1377790&uid=1340620591#8599397

They give the embedding code like:

<div><object id="ssss" width="475" height="447" ><param name="allowScriptAccess" value="always" /><embed pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://vhead.blog.sina.com.cn/player/outer_player.swf?auto=0&vid=8599383&uid=1317927632" type="application/x-shockwave-flash" name="ssss" allowFullScreen="true" allowScriptAccess="always" width="475" height="447"></embed></object></div>


Thank you very much.

Jimmy
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: perplexed on February 06, 2008, 11:27:57 AM
hi

I have Streaming 3 mod installed (4.2.2b) which puts BBC buttons for youtube, google etc on the post box.

What's the difference between that and this mod, except yours has more sources?

Is there an option to turn it off or on per post or does it display video all the time and never links?  If so, does that have a huge impact on the loading times and speed of the forum?

thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on February 06, 2008, 11:29:48 AM
Quote from: raaja on February 04, 2008, 08:35:56 PM
itz workin fine but whn u post a video frm youtube.. it showing the vidoe twice.. i means.. same video for twice...

how to fix this


make sure you didn't try to put the html code that youtube gives you (the code in the box labeled "Embed:" in your post. cause if you did, then that would cause two videos to appear.

all you need to post is the url up in the adress bar of your browser
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 06, 2008, 11:39:48 AM
I'm hoping to have the new version up before the weekend.

I've done some bug fixes, improvements and a couple of new sites.
I'm also in the process of testing a script I wrote to convert video bbcode for every smf video bbcode there has ever been back into normal links.  Including [youtube] [ytplaylist] [stage6] [googlevideo] and all the rest.

However I had a setback in that due to virus/adware I've had to format my harddrive, so I'm in the process of reinstalling my os& software.  So I've got to do that before I can get it ready.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on February 06, 2008, 12:22:36 PM
Quote from: perplexed on February 06, 2008, 11:27:57 AM
hi

I have Streaming 3 mod installed (4.2.2b) which puts BBC buttons for youtube, google etc on the post box.

What's the difference between that and this mod, except yours has more sources?

Is there an option to turn it off or on per post or does it display video all the time and never links?  If so, does that have a huge impact on the loading times and speed of the forum?

thanks

AEVC automatically loads a video to any compatible video site link, without the use of BBC. It's easy and convenient, but if you don't want it bogging down your forums, your members are free to use the [noembed][/noembed] tags to stop the automatic embedding (rendering them as normal links again). And the only effect it has is on the loading of specific pages where those links are posted, which are probably only topic pages.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 06, 2008, 12:46:22 PM
Generally flash is a security risk.
Thats why its disabled in SMF by default.

So the Auto Embed Video mod allows to embed videos clips using flash players for a limited number of trusted sites.
Unlike the Streaming 3 mod which allows ANY video hosted ANYWHERE.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: perplexed on February 06, 2008, 01:10:48 PM
ok, that sounds good

thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Chopper on February 06, 2008, 03:16:44 PM
Are we able to embed sopcast?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on February 06, 2008, 03:29:42 PM
Quote- 123video.nl, Aniboom, AOL Uncut, AtomFilms, AtomFilms Uploads, Biku, BrightCove, CellFish, ClipFish.de, CollegeHumor, DailyMotion.com, DailyMotion.Alice.It, Dave.tv, dv.ouou, ESPN, Gametrailers, GameVideos, Glumbert, Godtube, Google Video, Guba, Hulu(US Only), IFilm, Koreus, Libero.it, LiveLeak, LiveVideo, Megavideo, MetaCafe, MSN Live/Soapbox Video, Mofile, MThai, MySpaceTv, MyVideo.de, OnSmash, Revver, Sevenload, Stage6, Streetfire.net, Tudou, Veoh, videotube.de, Vidiac, VidMax, Vimeo, VSocial, WeGame, Yahoo, Yahoo HK, Youku, YouTube (including Playlists)

If a video site is not included there, it is not yet supported. Also, these sites cannot be supported:

QuoteBreak.com, ebaumsworld, garagetv.be, 56.com, Blip.Tv, slideshare.net, videojug, vidlife, Filefront, IGN, Gamespot.

If there is a site that is not yet on the supported/unsupported list, feel free to post up an example of the URL and embed code, and Karl will evaluate it to see if it can be supported.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 06, 2008, 05:26:43 PM
@chopper.
No. Sopcast isn't supported.  I had a look at the website and its not the sort of media that can be supported.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pallegoix on February 07, 2008, 01:14:16 AM
ok, this one is not video site, it's music but not sure if it'll work

http://www.ijigg.com/songs/V2CDBC4PA0

Autoplay Embed Code:
<object width='315' height='80'><param name='movie' value='http://www.ijigg.com/jiggPlayer.swf?songID=V2CDBC4PA0&Autoplay=1'><param name='scale' value='noscale' /><param name='wmode' value='transparent'><embed src='http://www.ijigg.com/jiggPlayer.swf?Autoplay=1&songID=V2CDBC4PA0' width='315' height='80'  scale='noscale' wmode='transparent'></embed></object><div style='width:300px;padding:4px;background:white;font-family:Arial,Tahoma;text-align:center;'><font size='3'><a href='http://www.ijigg.com/songs/V2CDBC4PA0'>My Music - A Ballad for the Bleeding Heart</a></div>

And thanks for the mod, it's work great on smf version 1.2  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: CHwebby on February 08, 2008, 04:50:45 PM
Awesome mod! I had the YouTube mod then saw this one and I'm using this one now. Much quicker.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: bobbbb on February 10, 2008, 09:11:02 PM
This mod is AWESOME! Thanks Karl!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on February 11, 2008, 12:55:36 AM
Quote from: pallegoix on February 07, 2008, 01:14:16 AM
ok, this one is not video site, it's music but not sure if it'll work

http://www.ijigg.com/songs/V2CDBC4PA0

Autoplay Embed Code:
<object width='315' height='80'><param name='movie' value='http://www.ijigg.com/jiggPlayer.swf?songID=V2CDBC4PA0&Autoplay=1'><param name='scale' value='noscale' /><param name='wmode' value='transparent'><embed src='http://www.ijigg.com/jiggPlayer.swf?Autoplay=1&songID=V2CDBC4PA0' width='315' height='80'  scale='noscale' wmode='transparent'></embed></object><div style='width:300px;padding:4px;background:white;font-family:Arial,Tahoma;text-align:center;'><font size='3'><a href='http://www.ijigg.com/songs/V2CDBC4PA0'>My Music - A Ballad for the Bleeding Heart</a></div>

And thanks for the mod, it's work great on smf version 1.2  :)

required a log in for me, hacking their system is not the best way for karl to spend time probably.


that was just a joke don't take it seriously
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on February 11, 2008, 02:12:28 PM
Hi Karl,

Will you take a look and see if you can add this site to the list too.

http://vhead.blog.sina.com.cn/player/outer_player.swf?auto=0&vid=8599383&uid=1317927632

With embedded code:
<div><object id="ssss" width="475" height="447" ><param name="allowScriptAccess" value="always" /><embed pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://vhead.blog.sina.com.cn/player/outer_player.swf?auto=0&vid=8599383&uid=1317927632" type="application/x-shockwave-flash" name="ssss" allowFullScreen="true" allowScriptAccess="always" width="475" height="447"></embed></object></div>
Thank you very much.
Jimmy
Quote from: karlbenson on February 06, 2008, 11:39:48 AM
I'm hoping to have the new version up before the weekend.

I've done some bug fixes, improvements and a couple of new sites.
I'm also in the process of testing a script I wrote to convert video bbcode for every smf video bbcode there has ever been back into normal links.  Including [youtube] [ytplaylist] [stage6] [googlevideo] and all the rest.

However I had a setback in that due to virus/adware I've had to format my harddrive, so I'm in the process of reinstalling my os& software.  So I've got to do that before I can get it ready.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 11, 2008, 02:18:55 PM
Its just not yet ready.
I've got a draft post saved on my comp which has responses to everything so far.

WIll post as soon as its ready.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on February 11, 2008, 02:20:27 PM
What's the original URL for that movie? Karl will need it if he's going to add it in.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 11, 2008, 02:21:56 PM
Eliana Tamerin it won't matter. I've already added that one.

The format I've added so far is
http://you.video.sina.com.cn/pg/topicdetail/topicPlay.php?tid=1377790&uid=1340620591#8599397

uid=1340620591#8599397

uid=1340620591
vid=8599397 (note its the bit after the #, therefore their site links will only work with the anchor link attached)

Please let me know if that sites uses any different formats of link aswell.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on February 11, 2008, 02:33:46 PM
Wow, this is great Karl! I really appreciate. I just check for another URL and it looks like follow the same format:

http://you.video.sina.com.cn/pg/topicdetail/topicPlay.php?tid=1376987&uid=1333482564#8236790

Thank you very much.
Jimmy
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 11, 2008, 02:37:14 PM
Thx for checking.

I've had two issues that have been slowing me down.

1. Trying to disable videos inside quotes.
I thought i'd devised the perfect regex pattern. But it failed. So maybe next version.

2. My script to remove old bbcodes
Stripping some slashes it shouldn't.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on February 11, 2008, 02:43:58 PM
The code structure of v2.1.1 looks great, the site list is not inside Sub.php.

Jimmy
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 11, 2008, 02:46:10 PM
Yeah.
Although originally it fitted into the subs.php quite nicely.
The number of sites the mod now supports was getting alot larger.

I was wanting to move it into a separate file, and I'd had a few recommendations aswell.

I'm trying to squeeze extra performance/optimization out of it as I learn new tips etc.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on February 11, 2008, 04:20:20 PM
Will this new version come out soon?

Jimmy
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 11, 2008, 04:24:44 PM
Well I was hoping to have put it out last week.

Its just a case of figuring out 2)
The last thing I'd want to do is release somethign that will harm your database.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: forumguy on February 11, 2008, 04:27:46 PM
Quote from: karlbenson on February 11, 2008, 04:24:44 PM
The last thing I'd want to do is release somethign that will harm your database.
Where's your sense of adventure?   :D

JUST KIDDING!  Take your time, it's all good man.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on February 12, 2008, 03:45:43 AM
Quote from: karlbenson on February 11, 2008, 04:24:44 PM
The last thing I'd want to do is release somethign that will harm your database.

Are you kidding me? It's moments like those that I live for!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Hoochie Coochie Man on February 12, 2008, 09:58:39 AM
Hi Karl,
How are you?

Can I ask you something?
When I entered a simple youtube link and post a message, it shows up two videos in Internet Explorer. See...

http://www.siteadı.com/forum/index.php/topic,764.msg5188.html#new

There is no error like that on Firefox.

Can you tell me why?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 12, 2008, 10:02:25 AM
I only see it once.

What version are you using?
The version I'm working on does provide some better protection which may or may not solve this.
I'll try to work on it today and get it done.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Hoochie Coochie Man on February 12, 2008, 10:14:09 AM
I'm using an old version. But everbody can use old versions.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 12, 2008, 10:16:42 AM
It could be a bug in an earlier version. Thats why I'm asking.
Anything less than v2.1 I'm recommending people uninstall and reinstall the latest versions.

My answer for support for older versions is to upgrade.  If it does not resolve your issue, then its a bug in the latest version and I'll do everything I can to find out the cause and fix.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Hoochie Coochie Man on February 12, 2008, 10:40:04 AM
By the way..
We delete some codes in post.template.php with JohnyB in this topic..
http://www.simplemachines.org/community/index.php?topic=219617.0

Can this create a problem about my problem?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 12, 2008, 10:51:55 AM
no.  Thats just to show bbcode buttons.
This mod doesn't interfere with that.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Hoochie Coochie Man on February 12, 2008, 11:02:04 AM
I've already been using 2.1.1
Thanks for your help.

Edit: I solved my problem.
I've already installed the mod manuel. But I forgot, than I install your upgrade on it. :P

So, I remove Auto Embed Video Clips v2.1.1
and it is done
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 12, 2008, 11:50:21 AM
Glad you got it sorted.

;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: m3g4v0lt on February 12, 2008, 11:58:35 AM
Hi, is it possible to customize the size of the videos?
And other question, is it possible to make it work in TP in the Articles?

Thanks you,
m3g4v0lt
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 12, 2008, 12:10:22 PM
The size of the videos uses the default of each site.
You can manually change the sizes if you want in Sources/Subs-AutoEmbedVideoClips.php
(which will do it for ALL topics)

But since the mod automatically converts links, there isn't an obvious way to specify sizes without using bbcode, which is the opposite to the mods intention.

As far as I'm aware it SHOULD work with TinyPortal, providing TP uses the Parse_BBC function, it should work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Spamiam on February 12, 2008, 01:01:08 PM
This works great in IE.

FireFox shows the video still, but won't let me click the play button. I'm sure this isn't a mod problem, it's a my problem. Any idea why it may be doing this to me?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on February 12, 2008, 01:44:12 PM
I don't see problems described on Firefox.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 12, 2008, 02:24:26 PM
You need to click the object twice to get it to play.

One to get the focus on the flash object. Second to play.

I do test all the sites in IE/FF/Opera.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 12, 2008, 06:32:26 PM
General note, Video.Yahoo seems buggy.
With the same video, some days it works, other times not.

Still unable to get Photobucket working

Added support for
Stupidvideos.com
Sina.com.cn

@pallegoix
I'm only supporting video sites for the moment.
Although I haven't ruled out an audio addon/version in future.

@topdog2k
I've tested many different LiveLeak links and haven't had a problem with any.
Both with and with www. worked.
What other mods do you have installed?

@wjhdiz 
Sina support added

@MadTurki
I've added Stupid Videos, but it will ONLY work for the links with the video id added onto the end
Will Work
http://stupidvideos.com/video/Tom_Brady_Gets_A_Marriage_Proposal/?m=new#59433
Will Not Work
http://stupidvideos.com/video/Tom_Brady_Gets_A_Marriage_Proposal/

@forumguy 
Glad you got it sorted.

@miseryshining
I don't understand.

@renske
It appears their players 'full screen' link is broken.
I tried with their exact embed code and it doesnt work.
As far as I can tell its not related to this mod.
(Note their own website uses a slightly different player)

@fmofmpls
I will try again at some point to see if I can figure it out.

Any previous versions of this mod MUST be uninstalled BEFORE installing this version.

2.1.2 - 12th February 2008
o Added Sina.com.cn support
o Added Stupidvideos.com support
o Improved/optimized the protection of noembed
o Added protection for <noembed> content (which contain contain links)
o Fixed objects are protected until complete replacements
o Fixed [noembed] to make non-active links, active (subject to settings)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on February 13, 2008, 02:07:48 PM
Hi Karl,

Greaaaaaaaaaat Job! Thank you so much on behalf of my board users.

Have a great day and continue on your great work, you are simply GREAT.
Jimmy

Quote from: karlbenson on February 12, 2008, 06:32:26 PM
@wjhdiz 
Sina support added
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 13, 2008, 07:02:59 PM
Let me know if theres any issues with it.
Any links that don't get converted which maybe because they use alternative link formats and such.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: No.Body on February 13, 2008, 07:13:48 PM
very nice. ;)

is there a way we can add more sites? i wanna add redtube  O:)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 13, 2008, 07:53:06 PM
There is nothing to stop you manually adding sites providing you know php and how to do regex patterns.
Subs-AutoEmbedVideoClips.php

I won't support porno sites in the mod, but most that I had tested in the past will NOT work with the mod even if I did.

Please also note, I don't provide support for customizing the mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: perro88 on February 14, 2008, 08:45:00 PM
do you think would be a good idea to make the mod don't auto embed when someone post something between <object and </object>? so when someone take a link(the long one) from the video to auto embed don't get something strange
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 14, 2008, 08:47:58 PM
it will only convert <a href=""></a> type links
And between <object></object> the only place that could occur is between <noembed> tags.
And in the latest 2.1.2 I protect those.

If you have any other instances or can explain a bit further what you mean (maybe with links to examples)
I will look into it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: perro88 on February 14, 2008, 09:25:42 PM
Quote from: karlbenson on February 14, 2008, 08:47:58 PM
it will only convert <a href=""></a> type links
And between <object></object> the only place that could occur is between <noembed> tags.
And in the latest 2.1.2 I protect those.

If you have any other instances or can explain a bit further what you mean (maybe with links to examples)
I will look into it.
I have the 2.1.1 atm, will update tomorrow maybe. I mean that some people might be used to embed for example youtube videos by writing the embed link that appears in the youtube video page and then when they post that link they will get something like:
ex: this link :<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/H0DnfS7dg9g&rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/H0DnfS7dg9g&rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>

will be posted as <object width="425" height="355"><param name="movie" value=" VIDEO EMBEDED HERE "></param><param name="wmode" value="transparent"></param><embed src=" VIDEO EMBEDED HERE &lt;a href="http://www.youtube.com/v/H0DnfS7dg9g" target="_blank"&gt;http://www.youtube.com/v/H0DnfS7dg9g&lt;/a&gt;" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>.
thanks for the reply
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 14, 2008, 09:53:28 PM
If I understand you correctly.

If a user posts object/embed html into a post. Without permission or [html] bbcode
SMF will convert it to html entities.  And then if you have the setting AutoConvert urls enabled it will turn the links into active links.

And then my mod will convert those active links into objects.

hmmm. I'm not so sure if I could protect them.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: perro88 on February 14, 2008, 10:14:14 PM
Quote from: karlbenson on February 14, 2008, 09:53:28 PM
If I understand you correctly.

If a user posts object/embed html into a post. Without permission or [html] bbcode
SMF will convert it to html entities.  And then if you have the setting AutoConvert urls enabled it will turn the links into active links.

And then my mod will convert those active links into objects.

hmmm. I'm not so sure if I could protect them.
well you probably have a lot of better things to think of :P, NP mate big thanks for the replies and keep the good work
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on February 14, 2008, 11:40:37 PM
Users should be informed of the mod and how BBC/HTML works. I think that may be the only real solution at the moment. For them, it should be much easier to copy/paste the link out of their browser address bar than to copy all the confusing coding. So long as they know the mod is there, they should be able to adequately use it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: perro88 on February 15, 2008, 12:18:18 AM
Quote from: Eliana Tamerin on February 14, 2008, 11:40:37 PM
Users should be informed of the mod and how BBC/HTML works. I think that may be the only real solution at the moment. For them, it should be much easier to copy/paste the link out of their browser address bar than to copy all the confusing coding. So long as they know the mod is there, they should be able to adequately use it.
indeed, I'll try to add a note on post.template or something, maybe a popup showing the video sites availabable
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on February 15, 2008, 08:39:53 AM
I got this Error during uninstall of 2.1.1:
2: require_once(/forum/Sources/Subs-AutoEmbedVideoClips.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory
Datei: /forum/Sources/Subs.php
Zeile: 2604
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 15, 2008, 10:52:28 AM
Check Subs.php @ line 2604 that some code hasn't been left behind.

Also make sure /Sources/Subs-AutoEmbedVideoClips.php was deleted before installing the latest version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Zeebra on February 15, 2008, 03:42:49 PM
This mod works flawlessly when I tested it out.

I was wondering if anyone knew of video hosting site that would allow me to have private videos for my forum users.  Say I create an account that all my users could upload videos to, is there a way to only allow those videos to be viewed by members of my forum?  So if the request for the video is coming from abc.com can I limit who can see the video by the domain ?  Anyone understand what I'm asking?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kender on February 15, 2008, 04:14:36 PM
Quote from: Zeebra on February 15, 2008, 03:42:49 PM
This mod works flawlessly when I tested it out.

I was wondering if anyone knew of video hosting site that would allow me to have private videos for my forum users.  Say I create an account that all my users could upload videos to, is there a way to only allow those videos to be viewed by members of my forum?  So if the request for the video is coming from abc.com can I limit who can see the video by the domain ?  Anyone understand what I'm asking?
Why not have a small upload script written, where they can upload videos to your site, from there you can have an .htaccess file resticting outside views of the files in the upload directory(s)

Then you can host your users videos yourself, within that script you can also limit filesize and types as well, ensuring its used for its intended purpose, and also controlling the content a little better by having direct access to the file
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on February 15, 2008, 05:30:51 PM
I believe Karl has said many times that he won't personally try to make the mod extendable that way. Users and other developers, though, are free to try on their own, I think. I'll wait for him to correct me if necessary, but I think if you note that it's an addon to the AEVC mod or duly credit Karl's works, he should be fine with modifications.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 15, 2008, 05:33:31 PM
Uploading video is not available via this mod.

Your probably after a different type of mod.  I believe there is a [paid] vido gammery addon to the smf gallery pro [itself a paid mod] See smfhacks.com
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 15, 2008, 06:20:58 PM
Another option might be to setup a private forum, using permission, for the people you want to see the video and post it there. Then you could use pretty much any hosting service this mod supports.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on February 15, 2008, 08:01:22 PM
You could also upload the video to any of the supported sites. No, it wouldn't be on your site, but you could then easily show it to your site as well as others.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Zeebra on February 16, 2008, 08:36:57 AM
Thanks for all the replies, the gallery plug in looks like what i'm after although I would have to use up server space to store my users' videos.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Powerbob on February 17, 2008, 07:54:30 AM
If I want to add image shack eg.

http://img532.imageshack.us/my.php?image=mov00547ag3.flv as an example video, what would I have to add. Great Mod by the way. Thanks

Bob
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 17, 2008, 09:21:30 AM
Imageshack is not currently supported.

From the look of it it will NOT be possible to support those links.
http://img532.imageshack.us/my.php?image=mov00547ag3.flv&s=1

(becauses its missing the necessary 5103 (and other folder information))
http://img532.imageshack.us/img532/5103/mov00547ag3.flv?s=1
Although direct link
http://img532.imageshack.us/img532/5103/mov00547ag3.flv?s=1
Could probably be supported in future
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dante_Arg on February 17, 2008, 01:43:43 PM
OMFG! Thanks for this great MOD, working PERFECT in spanish forum with theme. Thanks!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on February 17, 2008, 05:27:09 PM
Guys, I use the Auto Embed Videos MOD and it covers pretty much all the sites.

But I need to embed some other videos sites too.

Example:

http://www.yousportz.com/watch/39425017/India-vs-Australia---7th-ODI-CB-Series-Part-1

http://www.dipvid.com/view_video.php?viewkey=c2d235e62b125e926010

Please help

Can you add those sites or tell me how to make theme embed into my site.

Can I use something like [flash]Embedded Code[/flash]?

In IPB, I could use [dohtml]Embedded Code[/dohtml] and it would work for any site. Anything like that with SMF?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 17, 2008, 05:35:50 PM
There is [html][/html] in SMF.
But its for admins only. (as it would be a security risk)

Flash bbcode is in smf, but disabled because again it can be a security risk.

I checked it out
Dipvid will be compatible, I will add that in the next version.

But YouSportz won't be able to work with this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on February 17, 2008, 08:52:50 PM
I get this error message while trying to view "DailyMotion" videos in Full Screen

"Fullscreen activation failed because of permission issue from the website."

I've reinstalled the mod but still the same problem. :|

Please help.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 18, 2008, 08:30:51 AM
I'll investigate it.
allowFullScreen is set to true.
Although for security reasons. use of javascript is disabled.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on February 18, 2008, 03:51:01 PM
How can i adjust the height and the width of the video?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 18, 2008, 04:18:59 PM
The size of the videos uses the default of each site.
You can manually change the sizes if you want in Sources/Subs-AutoEmbedVideoClips.php
(which will do it for ALL topics)

But since the mod automatically converts links, there isn't an obvious way to specify sizes without using bbcode, which is the opposite to the mods intention. Which is why there isn't a way to do it on a per-topic basis.

Most of the video sites have fullscreen capability aswell.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on February 18, 2008, 06:57:50 PM
Hey can you please tell me how to make DailyMotion videos fullscreen? Where to set "fullscreen=true"?

Can you please do it as fast as possible. I know you are trying your best but site can't survive without the DailyMotion videos. I do cricket highlights and there is a new match every other day and my site's traffic is all because of the highlights. I hope you understand.

I looked through Sources/Subs-AutoEmbedVideoClips.php and couldn't find a place to edit the fullscreen value.

Thanks in advance.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 18, 2008, 07:11:45 PM
It is ALREADY set as allowFullScreen.

I just checked and with the latest version full screen works for me.
http://www.adrevenueshare.com/index.php?topic=27.0

It could be your browser settings/popup blocker could be preventing it from going full screen.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on February 18, 2008, 08:15:13 PM
Karl,

I've tested this from two computers in Firefox and Internet Explorer but it doesn't work. A couple of my users have reported the same thing.

I uninstalled and reinstalled the latest version but no good.

When I try to view DailyMotion embedded videos on other sites [Non-SMF Site. Blogspot for the fact], the fullscreen feature works fine.

Even the test link provided by you doesn't work. Would you like me to attach Subs.php, Load.php & Subs-AutoEmbedVideoClips.php?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Corvida on February 18, 2008, 09:16:28 PM
Are there any possible bandwidth modifications that can be made to this mod? It sucked up more space than I thought it would...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 18, 2008, 09:39:03 PM
@PanesarV, its obviously not due to your installation.

Because the clip at the link I posted DOES work in fullscreen for me in Firefox 3 Beta 2 and IE7.
I've asked a few other people who have ALL said it works in IE7/FF2/Opera.

Which leads me to believe there is something stopping it from going fullscreen on your computer.
Like I said above, it could be a popup blocker, anti-virus software, browser settings.

@Corvida
The bandwidth used by this mod is going to be minimal.
Since all the videos are hosted externally, none of that counts towards your bandwidth.

All that will count is the code added by the mod, and the links in your post.
(which amounts to a few KB).

If your noticing large megabye/gigabyte increases in bandwidth use, then that won't be caused by this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on February 18, 2008, 10:22:58 PM
Karl, I understand that. But how come dailymotion videos embedded on other sites are working for me?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 18, 2008, 10:41:30 PM
Are you clicking the object twice?
Once to get focus on the object, and the other to make it go fullscreen.

Are the other sites on your trusted sites lists
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on February 18, 2008, 10:52:45 PM
Yes I click it once to get focus. I've tried by both clicking the full screen icon and trying to go fullscreen through the menu.

I have no trusted sites list. But now I've added my site to trusted sites list and still the same problem. I'm sure that its not a pop-up blocker.

I hope you don't mind me asking, but could you relook into the DailyMotion code or may be redo it cuz there might be a problem. I'm not critizing. Just asking, I'm a noob at PHP.

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 18, 2008, 11:01:22 PM
I can't see anything wrong with the code that is produced.
(note it doesn't use the exact code from Dailymotion)

Of the thousands of people who have downloaded the mod, you seem to be the only one affected by this.

The clips on your forum work for me aswell.

Check whether either of these work for you
http://www.adrevenueshare.com/index.php?topic=28.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on February 18, 2008, 11:28:48 PM
Both of them work perfectly fine. :S
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 19, 2008, 12:02:38 AM
:(

How about these 5
http://www.adrevenueshare.com/index.php?topic=29.0

(they all use slightly different code, which may help me determine if there is something wrong with the code)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on February 19, 2008, 12:12:35 AM
Ok. Only Video 4 goes Full Screen and rest of them don't. :S
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 19, 2008, 12:19:43 AM
The only difference in that one over all the others is <param name="wmode" value="transparent" />
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on February 19, 2008, 12:22:09 AM
So should I change it then? I'll confirm with others if it works? Does video 4 work for you?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on February 19, 2008, 01:56:00 AM
Quote from: karlbenson on February 18, 2008, 04:18:59 PM
The size of the videos uses the default of each site.
You can manually change the sizes if you want in Sources/Subs-AutoEmbedVideoClips.php
(which will do it for ALL topics)

But since the mod automatically converts links, there isn't an obvious way to specify sizes without using bbcode, which is the opposite to the mods intention. Which is why there isn't a way to do it on a per-topic basis.

Most of the video sites have fullscreen capability aswell.

Thanks karlbenson
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kender on February 19, 2008, 08:56:16 AM
I would love to use this in combination with SSI, is there a way that we can include something in possibly the ssi call, or the ssi page that would allow us to reduce the size of the video for display on ssi page, but keep it full size on the forum page?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 19, 2008, 09:38:38 AM
@PanesarV
I'm unsure what it is with wmode.
ALL of the video links I posted work for me in both IE and Firefox.

I'll have to do some more searching.

@Kender
There isn't.

The sizes are hardcoded in Subs-AutoEmbedVideoClips.php.

It isn't just the case of reducing the size because ALL the sites use different clip sizes and different aspect ratios.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Powerbob on February 19, 2008, 09:50:05 AM
Quote from: karlbenson on February 17, 2008, 09:21:30 AM
Imageshack is not currently supported.

From the look of it it will NOT be possible to support those links.
http://img532.imageshack.us/my.php?image=mov00547ag3.flv&s=1

(becauses its missing the necessary 5103 (and other folder information))
http://img532.imageshack.us/img532/5103/mov00547ag3.flv?s=1
Although direct link
http://img532.imageshack.us/img532/5103/mov00547ag3.flv?s=1
Could probably be supported in future

That would be great, thanks.


Bob
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kender on February 19, 2008, 11:07:56 AM
Quote from: karlbenson on February 19, 2008, 09:38:38 AM
@Kender
There isn't.

The sizes are hardcoded in Subs-AutoEmbedVideoClips.php.

It isn't just the case of reducing the size because ALL the sites use different clip sizes and different aspect ratios.

can we use if statements?  using the php self function, if its $boarddir then use this size, if its not then use other size?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 19, 2008, 11:31:08 AM
Its not impossible. But you would need to customize the mod.

Overall I cannot provide support/edits for helping to customize it.  I don't have the time.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kender on February 19, 2008, 11:32:49 AM
thanks for the speedy reply!

i will look at it and see what i can do
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kender on February 19, 2008, 03:02:00 PM
for anyone wanting to use this, and be able to change size for SSI pages

my example...
SSI page at -- http://domain.com/index.php
forum pages -- http://domain.com/community/index.php

i did a search, if the URL contained "community" i showed full size, if not, i cut the size in half

Find:
// Build the <object> (Non-Mac IE Only)


Add Before:
// Kender Hack
if(!strpos($_SERVER['PHP_SELF'], "community")) {
$arr['width'] = $arr['width'] * '.5';
$arr['height'] = $arr['height'] * '.5';
}
// End Kender Hack



the .5 is to designate 50%, so you can change that to match what percent change you want the size to show
Remember, change the word COMMUNITY to whatever directory your forum is in.
IMPORTANT:  This WILL NOT WORK if your ssi page is in the same directory as your forum
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 2Ntense on February 19, 2008, 03:41:01 PM
Here's a weird problem with YouTube:

We had a bunch of videos embedded that had been playing just fine for everyone, on a wide variety of browsers.  Suddenly yesterday about half of the YouTube links started saying "We're sorry, this video is no longer available."

However, when you paste the URL back into your browser, YouTube plays it.

I found the fix: I had to manually suffix the URLs with &rel=1 the way it shows in their EMBED code.  Suddenly all of the embedded videos worked again.

The oddest thing is that SOME of the YouTube embeds still worked OK without the suffix to the URL.  We're running SMF 1.1.4 with AEVC 2.1.2

Any chance you could parse the YouTube URLs and conditionally add the &rel=1 (if it's missing) since it's not shown in the address bar?  It's more of an annoyance than anything doing it manually, but some of our members will assuredly ignore the HELP NOTE and start whining when it doesn't work.  ::)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on February 19, 2008, 06:46:03 PM
Quote from: karlbenson on February 19, 2008, 09:38:38 AM
@PanesarV
I'm unsure what it is with wmode.
ALL of the video links I posted work for me in both IE and Firefox.

I'll have to do some more searching.

@Kender
There isn't.

The sizes are hardcoded in Subs-AutoEmbedVideoClips.php.

It isn't just the case of reducing the size because ALL the sites use different clip sizes and different aspect ratios.

So Karl should I wait or change the vmode thing?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 19, 2008, 06:50:40 PM
@PanesarV
Sorry for not responding last night. (it was like 5am here when i posted my last message)

I can't see a valid reason why it wouldn't work.  I've spoken to a few techies who told me to get you check which version of Adobe flash player your using?  And if not upgrade to the latest version.
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507

(apparently there are a few versions of Adobe Flash player and wmode that was buggy in some browsers)

P.S with regards to DipVid & YouSportz. I've just been attempting to add them both to the mod. And although I said DipVid would work, I've discovered that in fact neither will :(

@2Ntense
hmm.
rel=1 was never mandatory before.

But it does look like Youtube prefers it in my testing.
I'll include it for v2.1.3 which i'll try to release asap
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on February 19, 2008, 07:47:31 PM
No problem Karl. You are already doing so much.

BTW, PROBLEM SOLVED. It was my flash player. I had a slightly old flash player. I had like build 45 and newest one was 115. So yea problem solved. A big thanks to you and the techies that helped solve this problem.

I don't care about Dipvid and YouSportz now as now I know how to use [html][/html] code. I only need to use them ocassionaly so I'll just use [html][/html]. Anyways, thanks once again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 20, 2008, 07:26:51 PM
Ok. heres the newest version

2.1.3 - 21st February 2008
o Added rel=1 to all embed youtube embed links (which now appears to be mandatory)
o Added support for Imageshack flv files
o Added support for GoFish, both channels and videos
o Added support for Photobucket videos
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kender on February 20, 2008, 09:44:37 PM
is there somewhere i can just get the changes made (update current)

as you know, ive modded mine already :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 20, 2008, 10:10:57 PM
No, I don't provide an exact changes list for the same reason i don't provide upgrade packages.
It takes too much time. And I've got 30+ other mods to update.

However ALL the changes are within Subs-AutoEmbedVideoClips.php
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: biokonsult on February 21, 2008, 04:52:00 AM
hi  :D

i try to use Video clips mode .........smf tells that installation is okay, but nothing happens with link,  there is only  link without any movie? 

http://www.forumstockholm.com/index.php?topic=1.0

please i donate is you fix this .. ;D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kender on February 21, 2008, 05:09:48 AM
Quote from: biokonsult on February 21, 2008, 04:52:00 AM
hi  :D

i try to use Video clips mode .........smf tells that installation is okay, but nothing happens with link,  there is only  link without any movie? 

http://www.forumstockholm.com/index.php?topic=1.0

please i donate is you fix this .. ;D


cant load your page, at all from my end
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on February 21, 2008, 05:12:29 AM
Quote from: Kender on February 21, 2008, 05:09:48 AM
cant load your page, at all from my end
Works perfect here. Though the links are shown just as links, no video.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: biokonsult on February 21, 2008, 05:43:50 AM
i try to install manual....

and btw how does my forum look like ? i have change some colors,  is it to bright?

:)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: biokonsult on February 21, 2008, 05:46:49 AM
does some one have this mod in forum so i can watch... ::)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on February 21, 2008, 05:53:44 AM
Quote from: biokonsult on February 21, 2008, 05:46:49 AM
does some one have this mod in forum so i can watch... ::)
I have, just updated, but as a guest you couldn't really see it in action.
(Guests are unable to post links at our forum, and places with working videolinks are hidden from guests.) But still, I can confirm it works. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: biokonsult on February 21, 2008, 06:15:55 AM
 :D

hi again i install mod manual an is fine now   :o this auto mode in smf realy stinks .....

:D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 21, 2008, 10:42:46 AM
http://www.forumstockholm.com/index.php?topic=1.0
Its showing as a clip for me now. Glad you got it working.

Not sure why you had to auto install it.

You could try in future disabling the backup tilda files and see whether that helps.
admin > packages > settings
Uncheck Backup files with tilda (~)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nami_eiku on February 21, 2008, 02:59:59 PM
Hello, karlbenson
First, I want to thank you for this awesome mod. I have it installed on my site and it's amazing. Saves me for having to explain every new user how other video bbcodes work, everybody always do it wrong at first time...
I would like to ask, if there is any way to limit the videos per post, instead of limiting them per page, because some users of my site get nervous when they see a previous post with a lot of videos, and they just can't post any one else until next page. I think it would be more useful to have the limit per post instead.

Thank you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 21, 2008, 03:22:01 PM
There is a reason why it hasn't been done per topic or per page.
Its because the function doesn't know whether the data its converting is a post or a pm

I'll consider adding hidden hooks for it in future.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cellDamage on February 21, 2008, 05:21:46 PM
Hi Karl,

Is there any way I can manually install this? I've been trying to get my package manager to stop showing the permissions error, it has stopped doing that but now it wont install the mods.

I'm pretty good with SMF and PHP so a basic description would help!

Cheers
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 21, 2008, 05:49:35 PM
Yes it can be manually installed
Use a SMF Package Parser to give you the two edits.
http://www.adrevenueshare.com/parser

One edit is for Sources/Load.php and the other for Sources/Subs.php
Plus copy Subs-AutoEmbedVideoClips.php into Sources directory.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: berkz on February 21, 2008, 05:52:55 PM
Any chance  you could add pokerhandreplays.com ?

here is an example.

<object width="400" height="240"><param name="movie" value="http://www.pokerhandreplays.com/flash/replayer.swf?pokerhandid=1508"></param><param name="bgcolor" value="#FFFFFF" /></param><param name="quality" value="high" /></param><param name="allowScriptAccess" value="always" /></param><embed src="http://www.pokerhandreplays.com/flash/replayer.swf?pokerhandid=1508" bgcolor="#FFFFFF" allowScriptAccess="always" type="application/x-shockwave-flash" width="400" height="240"></embed></object>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 21, 2008, 06:05:38 PM
I'll consider it in future.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cellDamage on February 21, 2008, 06:26:18 PM
Quote from: karlbenson on February 21, 2008, 05:49:35 PM
Yes it can be manually installed
Use a SMF Package Parser to give you the two edits.
http://www.adrevenueshare.com/parser

One edit is for Sources/Load.php and the other for Sources/Subs.php
Plus copy Subs-AutoEmbedVideoClips.php into Sources directory.
Brilliant, worked perfectly. Thank you for the help & a brilliant mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 22, 2008, 04:18:14 PM
Thanks cellDamage
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on February 23, 2008, 07:56:04 AM
I received this error when i tried to uninstall the previous version.

Fatal error: parse_bbc() [function.require]: Failed opening required '/home/*****/public_html/Sources/Subs-AutoEmbedVideoClips.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*****/public_html/Sources/Subs.php on line 2386
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 23, 2008, 10:23:43 AM
Make sure Sources/Subs-AutoEmbedVideoClips.php gets deleted after uninstall.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on February 23, 2008, 02:00:58 PM
Thanks for the upgrade!   8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 23, 2008, 02:02:01 PM
Thanks.

Can I just re-iterate as I've had 2 pm's about this.
There is no Upgrade patch in the mod, you need to uninstall previous versions BEFORE installing this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on February 24, 2008, 02:29:40 AM
Does this mod supports yahoo videos?


example:
http://video.yahoo.com/watch/2089578/6572314
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: humbleworld on February 24, 2008, 08:26:23 AM
Hello Karl,

I have version 1.3 and 1.9 of your Auto Embed Video. Should I remove this first from cPanel before I install the latest version?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on February 24, 2008, 09:30:51 AM
The procedure for upgrading is to uninstall old versions before installing the new version. So yes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pallegoix on February 24, 2008, 09:42:51 AM
Thank you for reply karl,  ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on February 24, 2008, 10:55:55 AM
Quote from: searchgr on February 24, 2008, 02:29:40 AM
Does this mod supports yahoo videos?


example:
http://video.yahoo.com/watch/2089578/6572314

Is there any way to add the video.yahoo videos in my forum?

Thank you
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 24, 2008, 12:25:10 PM
Hey Karl,
Per your PM, I've been able to fix the noembed problem I mentioned. Thanks :)
However, it seems to me that the amount of code required for such a simple bug (inserting a space just after the noembed tag does the trick) seems a little far-fetched. Why is it needed?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 24, 2008, 03:40:21 PM
Yeah a space would fix it for the SMF's auto convert urls.

As per my examples, it shouldn't be needed. My examples seemed to work fine.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 24, 2008, 05:51:11 PM
Quote from: karlbenson on February 24, 2008, 03:40:21 PM
Yeah a space would fix it for the SMF's auto convert urls.
Hence my question: why not add a space transparently after [noembed]? (Just make sure not to show it...)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 24, 2008, 06:09:09 PM
Whilst that was needed in the past. It shouldn't be needed anymore.
So it should be a mute point.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: humbleworld on February 25, 2008, 12:24:28 AM
Karl,

When I play a video using your MOD, would it eat too much bandwidth?
Whose bandwidth is being consumed in your video mod?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 25, 2008, 12:26:28 AM
the videos are hosted externally, so they use the bandwidth of the host, eg youtube's.

The only bandwidth that you will use is for the file/code used by the mod. Which will be in kb's per page.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: humbleworld on February 25, 2008, 01:30:17 AM
Thank you, Karl. That is a very comforting thought from your MOD.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 25, 2008, 01:57:19 AM
Quote from: karlbenson on February 24, 2008, 06:09:09 PM
Whilst that was needed in the past. It shouldn't be needed anymore.
So it should be a mute point.
I'm not sure we're speaking about the same thing ;)
I mean that between v2.1.1 and v2.1.3, the main difference in your Subs file is the StripAndFixNoEmbed function, which wasn't there in v2.1.1 and the only "bug" in v2.1.1 is that a link in noembed tags should not start directly after the first noembed tag -- a space or line break should be inserted before it so that it can be clickable. This piece of code obviously takes a bit more time to execute but I don't know why it's needed.
Anyway--it's only called when there ARE noembed tags in the post, so who cares!   ;D I was just wondering is all.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on February 25, 2008, 03:00:49 AM
The links work just fine for me, without the space between link and tag.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: bodyan on February 25, 2008, 02:51:35 PM
Big Thanks Karl. Can i ask you to add support of http://tinypic.com/tinyfx.php site ? Thanks :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 25, 2008, 02:56:45 PM
Had a quick look.

I'm afraid tinypic cannot be supported.
It won't be compatible due to the differences in the video in the url versus the actual file id in the embed code.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: bodyan on February 25, 2008, 03:00:29 PM
Thanks for a quick reply! thanks Karl :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SoulPleX on February 25, 2008, 07:26:39 PM
Can you add this site. rude.com. http://www.Rude.com/v/L262100PrxJ. <div id="rudecontentvideo_vm_L262100PrxJ"></div> <script src="http://embed.rude.com/embed/vm/default/id/L262100PrxJ/"></script>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 25, 2008, 07:29:29 PM
I'm not adding any pr0n sites.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SoulPleX on February 25, 2008, 07:40:52 PM
How can i add it?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 25, 2008, 08:53:46 PM
You would have to try to customize/add support for it yourself.
Subs-autoembedvideoclips.php

But I cannot and do not provide support/help in customizing/adding sites.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 26, 2008, 12:08:15 AM
Bad news everyone.
Stage6 is closing its doors in two days time.

http://www.stage6.com/blog/107/

So I'll have to remove Stage6 support in the near future.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kimmie on February 26, 2008, 03:21:16 AM
Quote from: karlbenson on February 26, 2008, 12:08:15 AM
Bad news everyone.
Stage6 is closing its doors in two days time.

http://www.stage6.com/blog/107/

So I'll have to remove Stage6 support in the near future.

Will we need to install a new version of your mod, or can we just tell members to no longer post stage6 stuff?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: utal on February 26, 2008, 09:29:04 AM
heys! great mod :)

i'm trying to use Gametrailers but i'm not getting how can i add the video into my forum

the video is this http://www.gametrailers.com/player/usermovies/181692.html and i tried both URL and Embed with no success :(

tks!
utal
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 26, 2008, 02:16:40 PM
@ utal
I don't believe Usermovies section of Gametrailers is  currently supported by the mod.
I'll look to see if its possible to rectify it in future.

@ Kimmie
Well Stage6 will technically work for two more days.
It will be upto you whether to update or not.
It is likely that there will be other changes aswell.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: utal on February 26, 2008, 05:23:48 PM
ok, would be great since they have a very good quality in the movies they host.

tks!
utal
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MegaTinkerCoder on February 28, 2008, 08:10:44 PM
Do you know if GodTube, changed something... I had a page of a few videos from there and it worked a couple of days ago, but today it shows the same video for all the videos.

Perhaps their site is doing something different?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 28, 2008, 08:32:20 PM
There does appear to be an issue with Godtube videos.
But its not related to this mod.  But on their end.
[even bypassing the mod and using their <embed> code doesn't work]
(Hardly surprising, as it appears to be run by a team of idiots who can't even provide valid xhtml)

If they don't fix it soon I'll have to remove support for it.
[note the reason their videos on their site still work is because they use a different player with different format links {which are not supported and can't be supported by this mod}]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kcyrus on February 28, 2008, 11:55:13 PM
I have PHP5 installed, but the script doesnt seem to contain any valid patterns.

for example the youtube/google pattern is: 'http://(?:video\.google\.(?:com|com\.au|co\.uk|de|es|fr|it|nl|pl|ca|cn)(?:[^"]*?))?(?:(?:www|au|br|ca|es|fr|de|hk|ie|it|jp|mx|nl|nz|pl|ru|tw|uk)\.)?youtube\.com(?:[^"]*?)?(?:\&|\/|\?|\;|\%3F|\%2F)(?:video_id=|v(?:/|=|\%3D|\%2F))([0-9a-z-_]{11})',

Are all of them not valid?  the http:// is not escaped. Is there an updated list of valid patterns?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 29, 2008, 12:35:50 AM
I use PHP5 too and have no problem with it.
I don't believe that the http:// needs escaping.
All necessary characters are escaped (dots, question marks).

As far as I'm aware they all ARE valid.

Are you getting an error?

Edit: Also note that ISN'T the complete pattern.  Some of it is built together later.
   $pattern = '~<a href="'.$arr['pattern'].'(?:[^"]*?)"(?:.*?)</a>~i'.($context['utf8'] ? 'u' : '') ;
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kcyrus on February 29, 2008, 12:45:52 AM
I pulled out youtube from the embed array to run a test.

<?php 
$site 
= array(
'name' => 'YouTube'// Includes parsing of youtube videos on google
'enabled' => 1,
'pattern' => 'http://(?:video\.google\.(?:com|com\.au|co\.uk|de|es|fr|it|nl|pl|ca|cn)(?:[^"]*?))?(?:(?:www|au|br|ca|es|fr|de|hk|ie|it|jp|mx|nl|nz|pl|ru|tw|uk)\.)?youtube\.com(?:[^"]*?)?(?:\&|\/|\?|\;|\%3F|\%2F)(?:video_id=|v(?:/|=|\%3D|\%2F))([0-9a-z-_]{11})',
'embedlink' => 'http://www.youtube.com/v/$1&rel=1',
'width' => '425',
'height' => '350',
);

$link "http://www.youtube.com/?v=KkMuqqGjmwM";

$count 0;
echo 
preg_replace($site['pattern'], $site['embedlink'], $link, -1$count);
echo 
$count



that code causes an error for me. does it for you?


i get  "Warning: preg_replace() [function.preg-replace]: Delimiter must not be alphanumeric or backslash "
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 29, 2008, 12:52:43 AM
Well it will do because its not a complete preg_replace like I said above.
That pattern only works once its been added to the rest of the pattern.
$pattern = '~<a href="'.$arr['pattern'].'(?:[^"]*?)"(?:.*?)</a>~i'.($context['utf8'] ? 'u' : '') ;

I'm not sure what your trying to do though.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kcyrus on February 29, 2008, 12:55:17 AM
ah hah, the code works above if I add the line

$site['pattern'] = '~'.$site['pattern'].'~i';

to bracket the pattern with the ~

What does the ~ do?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kcyrus on February 29, 2008, 01:13:45 AM
ok so after a bit of searching..

With PCRE, you have to have a starting and stopping character. Typically you see them as "/"; however, they can be any character. So if you're validating a URL and you don't want to escape every "/" you will have in your regex, you can change the delimiters to a character that is less likely to be used (like ~ or @). The tilde  is good because you arely use the ~ inside a regex.

So Your patterns did not validate, but the ~ fixed your issue.

Good to know and thanks for your help.

I was adapting your code to a class that would parse a video url to the embed tag that could be used in any PHP5 project.
example:
$ev = new EmbededVideo();
echo $ev->parse_url($url);

I could post it when im done if anyones interested.


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MegaTinkerCoder on February 29, 2008, 12:17:58 PM
GodTube videos work today... They are messing with their code...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: biokonsult on February 29, 2008, 05:18:42 PM
does aev clips support smf v2.0 beta ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 29, 2008, 05:20:58 PM
Yes it does work for the latest 2.0 betas, but as a non-charter member, you won't need to worry about it working for 2.0 just yet. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 29, 2008, 07:40:23 PM
2.1.4 - 1st March 2008
- Removed Stage6 (since its CLOSED (http://www.stage6.com/blog/108))
- Fixed codebase to specify latest adobe flash version 9.0.115.0
- By request, moved default params into array
- Simplified the building of the object
- Fixed Gametrailer to support uservideos
For the full changelog for previous versions please see changelog.txt
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 01, 2008, 09:03:08 AM
Thanks! No changes in the install.xml, only had to copy the updated php file :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 01, 2008, 09:30:35 AM
It's great to see you keeping up support for this, Karl. Bravo to you for a continued job done well.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: perro88 on March 01, 2008, 01:35:47 PM
what I need to if I want to embed a video outside a post?
for example let's say I have a var $video with the url of the video and I wanna embed it on a blank page.
thanks again for the mod
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 01, 2008, 03:39:24 PM
It should embed on any page that does not have the $context['disableautoembedvideo'] = 1 ; code.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 01, 2008, 04:07:51 PM
The embedding should work on ANYTHING that is put through the smf function parse_bbc.
To exempt something from converting, on the line before you put it through parse_bbc put
$context['disableautoembedvideo'] = 1

So it would work with ssi, but it is integrated with SMF variables, so it wouldn't work outside of smf.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: perro88 on March 01, 2008, 10:43:56 PM
Quote from: karlbenson on March 01, 2008, 04:07:51 PM
The embedding should work on ANYTHING that is put through the smf function parse_bbc.
To exempt something from converting, on the line before you put it through parse_bbc put
$context['disableautoembedvideo'] = 1

So it would work with ssi, but it is integrated with SMF variables, so it wouldn't work outside of smf.
thanks mate, used the parse_bbc function on the url string and it's working now. thanks for being always giving quick support for your mods
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TomWolf on March 02, 2008, 06:37:16 PM
Simply wonderful plugin.

I have a request for another video site that I think should work. Embed seems to work similar to some other sites that is in there.
gametube.org

I'll post link and embed code here.

http://www.gametube.org/#/video/U/RJDqa9RhCnk1lRpiL88yLrWzO4=

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="451" height="372"><param name="movie" value="http://www.gametube.org/miniPlayer.swf?vidId=U/RJDqa9RhCnk1lRpiL88yLrWzO4="></param><param name="wmode" value="transparent"></param><embed src="http://www.gametube.org/miniPlayer.swf?vidId=U/RJDqa9RhCnk1lRpiL88yLrWzO4=" wmode="transparent" width="451" height="372" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>

Perhaps someone knows how to include it?

Tomas
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 02, 2008, 06:53:46 PM
Never heard of it.

But it looks like it could be supported in future. I'll look at it when i next update the mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on March 03, 2008, 06:35:35 AM
wow karl you have a pretty popular mod.

congrats, you are almost ready to take over the world now it looks like...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ronnie42 on March 03, 2008, 05:56:00 PM
Hi karl thanks for this mod.

I am not into mods so i have a question  :-[

If i paste a link then the youtube window shows good in the board off reply but when i hit the play button then it say we are sorry this video is no longer available.

but when i search at youtube the link is there and when hit it plays the movie.
Should i do something here or is it not to be fixed?

Many thanks for your support

greetings
Ronnie.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 03, 2008, 06:05:45 PM
@ ronnie42
What version are you using?  Is it v2.1.4?
Does it happen with EVERY link, or just a particular one?  Can you post that link?

@ [кѕ]ваηε-σ 
Thanks. This mod has really exceeded my original expectations.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ronnie42 on March 03, 2008, 06:23:33 PM
http://www.chauffeursforum.eu/index.php?topic=50.0 (http://www.chauffeursforum.eu/index.php?topic=50.0)

this is the section of the forum where the link is in.

here the youtube link: http://nl.youtube.com/watch?v=WixJV2xBzDE

and the other 1 : http://nl.youtube.com/watch?v=iMhuk-I8rjI

but on the forum they dont work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 03, 2008, 07:04:36 PM
Ronnie, I've found out why.

It appears YouTube now has a setting allowing the person who uploaded the video to disallow embedding in external sites.

If you look for the embed link on that page it tells you that.
[the english version]
http://uk.youtube.com/watch?v=WixJV2xBzDE

So its not related to this mod and there isn't anything that can be done about it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 03, 2008, 09:46:00 PM
If you click outside the huge play button, you can go directly to the video. That's about the only solution to it. (Or click menu and copy the link & paste into your browser).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SpoogeBeast on March 04, 2008, 02:18:15 AM
Outstanding mod. Probably the most useful and well received mod I've added to my board so far. Highly recommended! :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ronnie42 on March 04, 2008, 03:50:28 AM
Quote from: karlbenson on March 03, 2008, 07:04:36 PM
Ronnie, I've found out why.

It appears YouTube now has a setting allowing the person who uploaded the video to disallow embedding in external sites.

If you look for the embed link on that page it tells you that.
[the english version]
http://uk.youtube.com/watch?v=WixJV2xBzDE

So its not related to this mod and there isn't anything that can be done about it.
Quote from: karlbenson on March 03, 2008, 07:04:36 PM
Ronnie, I've found out why.

It appears YouTube now has a setting allowing the person who uploaded the video to disallow embedding in external sites.

If you look for the embed link on that page it tells you that.
[the english version]
http://uk.youtube.com/watch?v=WixJV2xBzDE

So its not related to this mod and there isn't anything that can be done about it.


I have seen it,

Thx for finding this out i had never seen it still the mod is usefull and i will not delete it from our forum.
Thank you for helping me out.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 04, 2008, 08:06:04 AM
Quote from: Eliana Tamerin on March 03, 2008, 09:46:00 PM
If you click outside the huge play button, you can go directly to the video. That's about the only solution to it. (Or click menu and copy the link & paste into your browser).
Or fix the link with noembed -tags. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 04, 2008, 02:12:03 PM
Yeah.  Those are the only ways. There doesn't seem to be a way to detect it outside of youtube.

It would have helped if youtube used a better error message in the flash player.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nogard on March 04, 2008, 11:04:46 PM
I was trying to see if I can get this mod to play JibJab Movies from www.jibjab.com.

I didnt have any luck, is it possible to use this mod to play JibJab movies?

Here is a sample of the jibjab code for html pages:

<object id="A7638031508304849920" quality="high" data="http://llnw.jibjab.com/content/player.swf?content_url=http://www.jibjab.com/sendables/api/remote/qpBc6PSnCFleYlKZfGPeNsOx.xml" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" height="369" width="435"><param name="wmode" value="transparent"></param><param name="movie" value="http://llnw.jibjab.com/content/player.swf"></param><param name="scaleMode" value="showAll"></param><param name="quality" value="high"></param><param name="allowNetworking" value="internal"></param><param name="FlashVars" value="content_url=http://www.jibjab.com/sendables/api/remote/qpBc6PSnCFleYlKZfGPeNsOx.xml"></param><param name="allowScriptAccess" value="never"></param></object><div style="text-align:center; width:435px; margin-top:6px;">Don't send a lame <a href="http://www.jibjab.com/sendables/category/69/st_pattys">St. Patrick's Day eCard</a>. Try <a href="http://www.jibjab.com/sendables">JibJab Sendables</a>!</div>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mitjaxp on March 05, 2008, 10:39:06 AM
I was enabled Embed flash into posts and try paste embed code from youtube but video doesn't show up i'm also try install Auto Embed Video Clips mod and it was working if i paste link to video but it was still doesn't working if i paste embed code.

Can anyone please help me how to enable embed video code!
THX!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kender on March 05, 2008, 01:54:11 PM
are you trying to use the youtube <embed> code?  that wont work

try installing this mod, then just post the link to the youtube page the video is on
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: perplexed on March 05, 2008, 07:36:07 PM
I like this mod.  It's a new one for me and it makes things easy for members who don't understand tags. 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 06, 2008, 12:37:20 AM
@Nogard
I don't think that site can be supported as the links in the address bar doesn't contain the actual video id of the embed video.

@mitjaxp
Whats your forum link?
Are you sure its installed?
What link are you trying to use with this mod?
- All you need to post is a youtube link like http://www.youtube.com/watch?v=12345678A-B into a post and the mod will automatically turn it intoan embedded video clip.
You won't need flash bbcode, in fact for security reasons smf disables it by default.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nogard on March 06, 2008, 02:06:46 AM
Thanks, the links are similar to youtube "http://www.jibjab.com/sendables/view/PzXVF4HLwEcbpgccI1syUT9o" but I think I understand what you mean by it not being the same as the embeded video id.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 06, 2008, 02:19:45 AM
The link in theaddress bar is
http://www.jibjab.com/sendables/casting/296/Congratulations

But the url in the embed code is
http://www.jibjab.com/sendables/view/PzXVF4HLwEcbpgccI1syUT9o

This mod will only work for sites where the video id eg PzXVF4HLwEcbpgccI1syUT9o is in the url.
I don't support sites which require users to 'go fishing' in the embed code for the actual video url.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on March 06, 2008, 10:19:44 PM
Hi Karl,

My friend, there are some of the youtube video that we can view at youtube like:

http://youtube.com/watch?v=VY60CkP1qAc

However, when embedded in SMF using the mod. It show a message like:

"The video that you viewing no longer exist."

Anything that you can do about it?

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 06, 2008, 10:27:47 PM
@wjhdiz
You are not allowed to embed that video clip.

Goto the link and look for the 'embed code'. It states
Embedding disabled by request

So basically the uploader of the clip has chosen not to allow you to use that clip on external sites (other than on youtube).

The error message "The video that you viewing no longer exist." comes from youtube. (Why couldn't they more accurately state that Embedding disabled by request.

So the answer is no. if the uploader decides to disallow embedding then there is nothing that can be done about it.
I can't even detect it in the url.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on March 06, 2008, 11:38:27 PM
Thanks Karl. Now I see. What a silly thing like this.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 07, 2008, 06:14:26 AM
Quote from: karlbenson on March 06, 2008, 10:27:47 PM
The error message "The video that you viewing no longer exist." comes from youtube. (Why couldn't they more accurately state that Embedding disabled by request.
They used to do that, really. Some message along the lines of, "The uploader doesn't allow this video to be embedded."
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 07, 2008, 07:48:10 AM
Quote from: Nao 尚 on March 07, 2008, 06:14:26 AM
Quote from: karlbenson on March 06, 2008, 10:27:47 PM
The error message "The video that you viewing no longer exist." comes from youtube. (Why couldn't they more accurately state that Embedding disabled by request.
They used to do that, really. Some message along the lines of, "The uploader doesn't allow this video to be embedded."
I remember seeing that message as well.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: perplexed on March 07, 2008, 10:05:06 AM
hi Karl

I don't know if you can help with this or whether I need to go to the Ult Profile mod thread but it's about your mod and displaying the videos

Ultimate profile mod has a profile template and on it you can embed videos etc in the 'My Media' box.  Normally it used the <embed> code but since installing your mod it just displays a url

I read your readme about finding the parse_bbc and adding $context['disableautoembedvideo'] = 1 ; before it, but the problem is that there is not a parse_bbc for that box, only the two text boxes before it - see below


   if (!empty($context['member']['options']['interests']))

      echo '

         <br />

         

         <table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="interests">

            <tr>
               <td class="titlebg" height="26" align="center">
                  ', $txt['profile_interests'] ,'
               </td>
            </tr>

            <tr>

               <td class="windowbg">

                  ', parse_bbc ($context['member']['options']['interests']) ,'

               </td>

            </tr>

         </table>';

   

   if (($modSettings['profile_allow_mediabox'] == 1) && (!empty($context['member']['options']['media'])))

      echo '

         <br />

         

         <table border="0" cellpadding="4" cellspacing="1" class="bordercolor" width="100%" id="media">

            <tr>
               <td class="titlebg" height="26" align="center">
                  ', $txt['profile_media'] ,'
               </td>
            </tr>

            <tr>

               <td class="windowbg">

                  ', un_htmlspecialchars ($context['member']['options']['media']) ,'

               </td>

            </tr>

         </table>';



I did try putting it on the line above ', un_htmlspecialchars but that just gave me a parse error


thanks for any help
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: baijianpeng on March 07, 2008, 10:29:51 AM
Very cool ! I noticed that the author had added some Chinese video providers such as tudou.com and youku.com .

Now, I would like to suggest several more Chinese popular video sharing sites:

http://6.cn (http://6.cn)

http://56.com (http://56.com)

http://uume.com (http://uume.com)

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on March 07, 2008, 11:27:01 AM
Are these website's  speed very slow? I have my users complaining the speed and it is kind of disappointing and we can not do much about it.

Quote from: baijianpeng on March 07, 2008, 10:29:51 AM
Very cool ! I noticed that the author had added some Chinese video providers such as tudou.com and youku.com .

Now, I would like to suggest several more Chinese popular video sharing sites:

http://6.cn (http://6.cn)

http://56.com (http://56.com)

http://uume.com (http://uume.com)

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 07, 2008, 02:04:57 PM
Perplexed, just if you didn't catch it on the Ultimate Profile thread, the reason the media box isn't working is because it doesn't parse BBC. For now, the html embed code will work in the media box for UP.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: perplexed on March 07, 2008, 02:26:43 PM
Quote from: Eliana Tamerin on March 07, 2008, 02:04:57 PM
Perplexed, just if you didn't catch it on the Ultimate Profile thread, the reason the media box isn't working is because it doesn't parse BBC. For now, the html embed code will work in the media box for UP.

lol yes sorry I just replied.

Quote from: perplexed on March 07, 2008, 10:05:06 AM
hi Karl

I don't know if you can help with this or whether I need to go to the Ult Profile mod thread but it's about your mod and displaying the videos

Ultimate profile mod has a profile template and on it you can embed videos etc in the 'My Media' box.  Normally it used the <embed> code but since installing your mod it just displays a url


The embed code no longer works :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 07, 2008, 02:35:57 PM
Try installing AEVC before the UP mod. That's the order I have it installed and it works for me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: perplexed on March 07, 2008, 02:39:12 PM
I was just coming back to delete the above post and say that it's working!  Sorry for wasting your time.  I need to get more than 2 hours sleep before looking at these things.  Problem solved  :-[
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 07, 2008, 06:33:25 PM
@baijianpeng
http://56.com (http://56.com) is already on my list of sites which CANNOT be supported.

I also checked the others you posted.  Chinese sites are some of the slowest on the net. Just to load their homepage takes 2minutes for me. (nevermind loading video)

Anyways http://6.cn (http://6.cn) cannot be supported for the same reason as 56.com.  The id in the embed code is not present in the address bar url.  I won't add sites which require users fishing in the embed code.

http://uume.com (http://uume.com) does look like it could be supported in future.  If it can I will look to add it at my next update.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: baijianpeng on March 07, 2008, 07:11:22 PM
@ karlbenson and wjhdiz :

Those Chinese video providers are very fast in China. You feel very slow just as we do with Youtube. If Chinese SMF users want to insert video in posts, they can't use Youtube, not only the speed, but also the Language interface.

So if possible, I hope you can add those Chinese video sites. Even they are only useful for Chinese users, that means the biggest internet users group around the world.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 07, 2008, 07:13:41 PM
If i can successfully get it working http://uume.com will be added at the next update.

As stated above, the other two cannot.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 09, 2008, 06:32:22 AM
Reminder to self
http://www.simplemachines.org/community/index.php?topic=227156.0;topicseen
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kender on March 10, 2008, 04:14:03 AM
karl, i know you dont support adding sites, but if you will answer once...  or if anyone else has been successful in doing so

site url looks like
http://domain.com/videos/watch.php?file=/files/video/videoname.ext

the extension can be anything from...  mp3, mp4, mov, fla, swf, wmv, avi ... all video type file extensions

the file would be located at... (for embedding)
http://domain.com/files/video/videoname.ext

if anyone can help, please do so  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 10, 2008, 06:04:01 AM
I do not have the time nor the desire to provide support for helping people add their own sites.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kender on March 10, 2008, 06:26:47 AM
which is why i asked anyone, not only you, i understand your busy, and you really didnt need to waste your time answering with a no

i was playing with the format and cant figure out how it works is all

i can get so far, but all i can get it to do is post the link, not the embed

for anyone who will help

// in the $embed array we have
array(
    'name' => 'domain shortname',
    'enabled' = 1,
    'pattern' => 'http://(?:www\.)?domain\.com/videos/watch\.php\?(?:[^"]*?)?file=([0-9a-f]{20})',    // pretty sure this is where its wrong
    'embedlink' => 'http://domain.com/$1',   // rest should be added from the ?file=  ??
    'width' => '425',
    'height' => '350',
),


Quote from: Kender on March 10, 2008, 04:14:03 AM
url looks like
http://domain.com/videos/watch.php?file=files/video/videoname.ext

the extension can be anything from...  mp3, mp4, mov, fla, swf, wmv, avi ... all video type file extensions

the file would be located at... (for embedding)
http://domain.com/files/video/videoname.ext
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 10, 2008, 08:06:45 AM
Would be a good question for the Coding Discussion forum.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: angelsluver on March 11, 2008, 12:51:04 AM
hello karlbenson, good day...

i have the youtube BBcode mod in my forum, but i want to install your mod because it support many sites.

do i have to un install the youtube BBcode first before i install your mod?

thanks in advance
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 11, 2008, 08:09:54 AM
angelsluver
This mod will work fine with YouTube BBCode installed.

The youtube mod will work for [youtube] bbcoded links. And this mod will work for the rest.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 11, 2008, 10:04:36 AM
Quote from: Kender on March 10, 2008, 06:26:47 AM
which is why i asked anyone, not only you, i understand your busy, and you really didnt need to waste your time answering with a no
Looking at your post, basically he was required to respond to you. It also appears that the primary purpose of your post was asking him for help, not "anyone".
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: symon on March 11, 2008, 10:45:10 AM
Superb mod.

Just simply works! What more can you ask. Took 5 mins to manually install.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 11, 2008, 11:08:01 AM
Thanks symon.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kender on March 11, 2008, 05:49:15 PM
Quote from: mark7144 on March 11, 2008, 10:04:36 AM
Quote from: Kender on March 10, 2008, 06:26:47 AM
which is why i asked anyone, not only you, i understand your busy, and you really didnt need to waste your time answering with a no
Looking at your post, basically he was required to respond to you. It also appears that the primary purpose of your post was asking him for help, not "anyone".
personally, i read it as a plea to karl, or barring his help anyone else who knows enough about the mod, or (i assume) the regular expressions needed to make a manual edit work
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pjrobertson on March 12, 2008, 05:37:57 AM
Amazing mod!
I've just installed a similar mod for Invisio Power Board, and it took 100 times longer than this one did to install. Works great as well :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: m3g4v0lt on March 12, 2008, 12:53:17 PM
As i said before the mod is not working in TP in Articles module, if i put a link in an article its just stays as a link.
Can you help me with it, is there something i can do?

Thank you.
And BTW great mod, congrats :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 12, 2008, 12:59:35 PM
As I said before, you'll need to raise it with the folks at TinyPortal.net.
I've got no experience with TinyPortal whatsoever.

Theoritically for it to work, TinyPortal when calling the articles, needs to run it through SMF's parsing bbcode function in Sources/Subs.php
(parse_bbc)

So you need to find out from TP if it does that.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 12, 2008, 03:05:38 PM
I don't think it does, since TP uses a WYSIWYG editor to help those who are HTML wary. I don't think it parses BBC at all. You'd have to just use the embed codes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pacc on March 12, 2008, 05:49:49 PM
Hi how you can add video of this site?

Http://www.jeux-france.com

Thx
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 12, 2008, 06:18:48 PM
pacc> It can be done. The video ID is in the URL.

    <param name=movie value="http://www.jeux-france.com/flash/flvplayer.swf"></param>
    <param name="flashvars" value="file=http://www.jeux-france.com/flashvideo/'+video_id+'&repeat=false&allowfullscreen=true"></param>

width="428" height="282"
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Embrace on March 13, 2008, 10:54:25 AM
I am having trouble with Hulu...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 13, 2008, 11:11:02 AM
With Hulu it depends what type of links.
Some won't work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Embrace on March 13, 2008, 11:15:50 AM
Which type will?

btw the issue I am having is with this link

http://www.hulu.com/watch/12140/the-simpsons-dial-n-for-nerder

Also, what is the possibility of getting crunchyroll.com added?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 13, 2008, 11:21:04 AM
Only hulu.com/embed/..... type links will work.

IIRC this was discussed earlier. I added support for Hulu, then they changed it so the embed video id wasn't in the url.
So Hulu may have to be removed.

crunchyroll.com, never heard of it.  It doesn't look like they allow you to embed clips elsewhere.
In fact I've just checked they cannot be supported. The embed id doesn't appear in the url.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RuneFire on March 13, 2008, 06:50:05 PM
hi there

for some reason clips from BREAK.COM dont play? they only appear as links. youtube links work perfectly, but not BREAK's.

is something wrong?

thx
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 14, 2008, 12:18:24 PM
Break.com is on my list of sites which CAN'T be supported
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sincere on March 14, 2008, 10:36:37 PM
hello Karl

youtube links are woking correctly on my site, but not links to googlevideo

would you kindly just set me in the right direction to a solution ?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 15, 2008, 12:11:42 AM
Make sure those googlevideo links aren't just youtube links with a google iframe. Google is not friendly with those.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 15, 2008, 06:56:54 AM
Yeah YouTube videos on google won't always work (unless its got the youtube link in the url).

Please post any links your having trouble with and I'll take a look at them.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sincere on March 15, 2008, 09:14:29 AM
Quote from: Eliana Tamerin on March 15, 2008, 12:11:42 AM
Make sure those googlevideo links aren't just youtube links with a google iframe. Google is not friendly with those.

thank you Eliana.

I have checked up the link on Karl's demo here
http://www.adrevenueshare.com/index.php?topic=16.msg49#msg49

and it is working correctly.

so the problem must be with my installation.

frustrating........ in the admin panel I did get "mod was installed correctly"

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sincere on March 15, 2008, 09:15:57 AM
Quote from: karlbenson on March 15, 2008, 06:56:54 AM
Yeah YouTube videos on google won't always work (unless its got the youtube link in the url).

Please post any links your having trouble with and I'll take a look at them.

thank you Karl

am testing here
http://talkaboutislam.com/forums/index.php/topic,1000002.msg1000021.html#msg1000021

I'd appreciate your help

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 15, 2008, 09:56:38 AM
Sincere> What is it with the "-" (minus) signs just before the video IDs?
I do realize that both links work. I just don't know why they both have this.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sincere on March 15, 2008, 10:10:14 AM
Quote from: Nao 尚 on March 15, 2008, 09:56:38 AM
Sincere> What is it with the "-" (minus) signs just before the video IDs?
I do realize that both links work. I just don't know why they both have this.

it is just part of the googlevideo id. I did not add that there.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 15, 2008, 10:18:59 AM
Nah, sorry, it's not that anyway. The regexp pattern for Youtube is [0-9a-z-_]{11}, which means the minus sign is taken into account.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sincere on March 15, 2008, 11:23:41 AM
Quote from: Nao 尚 on March 15, 2008, 10:18:59 AM
Nah, sorry, it's not that anyway. The regexp pattern for Youtube is [0-9a-z-_]{11}, which means the minus sign is taken into account.


thank you for the remark

note taken.




Karl, anything I should do ?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 15, 2008, 12:10:03 PM
Are ANY videos working, or is it just a couple?

If no videos are working then use the package parser to check that all the edits were made.
http://www.adrevenueshare.com/parser
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sincere on March 15, 2008, 04:06:33 PM
Quote from: karlbenson on March 15, 2008, 12:10:03 PM
Are ANY videos working, or is it just a couple?

If no videos are working then use the package parser to check that all the edits were made.
http://www.adrevenueshare.com/parser


thank you Karl

I am convinced the problem is with that installation of the forums , not with your mod

thank you for your time.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: spiros on March 16, 2008, 02:09:37 PM
Strange problem, sometimes a youtube video link I post, the video is visible by me, but many users report that it says "video not available!"
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sincere on March 16, 2008, 02:12:36 PM
Quote from: spiros on March 16, 2008, 02:09:37 PM
Strange problem, sometimes a youtube video link I post, the video is visible by me, but many users report that it says "video not available!"

could it be in your cache ?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 16, 2008, 02:14:33 PM
Quote from: spiros on March 16, 2008, 02:09:37 PM
Strange problem, sometimes a youtube video link I post, the video is visible by me, but many users report that it says "video not available!"

Please provide me with links to any they say won't work.
However I suspect if you view the link on YouTube, where the <embed> code is usually given, it will say External Embedding has been disabled.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: spiros on March 16, 2008, 02:18:46 PM
Nope, double checked many times where a video would work for me on the forum but not for the users. When the users used the actual youtube address, it worked there.

An example: http://www.translatum.gr/forum/index.php/topic,15560.0.html
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: spiros on March 16, 2008, 02:21:39 PM
You are right, it was "Embedding disabled by request" and the file was in my cache! Used a different video instead.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ariakan on March 17, 2008, 01:18:15 PM
Hi everybody, and sorry for my bad english (i'm french)

I've just installed Auto Embed Video Clip 2.1.4 on my forum 1.1.4 SMF Package Manager, and there was no error.

I've put this code (without [ code ][ /code ])

http://youtube.com/watch?v=hPDDPRlVrbU

and this one too :
http://www.gametrailers.com/player/25987.html

But no one put a video, there are just 2 links !

What can I to do ?  :(

edit : oh, and just for information, my board is already on "Automatically link posted URLs"
edit2 : and I have flash, and I can see videos on youtube and gametrailers :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 17, 2008, 01:53:17 PM
Sounds like it didn't install properly, even if it didn't give you any errors.

Check to see that you have a Subs-AutoEmbedVideoClips.php in your sources folder. If that's there, you may want to open up the other affected files and ensure that the edits are in there.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 17, 2008, 02:05:41 PM
Use a package parser (http://www.adrevenueshare.com/parser) if necessary to check all the edits were made.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ariakan on March 17, 2008, 02:47:59 PM
The file is here, and you were right : there was no changing on the subs.php and load.php files !
So I've done it manually.

I have three questions so :
1) when I have installed the mod, the forum told me "Test successful", so why is there any changing?
2) if I want to uninstall, the forum tell me that the test failed...
Is there a link with these two problems ? I have not configured the forum like I have to do somewhere?
edit: I just saw that Karlbenson answer me : ok, si I have to do it myself, ok :D thanks for the link !! And sorry for theses two first questions ! :)


3) When I post a youtube like (or another website), in the first post I only have a link... but in the second, third, etc... I have a video. This is normal ?

Thank you very much !
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 17, 2008, 03:12:17 PM
3) Do you have your posts in ascending order? From newest to oldest, instead of oldest to newest as they appear here?

If that's true, then you may have already filled the limit for videos being embedded, which is 12. That's hardcoded into the mod, but you can change it if you really really want to (and it's highly discouraged, most browsers have a hard time loading more than 12 videos in a page).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 17, 2008, 03:18:33 PM
In fact most browsers struggle with only a couple of videos at once.
12 was hard-coded to prevent people trying to crash others browsers by posting dozens of youtube videos.
But I'd recommend never to have more than a handful on the same page at the same time.

Can you provide a link where this is happening?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ariakan on March 17, 2008, 03:27:13 PM
Eliana : the newest post are on the bottom, as here !
And there is only two video (and two post) on this topic.

I send you (Eliana and Karlbenson) the link by MP, the forum and the website are not ready to be taken by google and the rest of the world ! :p

edit : it's done :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 17, 2008, 03:34:50 PM
Odd. It shows up on my forum just fine.

Is this problem consistent? Have you tried putting a video into the first post of a topic somewhere else and have it show up? How about the other posts in the topic?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 17, 2008, 03:42:10 PM
@Ariakan
Weird, I'll look at it tomorrow, and if necessary release a new version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ariakan on March 17, 2008, 03:51:37 PM
Eliana :Oh you see two video ??

Hmmm, I just try now (in the same section), but I just see the link !
That's strange...

And when I click on Repondre (Reply) I see the video on the... I don't know how to say that, but it's the fact that we see the post before !

edit : oh, ok  Karlbenson !

I'ill try to fixe it just after, but just a thing : in the same section, there is a test for Youtube, and it's the same thing... you have to fix it too, or that's just me who have a problem?

EDIT : I have fix it, but I still have the problem.
I install a forum on my computer (on local), and try your mod, and all is good with videos... so the problem come from the forum on internet :/ I certainely have to install it again... don't you think?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 17, 2008, 04:05:35 PM
the youtube video works for me on all my test installs.

I checked the link and they do allow it to be embedded.

Are there any errors in your error log?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: -SyN- on March 17, 2008, 04:07:48 PM
hi guys, I have a question.

Youtube recently allow High quality vids to be played/streamed.

No I am not talking about the Recent hack with Hex edit, this is something they have done themselves.

for instance, take this crappy vid of mines,

http://www.youtube.com/watch?v=GKEEovYn1hk

the quality is horrible, but if you add the "&fmt=18" at the end of the url, then the same vid will be played back in far better quality, see for yourself.

http://www.youtube.com/watch?v=GKEEovYn1hk&fmt=18

Also inside of that youtube page of that vid, there is an option you can click on that gives you a choice to watch the vid in low or better quality.

Ok with that aside, my question is this, is there a way were we can have youtube vids with that extension auto embedded by default?

"if it can be done on your end"

Im just asking if its possible since many will want their vids in the best of quality.
If not then disregard this post.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 17, 2008, 04:36:00 PM
If you can explain it more

I can add it by default.
Sorry for being a newb. but what does &fmt=18 mean?
is it standard?  can it be &fmt=15? what are the bounds?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Simplemachines Cowboy on March 17, 2008, 05:00:08 PM
Youtube press release:
QuoteYou may have noticed that we're now giving you the option of watching some YouTube videos in higher quality. We're making these streams available on certain videos, based upon the source file uploaded to us, and over time you'll find a greater percentage of the library is available to view in higher quality. This feature applies to all eligible videos uploaded from the YouTube community, and is not restricted to partner content, so everyone can enjoy this upgrade. How do you watch higher quality videos? On your Account page you're now able to choose "always show me higher quality when available" or "never show me higher quality." We suggest you select "always show me..." only if you have a fast Internet connection, otherwise you might find that videos don't play as quickly or smoothly as you're used to. Higher quality videos also have a link right below the video player which will allow you to select between the normal or higher quality settings.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 17, 2008, 05:01:44 PM
thx Simplemachines Cowboy.

I'll have to do some digging tomorrow.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ariakan on March 17, 2008, 05:23:35 PM
Quote from: karlbenson on March 17, 2008, 04:05:35 PM
the youtube video works for me on all my test installs.

I checked the link and they do allow it to be embedded.

Are there any errors in your error log?
No, nothing...
Listen, I will re-install all tonight, and test agin, It's maybe a little problem with an old mod, I don't know; after, I will post here to say if all is ok ! :)

And, even if it doesn't work yet for me, just a little thank you for creating this mod, and continue to program it !  ;D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ariakan on March 17, 2008, 07:53:43 PM
Just a message to tell you : I have done a re-installation, and it work ! It's perfect ! ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 17, 2008, 07:56:34 PM
Thats good to know.

Thanks. I'm glad you got it working in the end ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SoulPleX on March 17, 2008, 09:00:33 PM
Can you add this site.

http://www.worldstarhiphop.com

http://www.worldstarhiphop.com/videos/video.php?v=wshhccwlDgHop866fojI
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 17, 2008, 09:02:05 PM
It is not possible to add that site because all of the required parts of the embed id/filename are not present in the address bar url.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SoulPleX on March 17, 2008, 09:04:46 PM
0 for 2.. LOL Thanks...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: -SyN- on March 18, 2008, 02:32:41 AM
Quote from: karlbenson on March 17, 2008, 04:36:00 PM
If you can explain it more

I can add it by default.
Sorry for being a newb. but what does &fmt=18 mean?
is it standard?  can it be &fmt=15? what are the bounds?

To be Honest, I don't know what are the bounds, but I know that "&fmt=18" allows the highest quality possible in most vids depending on how they were encoded and file type they were uploaded in.

Wmv and avi/xvid are known to work with the extension.

just try a few vids out with that extension at the end of the url and you will see what I mean.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 18, 2008, 06:19:53 AM
Ok, I've done some reading.
http://blog.jimmyr.com/High_Quality_on_Youtube_11_2008.php

And on YouTube itself.
It does appear that it won't be possible to provide the HQ streams. It isn't simply a case of recognising the fmt=6.
But needs other variables aswell.
So it will be a case of watching this space to see if they make it easier to embed the HQ streams externally of youtube.com
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kender on March 18, 2008, 07:45:09 AM
its not the cleanest hack, but since the owner isnt supporting custom sites, i thought i would post a possible solution...

after trial and error, this worked for me, and will most likely work for most video sites where the filename is in the query... hope it helps someone else too


// in the $embed array we have
array(
    'name' => 'domain shortname',
    'enabled' = 1,
    'pattern' => 'http://(?:www\.)?domain\.com/videos/watch\.php\?file=([\000-\256]{8,})',    // the 000-256 should cover every keyboard char.. the 8, means minimum 8 chars in the query
    'embedlink' => 'http://domain.com/$1',
    'width' => '425',
    'height' => '350',
),


Quote from: Kender on March 10, 2008, 04:14:03 AM
if the url looks like
http://domain.com/videos/watch.php?file=files/video/videoname.ext

the extension can be anything from...  mp3, mp4, mov, fla, swf, wmv, avi ... all video type file extensions

the file would be located at... (for embedding)
http://domain.com/files/video/videoname.ext
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pacc on March 18, 2008, 06:46:24 PM
Quote from: Nao 尚 on March 12, 2008, 06:18:48 PM
pacc> It can be done. The video ID is in the URL.

    <param name=movie value="http://www.jeux-france.com/flash/flvplayer.swf"></param>
    <param name="flashvars" value="file=http://www.jeux-france.com/flashvideo/'+video_id+'&repeat=false&allowfullscreen=true"></param>

width="428" height="282"


Thx
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 18, 2008, 06:49:49 PM
pacc,

It just so happens I'm actually working on that mod right now. Working on adding some new sites (removing hulu) and some other minor bits).

jeux-france.com is in the new version 2.1.5 which will hopefully be released later tonight.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pacc on March 18, 2008, 07:00:34 PM
Quote from: karlbenson on March 18, 2008, 06:49:49 PM
pacc,

It just so happens I'm actually working on that mod right now. Working on adding some new sites (removing hulu) and some other minor bits).

jeux-france.com is in the new version 2.1.5 which will hopefully be released later tonight.

ok then aspect the new version
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pacc on March 18, 2008, 07:07:24 PM
   
You can also include http://www.playfrance.com/?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 18, 2008, 07:36:00 PM
Playfrance won't work i'm afraid.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pacc on March 18, 2008, 07:42:16 PM
Because they are difficult to do so?

Http://www.playfrance.com/ps3/video-games.html
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 18, 2008, 08:11:18 PM
The id in the video embed isn't the same as in the url.
It cannot be supported by this mod.

I will not add sites which require users fishing the embed code for the embed url.  I only support sites where the url in the address bar contains all the necessary file id/information for the embed code.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pacc on March 18, 2008, 08:24:18 PM
ok not there are problems when version 2.1.5 exits?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 18, 2008, 08:26:49 PM
I've nearly finished adding sites I wanted to.
Then I need to test it works.

Then it will upload.

So hopefully 2.1.5 will be released within the hour.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pacc on March 18, 2008, 08:33:21 PM
ok thx
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pacc on March 18, 2008, 08:53:12 PM
Excuse I use joomla hour on the situated one I have istallato mambot a
Allvideos where it makes to see the video me inserted in much serveur.
Hour hardly I insert unanews on my Home Page and my situated creates
me topic in the forum a video is not looked at gives to the code the
video to me does not know to help me to resolve this problem?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 18, 2008, 09:00:21 PM
AllVideos - http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,812/Itemid,35/

I've never used Joomla myself.

That mod will not be compatible with my mod.

AllVideos uses
{youtube}video_id{/youtube}

My mod - just post the link
eg http://www.youtube.com/watch?v=GKEEovYn1hk

2.1.5 will be posted in 2mins
Just doing final checks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 18, 2008, 09:05:48 PM
[Mod] (http://custom.simplemachines.org/mods/index.php?mod=977)

v2.1.5 - 19th March 2008
o Removed Hulu (Since the address bar links don't work)
o Added Support for
- Jeux-france.com
- Jubii.co.uk
- Gametube.org
- UUME.com
o Added function_exists checks (to prevent error on uninstall)
o Ensured works for SMF 2.0 Beta 3. (its does!)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pacc on March 19, 2008, 02:39:11 AM
excuse I have tried to insert this link but it is not opened

http://www.jeux-france.com/flash/flvplayer.swf?videoid=10498
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 19, 2008, 07:23:50 AM
That format of link won't work. (I'll have to try to add support in the next version).

Only links in the format http://www.jeux-france.com/downloads10520_video-the-world-ends-with-you.html
will work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pacc on March 19, 2008, 09:23:13 AM
Thx
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pacc on March 19, 2008, 09:56:28 AM
excuses it is possible fargli to read of the video in remote on my site? those that I have in my folder are form grandfathers to you flv mov if as I can make?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 19, 2008, 10:41:33 AM
No.

This mod does NOT support video on your own server. (and I do not intend to implement it)

However the Streaming 3 mod does http://custom.simplemachines.org/mods/index.php?mod=121
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kender on March 19, 2008, 11:07:11 AM
or you can use my hack for this mod here (http://www.simplemachines.org/community/index.php?topic=200401.msg1471449#msg1471449) if you can work around hack to make it work for your situation
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ariakan on March 19, 2008, 11:41:05 AM
Hi Karlbenson !
I found another website you can maybe support : http://www.gamersyde.com/stream_6597_en.html
If it's not too much hard. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 19, 2008, 11:49:37 AM
I'll consider adding it in the future (providing its compatible). But if you notice at the moment its saying.

"Embedded stream deactived until have a solution for our bandwidth issues."

So for the moment they won't allow you to embed it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dxyy on March 19, 2008, 07:06:11 PM
How difficult would it be to add support for mysoccermedia.com?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 19, 2008, 07:13:19 PM
mysoccermedia.com is another that CAN'T be added.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dxyy on March 19, 2008, 07:20:46 PM
Haha, thanks for the reply, but I guess I'm just unlucky. :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 19, 2008, 08:24:14 PM
The easy way to check with sites.

Is look at the embed code they give you.  See what the filename is.
Then look at the url in the address. If all the required unique parts of the embed filename are in the address bar, then it can be supported.  Otherwise not.

I also think soon I'll be approaching the stage where adding more and more sites might start to impact performance.
I'm keen not to add 'Every-Man-And-His-Dog' video clip sites (everyone seems to be running one these days).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Basie on March 19, 2008, 08:35:53 PM
QuoteI also think soon I'll be approaching the stage where adding more and more sites might start to impact performance.

In that case perhaps you could offer a "basic" version of the mod.

For instance, I'm considering using this mod, but if I do it will be exclusively for VEOH and youtube. The rest are completely unnecessary for me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 19, 2008, 09:11:58 PM
Well you can disable them as per the readme
Or remove some code.

I personally think the one of main benefits of this mod is no theme edits, no language edits, no configuration.
Install and done ;)
So i don't want to compromise that in whatever i choose to do.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 19, 2008, 11:13:20 PM
Perhaps make an "addon" to the mod for those who want the theme functionality (admin control over sites). That way you could keep the mod pure and add the functionality for those that want it in the form of an addon.

The only downside would be that there would be some support requests for that, which I'm not sure you'd want to handle.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Basie on March 20, 2008, 10:17:01 AM
Quote from: Eliana Tamerin on March 19, 2008, 11:13:20 PM
Perhaps make an "addon" to the mod for those who want the theme functionality (admin control over sites). That way you could keep the mod pure and add the functionality for those that want it in the form of an addon.

The only downside would be that there would be some support requests for that, which I'm not sure you'd want to handle.

That sounds like a good idea.

Although I still think an alternative 'lite' version would work too.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 20, 2008, 10:58:16 AM
Nah, I that would be worse.
It would be alot more work to keep multiple versions (which i don't need).
(and confusing).

Besides a lite version wouldn''t work because different forums use different sites. eg not one veoh video has been posted on my forum, but lots of Metacafe.  etc etc.

Although at this point i haven't ruled out doing an audio add-on to support audio clips on seeqpod etc.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Basie on March 20, 2008, 12:16:04 PM
How do you add video sites?

I would like to add:

http://www.dohhhup.com/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 20, 2008, 12:18:15 PM
http://www.simplemachines.org/community/index.php?topic=200401.msg1471449#msg1471449

Those instructions might help. Or you could look in Subs-AEVC.php and see how Karl is doing it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 20, 2008, 03:01:05 PM
http://www.dohhhup.com/ cannot be supported. I just checked.
The embed video id is no. eg 570

whereas the id in the url is
http://www.dohhhup.com/movie/4mhPZq472k8S6EaJdEfnUR43AMM6KK7x/view.php

So its not compatible.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Basie on March 20, 2008, 03:21:13 PM
Ok, thanks for looking.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on March 20, 2008, 08:35:53 PM
wow karl, you are almost to 1000 replies...

ready to take over the world with your AEVC mod yet?


lol... sorry for the spam.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 20, 2008, 09:29:26 PM
Still more than a 100 replies to go ;)

Eck. My 6666th reply.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 20, 2008, 09:40:35 PM
karlbenson, spawn of the devil?

Scary. /me shudders.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kender on March 21, 2008, 12:34:09 AM
is there a way to have it check if the file exists (some hosts could remove a linked file, and if the file no longer exists it may create an object, but have a non existant file to look for)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kender on March 21, 2008, 12:35:28 AM
maybe have it say.. if_exists() do the object, else report an error (file removed by owner)?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pacc on March 21, 2008, 02:49:28 AM
How do you add video sites?

I would like to add:

http://www.gamersyde.com
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 21, 2008, 03:47:10 AM
Quote from: Eliana Tamerin on March 20, 2008, 09:40:35 PM
karlbenson, spawn of the devil?
If someone here were, it would have to be me.
Today is Easter day, traditionally considered the day Jesus died.
It's also the first day in the Aries zodiac sign -- end and beginning of a cycle.
I'm 33 today. Yes.
Okay, doesn't mean anything.

Still, my current weight is 66.4 kilograms. When I reach 66.6 later today, I'll turn into the Antichrist and destroy the world. Be ready. Mwahahaha.

PS: It really wasn't premeditated since it's been my avatar for years here, but the guy with a hat is "the man without a name" from a silly English movie. He's actually the bringer of the Apocalypse. And he wins at the end.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Basie on March 22, 2008, 06:30:14 PM
This doesn't seem to work for regional variations of youtube. Such as "uk.youtube.com".

Or am I just doing something wrong?

Example :

http://uk.youtube.com/watch?v=POER47GH1jg
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 22, 2008, 08:40:59 PM
UK youtube is supported.

But that video is not allowed to be embedded.

View the link
http://uk.youtube.com/watch?v=POER47GH1jg
And look where the embed code should be.

Embedding Disabled By Request
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: halfpint on March 22, 2008, 09:52:11 PM
Hi just installed this mod without any probs but when I try and embed a metacafe vid the vid shows up twice on the same post and plays but it also shows some of the embeded code underneath the video...does anybody know what is causing this. I have smf1.1.4 with the Classic YaBB SE Theme the  ad mod and the SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update

Do I have to add the metacafe bb code mod for it to work

thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 23, 2008, 01:53:59 PM
No you don't.

Please link to your forum/topic/post where this is happening.

What browser are you using?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on March 23, 2008, 10:49:06 PM
Quote from: halfpint on March 22, 2008, 09:52:11 PM
when I try and embed a metacafe vid the vid shows up twice on the same post and plays but it also shows some of the embeded code underneath the video



This is a problem is of you own fault. The above only happens when you copy over the html embed coding from the site. Because the url to the video is included in the <object> and <embed> tags, that is why you get two videos. As far as the extra code left over underneath, that is because you posted html code with out the [html][/html] tags and therefore the html code isn't posted as code, but as regular text.

Everyone should try reading this Mod's description and the readme. Doing so would solve about 42 pages of this thread.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 23, 2008, 11:19:38 PM
Quote from: [кѕ]ваηε-σ on March 23, 2008, 10:49:06 PM
Everyone should try reading this Mod's description and the readme. Doing so would solve about 42 pages of this thread.

Amen to that. It's pretty simple to understand, AEVC works on the browser URL and not the embed URL, since the first one is the easiest to use and find.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 24, 2008, 01:03:00 PM
^ some it will work on the EMBED url.

But it won't work on embedded html.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Horoos on March 24, 2008, 01:24:34 PM
para http://www.redtube.com (+18)

array(
'name' => 'Red tube',
'enabled' => 1,
'pattern' => 'http://(?:www\.)?redtube\.com/([0-9]{2,9})',
'movie' => 'http://embed.redtube.com/player/?id=$1&style=redtube',
'width' => '434',
'height' => '344',
),


saludos..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 24, 2008, 01:26:30 PM
Indeed, but i won't be supporting porno sites in the mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Duilio on March 24, 2008, 03:28:12 PM
I believe I missed something...
And I read all readme file.

I installed it - from admin panel - and... it isn't working. I mean, when I add a googlevideo link, it keeps being a googlevideo link! Should I enable it somewhere?
And yes... "Automatically link posted URLs" is enabled.

I use SMF 1.1.4; theme Oxygen. I don't have any other mod. This is the 1st one I install :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 24, 2008, 03:34:07 PM
The mod should install on all themes by default. (as it doesn't make any theme edits)
No enabling/configuration is necessary.  Install and your done.

But maybe the install didn't work for some reason.
Use a package parser (http://www.adrevenueshare.com/parser) and check that the edits were made.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Duilio on March 24, 2008, 06:33:53 PM
Ya, manually worked.
It wasn't a problem on your mod, it's a SMF issue. It says 'Packages' folder doesn't have write permissions, but it does. I put all 777 and it doesn't allow me to install any mod.

Thank you for your support. Your mod works great :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 24, 2008, 06:43:16 PM
Thanks Duilio 

Best of luck with it :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Polymath on March 26, 2008, 04:07:22 AM
Nice mod.

But not many work for me. Youtube and Glumbert is about it so far.

I would love Gamevideos.com to work..  :(

hxxp://www.gamesocket.geek.nz/index.php?topic=3904
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 26, 2008, 10:04:40 AM
Gamevideos.com is supported.

And after 10mins loading, the video finally loaded.
Gamevideos is a very very slow site to load video from externally.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LLandL on March 26, 2008, 02:05:53 PM
Just tried uninstalling this mod and am now getting this error message when I try to use my forum...

Fatal error: parse_bbc() [function.require]: Failed opening required '/homepages/29/d209983668/htdocs/forum/Sources/Subs-AutoEmbedVideoClips.php' (include_path='.:/usr/lib/php') in /homepages/29/d209983668/htdocs/forum/Sources/Subs.php on line 2465

Any help on this would be cool as I've no idea what to do about it!

Cheers,
Jonny

EDIT: I tried looking for the php file mentioned when a similar problem came up for someone else earlier in this thread (Sources/Subs-AutoEmbedVideoClips.php) but it isn't there.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Polymath on March 26, 2008, 02:37:08 PM
Quote from: karlbenson on March 26, 2008, 10:04:40 AM
Gamevideos.com is supported.

And after 10mins loading, the video finally loaded.
Gamevideos is a very very slow site to load video from externally.

Ohh. lol. Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 26, 2008, 02:51:47 PM
LLandL
Can you attach your file Sources/Subs.php

At a guess it isn't fully uninstalled.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Polymath on March 26, 2008, 02:53:04 PM
Quote from: LLandL on March 26, 2008, 02:05:53 PM
Just tried uninstalling this mod and am now getting this error message when I try to use my forum...

Fatal error: parse_bbc() [function.require]: Failed opening required '/homepages/29/d209983668/htdocs/forum/Sources/Subs-AutoEmbedVideoClips.php' (include_path='.:/usr/lib/php') in /homepages/29/d209983668/htdocs/forum/Sources/Subs.php on line 2465

Any help on this would be cool as I've no idea what to do about it!

Cheers,
Jonny

EDIT: I tried looking for the php file mentioned when a similar problem came up for someone else earlier in this thread (Sources/Subs-AutoEmbedVideoClips.php) but it isn't there.

AutoEmbedVideoClips.php would be removed at uninstal.

Make sure there is not this in subs.php


In file $sourcedir/Subs.php



// Start of Auto Embed Video Clips mod

// Do not attempt to auto embed for
// - Printer friendly pages
// - If disableautoembedvideo is set (eg for signatures)
// - If there are no links
// - If we've already exceeded our limits
if($smileys !== "print" && empty($context['disableautoembedvideo']) && stripos($message, '<a href="') !== false && (!isset($autoembedmax) || $autoembedmax != 0))
{
global $sourcedir;
@require_once($sourcedir.'/Subs-AutoEmbedVideoClips.php');
if(function_exists('AutoEmbedVideoClips'))
$message = AutoEmbedVideoClips($message);
}
elseif(stripos($message, '[noembed]') !== false)
{
// Even if we aren't calling the function, we may still need to parse out [noembed] bbcode
global $sourcedir;
@require_once($sourcedir.'/Subs-AutoEmbedVideoClips.php');
if(function_exists('StripAndFixNoEmbed'))
$message = StripAndFixNoEmbed($message);
}
// Reset the status
$context['disableautoembedvideo'] = 0 ;

// End of Auto Embed Video Clips mod
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LLandL on March 26, 2008, 02:55:29 PM
Here's the subs.php


There's also a subs.php file with a ~ after it, do you need that too?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 26, 2008, 02:59:01 PM
try the one attached.

Like Polymath posted, you still had some bits installed.
Although my attached file should fix it.  It would be interesting to know whether it gave an error when it was testing install.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LLandL on March 26, 2008, 03:04:18 PM
Thanks so much! Everything is back to normal now. For the last hour or so I'd been thinking the worst.

When I installed the mod I didn't get any error messages and the mod worked perfectly.

I was only uninstalling it to clear off all the mods so I could put SMFbuy onto a clean forum...

Really appreciate the help guys!  8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Howl on March 26, 2008, 03:23:32 PM
It doesn't work on my forum  :(, I installed it, but when I insert any youtube, googlevideo or other, it just give me the link, any idea?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 26, 2008, 03:30:24 PM
Use a package parser (http://www.adrevenueshare.com/parser) and check that all the edits were made.
My guess is that they weren't.

http://www.adrevenueshare.com/parser
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Howl on March 26, 2008, 04:36:08 PM
I think that I'm dooing something wrong, I edited the load.php and Subs.php manually but I get now a blank page  :-X

Would you check the file in attachement please?

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Howl on March 27, 2008, 06:42:33 AM
ok very strange, I installed it on the same server but my "beta" for testings and there it works .. probably a problem with authorisation?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Paracelsus on March 27, 2008, 07:04:16 AM
karlbenson,

Is it possible to add SAPO - http://videos.sapo.pt ?

They usually provide 2 different URLs for each video, for example:
http://videos.sapo.pt/mkNz55IjmwRPdp8EWT32
<embed src="http://rd3.videos.sapo.pt/play?file=http://rd3.videos.sapo.pt/mkNz55IjmwRPdp8EWT32/mov/1" type="application/x-shockwave-flash" width="400" height="322"></embed>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Polymath on March 27, 2008, 02:43:52 PM
Enable "Automatically link posted URLs" in admin >>posts and topics
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 27, 2008, 03:03:55 PM
@Howl
Blank pages means theres a php error.
usually you would get a php error, but in your php settings, it they must be being supressed (which is why you get a blank page instead).

I can't see where the error is.
You might need to undo whatever change you made, then try to reinstall the mods onto it.

@Paracelsus
I tried adding Sapo in the past, I can't remember whether i was able to do it.
I know theres part of the site which can't be added.
I';; try for the next version if at all possible.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cor met snor on March 29, 2008, 12:25:11 PM
Is it possible to ad this to the list

site name           : http://www.dotsub.com
URL for the film   : http://dotsub.com/films/moredemands/
complete URL      : http://www.dotsub.com/films/moredemands/index.php?autostart=true&language_setting=en_1618
embed                 : <iframe src="http://dotsub.com/api/player.php?filmid=1616&filminstance=1618&language=none" frameborder="0" width="480" height="392"></iframe>

I hope it can, great tool this one
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 29, 2008, 12:35:53 PM
No, it's not, because the video id (1616) is not in the url at all.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cor met snor on March 29, 2008, 12:58:36 PM
Strange when I click at the URL I got the movie
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 29, 2008, 01:14:16 PM
Yes, however, to embed the movie into the page the way AEVC does it, the URL would have to contain the ID for the video that's found in the embed url. The video site knows what the video is because it's coded that way, but an exteranl site can only go by the information given, and the URL alone does not supply that information.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cor met snor on March 29, 2008, 01:26:36 PM
in the embed code is an ID suplied   filmid=1616&filminstance=1618&language=none  is the extension the problem, because as an iframe it works with no problems

maybe this will solve the problem I hope

http://dotsub.com/films/moredemands/index.php?autostart=true&language_setting=en_1618
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 29, 2008, 01:36:15 PM
I'm pretty sure Karl's going to say the same thing, but he won't include any sites where he has to fish for links. The link you posted above does not contain the filmid, the ID of the video itself.

Example of a site he can support:
Link: http://www.youtube.com/watch?v=Pmiin2onAcU
Embed Code: <object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/Pmiin2onAcU&rel=0&color1=0x402061&color2=0x9461ca&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/Pmiin2onAcU&rel=0&color1=0x402061&color2=0x9461ca&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>

Example of a site he can't support:
Link: http://www.hulu.com/watch/1420/saturday-night-live-myspace#p:2,s:view_count_today,i:vsl_clip_77
Embed Code: <object width="510" height="295"><param name="movie" value="http://www.hulu.com/embed/uKZV5hOcNCKiutTEtJ57ZQ"></param><embed src="http://www.hulu.com/embed/uKZV5hOcNCKiutTEtJ57ZQ" type="application/x-shockwave-flash"  width="510" height="295"></embed></object>

As you can see, there's no way to go from the link to retrieving the video ID to embed it. Therefore, Karl won't be able to support sites like that.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on March 29, 2008, 01:37:57 PM
The video id MUST be in the URL in your address bar.

So only the following type of link is supported
http://dotsub.com/films/moredemands/

I don't support sites where users need to find the actual url out of embed code.
<iframe src="http://dotsub.com/api/player.php?filmid=1616&filminstance=1618&language=none" frameborder="0" width="480" height="392"></iframe>

So far that site its a no.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cor met snor on March 29, 2008, 02:21:51 PM
Okay I understand that and respect it, further my compliments it's a great tool for my forum, now people don't have to leave the forum to see the movie and it was a peace of cake to install it, no problems at all.

Thanks for the explenation
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RuneFire on March 30, 2008, 09:00:22 AM
why doesnt this clip work with this mod:

http://www.break.com/index/how-not-to-adopt-a-child-from-africa.html
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on March 30, 2008, 10:53:24 AM
Quote from: First page of this threadNote: Whilst I do take requests to support other popular video clip sites in future versions, it is NOT possible to add support for the following sites because the video id/filename in the url is not the same as in the actual filename in the embed code.
Break.com, ebaumsworld, garagetv.be, 56.com, Blip.Tv, slideshare.net, videojug, vidlife, Filefront, IGN, Hulu, Gamespot, Dipvid, youSportz, tinypic.com, BBC Iplayer, BBC, crunchyroll.com, itv.com, 4od, JibJab, PlayFrance.com.
I won't include sites which require users 'fishing' in the embed code for the correct file url.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RuneFire on March 31, 2008, 01:33:34 AM
well, that pretty much sucks. thought it included break.... didnt read properly.

Thx though, eliana.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pheadrus on March 31, 2008, 02:42:10 PM
Hi,
firstly thanks to karlbenson! My users and I  love this mod very very much  :D

Secondly, I wanna ask the possibility of the video site below to embed this mod:

Site: http://www.pikniktube.com
Link: http://www.pikniktube.com/v/bb8ec22d441226c4190554fbf6c6d1cc/Cool&Skyman---Gipsy-Kings
Embed Code: <object width="340" height="320" allowFullScreen="true"><param name="flashvars" value="linktarget=_blank&embedded=1&xmlsrc=http://www.pikniktube.com/getxmle.asp?q=bb8ec22d441226c4190554fbf6c6d1cc&a=1&c=0"></param><param name="movie" value="http://www.pikniktube.com/player/videoplayer2.swf"></param><param name="xmlsrc" value="http://www.pikniktube.com/getxmle.asp?q=bb8ec22d441226c4190554fbf6c6d1cc&a=1&c=0"></param><embed src="http://www.pikniktube.com/player/videoplayer2.swf" type="application/x-shockwave-flash" allowFullScreen="true" width="340" height="320" flashvars ="linktarget=_blank&embedded=1&xmlsrc=http://www.pikniktube.com/getxmle.asp?q=bb8ec22d441226c4190554fbf6c6d1cc&a=1&c=0"></embed></object>

Thanx for your help :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dfelix on March 31, 2008, 06:30:34 PM
Hello,

Is there any know issues with the wysiwyg editor from beta 3?


Usually after posting a message with a embed video, when i try to edit the wysiwyg is not working...
Also, some users are complaining that when they paste youtube links usually they can't post a message.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pablorindt on April 02, 2008, 03:26:59 PM
Hi, I just installed your mod and really like it. Now I have one question (suggestion). Is it possible to add it so that you have to place a link between [video] and [/video] tags. Then the mod will be activated and auto embed the video :)

So just make a little option to only activate the mod if [video] tags are placed? Would be great :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on April 02, 2008, 03:42:57 PM
You can use [noembed][/noembed] to stop videos from automatically embedding. But this isn't a video BBC mod, it's an auto-embed mod, meaning it's intended to automatically perform the operation without BBC tags.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pablorindt on April 03, 2008, 09:37:20 AM
Quote from: Eliana Tamerin on April 02, 2008, 03:42:57 PM
You can use [noembed][/noembed] to stop videos from automatically embedding. But this isn't a video BBC mod, it's an auto-embed mod, meaning it's intended to automatically perform the operation without BBC tags.
I know i can use the [noembed] tags, but i just like to have video tags instead of going automatically. So if it is possible it would be really nice :) One other thing, I want to let my users now about the [noembed] tags, but when i write them down (in code tags) the just disappear. I can't tell the users on my forum that they can use the [noembed] tags... Anything about that? :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: perplexed on April 03, 2008, 10:24:19 AM
[noembed]   here is the code [/noembed] 

are you posting it like this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on April 03, 2008, 11:06:24 AM
Quote from: pablorindt on April 03, 2008, 09:37:20 AM
Quote from: Eliana Tamerin on April 02, 2008, 03:42:57 PM
You can use [noembed][/noembed] to stop videos from automatically embedding. But this isn't a video BBC mod, it's an auto-embed mod, meaning it's intended to automatically perform the operation without BBC tags.
I know i can use the [noembed] tags, but i just like to have video tags instead of going automatically. So if it is possible it would be really nice :) One other thing, I want to let my users now about the [noembed] tags, but when i write them down (in code tags) the just disappear. I can't tell the users on my forum that they can use the [noembed] tags... Anything about that? :)

Try like this (quote this to see how i did this)

[noembed] [/noembed]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on April 03, 2008, 11:37:59 AM
or instead of quoting that post above me, look at how it was done below:

[nobbc][noembed] [/noembed][/nobbc]








on a diferent subject, iono if it was asked cause I don't have the time at the moment to search for it, but when you get a free second karl, and you think of me;

Would it be possible to add Photobucket movies to this great mod that is destined to take over the world?

just wondering, It seem like photbucket puts it in a similar format as youtube and such.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kender on April 03, 2008, 04:00:24 PM
i am having some difficulty having this work with an iurl tag in the same post, the iurl is ignored and it just posts the content of the tag (the link i want able to open)

example
http://site.com/?v=r43q436g
[ iurl=http://link.to/open]open a link in same window[/ iurl]   OR 
[ iurl]htp://link.to/open[/ iurl][i

what i get is the video, and the link listed (not clickable - both cases) and the words "open a link in same window" arent even displayed (in first case)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kender on April 03, 2008, 04:05:17 PM
i think i figured it out.. the iurl i was posting had an = in it, so i needed to use quotes around it.. sorry, my bad

nope.. still doesnt work...

also, moving it to the top will display as a link, but displays the forum url, not the link i want, but if you edit the post it shows the proper url
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MissyNL on April 05, 2008, 02:48:59 PM
Hello,

Great MOD!
I want to install this mod, but i have already installed the Youtube mod.  In the explenation on the modsite there stands:

Other video mods (such as my YouTube BBCode mod) will take precedence for bbcoded links.

Now.. this might sounds very stupid.. but what does it mean? With this mod, the youtubemod is not nessesary anymore, right?

:D

Thanks! Cynthia
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 05, 2008, 11:58:01 PM
@Lafemme
Some people kept asking if its compatible with my Youtube mod (or any of the past ones).

Basically you can use both on the same forum.  But all bbcoding to html is done first. Then the mod is run. Thats what I mean by it takes precedence.
You may want to use both.
For example if you want to alter the size in different videos.
Or you may have lots of existing [youtube] bbcoded links.

@Kender
There shouldn't be any difference whether iurl or url is used. Because my mod doesn't convert it until AFTER the bbcode has all been converted to html.

@[кѕ]ваηε-σ 
Photobucket .flv files are ALREADY supported.
If its a different format, then you'll have to let me know. It took me month to work out the regex because their have so many different url formats.

@pablorindt
I don't intend to add video bbcode. The whole purpose of this mod is to embed videos without the need for bbcode.
I only added noembed at the behest of some people and since I don't know of a better way to disable video conversion.
Look at streaming 3 or one of the many video bbcode mods for such functionality.

Thanks for the suggestion anyways

@dfelix
The video mod has been tested with the WYSIWYG, it will NOT show up as a video in the WYSIWYG editor.
But links posted via it should and do post fine in all my tests.

@pheadrus
Thanks. I will look at my next update to see if i can get that site and any others recently posted/suggested in this thread to work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on April 06, 2008, 12:22:16 AM
Quote from: karlbenson on April 05, 2008, 11:58:01 PM
@[кѕ]ваηε-σ 
Photobucket .flv files are ALREADY supported.
If its a different format, then you'll have to let me know. It took me month to work out the regex because their have so many different url formats.



I only asked because i had a member of my forum post a photobucket movie and it didn't show up, it took me a while to figure out how to manually embed in the post with [html][/html] tags cause I couldn't find a embed code or anything on photobucket. I had to view source and put it in dreamweaver to figure out how photobucket embeded it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 06, 2008, 12:30:52 AM
If its the .flv then it should work.
If you've got the url I can give you a yes or a no.
If no, I can potentially see if I can support it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on April 06, 2008, 12:39:19 AM
lemme see if i can retrieve it for you. h/o



here's what is exactly what is posted in my forum:
  
 




NEW VIDEO OF MY SET UP!!!!!

I edited my 360 set up. i think its way better!!
http://s216.photobucket.com/albums/cc181/K100XR5000/?action=view&current=P1310311.flv (http://s216.photobucket.com/albums/cc181/K100XR5000/?action=view&current=P1310311.flv)




  
 
The mod didn't automatically embed that even though it has an html embed code available over on the right. and there are a few others that are like that too that haven't been embeded.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 06, 2008, 12:57:51 AM
kk. I see the difference, its need/altered type of url that wasn't used previous to my knowledge.

I'll try to support it at the next update.  But atm I don't know when that will be.

Thanks for posting it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on April 06, 2008, 12:59:04 AM
welcome, glad I could help



on another note, i sent a reply PM...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MissyNL on April 06, 2008, 08:18:03 AM
Thanks Karlbenson for the explenation. Since my forum is not up and running i wil uninstall the youtubemod. I do not see the point of having them both. But.. you said i could alter the size in different videos. How is that done then?

Thanks, Cynthia
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on April 06, 2008, 10:12:37 AM
The youtube mod has the feature of specifying size. The AEVC mod will simply add the default size to your videos.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MissyNL on April 06, 2008, 10:20:25 AM
oke.. then that´s cleared up :D Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rumfa on April 06, 2008, 10:25:15 PM
Man....this message it's just to congratulate for the best mod ever! (in any case in the top 3) ;) I use it really a lot. The versatility of all major sites rocks!
Cheers
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: erlend_sh on April 06, 2008, 10:31:44 PM
Have you looked into Motionbox (http://www.motionbox.com/) yet?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on April 07, 2008, 12:27:02 AM
DO NOT thread-jack the all mighty AEVC mod thread. it will kill you in your sleep if you do so.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 07, 2008, 08:08:02 AM
Quote from: Sadr on April 06, 2008, 10:31:44 PM
Have you looked into Motionbox (http://www.motionbox.com/) yet?

Never heard of it before.
Looks like you need to register to use it.

Do you haveexamples of the url and embed code that they use.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Basie on April 07, 2008, 11:21:19 AM
There really shold be an option to limit the amount of embedded video's per post.

Someone at my forum just made a new thread which had like 30 youtube links. :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on April 07, 2008, 11:22:55 AM
There's a hardcode limit of 12 which you can adjust. It's per-page, though. I think Karl has mentioned his reasons for not doing a per-post limit before.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Basie on April 07, 2008, 11:45:57 AM
Quote from: Eliana Tamerin on April 07, 2008, 11:22:55 AM
There's a hardcode limit of 12 which you can adjust. It's per-page, though. I think Karl has mentioned his reasons for not doing a per-post limit before.

Yes, obviously only the first twelve of his links were embedded, but nonetheless, there is no way that people should be able to post all 12 embedded links in the FIRST post of a thread. :/

Admins should be able to set the limit per post.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on April 07, 2008, 12:21:43 PM
I suppose there is a way you could regulate it, by using some kind of mod that restricts the number of links from a specific site. I doubt Karl's going to make it, though.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: artstarzz on April 07, 2008, 01:17:15 PM
do you have a mod for Slide http://www.slide.com/ .  I would like to use this slideshow in my forum .
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 07, 2008, 01:48:05 PM
As explained alot earlier in this topic the mod doesn't know whether its indexing an article/post/news/gallery or whatever.
Thats why there isn't a topic or post limit.

Note, it is actually intended for their NOT to be limit.
However the 12 was put a hard-coded max because after that amount Firefox/IE/Opera all 3 crashed for me.
In most circumstances I wouldn't recommend more than 2-3 flash videos per page.

So at this stage only a per-page limit is intended.

As for slide.com, that won't work with this mod. I don't think it is compatible either.
I am not aware of a Slide mod. You'll probably need to request a mod like that in the Mod Requests forum.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: swooptmsk on April 07, 2008, 07:27:30 PM
I have a question.

I connect to my database and get the body of a message in one variable
$message_content
It contains  text and a link for youtube for example:
Here is a youtube video :  http://es.youtube.com/watch?v=xxxxxxxxx

If i use the function AutoEmbedVideoClips($message_content)
it should work?, i mean use it out from SMF.



Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on April 07, 2008, 08:04:17 PM
If it's already posted, I think it probably would.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 07, 2008, 08:15:16 PM
It would work if you used the SMF Function parse_bbc.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: erlend_sh on April 08, 2008, 11:33:08 AM
Quote from: karlbenson on April 07, 2008, 08:08:02 AM
Quote from: Sadr on April 06, 2008, 10:31:44 PM
Have you looked into Motionbox (http://www.motionbox.com/) yet?

Never heard of it before.
Looks like you need to register to use it.

Do you have examples of the url and embed code that they use.
That could be arranged:

URL: http://www.motionbox.com/video/player/7997d5b3191fe0f6

Embed Code: <embed src="http://www.motionbox.com/external/player/filings%3D65936721%2Cid%3D7997d5b3191fe0f6%2Cie7nocacheworkaround%3D1207668737705" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" width="425" height="460"></embed>
Although, there seemed to be more than just one way of doing it...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: swooptmsk on April 08, 2008, 05:20:06 PM
im using AutoEmbedVideoClips(parse_bbc($message_content));
it parses bbc but not works for video clips, any suggestion? i think i forget something but cant get a clue to resolve it.
Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 08, 2008, 05:49:39 PM
AutoEmbedVideoClips is called inside of the function parse_bbc, you don't need to call it separately.

Plus it won't work just for a link.
The link needs to be active (with html)

it search for
<a href="{link}"...</a>
Replacing that

Also note, the function uses of some of SMF's variables. So you need to be using SMF or SSI. You can't just include Subs.php and AutoEmbedVideoClips.php for it to work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: swooptmsk on April 08, 2008, 06:36:49 PM
I did it, was that:

Quote from: karlbenson on April 08, 2008, 05:49:39 PM
it search for
<a href="{link}"...</a>
Replacing that

Thank you for your help  :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dumblonde on April 08, 2008, 08:24:26 PM
Thanks for the great mod.  I have been using it on my board for a while & I love it.

I would like to put in a request for another video site to be included in a future release please.

http://www.clipser.com

A lot of people that post on my boards main topic upload videos to the clipser site  :D

Sorry if clipser has already been requested I did a search & didn't see it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 08, 2008, 08:57:48 PM
Not heard of it before. As ever, any ones posted will be looked at when i do an update.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pacc on April 14, 2008, 07:49:35 PM
blank com' it is possible to open files swf on an other serveur?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pacc on April 14, 2008, 07:52:11 PM
it is possible to add site? http://www.threespeech.com/blog/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 14, 2008, 08:07:27 PM
I'm only adding major video sites. Not every site which has some video.

Plus it looks like that site has been hacked.  If you look at the source code. Its inserted lots of cloaked/hidden links.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dumblonde on April 15, 2008, 10:26:15 AM
If you get time could you direct me to the post where you talk about the recommended number of videos you should post per page?  Right now I feel like I am exceeded the recommended but everything seems fine.  i would like to research it though to be sure i don't have future problems as my forum grows  :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 15, 2008, 11:20:00 AM
It was discussed in several posts around
http://www.simplemachines.org/community/index.php?topic=200401.msg1281209;topicseen#msg1281209

Originally mentioned by Rummie of the DDOS type effect that someone could cause by posting tonnes of flash embeds.
Or accidentally.

When I came to test it in the various browsers, using more than 3-4 flash objects PER-PAGE caused IE7/FF2 and O8 to all start to ramping up usage of memory.
And by the time I got to over a dozen, they crashed. (And despite the increases in performance of FF3 betas, it still happens)

Thats why a per-page limit was added at the very extremes. So basically its advisable not to create Video Topics where its one video after another after another in each topic.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on April 16, 2008, 12:49:40 PM
mighr sound stupid but if you use IE7;

Try ending the explorer.exe process with taskmanager then goto "File --> New Task (Run...)" and start up iexplore.exe

Then open up a site in IE7 with more than 12 videos on your forum, karl.


for some reason when i open up IE7 the explorer.exe seems to conflict with it and will cause it to become inoperable, especially when i have alot of tabs open. iono if this might be why IE7 crashses or not with the videos, but it's worth a shot.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 16, 2008, 05:51:33 PM
Flash is a beast. It just really isn't designed for video.

I did try it on 1 x windows xp desktop, 1 x windows xp laptop (recently wiped, restored to latest releases).
Plus I had 1 person test on a Mac (Don't like them myself, but its best to check), and a few other peeps I asked over msn to check for me.

Sometimes (depending on the videos of course) it may work with more.
So invariably it crashed on all the tests. Or screaming out like its in pain.
If your having to kill explorer to get it work better (I suspect the memory it frees up enabled it to work better) then its far too much on one page.

Like i said, the hard-coded max limit is 12. But for 99.99% of topics you'll ever get, there won't be more than 1 or 2 per page.  (Even on my forum where i had a video clip forum).  Its only when people start "Post all your favourite videos in this topic" when you start with the problem, and thats why the hardcoded page limit was introduced.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mastermachman on April 18, 2008, 10:46:14 PM
Mod Docnt work i have tryed to download it 3 times i get the same thing ..file corrupt ... dont know why ..

BECARFUL WITH THIS MOD!!!!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 18, 2008, 11:13:36 PM
Download the mod to your computer.
Then upload via Browse Packages, and then apply.

SMF Package Server doesn't always work, which is why you've come across this issue.
(Your host probably has the php function smf uses, disabled, which is why it is corrupt)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: coolwrld on April 18, 2008, 11:38:54 PM
I'm sorry if this has already been asked but this topic is over 50 pages long and I have skimmed through it but didn't see what I was looking for.

In the documentation for AEVC it states that embedding is disabled by default in signatures.  Since that is the case is there a way to enable the embedding in signatures.  I would be willing to bet that is the case.  I'm sure if I spent enough time reviewing the code I could probably figure it out.  Unfortunately, I'm more of a VB, JSP, ASP kind of guy so muddling through PHP takes some time for me.

Any guidance would be greatly appreciated.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 18, 2008, 11:46:03 PM
./Sources/Load.php
Find and remove this line.
$context['disableautoembedvideo'] = 1 ;
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: coolwrld on April 18, 2008, 11:56:56 PM
Karl,

Thanks, a lot.  It would have taken me forever to find that line of code if I would have had to figure out exactly what is going on in that file.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mastermachman on April 19, 2008, 09:28:58 PM
Tried to upload this mod into my SMF site ,  Igot file corrupt and it will not up load ...WHY??
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 19, 2008, 09:30:25 PM
Quote from: karlbenson on April 18, 2008, 11:13:36 PM
Download the mod to your computer.
Then upload via Browse Packages, and then apply.

SMF Package Server doesn't always work, which is why you've come across this issue.
(Your host probably has the php function smf uses, disabled, which is why it is corrupt)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mastermachman on April 19, 2008, 10:37:58 PM
i do not have or use php ..im confuse ...you all are the pros at this youi mean you cant make a mod that works???
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mastermachman on April 19, 2008, 10:43:40 PM
i have look through all setting no php ... i dont understand turn off php ...???????/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mastermachman on April 19, 2008, 10:44:14 PM
were isd  this php fuction located????
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on April 19, 2008, 11:13:53 PM
The php function karlbenson is referring to is controlled by your host. You would not be able to adjust it unless you owned your own server or you requested it from your host. And I'm not sure exactly which function karlbenson is referring to either.

In the meantime, just simply download the mod here (http://custom.simplemachines.org/mods/index.php?action=download;mod=977;id=51845) and then go to Admin CP > Packages > Download Packages and go down to the bottom. Where it says "Upload a Package" use the browse button to navigate to where you downloaded the package to and hit "upload."
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 19, 2008, 11:30:29 PM
@mastermachman 
For security/resource saving/performance increasing measures, many hosts disable certain php functions.
Such as file_get_contents to prevent php calling files/pages.

These functions are how your SMF forum grabs the modification from SMF.
For hosts which disable the functions, the only alternative is as Eliana and I have stated which is from http://custom.simplemachines.org/mods/index.php?mod=977
Download the mod to your pc, then upload it via Admin > Packages > Browse Packages
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on April 20, 2008, 12:07:54 AM
It's generally the best method as well, since some mod authors upload multiple files. If you only install from the internal mechanisms, you may be attempting to install a mod not suited for your SMF version, whereas the mod author may have the proper file as an additional file. The internal system is not the best system for downloading packages, and while I admire the effort, I really think it either needs to be revamped or scrapped.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mastermachman on April 21, 2008, 10:08:40 AM
ok now i understand thank you i'll have to get a hold of hypernia and have them do it ....as i understand it they have security controls that will not let me stream video embedments ..i will leave a ticket asking  them to change their setting.....

Thanks ... of all the packages i have nenver had this happen before i have always been able to upload all my info and alter my forums ...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mastermachman on April 21, 2008, 10:22:41 AM
Ok cool it now installed , found out that FTP was blocking me ..i had change my passwork some time ago.. so it wouldnt let me install anything untill i used the correct password. aftre i login into SMF i them uploaded file .... sorry for all the trouble ....i tryed to upload this mod about 6 times before......well it installed now i'll test it and i might be back ...lol


thank you SMF is the best fourms out their ..... again thank you !!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 21, 2008, 04:19:35 PM
Thanks mastermachman

Best of luck with the mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Howl on April 23, 2008, 06:36:17 AM
hi,

This mod is veryyyyyyyyy good and usefull :)
But is it possible to add www.humour.com
http://www.humour.com/videos-comiques/videos.asp?VIDvideo=8876

Were from belgium and that site is french and very often visited by our members :)

iff so, which code do I have to add in the Subs-AutoEmbedVideoClips.php ?

thanks :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 23, 2008, 11:30:13 AM
It won't be compatible I'm afraid, their actual filename of the video is
http://video.humour.com/videos-comiques/videos/15f5700dcbdaa37eee1cb531850421e2.flv
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: hkymre on April 24, 2008, 10:13:12 AM
Great Mod.
Is it possible to add Bombay TV? e.g. http://www.grapheine.com/bombaytv/index.php?module=see&lang=uk&code=ed5f43ccfbd152df6b4802159e59e877

Cheers
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 24, 2008, 11:33:45 AM
Ahh Bombay.tv
it might be possible.

I'll consider adding that one.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: No.Body on April 24, 2008, 02:38:48 PM
Now compatible w/ 2.0 beta? Wow!

Now it's time to upgrade my forum.

*Sorry i haven't here in the forum for weeks now so i just know today. lol
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 24, 2008, 02:46:16 PM
Since no changes/differences are required to make the mod work on 1.x versus 2.x.
Technically my mod has ALWAYS worked on 2.x
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: No.Body on April 24, 2008, 02:48:58 PM
I didn't upgrade my other forum to 2.0 yet coz i was afraid that this mod won't work, and this Mod is really important to that forum.

;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on April 25, 2008, 02:27:08 AM
I know you are a very busy man but would it be possible for you include "IndyaRocks" site.

Links to one of the videos is http://indyarocks.com/videos/IPL-MATCH-8-2IMP-WICKET-OF-HYDERABAD-FALLS-92581

Is it possible to add this site?

Thanks a lot for all your efforts.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 25, 2008, 10:17:36 AM
possibly.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TOGGI3 on April 25, 2008, 09:56:02 PM
OK, first off, loved this mod, especially while we had it working.  Recently we moved to another host and in the process there were some complications, so we moved the old database onto a new install and moved the old theme stuff over and re-installed your modification.

Strangely, it doesnt work now, but not entirely.  It works to the extent that if you post a rely in a topic that had youtube urls in it, they embed as you review what others had posted below the reply box, but in the topic itself, they never show.

Anyone experience this?  any ideas?

To observe the issue, look at:
http://seganerdsforums.com/index.php?topic=4.60

Notice how all the links just show the text, now if you register a new account and try to reply, and notice the replies below the reply box, all the videos are embedded...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 25, 2008, 10:09:43 PM
Any errors in your error log?

Double check all the edits are there
And a file Sources/Subs-AutoEmbedVideoClips.php exists.
http://custom.simplemachines.org/mods/index.php?action=parse;mod=977;attach=51845;smf_version=1.1.4
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on April 25, 2008, 10:44:52 PM
Quote from: karlbenson on April 25, 2008, 10:17:36 AM
possibly.

Any ideas when you can add it?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 25, 2008, 10:50:12 PM
I'll look to add all those that have been suggested for v2.1.6
Probably won't be this week though.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoCKeT-88 on April 28, 2008, 12:26:49 AM
xtube?  :-X
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 28, 2008, 12:23:29 PM
No adult/porno ones are being supported.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: welshdog on April 28, 2008, 09:13:19 PM
Quote from: TOGGI3 on April 25, 2008, 09:56:02 PM
Anyone experience this?  any ideas?

Great mod... but I have exactly the same effect on our forum at http://australianopinion.com using SMF 1.1.4

Is there an easy solution??

(Note: I *did* check that Sources/Subs-AutoEmbedVideoClips.php exists, and there is nothing in the error logs for today relating to mods or posts.) :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 28, 2008, 10:21:34 PM
In http://australianopinion.com/index.php?topic=1286.msg10008#new
the video is working fine for me.

What browser are you using?
Check this link http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507
whether your using the latest version of flash.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: welshdog on April 29, 2008, 01:16:29 AM
Quote from: karlbenson on April 28, 2008, 10:21:34 PM
In http://australianopinion.com/index.php?topic=1286.msg10008#new
the video is working fine for me.

What browser are you using?
Check this link http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507
whether your using the latest version of flash.

Thanks. This is weird... :)

Some of the members report  my problem... others can view with no problems.

I'm using Firefox/2.0.0.14. I have to assume something in the system is blocking it. I'll set off disabling things from the firewall onwards... and check up on the Flash version as well!

Edit:

Ok... mea culpa (of course). I updated Flash and up they all came... had to be something simple didn't it?

Thanks for the help... off to watch videos now! :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 29, 2008, 12:06:30 PM
Glad to know that you got it working.

I am caught in a catch 22 situation with the version.
There are some buggy/dodgy versions of flash in use out there. (and has resulted in many different support questions/issues/bugs regarding them).

But by trying to get the browser to get the latest version, it can have instances where it seems that it won't work.

Best of luck with my mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: darthvader61 on April 30, 2008, 01:52:13 PM
i push "apply mod". but then only white page comes everytime.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on April 30, 2008, 01:55:04 PM
Hmm.

try Admin > Packages > Options
Disable creation of backups with ~ tilda.

Thats usually the cause, due in low memory environments (too cheap overselling hosts).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: _Anthony_ on April 30, 2008, 07:42:21 PM
Thanks for this
I use it
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: CheekyMonkey on May 02, 2008, 06:19:31 PM
Thank you for this Mod!!!!  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 02, 2008, 10:10:28 PM
Heres the new version.  v2.2 (instead of v2.1.6) Why?
Aswell as the new sites I've also done some changes to improve performance of the mod by as much as 50% or more.
(Not that it was a problem before)

One of the biggest new sites is BBC Iplayer, which i managed to get working.
Its UK Only (but it seems to work for some US folk, but not others)

2.2 - 3rd May 2008
o Ensured works for SMF 2.0 Beta 3.1 and SMF 1.1.5 (its does!)
o Fixed for 2.x - prevent video converting in the WYSIWYG.
o Fixed Changed Preg_match_all to Preg_replace_callback
o Added Support for
- BBC Iplayer (UK Only), MyVideo other sites (.be/at/ch/nl), Snotr.com, IndyaRocks, Clipser,
- Spike.com (Note, they don't allow some materials to be embedded)
- Clipmoon.com, FunnyOrDie.com, Motionbox.com, Pikniktube.com, Blip.tv (They changed their links, now supportable)
o Fixed Photobucket (for other types of flv urls)
o Fixed Jeux-France (for other types of urls)
o Removed Hulu (oops forgot to last version)
For the full changelog for previous versions please see changelog.txt
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shadow82x on May 02, 2008, 10:38:01 PM
Wahooooooo! Great Job Karl! I'm glad you finished it. Nice work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on May 03, 2008, 12:08:56 AM
Thanks for the update!   8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Filipina on May 03, 2008, 09:29:22 AM
Hi.. Strange i got up today and all my youtubes are not showing anymore.. just blank blocks of space.. only thing i have done in the last 24 hours is upgrade to the latest SMF 1.1.5.  Any ideas on what could cause this sudden loss of youtube video showing... thank for any ideas :)   
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Filipina on May 03, 2008, 09:36:47 AM
never mind i think the site youtube has temporarily crashed :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 03, 2008, 10:46:06 AM
I hope not Pakistan Telecom again ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: neil h on May 04, 2008, 05:08:14 AM
Wow, if only other mods were this simple to use and install! Great work, Karl!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 04, 2008, 10:44:27 AM
Thank you very much, Neil h.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on May 04, 2008, 02:13:52 PM
I'm having a problem with the newest 2.2 release: I just updated to it from a previous version (running SMF 1.1.5), and now next to each video it displays an active link to the video, like ">http://www.youtube.com/v/7GkZFBmBYSM&rel=1".

I did not uninstall the previous version, but I did manually overwrite the required code in subs.php and I overwrote Subs-AutoEmbedVideoClips.php with the new version. Any ideas?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on May 04, 2008, 02:22:32 PM
Try uninstalling and reinstalling the mod. It could have been improperly installed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on May 04, 2008, 02:36:20 PM
D'oh, I feel so stupid. I pasted the required code two times by accident, sorry to waste your time. Problem fixed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 04, 2008, 03:05:27 PM
Ok glad you got it working.

Re BBC Iplayer.  Even though its uk only. Some people in US and Canada on my site are saying they can view the videos.
Seems their ip matching is hit and miss.

Anyways since its a bit of a feat to get them to work, i wrote a blog post about IPlayer with the auto embed mod
http://www.youposted.com/index.php?topic=35593.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on May 04, 2008, 03:36:44 PM
EDIT: Didn't notice that you have already added it. THANK YOU SO MUCH. Really appreciate it. I was following this topic that you would say "IndyaRocks" etc... added now, but didn't see anything like that here. Thanks a lot once again. Keep up the great work.


Hi,

I hope I don't piss you off with this, but any updates on adding www.indyarocks.com videos to the mod. I need it quite urgently. There is an event going on my site and I need it for that and the event will be over soon.

Or can you post a little tutorial on how to add videos to this mod, IF POSSIBLE? Do we just need to edit "Subs-AutoEmbedVideoClips.php" file to add more sites. Add $ where the value is changing etc....
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 04, 2008, 06:33:38 PM
I don't plan to add any tutorial on adding sites.

For the simple reason, if you don't understand PHP, and regex patterns. You could be opening your site up to an exploit.
If you want to try to add new sites, its best to get someone experienced in PHP to take a look.

Everything is in the arrays in the Subs-AutoEmbedVideoClips.
And to be honest, the way its setup should be quite obvious and copyable.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on May 04, 2008, 09:10:53 PM
I do not want a tutorial now :D . I would have wanted it if you hadn't added IndyaRocks. But it think so too that its quite obvious and copyable. Anyways, thanks for adding IndyaRocks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SgtMic on May 04, 2008, 10:56:41 PM
Need some help please.

Installed v2.2 on SMF 2.0 b3. Went to upgrade to b3.1 and overwrote all my files.
How do I get aevc to work again?

I can upload it via package manager, but it does not give me the option to install. Shows aevc with a red dot.

If you need some more info, please ask.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shadow82x on May 04, 2008, 11:25:29 PM
Fully uninstall it and reinstall it via the package manager.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SgtMic on May 04, 2008, 11:29:01 PM
Uninstall is not an option. It looks like it only adds code to 4 files.
At this time, those files do not have the code written in them.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on May 04, 2008, 11:32:05 PM
Uninstall the patch, uninstall AEVC, reinstall patch and then reinstall AEVC?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SgtMic on May 04, 2008, 11:48:08 PM
So go back to SMF 2.0 beta 3?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on May 04, 2008, 11:49:33 PM
Essentially, yes, just for a moment. While you're there, uninstall AEVC, then reapply the patch. Then reinstall AEVC again. Should work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SgtMic on May 04, 2008, 11:55:35 PM
I'll give it a go...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SgtMic on May 05, 2008, 12:16:07 AM
Installed SMF 2.0 B3, ran upgrade.php and it cleaned out all mods (OK with me).
Installed the patch via package manager.
Now, I'm back on track.

Thanks for the lesson, it helped.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on May 05, 2008, 12:20:53 AM
Not a problem. Glad you got it figured out.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 05, 2008, 01:35:57 PM
Indeed. Glad you figured it out.

I also spotted today the mod is closing in on 20,000 downloads ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SgtMic on May 05, 2008, 01:48:20 PM
It's an excellent mod that actually provides a much needed service.
The best kind of mod in my opinion. 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sakae on May 08, 2008, 01:02:59 PM
Hi Karl,

Is it happening only with my SMF or everybody else has problems with the url BBC code and this MOD?

I mean, if I try to post a message like this:

Hey guys, remember [url=http://www.youtube.com/video-dog-bark-mamma]the video where the dog barked to my grandma[/url]?

The URL BBC code is just ignored and the video appears as embedded in my post.

See what I'm talking about here (or see screenshot): http://www.tigrelog.net/forum/secretaria/this-is-a-test-topic-to-karl/ (if need for login, use teste/teste)

(http://img501.imageshack.us/img501/5863/imagemdu9.jpg) (http://imageshack.us)

Sorry if was asked before, I searched for keywords like URL LINK BBCODE and couldn't find it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on May 08, 2008, 01:15:52 PM
Did you try using the [noembed][/noembed] tags around the url tags?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sakae on May 08, 2008, 01:17:04 PM
Quote from: Eliana Tamerin on May 08, 2008, 01:15:52 PM
Did you try using the [noembed][/noembed] tags around the url tags?

Oh... There is a noembed tag?? LOL... SORRY, MY FAULT (put the tail into it's legs and low the head...)

edited: Still, I think this could be improved in next version of this MOD, but 'till that, great job :positivo:
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 08, 2008, 01:35:54 PM
The mod is INTENDED to replace all active links to video clips.

The only way to prevent embedding is to use [noembed] or [code] bbcode
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sakae on May 08, 2008, 07:35:03 PM
"Active links", not words with link (don't know the specific term for this).

When I use "url=youtube.com" I want the word next to the BBCode to be linked, not to show the address I want to link.

Understand?

ps.: I'm not asking for making a addon or upgrade of this mod, I'm pretty sure you're very busy with your thousand modifications, but if someone needs the same as me, I beg for a new code...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 08, 2008, 07:46:29 PM
The mod replaces videos that are linked by matching
<a href="http://www.youtube.com/*...</a>

It doesn't matter if you use anchor text.
So
[url=http://..]YouTube[/url]
and
[url=http://..]http://..[/url]
and
[url=http://..]http://..[/url]

ALL get replaced the same.
This is intended functionality.  I don't plan on preventing it replacing [url=http://..]YouTube[/url].

If you don't want [url=http://..]YouTube[/url] to be replaced, the ONLY way to do it is with [noembed] bbcode.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on May 08, 2008, 09:43:40 PM
Some tweaks to it could be done to prevent [url=...] tags from embedding. I think if you want that done, you should request it in the Help Wanted (not for support) forum.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rnorth6920 on May 10, 2008, 09:30:10 AM
It looks like youtube is limiting the numbers of videos you can link.  Only 12 are showing up per page on my forum.  Is that the case?  I'm sure it's not a limit set by this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on May 10, 2008, 10:06:03 AM
It is a limit set by the mod, to make sure that your browser doesn't crash.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rnorth6920 on May 10, 2008, 10:10:35 AM
I see.  Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MissyNL on May 10, 2008, 12:29:41 PM
hello, i wanted to ask.. i have the new version installed..

i want to maximum the video's to 10 per page.
First question... i can not find the static $autoembedmax string in subs.php

second, maybe stupid :( but.. what happens when the maximum have reached per page? does it just generate the second page of
will it give an error that the maximum have been reached for this page?

Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 10, 2008, 12:43:40 PM
Quote from: Lafemme on May 10, 2008, 12:29:41 PM
i want to maximum the video's to 10 per page.
First question... i can not find the static $autoembedmax string in subs.php
Oops, that a bug in my readme. Its actually Open Sources/Subs-AutoEmbedVideoClips.php

Quote from: Lafemme on May 10, 2008, 12:29:41 PM
second, maybe stupid :( but.. what happens when the maximum have reached per page? does it just generate the second page of
will it give an error that the maximum have been reached for this page?

Thanks!
Well it reaches the maximum, it will just stop replacing video clips.  It won't show any error.
The links will remain as normal links.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: edi67 on May 11, 2008, 01:56:59 AM
nice
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MissyNL on May 11, 2008, 07:20:18 AM
Thanks karlbenson for the reply :) Then i will adjust it. You say that 10 is the max before an browser will crash right?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 11, 2008, 10:03:40 AM
By default i've set it to 12.
Which was around the mark.

The actual amount varies depending on which video sites clips are being used, and the quality/size of each video.

Generally more than 3-4 clips on any page, and every browser i tested starts to affect performance of the browser.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gmvasco on May 11, 2008, 05:18:45 PM
Hi
I use this mod for YouTube and Vimeo, and I have two questions:


1- Can I change the size of the videos, specificly the Vimeo ones?

2- Is there a way to do it for each post individually?

Thank you for any help.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 11, 2008, 06:40:00 PM
You can't change the sizes of each different video or each post individually with this mod.

The mod uses the default sizes of each video site.
You can however change the default sizes in the file Subs-AutoEmbedVideoClips.php

eg the vimeo section is
array(
'name' => 'Vimeo',
'enabled' => 1,
'pattern' => 'http://(?:www\.)?vimeo\.com/([0-9]{1,12})',
'movie' => 'http://vimeo.com/moogaloop.swf?clip_id=$1&amp;server=vimeo.com&amp;fullscreen=1&amp;show_title=1'
.'&amp;show_byline=1&amp;show_portrait=0&amp;color=01AAEA',
'width' => '400',
'height' => '225',
),


Change the 400, 225 for the width/height
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gmvasco on May 11, 2008, 07:57:03 PM
It worked like a charm, thank you very much!

If anyone else is wondering, I chose 576x324 (16:9) ratio. It works really well with Vimeo, and fits on most browsers and themes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: oblongmedulla on May 11, 2008, 08:53:10 PM
I recently installed autoembed 2.2 and was prompted me for a flash download which was fine- however, one of my members is only seeing a red x in place of the code. Is this due to some security not allowing her to download flash 9 or something? Also why has this autoembed changed to flash 9 or whatever?
Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 11, 2008, 10:04:44 PM
Flash is either not installed, or disabled.  It could be browser related
Get them to goto this page http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507

There are some bad versions of adobe flash 8 which some users were having an issue with some sites.
Its safest to get the latest version.

By default if you don't have the latest version, your browser should use the code provided to grab the latest version for itself.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: City Builder on May 14, 2008, 06:20:42 PM
I only want to say THANK YOU very much for this mod.  Our users have been asking me for ages if there is a simple way for them to embed their youtube videos in their messages and I finally took the time to find your mod.  It was easy to install, went off without a hitch and the users are now making good use of it.  According to our users, it's a big bonus for them to have this ability to show videos of the games that they play in their reviews and message threads.

You have my sincerest appreciation for this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 14, 2008, 06:25:59 PM
Thank you City Builder.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MissyNL on May 16, 2008, 01:57:14 PM
Hello,

i hope i do not have a too stupid question.. maybe it's because my english is not optimal :(

but here it is..

What you you mean with :
Use [noembed][/noembed] bbcode to prevent links being converted to embedded clips

And does the mod automaticly include this BBcode Noemed?

Thanks!

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 16, 2008, 01:58:48 PM
Yes.
[noembed] bbcode comes with the mod.

However it is not integrated into SMF bbcode functions like other bbcode.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on May 17, 2008, 05:04:13 AM
Quote from: Lafemme on May 16, 2008, 01:57:14 PM

What you you mean with :
Use [noembed][/noembed] bbcode to prevent links being converted to embedded clips


it means that if you use the [noembed][/noembed] tags that this mod will not make it into a video automatically. It will leave it as a link to that video.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MissyNL on May 17, 2008, 09:04:40 AM
oh.. oke :D.. thanks you very much for your reply :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Heartlander on May 17, 2008, 03:48:13 PM
Tried installing this mod, converted old [youtube] type posts, had my host confirm that my Themes folder is at 777.

NOW THIS on attempting to enter my site!
QuoteUnable to load Themes/default/index.template.php!

I re-uploaded a fresh version of that file, to no avail.

Please help.
My board is dead....
>:(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JimM on May 17, 2008, 06:53:46 PM
Not sure what your themes folder has to do with this mod.

Quote
There are NO theme edits required
from the mod author. 

I'm sure karlbenson will be along and be able to help you with a bit more info.

What version of SMF?  What other mods are installed?  Are there any errors in your log?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 17, 2008, 06:55:58 PM
if its related to your other topic you posted.  It would appear to be an issue with CHMOD permissions.

If its set to 777, try 755.
if that doesn't work check with your host.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Heartlander on May 17, 2008, 06:56:45 PM
I'm told it may have to do with the 777 designation, as some servers do not like it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 17, 2008, 07:00:08 PM
Its hosts providers who don't like it, so they may use means to stop any 777 file from being accessed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 18, 2008, 08:44:12 PM
I'm going to have a look this week at adding a number of new sites that have been submitted to me.

If you know of any videos sites that you would like supported, please let me know in this topic (rather than pm).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mmertens on May 19, 2008, 09:43:17 AM
Can this MOD skip the parsing of quoted messages?

It's a very nice MOD, but can you add the ability to turn on/off the parsing of quoted messages, it would be much cleaner on the forums when the links are not parsed to movies automaticly in quotes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 19, 2008, 09:46:59 AM
Not at present.
Its something i've been trying to do.  However I can't get the regex working properly to protect them for when users use nested quotes.

I will try again though.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dante_Arg on May 19, 2008, 10:21:04 AM
Hi, first, sorry for may bad english, i dont speak very well.

Ok, i ve problem with SOME users (using IE or FF). They see the video and they link of video at the same time, chek picture.

(http://img134.imageshack.us/img134/7038/sinttulo1sb2.jpg) (http://imageshack.us)

What can be that?

I repeat: This happen with 2 or 3 users, with FireFox and IE.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on May 19, 2008, 11:03:28 AM
It's possible that the mod has been duplicated in its install. Have you checked whether or not there isn't any duplicate code in the files the mod installed in?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dante_Arg on May 19, 2008, 11:08:09 AM
No, instalation was perfect,  I modified the number of videos can show in post, only that, but i make that with previews versions and work fine.
Also i re-installed this pack 4 times, and make the same.

Its so strange

edit: This problem was not happening in previews version of 2.2
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 19, 2008, 11:57:54 AM
can you please link me to the actual topic?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dante_Arg on May 19, 2008, 12:34:48 PM
Sure, its the link of the screen.
But registered users can see videos.

http://foro.nihonshiki.com.ar/index.php?topic=4543.msg28926#msg28926
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on May 19, 2008, 01:04:11 PM
You might want to provide Karl with a test account there.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dante_Arg on May 19, 2008, 01:32:36 PM
ok , i sending by PM
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: punjabilokvirsa on May 19, 2008, 02:51:13 PM
i used to have 1.2 version installed and everything worked fine, so I uninstalled it to get the new version (so that more sites could be supported)
but for some reason my urls are only getting converted in the "post reply" page and not when i just view the topic/thread (just the normal url shows).  This is very weird.  Just to let you know, I have prettyurls installed, if that makes any difference (i don't think it does).

using smf 1.1.5
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 19, 2008, 02:59:32 PM
@Dante_Arg 
can you please attach your subs.php

I'm unsure at this moment whether its caused by a bug i've spotted, or your modification to hide with spoiler.

@punjabilokvirsa
It should work with pretty urls. As they only affect your internal urls, and not external links - youtube etc.
Can you please link to a topic where this is happening.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dante_Arg on May 19, 2008, 03:10:40 PM
here

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dante_Arg on May 19, 2008, 03:18:31 PM
OMG yes! without "HIDE SPOILER" video is perfect without extra link. But before dosent work like now (before 2.2)... :/ even with "SPOILER"
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 19, 2008, 03:22:54 PM
Sorry Dante_Arg 
I meant Sources/Subs-AutoEmbedVideoClips.php
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dante_Arg on May 19, 2008, 03:25:59 PM
i thinks this...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: punjabilokvirsa on May 19, 2008, 03:44:17 PM
sorry you must register to view the "post reply" page
http://punjabijanta.com/bhangra-videos/msu-bhangra-team/msg15253/?topicseen#new
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 19, 2008, 03:44:35 PM
I can't get it to happen on my own forum.
At this stage it looks to be related to the Spoiler mod.

There were changes in version 2.x to the way the content was protected which might account for a difference.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 19, 2008, 03:47:20 PM
@punjabilokvirsa 
Double check all the edits were made.

Are there any errors in your error log?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dante_Arg on May 19, 2008, 03:50:00 PM
Ok.. u think i must wait to SMF2.0 to see videos work fine with Spoiler Tag?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: punjabilokvirsa on May 19, 2008, 03:51:24 PM
another user had reported this error (on this thread), but when I went to his site, it was fixed... so I messaged him personally to get some answer:
Quote from: TOGGI3
By first repeatedly slamming my face into my keyboard,

Then installing fresh and restoring the database.

Then reinstalling the modification by hand, step by step.

Then it worked.

I also have the Spoiler tag mod installed, I would uninstall that happily as nobody uses it, but the uninstallation fails when I try it, so I might have to do it manually.  Let me know if I should do that!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dante_Arg on May 19, 2008, 03:56:03 PM
hmm but in my case, i cant uninstall SPOILER TAG because in my forum its escencial
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dante_Arg on May 19, 2008, 04:02:36 PM
i ve more users with the same problem now.

Can anyone upload the preview version of this mod?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 19, 2008, 04:23:32 PM
@Dante_Arg
I can see it on your forum.  Everyone using your forum will probably see it. Other than on your forum I've not had any other reports of it.
I am working on a new version of the mod.  Although I'm not sure whether that will fix it because I can't repeat the bug without the spoiler mod.

I've never used the spoiler mod so I can really provide support for it. You might want to speak to the author of the spoiler mod and see what they say.  If he says it not with his mod then I'll take another look at mine.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dante_Arg on May 19, 2008, 04:27:11 PM
good idea, i will try

edit: however I prefer waiting for a new update
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: punjabilokvirsa on May 19, 2008, 04:58:18 PM
ok i've fixed it, for some reason the $autoembedmax count was not working right.  The problem is that the recent topics of tiny portal on the left side are each being processed as if to check for media/videos urls.  This is highly inefficient.  The mod should really have the disableautoembedvideo flag off and only turned on when processing posts.  or maybe the tinyportal recent topics mod should be more careful in preventing not to process posts' text content.

I hope you understand what I mean.  Thank you for your paitience and help!

Fix: I set the $autoembedmax to 50.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 19, 2008, 05:06:31 PM
The mod attempts to automatically embed whenever the parse_bbc() function is called.
This is done so if you are using other mods LIKE tiny portal, it will parse their articles etc.

The mod itself doesn't know whether its processing a post, news items, article or whatever.
For any mods (including blocks in tp) that you don't want parsed you need to set the variable.

From the readme
QuoteDisabling Embedding In Specific Areas
By default embedding is disabled in signatures.
Some people requested a way to disable it for other sections such as Shoutbox.
You must find in the relevant SOURCE file where that string or data is put through the function "parse_bbc"
And on the line BEFORE it, put

$context['disableautoembedvideo'] = 1 ;
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on May 19, 2008, 08:25:18 PM
well for your next version, maybe change the name to:

AEVCAI v2.3

(Auto Embed Video Clips and Images)




I think you get where I'm going with this post...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 19, 2008, 08:52:45 PM
Nah, you won't see images. The reason being alot of sites like imageshack have filenames with an image file extension in them, but actually link to a page.

However you might see some audio clips in future eg seeqpod.

I'm actually trying to do more than a simple update with this one.
Trying to support all the sites which don't have the actual url in the address url.
So basically the mod has to check through the links in posts on posting and for matching ones, it does a lookup and grabs the actual url, and replaces that in the post.

So on POSTING it looks for video site links that won't embed automatically, but can with a lookup
eg ebaums world.  We match a url eg
http://www.ebaumsworld.com/video/watch/421273
It doesn't contain and the ids as present in the filename so we lookup and then grab the 'actual' url.
http://www.ebaumsworld.com/mediaplayer.swf?file=http://media.ebaumsworld.com/mediaFiles/video/486101/421273.flv

It then replaces that in the post.

Obviously there are some issues I've got to work around

Sticking to the same guidelines that have brought the mod to 20,000+ downloads
- No theme edits
- No language strings
- Works for all versions, no configuration.

So I've got to deal with
- hosts that don't support lookups (i use smf's functions, so if the SMF Package servers don't work for you, this won't work)
eg safe mode, disabled fopen etc.
- links already in posts - update script? or update on view?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on May 19, 2008, 08:56:13 PM
sounds good, and yet extremely complicated.


I would only suggest maybe a section in the Admin cpanel where a forum admin can enable/disable certain sites with which this mod will take effect on.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 19, 2008, 09:00:12 PM
You won't see any admin panel.
That would mean either theme edits OR language strings.

It will be fully functional out of the box. No configuration, but it will be possible (as it currently) to disable lookup for specific sites, and/or embedding for specific sites.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: [кѕ]ваηε-σ on May 19, 2008, 09:30:50 PM
guess my suggestions just aren't worthy enough...  :'(


j/k
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on May 19, 2008, 10:21:22 PM
Not that, just that Karl has his vision for the mod, and he's got some points he won't compromise on. He's even turned down my offer to make an addon for some kind of admin panel which would allow those sorts of options. So don't feel bad.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 20, 2008, 10:24:43 PM
ok with this new early version i'm working on I've got it to
- protect 'nested' quotes from lookups (embedding still to be done)
- protect noembed/code from lookups
- lookups for 4 sites so far inc Break.com/EbaumsWorld which is done on posting.

However the last part leaves me with a dilemma.
Ok the mod will try to do a lookup for new posts. But what do I do about existing posts with eg Break.com links in them.
Do I;
- leave them alone (in which case you would have to edit the post to make it do the lookup)
- provide a script for the admin to manually run in your browser to slowly go through all your posts. (as i support more and more supports this would need running again and again)
- Have it check on display of posts (aswell as on posting). (this might result in performance loss if there are many links on a page/multiple posts of a topic)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dumblonde on May 21, 2008, 12:23:07 AM
I would like to request "redlasso.com" be added to the next version if possible.  They have a lot of TV show clips   :D


Can I get some info on the latest version & the problem with the spoiler mod?  The spoiler mod is a must on my forum & I have not upgraded to the current Auto Embed version yet (I am using 2.1.3).  I want to upgrade cause you added clipser for me but not if it will cause problems with the spoiler mod.  Can someone tell me what is happening & which spoiler mod is having trouble (I am using Spoiler Tag 0.3.2).  Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 21, 2008, 10:03:31 AM
I'll try to add it.  It definately looks like it will need my 'lookup' ability to get the actual url.

As for the Spoiler mod issue. It might actually just be a bug in this mod for non-ie users.
Very late last nite I made a change to how <noembed> html and [noembed] bbcode are protected. Which may resolve the issue.  You might choose to wait until the new version is fully ready. But its not going to be in the next few days as I've got alot more work to do on it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dumblonde on May 21, 2008, 12:26:55 PM
Thanks karl.  I think I will wait til this next release is done.  My site won't be back hot & heavy into posting videos until our main TV show starts back in early July so I have plenty of time  :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 21, 2008, 05:48:04 PM
I still would be interesed to know what people think about
http://www.simplemachines.org/community/index.php?topic=200401.msg1550510#msg1550510
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dumblonde on May 22, 2008, 01:53:32 AM
I am far from the authority on what should be or not be but IMHO I will say I don't care what the old posts in my forum do because, well they are old.  If they auto embed or not they are not something people on my board read frequently so I am fine with old links not embedding & showing url links.  But... that's just the way my board is & other's boards may have a different crowd that focuses on the older stuff.

I would prefer nested quotes not embed videos.  Noembed, not too familiar with, but I think I get it & it would be nice to have a video not automatically be inserted if I told it not to.  No clue what Break.com/EbaumsWorld even is so  :P

That's all I got for ya but thanks so much for all your hard work on this mod it is greatly appreciated.


p.s... I don't fully understand the lookup issue (with red lasso).  If I have a direct url for a red lasso video & I put it into my browser address window the correct video plays.  Just curious how that makes redlasso different from a youtube video with the mod?  try me even though I probably won't understand the answer LOL
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jelle Mees on May 23, 2008, 04:12:49 AM
The mod works fine, it shows the embedded video's, but it also ads an URL after the movie, and usually the url doesn't work.

Example:
http://www.tm-belgium.info/index.php?topic=134.0

Is there a way to remove the url?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: steighan on May 23, 2008, 04:42:15 AM
Quote from: karlbenson on May 20, 2008, 10:24:43 PM
ok with this new early version i'm working on I've got it to
- protect 'nested' quotes from lookups (embedding still to be done)
- protect noembed/code from lookups
- lookups for 4 sites so far inc Break.com/EbaumsWorld which is done on posting.

However the last part leaves me with a dilemma.
Ok the mod will try to do a lookup for new posts. But what do I do about existing posts with eg Break.com links in them.

Do I;
- leave them alone (in which case you would have to edit the post to make it do the lookup)
- provide a script for the admin to manually run in your browser to slowly go through all your posts. (as i support more and more supports this would need running again and again)
- Have it check on display of posts (aswell as on posting). (this might result in performance loss if there are many links on a page/multiple posts of a topic)

I would recommend/lean towards
1. leaving them alone, allowing the operator to do manual edits.
A script that churns through a huge database to do a replace may have problems - leaving it alone will not.

I'm  a bit concerned on the lookup bit... is this information cached somehow? or is it re-CURL/FSOCKOPEN each time?
I fear you may annoy the owners of these services, when they see all these requests coming from your server!
they   will all (I think) be coming from your server site address, not shown as requests from each client.

If you dont cache, that means a popular video post on a moderately popular forum will be making multiple requests to link check a vid
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on May 23, 2008, 06:20:25 AM
I think I'd agree with just leaving old posts alone. When/if they are manually edited, they can be converted, but until then, there's no need to go through all the trouble of bogging down the servers with fetching videos for old movies.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Heartlander on May 25, 2008, 10:14:51 AM
This is not working at all for me.

After doing everything required, pointing to the site index provides this error:
QuoteParse error: syntax error, unexpected $end in /usr/home/bassman/public_html/heartland/smf/Sources/Subs.php on line 672
Can anyone help in this regard?
Thanks much.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jelle Mees on May 25, 2008, 10:16:10 AM
The mod works fine, it shows the embedded video's, but it also ads an URL after the movie, and usually the url doesn't work.

Example:
http://www.tm-belgium.info/index.php?topic=134.0

Is there a way to remove the url?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 25, 2008, 10:49:28 AM
This will be fixed in the next version v3.0 I'm working on for asap.
I've had to write new functions to do it all better.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jelle Mees on May 25, 2008, 10:52:40 AM
Quote from: karlbenson on May 25, 2008, 10:49:28 AM
This will be fixed in the next version v3.0 I'm working on for asap.
I've had to write new functions to do it all better.

Ok, all I needed to know.
Love your mod, keep up the good work!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Heartlander on May 25, 2008, 10:53:35 AM
Any suggestions on my issue, Karl?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 25, 2008, 01:31:51 PM
Like i said before, it looks to be a CHMOD permissions issue related to your servers individual setup.

You should contact your host. If that fails raise it as a separate topic on smf for general issues. (as i don't believe its specific to this mod)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Heartlander on May 25, 2008, 01:37:28 PM
I have a completely unrelated error this time, Karl.
The permissions issue was resolved.

"Parse error: syntax error, unexpected $end in /usr/home/bassman/public_html/heartland/smf/Sources/Subs.php on line 672"
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 25, 2008, 02:27:21 PM
attach your Sources/subs.php file here.
I'm almost certain its not related to this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Heartlander on May 25, 2008, 03:44:01 PM
The attached is without the modification, as it corrupts the board....obviously.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 25, 2008, 04:41:52 PM
The version i need to see if the on WITH the modifcation that causes the 'parse' error.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: - danny on May 25, 2008, 10:31:27 PM
this is an awesome mod, thank you.

i've got a media board that features music videos, movies and documentaries...and this was a perfect addition to simplifying it all.

...i'm curious though, has anyone figured out a way to embed fliqz.com videos?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Godsongz on May 26, 2008, 05:43:00 PM
Could you please add Gloria.TV  (http://www.gloria.tv/) to the list?  Or if there's a way to add it myself then cool, just point me to some instructions?  57 pages in this thread! :)  Awesome mod Karl!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 26, 2008, 06:28:44 PM
I'll look at any/all suggested sites for the version I'm working on.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jelle Mees on May 26, 2008, 06:40:11 PM
Karl, I think you can change the default video-size for vimeo.com , because vimeo.com is superiour when it comes to quality.
Have a look:
http://www.tm-belgium.info/index.php?topic=134.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 26, 2008, 07:20:50 PM
Those videos are TOO big for 800x600 resolution.
A third of the video to the right is hidden/cut off.

I use the DEFAULT sizes of each video site. Obviously that doesn't stop you from using different sizes.
However I wouldn't recommend anything wider than 600 (WIDTH) because it will affect 800x600 resolution.
[The other 200px is taken up by the avatar, scrollbar, icons on the left and right)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jelle Mees on May 27, 2008, 06:23:56 AM
Quote from: karlbenson on May 26, 2008, 07:20:50 PM
Those videos are TOO big for 800x600 resolution.
A third of the video to the right is hidden/cut off.

I use the DEFAULT sizes of each video site. Obviously that doesn't stop you from using different sizes.
However I wouldn't recommend anything wider than 600 (WIDTH) because it will affect 800x600 resolution.
[The other 200px is taken up by the avatar, scrollbar, icons on the left and right)

800x600, ar we living in 1995 now? It's 2008, someone who still has a 800x600 resolution is not someone who visits forum. :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on May 27, 2008, 06:27:09 AM
There are still some people who use the resolution. Still, not enough to tailor our websites specifically for them.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 27, 2008, 12:19:18 PM
I think it was 8% in January
http://www.w3schools.com/browsers/browsers_display.asp

Either way, you can obviously choose for your own forum what size to use.
But by default I specify the default standard sizes.
Not forgetting most of the video sites have a full screen option anyway.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on May 27, 2008, 06:00:57 PM
Can we have it so that the YouTube embeds don't cause those without Flash to have a pop-up every time they go to the web page?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Johno69 on May 27, 2008, 06:58:23 PM
Can there be support for www.pokertube.com added please ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mildiou on May 30, 2008, 05:25:02 AM
Hi.

If you want to add a deezer player, make these modifications :

Open Sources/Subs-AutoEmbedVideoClips.php
Search

array(
'name' => 'Youku',
'enabled' => 1,
'pattern' => 'http://(?:v\.youku\.com/v_show/id_(?:[0-9a-z]{4})|player\.youku\.com/player\.php/sid/)([0-9a-z]{6,14})',
'movie' => 'http://player.youku.com/player.php/sid/$1=/v.swf',
'width' => '450',
'height' => '372',
),


After, add

array(
'name' => 'Deezer',
'enabled' => 1,
'pattern' => 'http://www.deezer.com/track/([0-9]+)',
'movie' => 'http://www.deezer.com/embedded/small-widget.swf?idSong=$1&colorBackground=0x525252&colorButtons=0xDDDDDD&textColor1=0xFFFFFF&autoplay=0',
'width' => '180',
'height' => '25',
),



Thanks karlbenson, it's a great mod !  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kai920 on May 30, 2008, 06:44:40 AM
Thanks for the mod Karl. Installed and working within 1 minute :)

Using SMF 1.1.5 with Joomla Bridge.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ray_Der_Phan on May 30, 2008, 04:22:47 PM
Is there anyway to get videos from NFL.com to work with this mod? Any help would be much appreciated  :D

Sample video--- http://www.nfl.com/videos?videoId=09000d5d80499115
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 30, 2008, 04:28:02 PM
I'll see if i can add them for the next version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ray_Der_Phan on May 30, 2008, 04:43:56 PM
Quote from: karlbenson on May 30, 2008, 04:28:02 PM
I'll see if i can add them for the next version.

Thanks a bunch! Looking forward to it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 30, 2008, 05:05:03 PM
Unfortunately it doesn't look like NFL can be supported.
They don't allow the videos to be embedded elsewhere.
And I can't see to acquire the actual .swf filefile + parameters which they use.

So as it stands, it won't be possible to support them.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ray_Der_Phan on May 30, 2008, 05:50:23 PM
Quote from: karlbenson on May 30, 2008, 05:05:03 PM
Unfortunately it doesn't look like NFL can be supported.
They don't allow the videos to be embedded elsewhere.
And I can't see to acquire the actual .swf filefile + parameters which they use.

So as it stands, it won't be possible to support them.

Ah bummer. Thank you for checking it out. I appreciate it!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: steighan on May 30, 2008, 11:11:32 PM
could some kind of Iframe thing be done instead for those instances?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on May 31, 2008, 03:50:48 PM
Besides the fact the mod doesn't support iframes.

NFL uses some complex javascript to implement the mod. (I've not been able to discover the actual .swf link).
It then appears to have a referrer check to check its coming via a page on nfl.com.

I've done some searching and it seems they are over-zealous when it comes to preventing their content shown elsewhere.
I'm not saying it can't ever been done. But I spent an hour trying to sort it and couldn't.

Theres plenty of other new sites for the next version anyway.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on June 01, 2008, 06:30:40 AM
karlbenson, do you know what I should edit so that the Flash installation pop-up can be prevented and instead the Flash content simply not load if someone doesn't have it on their system?

Considering I have YouTube clips on my home page, I think it's pretty bad that some peopel will constantly get that popped up. Other websites I looked at don't force this on their users.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 01, 2008, 12:31:32 PM
FIND and REMOVE
   'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0" '.
AND
      'pluginspage' => 'http://www.macromedia.com/go/getflashplayer',

FYI, most video sites use this code.  (which is where I copied it from)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on June 01, 2008, 01:45:01 PM
Thanks Karl, that worked.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on June 01, 2008, 03:51:41 PM
Install the mod on SMF2 3.1Beta got error message:

This package is already installed, and no upgrade was found!

You should uninstall the old version first to avoid problems, or ask the author to create an upgrade from your old version.

Please remember to always make regular backups of your sources and database before installing mods, especially beta versions.


In fact, the mode just loaded, but not install. in the browse mod screen, it show only

1.     Auto Embed Video Clips      2.2       [ List Files ]  [ Delete ] with red button says old version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 01, 2008, 04:08:08 PM
Did you have it uninstalled before you upgraded?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on June 01, 2008, 04:23:20 PM
Thanks Karl.

I found the problem. Here is the story:

I kept DB and did a full install of SMF2 Beta3.1 as using small package update did not work out for me. Everything was cleaned up, but DB. I truncate the table smf_package_servers and the new install worked.

Thanks so much.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jojie on June 01, 2008, 09:01:23 PM
sorry guys! just quick bump.. how do you do this with your own website?  say  i want to upload a video and then post that video in the forum.. and displays just like how the mod behaves?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Johno69 on June 01, 2008, 09:18:01 PM
be easier to upload it to youtube, and let them host it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: steighan on June 01, 2008, 09:56:31 PM
Quote from: Johno69 on June 01, 2008, 09:18:01 PM
be easier to upload it to youtube, and let them host it.

not just easier, but safer too, as all some ass has to do is sniff the 48mb FLV you have (that would otherwise be on YouTube's server) and just loop get it, driving your bandwidth cost through the roof!)

still, if you have the time to setup .HTACCESS based cookie protection (the way sites like rapidshare.de do, hosting the file yourself allows you to display content that may not be allowed on youTube, or you can better video quality etc.)

in that case, just go through the code and see where it builds the string after matching the site name...

I would pick one of the providers that KarlBenson supports (that I dont really care for) and remove the host url and put in my own.

It should take no more than 15 minutes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: marsd on June 02, 2008, 08:32:36 PM
One word for this mod: Awesome! Thanks Karl.

Just a feature or two I'd like to suggest for v3 would be an option to do a "soft embed", where an extra link appears behind the video url which would toggle lightwindow to play the video, i.e. http://youtube.com/... [Watch Now]

Another feature would be an admin panel (hopefully), or an integration into the board and membergroup permission profiles where you can set which board specifically to allow/disallow embeds for particular membergroups.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on June 02, 2008, 11:33:42 PM
I think the biggest success of this mod is that there's no language strings (which would be required for an admin panel/settings area), and that it doesn't make template changes. This allows it to be installed into virtually any forum with few problems or difficulties.

However, therein lies the issue, the mod can't really expand into what you are suggesting unless Karl breaks what he has already built up for the mod. The alternative is to offer an addon (which he's already said he dislikes) or a separate version of the mod with these changes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: marsd on June 03, 2008, 01:21:19 AM
I've managed to directly swap out displaying the embeded videos with a link to the video with a [Watch Now] that lightboxes the streaming video. I don't know if Karl would be offended by me directly editing his mod though.

Also using another of Karl's "Integrate Lightbox v1.6 (http://custom.simplemachines.org/mods/index.php?mod=1158)", I've swapped out slimbox with lightwindow 2.0 that's also used with my lightbox streaming demo because LightWindow 2.0 is the only clone that I'm familiar enough with using it that allows such embeds.

[Edit: I removed the demo link because the site content will be quite explicit in the future, PM me if you want the demo URL.]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on June 03, 2008, 01:43:56 AM
Wow, that's really nice, very useful edit.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MarkRH on June 03, 2008, 05:27:43 AM
I uninstalled version 2.1.5 which happened to just display a blank page when I clicked on the uninstall link/button on the uninstall test page.. but it looks like it actually uninstalled it ok and then I installed version 2.2 which seems to have worked fine.

Is it possible to add the ability to automatically put the title of the video above it?  I noticed that on vBulletin forums with an apparent similar mod, have this ability.  Other than that, thanks for the great mod!  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: steighan on June 03, 2008, 04:06:37 PM
I dunno.. I would hate that... besides the video should be self explanatory

I like it plain, as is, cause I can call bbcodeParse and have it do all the work for me :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on June 04, 2008, 11:07:15 AM
Karl, I noticed something interesting. When I play a brightcove video through your mod, the video gets pixelated. When I play that video on brightcove.dom, it looks smoother and non-pixelated. Example: your mod (http://www.cinema-extreme.com/forum/index.php?topic=1481.0;msg=68965) | brightcove (http://link.brightcove.com/services/player/bcpid1214128517?bctid=1586823339).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on June 04, 2008, 11:08:57 AM
Have you tried it via any other embedding? It may just be that the quality of their embedded videos is less to make you go to their site and watch it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on June 04, 2008, 11:45:34 AM
Quote from: Eliana Tamerin on June 04, 2008, 11:08:57 AM
Have you tried it via any other embedding? It may just be that the quality of their embedded videos is less to make you go to their site and watch it.

Thing is, I saw this video embedded on another (non-SMF) website, where it looks better (the same as on brightcove).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on June 04, 2008, 11:57:39 AM
Perhaps that site is using a different embed code/version of the video than you?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on June 04, 2008, 12:15:37 PM
But it's not using Auto Embed Video Clips because it's a blog and not an SMF forum ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 04, 2008, 12:54:26 PM
Looks like Brightcove have changed the size of their player. So it looks like the sizes/proportions are the cause.
I've changed the sizes for the next version which I am continuing to work on.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: klra on June 04, 2008, 12:54:42 PM
Great Mod Karl, working wonderfully on 2 of my forums.

I have read through the topic and can't seem to find the answer to a question I have.

I'd like to be able to add / edit sites that host videos, mainly my website and another site/server that has video files.

Is it possible to manually edit in these two sites, so that if a link is posted to those files a player window will be displayed?

Thanks again for the great mod & sorry if I missed the answer in this topic-
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 04, 2008, 12:59:59 PM
As per the readme. Whilst it is very possible to add/edit sites listed in Subs-AutoEmbedVideoClips.php for someone familar with regular expressions.  I do not have the time nor the desire to provide support for making or helping to make this mod support videos hosted on your OWN site.
You may be able to find someone to help by posting a request in the Help Wanted board on the SimpleMachines.org
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: klra on June 04, 2008, 01:25:34 PM
OK, thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TMiegel on June 04, 2008, 04:12:43 PM
Hi,

i've installed V2.2 on SMF 1.1.5 with TinyPortal 1.05beta1. The install went fine, no error messages.

But the mod just doesn't work, even with activated HTML-Links under BBC-Code/Posts&Themes in the admin section.
No messages in the error log, nothing.

Any hints where i've to look? I've searched this thread, but TP is only mentioned once with problems links getting parsed in the outer info boxes, nothing regarding no parsing at all :/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 04, 2008, 04:44:47 PM
What link are you using?
Can you link to a topic where this is being used?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: agonz010 on June 04, 2008, 08:40:05 PM
first of all sorry my english is not good, i hope you can understand me. i install the smf 1.1.5 and i try to install ths mod with the package manager, i upload in zip format but when i try to aplly the mod with the data of my ftp..... dosen´t install.... says somethig like some of the files of the package are not writeble and had to be modify via ftp..... anyone with the same problem
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 04, 2008, 10:34:08 PM
You will need to CHMOD permissions of the files / folders this mod

Change the permissions on the following files and directories to 777*. On most client software, this is achieved by right clicking on the files you wish to change, and going to Properties, CHMOD, or Permissions, and then typing in the number.

The following files should be CHMOD'ed to 777*:


attachments
avatars
Packages
Packages/installed.list
Smileys
Themes
Themes/default/languages/Install.english.php
agreement.txt
Settings.php
Settings_bak.php
install.php


* If your host does not allow 777 permissions please try 755
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TMiegel on June 05, 2008, 02:10:55 AM
Quote from: karlbenson on June 04, 2008, 04:44:47 PM
What link are you using?
Can you link to a topic where this is being used?
Here you are: http://www.warcraftopas.de/index.php?topic=6071.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: sco0by on June 05, 2008, 03:56:17 AM
Cool mod, is it possible to have support for Orb videos? That way media from your own pc could be streamed on a forum  :D

http://mycast.orb.com/orb/html/qs?mediumId=OJwKeGsP&l=sco0by would be an example of what the video link looks like.

The html code looks like this:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="439" height="350" id="videoplayer" align="middle" quality="best"><param name="movie" value="http://mycast.orb.com/orb/resources/common/videoplayer.swf" /><param name="flashvars" value="file=http%3A%2F%2Fmycast.orb.com%2Forb%2Fxml%2Fstream%3FstreamFormat%3Dswf%26mediumId%3DOJwKeGsP%26l%3Dsco0by&showdigits=true&autostart=true&shuffle=false&showeq=true&showfsbutton=true"/><param name="allowFullScreen" value="true"/><embed src="http://mycast.orb.com/orb/resources/common/videoplayer.swf" quality="best" scale="noborder" width="439" height="350" name="videoplayer" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" flashvars="file=http%3A%2F%2Fmycast.orb.com%2Forb%2Fxml%2Fstream%3FstreamFormat%3Dswf%26mediumId%3DOJwKeGsP%26l%3Dsco0by&showdigits=true&autostart=true&shuffle=false&showeq=true&showfsbutton=true" allowFullScreen="true" pluginspage="https://www.macromedia.com/go/getflashplayer" /></object>

I did try editing the Subs-AutoEmbedVideoClips.php file but it stopped the forum from working so I thought it best to leave it alone as ank the expert  ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 05, 2008, 10:00:44 PM
@sco0by,
Sorry I've been working hard on the new version (more on that in a minute). So I've added it to list for me to try to add for the next version I do.  I compiled a list of all the requested sites the other day and didn't check unfortunately.

@TMiegel
To me it doesn't look the mod is installed.
Go through all the edits manually and check that they were applied.
Other than that, are there any errors in your error log?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 05, 2008, 10:28:59 PM
Well as stated a few times before, I've been working on a new version of the mod. Not just an update with more sites, but with some long overdue functionality to support sites previously unsupportable by doing a lookup to fetch the actual url/filename to embed.  Plus protection of nested quotes/code etc. Plus a rename of the mod as it will also be supporting audio sites for the first time.

I'm just performing some FINAL tests with it first on my own forums and final bug fixes.
I won't be adding anymore sites for this version now. (I think I've added enough ;) )  Any sites I've missed for the next version eg v3.01.

I'll probably be uploading/posting version 3.0 sometime tomorrow. (fingers crossed)
To save me copy and pasting at this late hour.  I posted the list of sites in the new version.
http://www.youposted.com/index.php?topic=36675.0
With a couple of examples of new sites.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RustyBarnacle on June 05, 2008, 10:32:20 PM
Haha, I just installed this mod today and the next version is coming out tomorrow.  :)

Thanks, this is working great so far.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dumblonde on June 06, 2008, 10:33:42 AM
Not complaining just asking so I won't keep looking for it in the future  :D  I checked out the list of new sites added but Redlasso wasn't on it.  Does that mean it's one of those sites that can't be added?

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 06, 2008, 11:06:39 AM
Must have missed that one.

I'll add it to my little checklist of sites to add in the future.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: agonz010 on June 06, 2008, 12:48:29 PM
Quote from: karlbenson on June 04, 2008, 10:34:08 PM
You will need to CHMOD permissions of the files / folders this mod

Change the permissions on the following files and directories to 777*. On most client software, this is achieved by right clicking on the files you wish to change, and going to Properties, CHMOD, or Permissions, and then typing in the number.

The following files should be CHMOD'ed to 777*:


attachments
avatars
Packages
Packages/installed.list
Smileys
Themes
Themes/default/languages/Install.english.php
agreement.txt
Settings.php
Settings_bak.php
install.php


* If your host does not allow 777 permissions please try 755


I do this.... but still can't aply the package.... this is what i do: first upload the package whith tha package manager... then go to apply mod.... but says tha information required need to modify with ftp..... i change the chmod to 777..... but it dosen't apply..... anyone whit this problem?? my version is 1.1.5
thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 06, 2008, 01:58:30 PM
Try changing the chmod inside your ftp program rather than via smf.
If that doesn't work, the only alternative that i can suggest is manually install the mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 06, 2008, 02:53:46 PM
Ok, as promised here is the new v3.0.

You must FULLY uninstall any previous versions as there are many renamed and changed pieces.
Enjoy!

v3.0 - 6th June 2008
o Added 'Lookup' to be able to grab the actual url/filename from the page (enables supporting many more sites).
o Fixed protection of <noembed> html
o Added protection nested quotes from embedding
o Added protection of code blocks.
o Re-named the Subs-AutoEmbedVideoClips.php to Subs-AEVAC.php (since now added Audio sites).
o Re-named $context['disableembedvideo'] to $context['disableAEVAC']
o Changed other singular references to video in function names/comments and other places to include audio.
o Fixed, rel=0 on youtube to prevent showing related videos.
o Added 50+ sites. Too many to mention individually.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RustyBarnacle on June 06, 2008, 03:29:47 PM
Sounds awesome.  By fully you mean uninstall and delete from package manager right?  Or do we have to go ape on the db as well?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 06, 2008, 03:35:08 PM
Uninstall it via the package manager, then delete the package.

There are no database settings/changes with this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: bajalocom on June 06, 2008, 03:55:14 PM
I installed the mod in the package admin.  Everything went well.  Now in my box i dont see how to add the videos on a post.  I dont see a way of adding videos to the site etc..  Please help...

Jose Morales
ElectricCarForum.org
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 06, 2008, 03:56:47 PM
You just post the url in the post and it will automatically be embedded.

eg just posting the following into a post will turn into an embedded clip.
http://youtube.com/watch?v=dtL-1V3OZ0c
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SantaClaws on June 06, 2008, 03:57:04 PM
You just get the URL of the video you want to use, Then it embeds for you so you could watch it on your Forum.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jade Elizabeth on June 06, 2008, 04:21:34 PM
REMINDER:
In the newer versions, do a check for YouTube vids with auto embed disabled - and display these as LINKS :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Godsongz on June 06, 2008, 04:23:10 PM
Fantastic Karl...  upgraded (manually) in about 5 minutes and works great!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 06, 2008, 04:26:20 PM
@Godsongz
Thx

@TheCrazyOne :P
Indeed, with the lookups now I think for a future version I should lookup and detect whether a youtube link is 'embeddable' because there are an increasing no. of videos where the uploader to YouTube has chosen to prevent external embedding.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jelle Mees on June 06, 2008, 06:23:58 PM
I uninstalled 2.2 and now my forum is not working anymore.
Please help!!!!

http://tm-belgium.info/index.php

100% sure that the uninstallation is responsible for this.
I clicked on "Uninstall", all tests were succesfull, I uninstall the mod and the next page is blank. After that, everything is blank!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on June 06, 2008, 06:36:45 PM
Attach your Load.php and Subs.php (found in your /Sources folder) and we'll see if the mod has been uninstalled properly.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MarkRH on June 07, 2008, 04:24:40 AM
When I uninstalled version 2.2, the page came back blank after the test successful page.  It seemed to work anyway and I was able to install version 3.0.  Looked at my logs and found this:


/index.php?action=packages;sa=uninstall2;package=AEVC_v2.2.zip
Http Code: 500 Date: Jun 07 03:58:02 Http Version: HTTP/1.1 Size in Bytes: 38


For Some reason an internal server error is being generated.  Running version 1.1.5.  I wonder if it happens with any package I might try to uninstall.  My test forum on my local PC is able to uninstall without getting that blank page.  Interesting...   no PHP errors or Forum Errors are logged.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jelle Mees on June 07, 2008, 05:38:51 AM
Quote from: Eliana Tamerin on June 06, 2008, 06:36:45 PM
Attach your Load.php and Subs.php (found in your /Sources folder) and we'll see if the mod has been uninstalled properly.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on June 07, 2008, 08:35:33 AM
Is there an easier way to embed songs from Imeem.com than to browse through the embed code on Imeem.com and filter the "http://media.imeem.com/m/GAGQOlMd5Y/aus=false/" out manually?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 07, 2008, 09:43:43 AM
The lookup will grab the actual url.

If lookups work on your server, just paste the url from your address bar.
eg http://www.imeem.com/aftermatt/music/d4D9mpAN/billy_gilman_elizabeth

My comments inside the Subs-AEVAC.php are incomplete for what urls are supported. I only started adding them late in the day to help me in future.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Bancherd on June 07, 2008, 09:49:04 AM
I had the same problem as MarkRH...my forum totally crashed with a blank page.  :-[

Never had any problems with previous versions .  SMF1.1.5

??? ??? ??? ???
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 07, 2008, 09:57:43 AM
hmmm Error 500.

The only solution might be to manually uninstall the mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jelle Mees on June 07, 2008, 10:07:05 AM
Karl, my forum is't working anymore since I uninstalled the mod. Nothing works, everything is blank!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 07, 2008, 10:11:07 AM
@Jelle Mees
The mod DIDN'T uninstall fully. (This could be due to mod_security/safe mode/chmod permissions (or half a dozen other things)
It probably killed the Subs-AutoEmbedVideoClips.php file, but didn't remove the stuff from Subs.php or Load.php

You'll have to do this via ftp.

Edit Sources/Subs.php
Find and REMOVE
// Start of Auto Embed Video Clips mod

// Do not attempt to auto embed for
// - Printer friendly pages
// - If disableautoembedvideo is set (eg for signatures)
// - If there are no links
// - If we've already exceeded our limits
if($smileys !== "print" && empty($context['disableautoembedvideo']) && stripos($message, '<a href="') !== false && (!isset($autoembedmax) || $autoembedmax != 0))
{
global $sourcedir;
@require_once($sourcedir.'/Subs-AutoEmbedVideoClips.php');
if(function_exists('AutoEmbedVideoClips'))
$message = AutoEmbedVideoClips($message);
}
elseif(stripos($message, '[noembed]') !== false)
{
// Even if we aren't calling the function, we may still need to parse out [noembed] bbcode
global $sourcedir;
@require_once($sourcedir.'/Subs-AutoEmbedVideoClips.php');
if(function_exists('StripAndFixNoEmbed'))
$message = StripAndFixNoEmbed($message);
}
// Reset the status
$context['disableautoembedvideo'] = 0 ;

// End of Auto Embed Video Clips mod


Edit Sources/Load.php
Find and Remove
$context['disableautoembedvideo'] = 1 ;
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jelle Mees on June 07, 2008, 10:59:45 AM
Thank you very much karl. That fixed my problem.

But I doubt that it has something to do with chmod, because I am not the only one with this problem after uninstalling the mod and I've uninstalled many other mods without any problems.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on June 07, 2008, 11:04:50 AM
Quote from: karlbenson on June 07, 2008, 09:43:43 AM
The lookup will grab the actual url.

If lookups work on your server, just paste the url from your address bar.
eg http://www.imeem.com/aftermatt/music/d4D9mpAN/billy_gilman_elizabeth

My comments inside the Subs-AEVAC.php are incomplete for what urls are supported. I only started adding them late in the day to help me in future.

I see. Unfortunately that doesn't seem to be the case with my server. Is there anything I can do about that myself, or does it involve the webhost?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 07, 2008, 11:12:01 AM
It might not work on some cheap shared servers.

If you are able to use the SMF Package Servers to fetch and installs mods (rather than having to download the mods to your pc then upload it), then it should work.

If it won't work, there is no other way than 'fishing' out the actual embed url from the embed code imeem (and for that matter all the other sites shown in the list in red).
Thats why previously I was unable/unwilling to support those sites.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on June 07, 2008, 12:17:01 PM
Thanks for clearing that up. I ám on a cheap shared host and I can't fetch mods from the SMF server, so that's that. Anyway, thanks for your great work on the mod!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dumblonde on June 07, 2008, 01:11:34 PM
Was the package uploader fixed?  I have never been able to upload packages via it but was told it was down/buggy in JAN/FEB of this year when I started my forum.  Is there any other test I can do to see if my host will allow the lookups?

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on June 07, 2008, 01:18:47 PM
Couldn't you post this link on your board (if you have the new mod installed) and see if the video/audio player gets displayed? This link: http://www.imeem.com/aftermatt/music/d4D9mpAN/billy_gilman_elizabeth

If it's displayed as a regular link, you know it doesn't work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: THE BRA1N on June 07, 2008, 07:44:49 PM
Quote from: Jelle Mees on June 07, 2008, 10:07:05 AM
Karl, my forum is't working anymore since I uninstalled the mod. Nothing works, everything is blank!

Wow, same problem here while trying to install the updated version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 07, 2008, 08:32:03 PM
Did you uninstall the previous version?

Double check these edits were uninstalled.
http://www.simplemachines.org/community/index.php?topic=200401.msg1570976#msg1570976
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: THE BRA1N on June 07, 2008, 09:21:11 PM
Quote from: karlbenson on June 07, 2008, 08:32:03 PM
Did you uninstall the previous version?

Double check these edits were uninstalled.
http://www.simplemachines.org/community/index.php?topic=200401.msg1570976#msg1570976

I did try to uninstall the previous version and i think that's what caused it. I did the above and that fixed the forum so that it wasn't a blank white page anymore but for some reason many of the sites dont embed. I wonder if some of the code from the older version also didn't uninstall and is interfering with the new version?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 07, 2008, 09:25:59 PM
If the older code didn't fully install. you would have been able to install the new version.
There wasn't an upgrade. You had to fully uninstall the old one.

I don't think its an issue with the mod itself uninstalling, or for that matter smf, for failing to uninstall the edits.
On every occasion I've had to look at it, its been open_base_dir, safe_mode, chmod_permissions not being set to 777 or 755, chown'ing of folders that have been responsible.

My advise is.
Go through the edits in v2.2 and fully uninstall it.
Then install the new version.

Some of the sites listed in red won't work unless your able to install smf mods via the package servers, rather than having to download them to your computer first.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: deathgame3 on June 08, 2008, 04:11:10 AM
hey karl, thnx for the gr8 mod, i also had one on phpbb3 b4 switching to smf, and really needed one, and you helped me out.

But, i have a problem i think you didnt update the VEOH code yet...because veoh had some kind of change or smething and now when you embed it says "The Video You Requested Has Been Removed Or Is No Longer Available", when though video isnt really removed, so, i was wondering if you could update it since its a neccessity for my forum!!Thnx i really appreciate it
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: utal on June 08, 2008, 08:26:25 AM
hello! i'm using this mod for a while and i'm loving it :)

just wondering if its possible to add support for http://www.tm-tube.com.

Trackmania is a massive free online game with one of the biggest community.

They opened this video portal and would be perfect if i can add videos from there to my SMF forum :)

tks!
utal
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jelle Mees on June 08, 2008, 08:47:08 AM
Quote from: utal on June 08, 2008, 08:26:25 AM
hello! i'm using this mod for a while and i'm loving it :)

just wondering if its possible to add support for http://www.tm-tube.com.

Trackmania is a massive free online game with one of the biggest community.

They opened this video portal and would be perfect if i can add videos from there to my SMF forum :)

tks!
utal

Same here! +1 for tm-tube :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 08, 2008, 09:52:54 AM
@deathgame3
Can you link me to where this is happening? a link to the veoh and to a forum where it has been embedded. Thanks.
I know there is a similar issue with YouTube videos, but its where external embedding has been disabled.

@utal + jelle mees.
Another to look at for my next update.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dico on June 08, 2008, 10:29:24 AM
hey its not working for me

all it shows is the url (youtube)

i installed the package...it says it has no errors during installation..i dont have any previous versions installed

im using smf version 1.1.5

any ideas?

i dont have any other embed video related packages

and i dont have that many packages as it is
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: BabyNini on June 08, 2008, 10:50:04 AM
Hi,
First of all, excellent mod I appreciate that  8)

Sorry didn't have the patience to go through the 61 pages to look for a solution to my problem (and I used search, but didn't find anything)

The first version of your mod works great on my forum, but if I try to install the new one (after deleting the oldest version of course) it creates a problem with another mod (this one "nCode Image Resizer" : http://custom.simplemachines.org/mods/index.php?mod=1197)
I found that probleme after unistalling each mod and adding each one by one and checking.

So what it does : When you go in a topic with a picture that has been resize by the nCode Image Resizer, the topic shows a blank page.

Anyone had the same problem? Did you find a solution?

Thank you very much  O:)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: agonz010 on June 08, 2008, 03:45:33 PM
Quote from: karlbenson on June 06, 2008, 01:58:30 PM
Try changing the chmod inside your ftp program rather than via smf.
If that doesn't work, the only alternative that i can suggest is manually install the mod.
I install the mod manually..... i edit the files code, i upload via ftp (load.php post.php and subs.php) then y copy the file subs-AEVAC.php but dosent work.... what should i do next?? in the administrator panel the package dosen´t appear install..... whats wrong??? sorry my english i do the best i cant :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 08, 2008, 04:48:02 PM
@dico
I suspect that it didn't install it. Even though it said it did.
I'd recommend going through all the edits for the mod manually, and checking they are all in place.
http://custom.simplemachines.org/mods/index.php?action=parse;mod=977;attach=57896;smf_version=1.1.5
Like I said, I expect that they weren't made.

If the edits are in place and it still doesn't work please can you link here
- the youtube url
- the topic on your forum where it isn't working.

@BabyNini 
Blank pages are a php error, rather than showing errors to visitors, it will just show a blank page.
I don't know of any reason why it should interfere with the nCodeResizer Mod.
I'd recommend going through all the edits for the mod manually, and checking they are all in place.
http://custom.simplemachines.org/mods/index.php?action=parse;mod=977;attach=57896;smf_version=1.1.5
Like I said, I expect that they weren't made.

If the edits are in place and it still doesn't work please can you link here
- the topic on your forum where it isn't working.

@agonz010
Can you link to your forum where you are attempting to use the mod please.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: agonz010 on June 08, 2008, 05:12:03 PM
Karlbenson:
here is the link
http://www.aeromodelismotemuco.cl/foro/index.php
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 08, 2008, 06:08:16 PM
@agonz010
There is no administration panel for this mod.

You just post a link.  Have you tried posting any youtube link in a post.
edit: I tried it, and it didn't work http://www.aeromodelismotemuco.cl/foro/index.php?topic=344.0

Are there any errors in your error log?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: agonz010 on June 08, 2008, 08:42:03 PM
Karlbenson
this is the error log..... apeaes at least 10 times

2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/package-info.xml) is not within the allowed path(s): (/var/www/html/virtual/aeromodelismotemuco.cl/:/tmp/:/usr/share/pear)
Archivo: /var/www/html/virtual/aeromodelismotemuco.cl/www/foro/Sources/Subs-Package.php
Línea: 421

and then apperars this

: fclose(): supplied argument is not a valid stream resource
Archivo: /var/www/html/virtual/aeromodelismotemuco.cl/www/foro/Sources/Subs-Package.php
Línea: 1908

and this

2: fopen(/var/www/html/virtual/aeromodelismotemuco.cl/www/foro/Sources/Load.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
Archivo: /var/www/html/virtual/aeromodelismotemuco.cl/www/foro/Sources/Subs-Package.php
Línea: 1901

i'dont understand..... sorry
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 08, 2008, 09:30:43 PM
Basically your host has an open_basedir restriction in effect.
So you won't be able to install mods within smf.

You will have to install it manually using the edits from.
http://custom.simplemachines.org/mods/index.php?action=parse;mod=977;attach=57896;smf_version=1.1.5

Also note, open_base_dir will prevent all the sites in red from working. (since smf won't be able to lookup those sites and get the actual url for the link).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: agonz010 on June 08, 2008, 10:53:16 PM
Ok.... i will try to do it manually again, i have a last cuestion (i hope) then when yo edit the files (the file subs-editor.php dosent appear in my source folder)........ you upload the edited files via ftp load post y subs.php..... and then what...... the mod apply itself??? or i have to do something more???.....  in the administrator panel must be appear install???
thanks again for the fastest response
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 09, 2008, 11:03:43 AM
It won't appear as installed in the package manager.

If your using SMF 1.1.x you won't have a Subs-Editor.php file. Ignore that edit.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: agonz010 on June 09, 2008, 12:25:48 PM
Dear Karlbenson:
I try everything you say, but it dosen´t work, i belive i do the edit of the files properly, but dosen`t work....... what its the next step. Ask to my host to unblock??? or simply i make wrong the edit of the files???  :(  :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: agonz010 on June 10, 2008, 03:26:21 PM
??  :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 10, 2008, 04:45:06 PM
are you getting any more errors in your error log?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: agonz010 on June 11, 2008, 03:09:27 PM
yes.... this

2: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/www/sites/1/iespana.es/a/e/aeromodelismotemuco/site/foro/Themes/classic/languages/Settings.spanish.php) is not within the allowed path(s): (/var/www/html/virtual/aeromodelismotemuco.cl/:/tmp/:/usr/share/pear)
Archivo: /var/www/html/virtual/aeromodelismotemuco.cl/www/foro/Sources/Themes.php

and this other

2: fclose(): supplied argument is not a valid stream resource
Archivo: /var/www/html/virtual/aeromodelismotemuco.cl/www/foro/Sources/Subs-Package.php
Línea: 1908

and this

2: fopen(/var/www/html/virtual/aeromodelismotemuco.cl/www/foro/Sources/Subs.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
Archivo: /var/www/html/virtual/aeromodelismotemuco.cl/www/foro/Sources/Subs-Package.php
Línea: 1901
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rumfa on June 11, 2008, 06:02:10 PM
When i embed the veoh link http://www.veoh.com/videos/v14156503MSwy22CF?rank=2& i get the message: The video you requested has been removed or is not available in your reagin.

But when i use the embed link for the same video (with an html persmission), then it's ok.

<embed src="http://www.veoh.com/veohplayer.swf?permalinkId=v14156503MSwy22CF&id=anonymous&player=videodetailsembedded&videoAutoPlay=0" allowFullScreen="true" width="410" height="341" bgcolor="#FFFFFF" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed><br/><a href="http://www.veoh.com/">Online Videos by Veoh.com</a>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 11, 2008, 06:29:39 PM
Rumfa, it looks like they've changed their player.

http://www.veoh.com/videodetails2.swf?
vs
http://www.veoh.com/veohplayer.swf? (the one in the code).

I'll have to change it for the next version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: agonz010 on June 11, 2008, 08:41:19 PM
Karlbenson if i put wrong the codes, how can verify is correct or no?......  im the only person that the mod dosent work at all..... im really frustrated
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 11, 2008, 08:43:35 PM
I'm at a loss aswell.

The only thing I can suggest is double-check the chmod permissions of the Sources folder and the files inside to make sure they are readable.

Other than that all I can suggest is uninstalling the mod or finding a new host where open_basedir is not in use.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cooldude44 on June 12, 2008, 01:59:55 AM
ok, this can sound very mean, but i don't really know how else to put it.

first of all, karl, u are an incredible php and regex coder. kinda my dream...

anyways, i know this site is for SMF, but this mod is so useful... that i want to use it on my site  :-X. all i want is to give it the url and for it to spit out the embed code. would you mind lending me a hand? if this is against any rules, don't help me, i swear i didn't know, and its not like i can use the code anyways (i'm a n00b). i was just wondering if you could help me out, like you help out the other billions of people you don't know. honestly, i don't know how you do it.. i could never put up with it :D anyways, here's what i've used:
function get_video_embed_code($url) {
global $sourcedir;
require_once('Subs-AEVAC.php');



$url = AutoEmbedVideoAudioClips($url);
echo "<br><br><br><br><br><br><br>AutoEmbedVideoAudioClips".$url;
return $url;
   
}

please excuse the poor tabbing, its 2 AM here and i'm pooped =(

here is an example i used:

echo get_video_embed_code("http://youtube.com/watch?v=XCbR-YxU5vk&feature=bz302")."<br>";

it just spits this back though:
AutoEmbedVideoAudioClipshttp://youtube.com/watch?v=XCbR-YxU5vk&feature=bz302http://youtube.com/watch?v=XCbR-YxU5vk&feature=bz302

well, if you can help me out, i would greatly appreciate it. i really respect your work, and if you don't want to answer me i'm cool with it. i was just wondering if you knew how to adapt your formidable code to be used on a regular website.

here was my attempt at making a method like yours, but... it only covered 4 sites... and it's very general in browser-compatability. probably inefficient, too. anyways, here goes:

function get_video_embed_code_2($url) {
// save embed code when putting into db so don't have to worry about it here!!!
echo strpos($url,"http://")."<br>";
if(strpos($url,"http://") == 0) $url = substr($url,6);
$dot_com_index = strpos($url,".com");
$dot_before_dot_com_index = strrpos(substr($url,0,$dot_com_index - 1), ".") + 1;

$source = substr($url, $dot_before_dot_com_index,
$dot_com_index - $dot_before_dot_com_index); // gets 'youku' or 'veoh'...

echo "SOURCE = ".$source;

if($source == "veoh") {
// example: http://www.veoh.com/videos/v13712273pd9gCAsX
// need from "videos/" to end
$videos_slash_index = strpos($url, "videos/") + 7;
$vcode = substr($url, $videos_slash_index);

echo "VCODE = ".$vcode;

$src="http://www.veoh.com/veohplayer.swf?permalinkId=".$vcode."&id=anonymous&player=videodetailsembedded&videoAutoPlay=0";
$width=540;
$height=438;
} else if($source == "youku") {
// example: http://v.youku.com/v_show/id_cb00XMzA3MjAzNjQ=.html
// need from "id_" to "=.html"
$id_underscore_index = strpos($url, "id_") + 3;
$equals_html_index = strpos($url,"=.html");

$vcode = substr($url, $id_underscore_index, $equals_html_index - $id_underscore_index);

echo "VCODE = ".$vcode;

// example: http://player.youku.com/player.php/sid/XMTYxNTI5OTI=/v.swf
// need from "/sid/" to "=/v.swf"
$src="http://player.youku.com/player.php/sid/".$vcode."=/v.swf";

$width=450;
$height=372;
} else if($source == "youtube") {
// example: http://youtube.com/watch?v=XCbR-YxU5vk&feature=bz302
// need from "v=" to "&"
$v_equals_index = strpos($url, "v=") + 2;
$ampersand_index = strpos($url,"&", $v_equals_index);

$vcode = substr($url, $v_equals_index, $ampersand_index - $v_equals_index);

echo "VCODE = ".$vcode;

// example source:
// http://www.youtube.com/v/82auke1FgsE&hl=en&color1=0x234900&color2=0x4e9e00
// put between "v/" and "&h1"
$src="http://www.youtube.com/v/".$vcode."&hl=en&color1=0x234900&color2=0x4e9e00";

$width=425;
$height=344;
} else if($source == "megavideo") {
// example: http://www.megavideo.com/?v=NBIBGGFA
// need from "v=" to end
$v_equals_index = strpos($url, "v=") + 2;

$vcode = substr($url, $v_equals_index);

echo "VCODE = ".$vcode;

// example:
//http://www.megavideo.com/v/SG8R8LNUfa107658e544944afda780c1050147ae.1123329066.2
// put between "v/" and "fa107658e544944afda780c1050147ae.1123329066.2"
$src="http://www.megavideo.com/v/".$vcode.
"fa107658e544944afda780c1050147ae.1123329066.2";
$width=432;
$height=351;
}


return '<object width="'.$width.'" height="'.$height.'"><param name="movie" value="'.$src.'"></param><embed type="application/x-shockwave-flash" src='.$src.' width="'.$width.'px" height="'.$height.'px" wmode="transparent" quality="high" allowFullScreen="true" allowScriptAccess="never" pluginspage="http://www.macromedia.com/go/getflashplayer"><noembed><a href="'.$src.'" class="externallink">'.$src.'</a></noembed></object>';
}


thanks for all your help.

ps - of all people on all forums, after seeing your code, i have no doubt that the best response would come from you. how can i get a bb code formatter/interpreter on my site?

thanks for all your help in advance. if i offended you or your work, please understand that i had not intended that at all, and am sorry for the inconvenience.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: deathgame3 on June 12, 2008, 03:58:06 PM
deathgame3:
Quotehey karl, thnx for the gr8 mod, i also had one on phpbb3 b4 switching to smf, and really needed one, and you helped me out.

But, i have a problem i think you didnt update the VEOH code yet...because veoh had some kind of change or smething and now when you embed it says "The Video You Requested Has Been Removed Or Is No Longer Available", when though video isnt really removed, so, i was wondering if you could update it since its a neccessity for my forum!!Thnx i really appreciate it

Karl:
Quote@deathgame3
Can you link me to where this is happening? a link to the veoh and to a forum where it has been embedded. Thanks.
I know there is a similar issue with YouTube videos, but its where external embedding has been disabled.

@utal + jelle mees.
Another to look at for my next update.

sorry for the late reply, i don't have a link to a forum where it does tht but nvm this, i have another problem when-ever i embed veoh using admin html( ) it embeds the video properly and they work on IE and FF but they don't play on Opera browser(which i really need them to) when you click the play buttom in OPERA it loads then says "This Video is Unavailable ......." Note:"this only happens in opera not IE and FF" do you have some kind of fix for this?? thnx..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 12, 2008, 04:40:42 PM
@cooldude44
My mod only works with ACTIVE links like <a href="link">text</a>. it won't' work with just the link.
Also it currently is integrated into smf meaning it relies on some global variables which smf uses like $context
AND the lookup uses functions in smf packages.php file.

I do intend to provide some extra ssi capability for future versions.  But you'll need to be using smf/ssi to to 'lookup' half the sites.

@deathgame3
I do test in Opera.  If their own embed code doesn't work, it would be an issue with either veoh or flash plugin.  I'll know more when i up date the mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: roberto174 on June 12, 2008, 04:44:54 PM
Hy, first i want to say that your AEVAC mod is absolutely great, but offcourse i have a question, many people on my forum uses some clips from our local video websites like youtube, called Trilulilu and 220, its a romanian forum so people often use romanian video websites, so i wonder if someone can give some tips on how to include those sites in AEVAC list of supported webistes.
Heres some info about these sites.

220.ro
The URLs to videoclips looks like this http://www.220.ro/matrix_in_varianta_moldoveneasca-76027.html
The URL to embed video clips looks like this <script type="text/javascript" language="javascript" src="http://www.220.ro/embed/76027"></script><script type="text/javascript" language="javascript">play_76027(450,390);</script>

Then its Trilulilu.ro
The URL to videoclips looks like this http://www.trilulilu.ro/n_nenea/b6a758a41ab522
The URL to embed looks like <script type="text/javascript" language="javascript" src="http://www.trilulilu.ro/embed-video/n_nenea/b6a758a41ab522"></script><script type="text/javascript" language="javascript">show_b6a758a41ab522(448, 386);</script> <br /> <br /><strong>Happy birthday drunk girl</strong> <br /><a href="http://www.trilulilu.ro/video/Haioase" title="Haioase">Vezi mai multe video  Haioase &raquo;</a>

Thats it, i know i have to add this into that array in Subs-AEVAC.php file, but i need an example to start.
Thanks a lot.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 12, 2008, 04:48:59 PM
There are 120+ examples in Subs-Aevac.php

One I'd suggest using as your example is
'name' => 'Kewego.co.uk',
as its simple.

Just copy that entry and then change it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: roberto174 on June 12, 2008, 06:31:00 PM
I can't get it work, i have reached this code array(
'name' => 'trilulilu.ro',
'enabled' => 1,
'pattern' => 'http://(?:www\.)?trilulilu\.ro/([0-9a-z]{12})/([0-9a-z]{12})',
'movie' => 'http://www.trilulilu.ro/$1',
'width' => '448',
'height' => '386',
),
array(
'name' => '220.ro',
'enabled' => 1,
'pattern' => 'http://(?:www\.)?220\.ro/([0-9a-z]{12})\.html',
'movie' => 'http://www.220.ro/$1.html',
'width' => '450',
'height' => '390',
),

i think the problem is that, on 220.ro the link has underlines and a substract sign and is like 220.ro/word_word_word-ID, and on trilulilu.ro the link also include a username part and is like trilulilu.ro/username/videoid where the username is made of a-z, 0-9, A-Z, and underlines and substract signs, and the videoid it seems to be only a-z and 0-9 characters.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 12, 2008, 06:43:26 PM
FYI
You can change the ranges. the {12} bit must match exactly twelve. Or use {1,12} for 1 to12 in length.

Change for these lines
'pattern' => 'http://(?:www\.)?trilulilu\.ro/([0-9a-z_-]*?)/([0-9a-e]*)',
'movie' => 'http://www.trilulilu.ro/embed-video/$1/$2',




'pattern' => 'http://(?:www\.)?220\.ro/(?:[^"]*?)-([0-9]{1,10})\.html',
'movie' => 'http://www.220.ro/embed/$1',


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: roberto174 on June 12, 2008, 07:43:00 PM
phew, i have reached this now array(
         'name' => 'trilulilu.ro',
         'enabled' => 1,
           'pattern' => 'http://(?:www\.)?trilulilu\.ro/([0-9a-z_-]*?)/([0-9a-e]*)',
'movie' => 'http://www.trilulilu.ro/embed-video/$1/$2',
         'width' => '448',
         'height' => '386',
      ),
      array(
         'name' => '220.ro',
         'enabled' => 1,
           'pattern' => 'http://(?:www\.)?220\.ro/(?:[^"]*?)-([0-9]{1,10})\.html',
'movie' => 'http://www.220.ro/embed/$1',
         'width' => '450',
         'height' => '390',
      ),

The 220.ro one, it shows an area where the movie would be but its transparent, no content, if a right-click it says Movie Not Loaded, i have inspected that area using Firebug and it seems to to be the corect link but no movie is loaded.
Heres what Firebug says : embed width="450" height="390" pluginspage="http://www.macromedia.com/go/getflashplayer" allowscriptaccess="never" allowfullscreen="true" quality="high" wmode="transparent" src="http://www.220.ro/embed/76027" type="application/x-shockwave-flash"/><noembed>

The trilulilu.ro one, i havent got it to generate the full length link, and also the same problem with an area with no movie in it, this generates an incomplete length link. Heres what firebug says <embed width="448" height="386" pluginspage="http://www.macromedia.com/go/getflashplayer" allowscriptaccess="never" allowfullscreen="true" quality="high" wmode="transparent" src="http://www.trilulilu.ro/embed-video/leifer/7a6" type="application/x-shockwave-flash"/>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 12, 2008, 07:55:48 PM
Well no wonder it won't work.
Those sites use some disgusting javascript and then an iframe to try to get it embedded. YUCK YUCK YUCK YUCK.

For trilulilu try
array(
         'name' => 'trilulilu.ro',
         'enabled' => 1,
           'pattern' => 'http://(?:www\.)?trilulilu\.ro/([0-9a-z_-]*?)/([0-9a-e]*)',
'movie' => 'http://www.trilulilu.ro/embed/flash.php?type=video&hash=$2&userid=$1',
         'width' => '448',
         'height' => '386',
      ),


Unfortunately 220.ro can't be supported like that.
You would have to do a lookup to grab the actual file url which is something like
videoFile=http://media9.220.ro/storage/2008/5/e215f27ee89cca7ab8efff4b3d01642b.flv&repeat=false&autostart=true&videoid=76027&autoplay=true&debug=false&reltitle=Matrix+in+varianta+moldoveneasca&relurl=http%3A%2F%2Fwww.220.ro%2Fmatrix_in_varianta_moldoveneasca-76027.html

Since e215f27ee89cca7ab8efff4b3d01642b isn't part of the url, you'd have to use a lookup to get it to grab the real url.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: roberto174 on June 12, 2008, 08:31:08 PM
It desnt work, trilulilu doesnt allow that way of embedding it says to go to their website and blabla, im going to leave it like that, as you said , THEY SUCK, thanks for your help help btw.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 12, 2008, 09:04:34 PM
I'm probably going to be working on this mod over the weekend.

I'll have another go then. I might not add them into the mod itself. but it will be easier and quicker for me to test them then whilst I am working on it. And I'll pm you if i can get them working.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cooldude44 on June 12, 2008, 11:44:08 PM
ok, i'll try adding the <a href... part in. i tried modifying some of it and taking away global variables, and im also using the file that you require_once in the function. thanks so far!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 2pac on June 13, 2008, 12:38:27 AM
i keep getting an extra link after the video/song after i embed it

example:
http://49ersblitz.com/forum/other-sports/nba-finals-thread/msg8407/#msg8407

and

http://49ersblitz.com/forum/off-topic/embedding-videos-in-posts/msg8330/#msg8330
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ellen°°°Butterflywings on June 13, 2008, 08:45:04 AM
Hello,

I've recently took on the challenge of creating my own forum, but i really don't know much about it, i was just tired of those free host thingies... I've managed to install a new theme and my own language to give the forum a personal look, and besides that my only desire is to certainly be able to embed videos because people really enjoyed being able to share videoclips on my previous forum.

However... I just can't seem to add this mod!

What i have done so far:
I've downloaded AEVAC_v3.0.zip on my computer and unzipped it.
Then I copied all the files (being: changelog.txt, install.xml, package-info.xml, readme.txt and Subs-AEVAC.php) to my ftp-server in forum/Packages.

But I don't know what to do next, because it doesn't work this way. If I post a link (whether it's eg. a normal youtube-link or if it's an embed-code), I just get the link visible in the message. The link itself works, but it's just not being shown as a video...

The installation instructions said "Install the mod via the SMF Package Manager, and your done. It installs on ALL themes automatically as it only affects Source files. There are NO theme edits required and there are NO language strings to translate."
I think I did this, so now i'm feeling pretty stupid... I just don't know what I have to do...?

Greets,
Ellen
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 13, 2008, 10:34:30 AM
You don't have to extract the files.

1. Download the mod package to your pc
2. Admin > Packages > Browse Packages
3. UPLOAD the package as a zip.
4. Click apply.

DONE!.
(since there are no templates edits/language strings whatsoever to replicate over custom themes)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 13, 2008, 10:37:07 AM
2pac.  This was a bug in v2.2 that should have been fixed for 2.x

Were you using an earlier version? Did you uninstall it before applying this mod?
Any previous versions had to be fully uninstalled before applying this version.

If necessary can you attach your Sources/Subs.php so i can look at it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on June 13, 2008, 11:01:52 AM
Karl, I understand you have BBCi player support which is great but now the BBC news website embed all their videos using the same sort of flash player.

Can you have it so that if you are given this URL (http://news.bbc.co.uk/sport1/hi/tennis/7452218.stm), you can grab the embedded flash video?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ellen°°°Butterflywings on June 13, 2008, 12:32:27 PM
damn... that was so easy!!

THANK YOU KARL!!!!  :-*
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 13, 2008, 03:07:20 PM
@mark7144
The problem is all their news articles use the same link. with and without video
And many use multiple videos / sound etc.

In order to do it, I'd have to figure out a way to definatively discover whether its a news article with video or a video with just a description.

@ Ellen°°°Butterflywings
Thanks.  Nice av ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on June 13, 2008, 04:19:28 PM
I'm not sure that this has been mentioned already (63 pages ;) ) but I was wondering if it would be possible to include either a feature option or a profile option that would disable processing of video links from posts that are considered as "read"

So what I mean I click the "new" link and it takes me to my first unread reply to a thread, I want it to not show me all the videos from posts I've already read.

This will prevent threads with 20 videos on a page from downloading all the videos I've already watched.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 13, 2008, 05:16:17 PM
Interesting idea Cheschire.  No i've not seen it mentioned.

The problem would be getting the function to know whether something is read or not.  At the moment parse_bbc function (which this mod runs inside) has no idea what its parsing.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on June 13, 2008, 05:59:11 PM
/me gasps.

That would mean programming in intelligence, though! :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on June 13, 2008, 06:35:49 PM
Quote from: karlbenson on June 13, 2008, 05:16:17 PM
Interesting idea Cheschire.  No i've not seen it mentioned.

The problem would be getting the function to know whether something is read or not.  At the moment parse_bbc function (which this mod runs inside) has no idea what its parsing.

Well how does SMF know that something is read or not? Can your mod tie into that? I know it's easy to say, conceptually, and probably quite difficult in practice. It's an idea to start from though.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 2pac on June 13, 2008, 10:38:47 PM
Quote from: karlbenson on June 13, 2008, 10:37:07 AM
2pac.  This was a bug in v2.2 that should have been fixed for 2.x

Were you using an earlier version? Did you uninstall it before applying this mod?
Any previous versions had to be fully uninstalled before applying this version.

If necessary can you attach your Sources/Subs.php so i can look at it.

Sure thing Karl.

I was using version 2.2 and then uninstalled it and installed version 3.

version 2.2 worked fine, but now the extra link shows up for version 3

Also the Subs-AutoEmbedVideoClips.php file is still there. I decided to change it's name just to see what would happen with the links but it just turned my website blank :P so i changed the name back.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 2pac on June 13, 2008, 10:47:02 PM
Hey Karl, I just went through the Subs.php file and noticed that the code from the original mod was still there. I just deleted it and it seemed to fix the extra links.

Besides deleting the Subs-Autoembedvideoclips.php file, is there anything else you suggest I look at?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 2pac on June 13, 2008, 10:55:46 PM
Also mp3tube.net does not seem to be working for me
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 14, 2008, 10:03:20 AM
Thats one that uses the SMF lookup.
If your host has enabled got safe mode or open_basedir then it won't work.

If you can't use the SMF Package Servers, then it won't work as my mod uses those functions to grab the actual url.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on June 14, 2008, 12:27:09 PM
Good job on the mod karl.

That had to be some work to support 120+ websites. :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 2pac on June 14, 2008, 02:10:27 PM
Quote from: karlbenson on June 14, 2008, 10:03:20 AM
Thats one that uses the SMF lookup.
If your host has enabled got safe mode or open_basedir then it won't work.

If you can't use the SMF Package Servers, then it won't work as my mod uses those functions to grab the actual url.

but yesterday, i tried installing a mod from the smf server, and I was successful.

when i post a link from mp3tube, it shows the look-up link, which is why i found it kind of weird

imeem seems to work
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 14, 2008, 05:46:45 PM
Can you post the link which won't work here?
It might be a different format than expected.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: keith021773 on June 14, 2008, 09:29:57 PM
For some reason I can't copy and past the code that needs to be in the Subs.php file..

Would someone please insert the code in the correct place for this file I attached.. 

It would be much appreicated!

Thanks every!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SantaClaws on June 15, 2008, 07:30:46 AM
What SMF version? I'll have a try.. But backup I might do it wrong... Or leave it for someone else..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: keith021773 on June 15, 2008, 08:38:55 AM
Sorry..  I forgot to tell you.    1.1.4
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on June 15, 2008, 12:25:14 PM
Hi Karl,

In your future update, will you kindly add this site: http://space.tv.cctv.com/act/video.jsp?videoId=VIDE1212992324839168

Thanks.

Jimmy
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: brandonroy on June 16, 2008, 01:20:21 AM
What an amazing mod!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: boredtoday on June 16, 2008, 10:08:12 PM
hi karl

i noticed when i was testing it out in your test forum, that when i post from mp3tube.net or goear ... it works immediately after posting.

but when i navigate away from that page, and then i come back, only the url shows, and the flash players don't show anymore.

only when i edit, and then save again, that they show up again.

is that normal?

youtube works fine though.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 17, 2008, 10:51:34 AM
No. its not normal.

On posting the function should grab the new url and store than in the post.
Then in viewing a post it should call the function to view them all.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: boredtoday on June 17, 2008, 06:19:27 PM
^ check your test forum man, my posts are there. check out the last two (mp3tube and goear)

http://www.adrevenueshare.com/index.php?topic=16.msg87#msg87
http://www.adrevenueshare.com/index.php?topic=16.msg88#msg88
http://www.adrevenueshare.com/index.php?topic=16.msg89#msg89
http://www.adrevenueshare.com/index.php?topic=16.msg90#msg90
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 17, 2008, 06:28:35 PM
Oh, I see why thats happening.
Its not a bug.

There is a hard-coded limit of 12 embedded objects per page.  Its reaching that limit so won;t embed anymore.

This is an essential limit because at 12 objects, all 3 major browsers IE/Opera/Firefox all start to use ridiculous amounts of memory and border on crashing.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on June 17, 2008, 07:29:09 PM
Quote from: karlbenson on June 17, 2008, 06:28:35 PM
This is an essential limit because at 12 objects, all 3 major browsers IE/Opera/Firefox all start to use ridiculous amounts of memory and border on crashing.

karlbenson, I was just wondering if you had tested whether this is still true in the new generation of browsers, especially FF3 since it is supposed to be so much improved in terms of memory leaks.

Thanks very much
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 17, 2008, 07:39:45 PM
It happens with all the latest versions of browsers, especially Firefox 3, Opera 9.5
Essentially its not the browsers that cause it, its the flash plugin itself.

12 is the hard-coded limit. Personally I wouldn't recommend more than 3-4 per page.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on June 17, 2008, 07:43:36 PM
Thanks karlbenson
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Filipina on June 18, 2008, 12:27:13 AM
Quote from: karlbenson on June 13, 2008, 10:37:07 AM
2pac.  This was a bug in v2.2 that should have been fixed for 2.x

Were you using an earlier version? Did you uninstall it before applying this mod?
Any previous versions had to be fully uninstalled before applying this version.

If necessary can you attach your Sources/Subs.php so i can look at it.

I unistalled the previous 2.2 version and then installed the new one and i saw this "Hacker attempt" message... everything went white but when I refreshed everything was ok... strange...

I have tried to figure this out on my own but cannot... can you tell me these old files below can i safely delete them now off my package manager with the 3.0 installed?

7. Auto Embed Video Clips 2.2  [ List Files ] [ Delete ]
10. Auto Embed Video Clips 1.9  [ List Files ] [ Delete ]

thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: keith021773 on June 18, 2008, 06:41:45 AM
karl...   If you get time, could you read my earlier post and help me?   http://www.simplemachines.org/community/index.php?topic=200401.msg1579439#msg1579439

It's for 1.1.4.       I would sincerely appreciate it..

Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on June 18, 2008, 10:03:37 AM
Quote from: Filipina on June 18, 2008, 12:27:13 AM
Quote from: karlbenson on June 13, 2008, 10:37:07 AM
2pac.  This was a bug in v2.2 that should have been fixed for 2.x

Were you using an earlier version? Did you uninstall it before applying this mod?
Any previous versions had to be fully uninstalled before applying this version.

If necessary can you attach your Sources/Subs.php so i can look at it.

I unistalled the previous 2.2 version and then installed the new one and i saw this "Hacker attempt" message... everything went white but when I refreshed everything was ok... strange...

I have tried to figure this out on my own but cannot... can you tell me these old files below can i safely delete them now off my package manager with the 3.0 installed?

7. Auto Embed Video Clips 2.2  [ List Files ] [ Delete ]
10. Auto Embed Video Clips 1.9  [ List Files ] [ Delete ]

thanks!
karl said to remove old installs then install latest.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 18, 2008, 10:29:09 AM
@keith021773 
I don't do edits for people.  I don't have the time nor the desire. (its expressly stated in the readme).

See the readme. I've put useful links to help install mods.
http://custom.simplemachines.org/mods/index.php?action=parse;mod=977;attach=57896;smf_version=1.1.4

@2pac. Yes, you always need to uninstall/reinstall my mods. I rarely do an upgrade.

@Thanks Nick I think, we already sorted 2pac.  But thanks again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Filipina on June 18, 2008, 01:38:01 PM
Karl said "Any previous versions of this mod MUST be uninstalled BEFORE installing this version." I did the unistall.  I am just not sure about deleting the files listed in 7. and 10. above.  I just want to be sure. 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: boredtoday on June 18, 2008, 02:43:20 PM
installed it, and it's working great! thanks man!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 18, 2008, 05:50:18 PM
Hey there karl...
Found a couple of strange bugs in your latest version.

Edit -- as discussed in our PM, it was a mistake on my side, there was a space between "url=" and my second URL.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on June 18, 2008, 09:19:53 PM
Quote from: Filipina on June 18, 2008, 01:38:01 PM
Karl said "Any previous versions of this mod MUST be uninstalled BEFORE installing this version." I did the unistall.  I am just not sure about deleting the files listed in 7. and 10. above.  I just want to be sure. 


All that will do is delete the zip files nothing else.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 18, 2008, 10:11:57 PM
Nick is right.
Deleting the files isn't enough. You need to click UNINSTALL, and only then delete the mod package.
(all deleting does is delete the mod package from the Packages directory).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Filipina on June 18, 2008, 10:34:35 PM
Ok sorry I guess I did not explain it well.. i did unistall the old verision and then reinstall the new one.  I just wanted to delete the old packages now.. guess I am talking in circles, but thanks :)   
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 19, 2008, 09:25:07 AM
yeah.
you can do that.

If you uninstalled version 2.8, but didn't delete it.
Then installed 3.0. You can then delete the 2.8 package without screwing anything up :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on June 19, 2008, 05:42:54 PM
karlbenson, I set my flash limit to unlimited due to this SSI video page (http://www.murraysworld.com/video/). On that page, which uses your mod, I have a lot of YouTubes but they only show when you click the expandable text link.

On my PC it's fine but will that page be crashing browsers for some of my users or will it be fine because the embeds are hidden until clicked on?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 19, 2008, 05:56:39 PM
It depends whether they are actual embedded objects but hidden or just hidden code that doesn't become an actual object until embedded.

Looking at it. Your SSI video page the objects are just code until the javascript embeds them.  So you would be ok with unlimited on page load.
However if a user clicked x12 links. Then there would be 12 links embedded on the page, and you would start to see an issue with browser skitzing.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on June 19, 2008, 06:49:30 PM
Thanks karl :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dzembak on June 20, 2008, 12:23:39 PM
I`ve got error during installation. What manual changes should I do at Display.template.php to make this mod work?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 20, 2008, 12:39:34 PM
This mod doesn't affect Display.template.php
It only affects source files.

http://custom.simplemachines.org/mods/index.php?action=parse;mod=977;attach=57896;smf_version=1.1.5
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dzembak on June 20, 2008, 01:25:49 PM
My bad :P It`s not about this mod...


This mode does not work for me 1.1RC3.

At the manual for 1.1RC3 - http://custom.simplemachines.org/mods/index.php?action=parse;mod=977;attach=57896;smf_version=1.1_RC3 - described changes for ./Sources/Subs-Editor.php, but I see no such file at the folder  ???
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on June 20, 2008, 01:35:18 PM
Why are you using 1.1RC3? That's terribly outdated and you're not safe at all. There are numerous published security vulnerabilities for that version, most mods are updated to work with newer versions since then, so you're best off upgrading to 1.1.5 to stay safe.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 20, 2008, 03:02:31 PM
Ignore the edit for Sources/Subs-Editor.php if your using SMF 1.1.x

That edit is only for smf 2.x
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: romeoyankee9 on June 20, 2008, 10:11:21 PM
hey guys,

I am having a problem with the SSI aspect of SMF.  I took a look through the thread so far but am at work and with 65 pages to go through and nothing to search for but SSI, I gave up and decided to just post.  Hopefully this isnt a dead horse issue but its somethign I need help with.

my site is www.cyow.ca and I have ssi on the main page that inputs the latests posts from the forum on the home page.  They are at the bottom. 

Anyways I used to have the Streaming 3 mod installed and it would show the embedded video files on the main home page when somebody posted them

I had a major forum crash and reinstalled smf from scratch and would like to use the autoembed mod instead.  Only problem is that it doesnt look like the videos get embedded on the main page via SSI.  All I see is a box and then the rest of the posts dont come through.

Anybody know whats going on?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cooldude44 on June 21, 2008, 01:35:40 AM
hello again, karl!

i was wondering if you could possible include 56.com in the list, or tell me what to add into the array. here is an example link:
http://www.56.com/n_v198_/c18_/5_/6_/eric_cartman_/zhajm_1179175453_549_/1448781_/0_/13866706.swf

thanks again so much for your constant support!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 21, 2008, 05:40:53 PM
@cooldude44
56.com will need a lookup.
However I can't add it or help you add it because that site won't work for me.
I get page not displayed (and have still been doing for over a month).  Are you sure the site is still active?

I can't add/help with what I can't see. If the site ever works for me again, I will of course try to add it.

@romeoyankee9
The mod should work with SSI, providing that bbcode is parsed and that the links are ACTIVE hyperlinks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: romeoyankee9 on June 21, 2008, 07:26:27 PM
Hey Karl,

It doesnt seem to be working with SSI.  It works great with the actual forum and inside a post is pretty awesome.  But when SSI tries to bring the post onto my main .html page it breaks somehow.

Here is the link to the post with the working youtube video

     http://www.cyow.ca/forum/index.php?topic=5.msg5#msg5

and here is the link to my sites main page where the info is being pulled into. (will be down at the bottom)

     http://www.cyow.ca

see how there is that box and then the code just stops?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 21, 2008, 07:34:44 PM
The broken box at the bottom is due to an iframe being cut off.
<iframe class="embeddedvideo" type="application/x-shockwave-flash"<br />

But this ISN'T coming from my mod as my mod DOESN'T use iframes.

I think my mod isn't working because it is disabling for print pages/wap pages where smileys are disabled.
I don't know of an easy way to resolve this.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: romeoyankee9 on June 22, 2008, 03:56:26 PM
Initially I had the forums RSS link fed through yahoo pipes.  For no other reason then most of my other feeds go through there because of the sorting/combining features.

Anyways I changed the main page to include the actual forums RSS link instead of the yahoo pipes link and it got rid of the iframe but still didnt work.  Now I get this...

<embed type="application/x-shockwave-flash" src="http://www.youtube.com/v/0IhUOq2JJ_o<br />
<br />


Would the problem be because there is no closing </embed> tag?

Thanks for taking a look anyways
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 22, 2008, 03:59:02 PM
yes, its limiting the no. of characters.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: romeoyankee9 on June 22, 2008, 04:07:40 PM
hmmm.. any way to fix that?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: romeoyankee9 on June 22, 2008, 04:16:01 PM
http://custom.simplemachines.org/mods/index.php?mod=121

This is the mod that I used to use and it worked to pull in the video from the feed and after running rss2html, the video would be displayed on the mainpage.  Is there something in this mod that would help?  I love the way there is no code required for your mod and it pulls the video automatically!

thanks again for an awesome mod and lightning fast support on it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cooldude44 on June 22, 2008, 05:30:14 PM
ok, 56.com seems to be staying down longer than up. thanks anyways for all your support, karl.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 22, 2008, 05:32:07 PM
You need to increase the no. of characters in whatever ssi script you are using.

It looks like its only giving upto 255 characters with substr(string, 0, 255).
So you need to find whereever its being used in your script and then increase it.

Its not really something I can help you with.  My best advise would be if you can't find where it is yourself.
To create a topic in the support forum and ask how to increase it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: romeoyankee9 on June 22, 2008, 06:20:42 PM
well first of all I mispoke when I said SSI feature as all I am really using is the SMF Rss feed directly from this link

http://www.cyow.ca/forum/index.php?action=.xml;sa=recent;limit=10;type=rss2

When you look at the source of that link, the one post with the video clip in it has been shortened... But none of the other <description> tags have been.  So if none of the other descriptions were shortened wouldnt that indicate it was a problem specifically with the autoembeded video link?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 22, 2008, 07:15:54 PM
I'd still recommend the same.  Ask in the support forums how to increase the no. of characters
Raise it as an issue with the rss feed.

Although the mod is SUPPOSED to be disabled for the rss pages. So if its working on those pages, thats a bug.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: romeoyankee9 on June 23, 2008, 04:47:16 PM
well maybe thats the problem...

Is there any way that I can hack the code and enable the mod for rss feeds?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: umiya on June 23, 2008, 05:08:51 PM
is there something special that has to be down for stupidvideos? I cant get any links form there to show up but youtube works fine
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 23, 2008, 05:56:46 PM
@umiya 
Stupidvideos links should work without any lookup.

Can you post the link that you tried to use which didn't work please.
It may be a different format of stupid videos link.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Godsongz on June 23, 2008, 06:07:42 PM
hmmm, I'm not sure when this started happening, but it seems to be happening with all video sites that I try it with.

If I make a new post and put in a link like...

http://www.gloria.tv/?video=xqzxnbxgn2ojpssk4ndt

then click Preview, I see the video just fine.  If I click post though, then the post only contains a hyperlink, not the video itself, and if I modify the post I can see that it has inserted this...

[url=http://www.gloria.tv/?video=xqzxnbxgn2ojpssk4ndt]http://www.gloria.tv/?video=xqzxnbxgn2ojpssk4ndt[/url]

Any thoughts? 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 23, 2008, 06:28:04 PM
Are you reaching the hard-coded limit of 12 embedded items per PAGE?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: уιℓмαz on June 23, 2008, 07:05:33 PM
Thanks for the mod. But i have an error in the error logs.

Undefined index: message
File: /var/www/vhosts/tamforum.gen.tr/httpdocs/Sources/Post.php
Line: 1129


Line 1129:
$_POST['message'] = AutoLinkUrls($_POST['message'], true);
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 23, 2008, 07:10:26 PM
Thanks уιℓмαz.

I know the cause.  I will be providing a new release sometime this week to fix that issue.
It shouldn't be a problem (other than the error in the log) for now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: уιℓмαz on June 23, 2008, 07:23:27 PM
Thanks for answer. I'm looking for next release :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dante_Arg on June 23, 2008, 07:34:20 PM
Hi Karl, remember me?? i had problems with autoembed 2.2 with videos inside [spoiler] tag... welll v3 is working perfect with that! Great job!! THANKS!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Godsongz on June 23, 2008, 09:01:51 PM
Quote from: karlbenson on June 23, 2008, 06:28:04 PM
Are you reaching the hard-coded limit of 12 embedded items per PAGE?

No, it happens with only a single video item on a page.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 23, 2008, 09:35:40 PM
Are you using TinyPortal? with blocks of recent posts?
Those have been known to interfere with this mod, if those posts shown in the block contain video links.
(the solution is to edit those blocks/code to disable the embedding of videos - as explained in the readme)

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dumblonde on June 24, 2008, 02:17:33 AM
Just a friendly reminder when you are adding site to the next release, remember redlasso & I think you needed to change something to get veoh working again  :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 24, 2008, 08:47:09 AM
@dumblonde
Yeah veoh is what I'm waiting for.
Although it seems like their crappy player won't work in Opera and some videos can't only be played through their crappy Veohtv player.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Johno69 on June 24, 2008, 11:06:20 AM
Hi,

has pokertube.com been included in the latest version ?

They now allow embeding.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 24, 2008, 12:49:27 PM
its not in the current one
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dumblonde on June 24, 2008, 06:49:20 PM
karl I don't know if this matters to you at all but I wonder if some of the changes at veoh have occurred because a few major networks (ABC & CBS that I know of) are going to start syndicating some of their TV shows to veoh.  I don't know if this effects anything or not. (see article (http://www.cbsnews.com/stories/2008/06/22/paidcontent/main4201225.shtml))

I only use veoh when something is too racy for youtube so I don't use it that much & can always insert html & embed the videos myself if I need them so don't let veoh hold you up on my account.  Redlasso now that's a really good & needed one for sure if you can get it to work.

Thanks for all your hard work  ;D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RRasco on June 24, 2008, 06:53:20 PM
Hey Karl!

I've had a few requests to add photobucket videos.  Just wanted to see if it had been mentioned and could possible be added to the future supported sites list.

Thanks again for the mod!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 24, 2008, 06:53:57 PM
@dumblonde
The issue is with veoh.  The internet is littered with videos that won't play, even ones on their OWN site.
So whilst I'm changing the player, there will still be veoh videos that won't work.  Hopefully veoh will either fix it soon or go the way of Stage6.

@RRasco
Photobucket is already supported
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: can333 on June 25, 2008, 11:28:07 AM
Hey there,

I was also hoping to figure out how to use the auto embed feature in RSS feeds.  Is there anything I can do to enable them?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: umiya on June 25, 2008, 01:31:47 PM
here  the link i used

http://www.stupidvideos.com/video/sketch_comedy/Lego_Rollercoaster/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 25, 2008, 01:53:01 PM
Oh I remember
Stupid videos will ONLY work with the video id on the end
http://www.stupidvideos.com/video/sketch_comedy/Lego_Rollercoaster/#166315
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Soms on June 25, 2008, 05:50:18 PM
Hey Karl,  will you please include jujunation (http://www.jujunation.com/)  in the next update?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 25, 2008, 06:43:14 PM
I'll consider it. Although the site looks a bit amateurish.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cooldude44 on June 26, 2008, 03:06:33 PM
hey again, karl.

i have two requests for sites to implement in you incredible function:

todou playlists (its a page on todou with multiple videos, so maybe find the separate links to each video)

w64.com
ie - w64.php?q=Jmx0O2VtYmVkIHNyYz0mcXVvdDtodHRwOi8vcGxheWVyLnlvdWt1LmNvbS9wbGF5ZXIucGhwL3NpZC9YTXpJME9UWTROamc9L3Yuc3dmJnF1b3Q7IHF1YWxpdHk9JnF1b3Q7aGlnaCZxdW90OyB3aWR0aD0mcXVvdDs0ODAmcXVvdDsgaGVpZ2h0PSZxdW90OzQwMCZxdW90OyBhbGlnbj0mcXVvdDttaWRkbGUmcXVvdDsgYWxsb3dTY3JpcHRBY2Nlc3M9JnF1b3Q7c2FtZURvbWFpbiZxdW90OyB0eXBlPSZxdW90O2FwcGxpY2F0aW9uL3gtc2hvY2t3YXZlLWZsYXNoJnF1b3Q7Jmd0OyZsdDsvZW1iZWQmZ3Q7

thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on June 26, 2008, 03:44:26 PM
I got an idea you should include newgrounds.com.

Example url:
http://www.newgrounds.com/portal/view/123876

Now right click--> View Page Source, and search for 123876.

You will find this:
http://uploads.ungrounded.net/123000/123876_peonbond1.swf

Could it be possible that you could fetch for the url neededin the mod?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fmofmpls on June 28, 2008, 04:20:57 PM
Does this mod support Pitchfork TV?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 28, 2008, 05:05:11 PM
@fmofmpls
Not currently
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Antechinus on June 28, 2008, 06:59:32 PM
I've had a request over at our forum.
Someone pointed out that people might like to visit the original video page to see other vids by the same person or to leave a comment on the vid.

How difficult would it be to edit the mod so that the raw link was automatically added in quote tags above the embedded vid?

If this could be done people could then just click on the link to access the original source page.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: edi67 on June 29, 2008, 12:48:40 PM
i have one big problem Karl, i installed you version 3 but serious problem with youtube video for example this:

http://ediboard.altervista.org/index.php?topic=2524.msg8511#msg8511

this video youtube crash my broswer firefox and others, when i try to Modify, Reply in that topic.

How i could fix this problem?

i tried to increase this value: static $autoembedmax = 12;
but nothing some solution karl?

you can enter in forum
login: test
password: test

Thx for you help karl


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ディン1031 on June 29, 2008, 01:52:52 PM
So i looked over you file and must say it's a good work but...

why did you not static cache the large array... you must thing it need 0,05 secs for each time this huge arrays are stored, and if you think about it this will be done 20-25 times and it slow down the speed ;).

I overworked your file, and now it's a lot faster i came back near normal speed state 8).

I hope it's okay that i attach it to this post...

Follow lines are changed:
55-58
299
303-307
361-364
1461
1529-1536


If you like that i remove the file, say it i will remove it... it's only a idea to make it faster...

(If someone else use, it's on own risk to use it, it's only for kalberson).

(File Removed, i think kalberson have it *g*)

Bye
DIN1031
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 29, 2008, 06:09:24 PM
Thanks ディン1031.

I'll do some tests with the changes (memory vs speed).
And if its beneficial, I'll make them permanent.

Thanks again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: edi67 on June 30, 2008, 07:03:04 AM
i used your file DIN but nothing changed about my problem of browser crash, i hope that Karl find some solution thx again
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ディン1031 on June 30, 2008, 08:40:26 AM
Quote from: edi67 on June 30, 2008, 07:03:04 AM
i used your file DIN but nothing changed about my problem of browser crash, i hope that Karl find some solution thx again
this file will not solve your problem, it is only a solution to make it faster not to make browser not crashing ;).

Bye
DIN1031
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on June 30, 2008, 10:45:07 AM
Karl, could you add support for Trailer Addict (http://www.traileraddict.com/)? Seems like a nice source for high def movie trailers, and they support embedding.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on June 30, 2008, 12:13:22 PM
I don't want to link them here due to the NSFW aspects, but it would be swell if you could add the various porn streaming sites (youporn, redtube, xtube, pornotube, etc). We have some members-only boards where we share streaming porn vids quite often, but it would benefit greatly from this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on June 30, 2008, 12:13:42 PM
Hah, "swell", I made a pun.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on June 30, 2008, 12:20:54 PM
If the mod were ever to support pornsite embeds which I know Karl has said he will not do, I would need the option to block those sites from embedding. Otherwise, its just greater risk of exposing my members to non PG material on my family friendly website. I would have to manually edit if possible to remove the porn sites or if not possible uninstall the mod which would totally suck. No judgment against porn mind you, but it has no place on my website.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on June 30, 2008, 02:05:03 PM
totally agreed! I would hate for it to auto-embed in most of the boards on my site as well. we just have one board that i would like for it to embed in.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on June 30, 2008, 02:34:09 PM
Yeah if you want porn sites to emb you are gonna have to make it yourself(or find someone to do it). You can manually edit the php file(comes with the mod) to disable them.

@Cheschire: To do that there would be more functions involved to make the mod work in certain boards.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on June 30, 2008, 04:51:40 PM
Well I definately don't plan on adding per-board options.
Porno ones I've said I would never add / enabled by default.

Although originally I said I would add them and disable them by default. When I attempted to add most sites, they couldn't be supported.

I'd probably only add them if they don't break the tenements of the mod
- No configuration panels
- No theme edits
- No language strings.

But putting in hooks/disabled stuff I'm not against.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: edi67 on July 01, 2008, 07:52:58 AM
Please read it karl:
http://www.simplemachines.org/community/index.php?topic=247011.msg1598247#msg1598247
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TheDailyKenoshan on July 01, 2008, 03:49:58 PM
Thank you for this wonderful mod.  I have to also comment that it is so rare to see a mod so well-supported and rare to see a mod developer who answers every question like this.  Thank you!!


JohnNordquist
The Daily Kenoshan
www.dailykenoshan.com
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on July 02, 2008, 06:33:24 AM
Quote from: TheDailyKenoshan on July 01, 2008, 03:49:58 PM
Thank you for this wonderful mod.  I have to also comment that it is so rare to see a mod so well-supported and rare to see a mod developer who answers every question like this.  Thank you!!

yeah aint that the truth
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mafioso on July 02, 2008, 04:34:32 PM
How do I add the option to view video of redtube, pornotube?


Help me please

Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on July 02, 2008, 05:26:59 PM
it involves regular expressions. I haven't looked into it too much but I would imagine it takes stripping the id out of the url in the post and then copying that into the embed, and putting that back into the post.

or something like that. I'm kinda distracted, watching tv right now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on July 02, 2008, 05:27:38 PM
oh and karlbenson, the author of the mod, won't directly help you, so you pretty much gotta learn how to do it yourself.

and with 68 pages to this thread, I'm sure someone's been walked through teh process before. start reading!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on July 03, 2008, 07:25:03 AM
hey karl I had another idea/request. I was thinking a good addition to the mod would be to disable embedded videos in quotes. I don't know if that's difficult to do, as I haven't looked "under the hood" of your mod, so I'm not sure how you're handling the processing. And I'm also not sure if you would even like that idea, but I thought I'd throw it out there anyways.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mafioso on July 03, 2008, 08:40:03 AM
How do I add the option to view video of redtube, pornotube?


Help me please

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Johno69 on July 03, 2008, 08:59:07 AM
you were given an answer... try read it one time.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 03, 2008, 04:31:03 PM
@TheDailyKenoshan
Thanks

@Cheschire
Protection of Quotes was added in v3.0. Its taken me 6months to get a working regular expression to deal with nested quotes. (OMFG that was hard).  Due to the replacing with <divs> in 1.1.x. I've had to pre-replace [quote and quote with my own [aevac] tag.  Which is then goes through a preg_replace callback function to protect any links inside those quoted elements.
Which is then undone at the end.

@Mafioso
As stated before, I am not including porno sites in the mod.

However it is possible to add support for more sites by copying one of the examples found in Subs-AEVAC.php
and changing the regular expression / patterns for the site you want to use.
Note you'll need some knowledge of regular expressions/php to do this. (With that you should be able to follow my code and add another element into the array).
As per the readme, I don't have the time nor the desire to help people support more sites.

If you need help then I would suggest posting a [free] or [paid] request in the help wanted board on this forum.

@Everyone.
FYI, there are a few issues with v3.0 that I hope to fix in a v3.1 this weekend (fingers crossed* that nothing else comes up)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on July 04, 2008, 07:15:10 AM
oh ****** i didn't even realize I had accidentally installed 2.2 instead of 3.0 when i updated to the latest nightly SVN D:

how the hell do I still even have hte 2.2 package?!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on July 04, 2008, 05:55:55 PM
Karl, before it escapes your attention, could you check if the site below could be supported in a future release?

Quote from: Vandaahl on June 30, 2008, 10:45:07 AM
Karl, could you add support for Trailer Addict (http://www.traileraddict.com/)? Seems like a nice source for high def movie trailers, and they support embedding.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: threepwood on July 05, 2008, 07:56:03 AM
I'm sorry if this has been asked before, but I've tried searchin' for it in this topic and it didn't come up.

Is there any way to force Youtube videos to be played in high quality if available?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fompsweeva on July 06, 2008, 07:12:36 AM
I'm having an issue with "&nbsp;" appearing randomly... seemingly in multi-quoted threads with smilies. Seems to have happened since installing this plug in.

Does anyone have any ideas?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on July 06, 2008, 07:19:43 AM
Quote from: fompsweeva on July 06, 2008, 07:12:36 AM
I'm having an issue with "&nbsp;" appearing randomly... seemingly in multi-quoted threads with smilies. Seems to have happened since installing this plug in.

Does anyone have any ideas?

I have the exact same problem! Didn't know it was related to this mod though.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fompsweeva on July 06, 2008, 08:08:19 AM
I suspect it is this mod.

It would do it on one forum I run, and after installing it on my other forum it is now showing up there, so it seems a little bit too coincidental.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 06, 2008, 03:22:39 PM
@threepwood
I had a quick look.
It looks like its possible to force it, where higher quality is available by changing this line in Sources/Subs-AEVAC.php

FIND
'movie' => 'http://www.youtube.com/v/$1&rel=0',
REPLACE with
'movie' => 'http://www.youtube.com/v/$1&rel=0&ap=%2526fmt%3D18',

At this time I don't intend to add support for it into the mod since increasing the quality of the videos is likely to have a negative effect for people not on 2MB+ broadband.

@fompsweeva
I am unable to replicate it on my test forums.
Can you link me to a post where this is happening with a username/password
So i can then copy the EXACT content to my test forum to try to replicate it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: zeta4 on July 06, 2008, 03:43:46 PM
I (2) questions. I looked through this thread  and was unable to locate it..

First question - I installed this mod for youtube - http://custom.simplemachines.org/mods/index.php?mod=936  - and it works great.. But I would like to go in and modify the file for the size of the video for the site and I can't seem to locate the file to edit... I would like to change it from
From - eg [youtube=425,350][/youtube]  
TO : - eg [youtube=200,200][/youtube]  - does anyone know rthe name of the file..

Second Question  - I am trying to install the imeem playlist to my forum - and I installed the following MOD - http://custom.simplemachines.org/mods/index.php?mod=977  and the installation was successful - however..when I post a playlist it doesn't show up...

Do I need to insert the list of sites.. or my site..meaning imeem in a particular file/folder to make it work... .and if so can someone pls tell me the name of the file I need to edit...

Thank You in advance everyone for all of her help in this matter. I hope my  questions were clear.. I so need to lnow the name of the files and what I should.. I am a newbie trying to help myself...


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 06, 2008, 03:59:23 PM
1.
For my youtube mod, to change the default sizes
Sources/Subs.php
FIND x2 occurances
$data = array(0, 425, ($type ? 350 : 355));
Replace 425 with your new height, and 350 with your new width
Note 355 is the slightly wider for youtube playlist videos.

2. With my AEVAC mod.
To add embed an imeem playlist all you need to do is include an imeem playlist link
(an example of which is http://www.imeem.com/sickpuppies/playlist/j_mhZYBK/video_video_playlist/ )

HOWEVER imeem links don't have the ACTUAL embed filename/id in the url, so the mod has to do a lookup on POSTING, to grab the actual link. UNFORTUNATELY this will not work on all servers.
If after posting the link is still like the above and has not changed to http://media.imeem.com/pl/5ei3osBD06 or been embedded, then it won't work.

The ability to grab pages is usually disabled on cheap shared hosts as it can use memory.
My mod uses SMF's package server functions to grab the page,so if you can't install a mod via the package-servers, this feature will not work on your server.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: zeta4 on July 06, 2008, 07:13:51 PM
karlbenson  - Thanks for responsing..  :) I located the file and made the adjustment for youtube and it worked just as you stated.. so again.. thanks for much...

How onto IMEEM - I only want to use IMEEM - for MUSIC not video.. sorry should have been clearer   - I looked at youR link.. I saw how it converted it to resource.. I think my problem might be as followings.. I did not do the following - "[Sites shown in red  require 'lookups' in order to work.]  Imeem (Music|Video|Playlists) was listed there in red..  How do I do the following .. what files do i need to edit and my host is www.gatorhost.com..

How do I do this?  - o Lookups to grab the actual video url/filename, enabling sites to be supported which could not be previously   

On POSTING, the mod checks the post for links to sites that require lookups
- This may not work on all servers (Such as PHP Safe Mode and/or OpenBaseDir enabled)
- Doing a lookup is likely to count towards your host bandwidth limits. (But it should only be eg 20kb each time)
- Lookups will NOT affect pre-existing posts.  You'll need to edit the post to make it do the lookup.
o Use [noembed][/noembed] bbcode to prevent links being converted to embedded clips

Also do I need to do the following:

Changelog
v3.0 - 6th June 2008
o Added 'Lookup' to be able to grab the actual url/filename from the page (enables supporting many more sites).
o Fixed protection of <noembed> html
o Added protection nested quotes from embedding
o Added protection of code blocks.
o Re-named the Subs-AutoEmbedVideoClips.php to Subs-AEVAC.php (since now added Audio sites).
o Re-named $context['disableembedvideo'] to $context['disableAEVAC']
o Changed other singular references to video in function names/comments and other places to include audio.
o Fixed, rel=0 on youtube to prevent showing related videos.
o Added 50+ sites. Too many to mention individually.
For the full changelog for previous versions please see changelog.txt

also here is a link to my playlist - http://www.imeem.com/people/KHIKdN1/playlist/ZgK_mV43/for_johns_love_music_playlist/

Thanking you in advance!


Quote from: karlbenson on July 06, 2008, 03:59:23 PM
1.
For my youtube mod, to change the default sizes
Sources/Subs.php
FIND x2 occurances
$data = array(0, 425, ($type ? 350 : 355));
Replace 425 with your new height, and 350 with your new width
Note 355 is the slightly wider for youtube playlist videos.

2. With my AEVAC mod.
To add embed an imeem playlist all you need to do is include an imeem playlist link
(an example of which is http://www.imeem.com/sickpuppies/playlist/j_mhZYBK/video_video_playlist/ )

HOWEVER imeem links don't have the ACTUAL embed filename/id in the url, so the mod has to do a lookup on POSTING, to grab the actual link. UNFORTUNATELY this will not work on all servers.
If after posting the link is still like the above and has not changed to http://media.imeem.com/pl/5ei3osBD06 or been embedded, then it won't work.

The ability to grab pages is usually disabled on cheap shared hosts as it can use memory.
My mod uses SMF's package server functions to grab the page,so if you can't install a mod via the package-servers, this feature will not work on your server.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: FUBAR on July 06, 2008, 07:46:43 PM
Quote from: Vandaahl on July 06, 2008, 07:19:43 AM
Quote from: fompsweeva on July 06, 2008, 07:12:36 AM
I'm having an issue with "&nbsp;" appearing randomly... seemingly in multi-quoted threads with smilies. Seems to have happened since installing this plug in.

Does anyone have any ideas?

I have the exact same problem! Didn't know it was related to this mod though.

I'm having the same issue when I post a video in any thread.  I found that after every period in the text before or after the video I'm getting &nbsp;.  I have to go back and edit the post and remove the &nbsp from the post with the video.

Any ideas?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 06, 2008, 09:22:11 PM
@zeta4
The mod should do the lookup automatically.
If those functions have been disabled by your host, it is very unlikely that you can re-enable them.
If your host won't disable safe mode or basedir, then the ONLY way to get it to work, is either to
a) manually 'fish' out the actual embed url from the html <embed> code that imeem give you.
b) find a new host where those functions do work.

@FUBAR.
After testing on fompsweeva's site and my own, I've been unable to replicate it.
I'll look into the period thing though.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on July 07, 2008, 06:30:35 AM
Quote from: FUBAR on July 06, 2008, 07:46:43 PM
Quote from: Vandaahl on July 06, 2008, 07:19:43 AM
Quote from: fompsweeva on July 06, 2008, 07:12:36 AM
I'm having an issue with "&nbsp;" appearing randomly... seemingly in multi-quoted threads with smilies. Seems to have happened since installing this plug in.

Does anyone have any ideas?

I have the exact same problem! Didn't know it was related to this mod though.

I'm having the same issue when I post a video in any thread.  I found that after every period in the text before or after the video I'm getting &nbsp;.  I have to go back and edit the post and remove the &nbsp from the post with the video.

Any ideas?

Do you have any other mods installed?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: zeta4 on July 07, 2008, 01:08:15 PM
Hi karlbenson .. thanks again.. its working now .. I think, in the begining I may have added to my problems.. I would select the flash code, and then inout my coding.. as soon as I just put only the coding in the thread.. it worked..

However..new potential problem..I had someone go and take a look at the thread and they can not see the playlist.. however I can.. do you have any idea what might be causing that problem?


Quote from: karlbenson on July 06, 2008, 09:22:11 PM
@zeta4
The mod should do the lookup automatically.
If those functions have been disabled by your host, it is very unlikely that you can re-enable them.
If your host won't disable safe mode or basedir, then the ONLY way to get it to work, is either to
a) manually 'fish' out the actual embed url from the html <embed> code that imeem give you.
b) find a new host where those functions do work.

@FUBAR.
After testing on fompsweeva's site and my own, I've been unable to replicate it.
I'll look into the period thing though.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 07, 2008, 02:00:17 PM
@zeta4.
FYI. My mod ONLY works with urls. Not with the entire embed code.
If they can't see the playlist, get them to check they have flash plugin installed and it is enabled.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: $כђiŹøƒ®ΣиiΛ™ on July 07, 2008, 05:06:59 PM
what should i do for add the option to view video of izlesene.com and vidivodo.com for my own website. these are the biggest websites in turkey and i want to broadcast their videos on my website. i want your help about that. thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 07, 2008, 06:50:48 PM
I'll try to add support for them in the version I'm working on.
Well in fact I've already added izlesene.com in my test version.
Vidivodo.com is going to be more difficult as it will require a 'lookup' to grab the actual url.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: FUBAR on July 07, 2008, 08:34:00 PM
Quote from: Vandaahl on July 07, 2008, 06:30:35 AM
Quote from: FUBAR on July 06, 2008, 07:46:43 PM
Quote from: Vandaahl on July 06, 2008, 07:19:43 AM
Quote from: fompsweeva on July 06, 2008, 07:12:36 AM
I'm having an issue with "&nbsp;" appearing randomly... seemingly in multi-quoted threads with smilies. Seems to have happened since installing this plug in.

Does anyone have any ideas?

I have the exact same problem! Didn't know it was related to this mod though.

I'm having the same issue when I post a video in any thread.  I found that after every period in the text before or after the video I'm getting &nbsp;.  I have to go back and edit the post and remove the &nbsp from the post with the video.

Any ideas?

Do you have any other mods installed?

Yes I have other mods installed but to make a long story short, I have had the same mods installed with this particular mod running without problems on a previous board v 1.1.4.  I recently installed fresh v 1.1.5 and re-installed my mods with current versions so I don't think there's a conflict.  I could be wrong though. ;)

Mods Installed:
1.     Auto Embed Video/Audio Clips      3.0      
2.    SMF Poll Mod    1.2    
3.    E-Arcade    2.5.0    
4.    Users Online Today Mod    1.4.0    
5.    PM Popup - Uses Active Window    1.3    
6.    TinyPortal    1.052    
7.    SMF Gallery Lite    1.8.3    
8.    Custom Profile Field Mod
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Antechinus on July 08, 2008, 04:31:28 AM
Quote from: karlbenson on July 03, 2008, 04:31:03 PM@Everyone.
FYI, there are a few issues with v3.0 that I hope to fix in a v3.1 this weekend (fingers crossed* that nothing else comes up)
Yep. I think I've hit some of them.

http://www.simplemachines.org/community/index.php?topic=248452.0

I'm getting the &nbsp thing others were getting but it just happens in normal threads without any embedded vids. I've also noticed that when quoting or editing posts any raw links (like links to Wiki, for instance) are displayed as wrapped in the BBC hyperlink code even if they weren't entered in that format.
So if, for instance, I post a link like this:

http://en.wikipedia.org/wiki/Hijab

when I go to edit my post it'll show in the window as:

[url=http://en.wikipedia.org/wiki/Hijab]http://en.wikipedia.org/wiki/Hijab[/url]

I'm running SMF 1.1.5/TP 0.983 with the Domaintools, vReportboard and Ignore User mods.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on July 08, 2008, 06:04:07 AM
Quote from: FUBAR on July 07, 2008, 08:34:00 PM
Quote from: Vandaahl on July 07, 2008, 06:30:35 AM
Quote from: FUBAR on July 06, 2008, 07:46:43 PM
Quote from: Vandaahl on July 06, 2008, 07:19:43 AM
Quote from: fompsweeva on July 06, 2008, 07:12:36 AM
I'm having an issue with "&nbsp;" appearing randomly... seemingly in multi-quoted threads with smilies. Seems to have happened since installing this plug in.

Does anyone have any ideas?

I have the exact same problem! Didn't know it was related to this mod though.

I'm having the same issue when I post a video in any thread.  I found that after every period in the text before or after the video I'm getting &nbsp;.  I have to go back and edit the post and remove the &nbsp from the post with the video.

Any ideas?

Do you have any other mods installed?

Yes I have other mods installed but to make a long story short, I have had the same mods installed with this particular mod running without problems on a previous board v 1.1.4.  I recently installed fresh v 1.1.5 and re-installed my mods with current versions so I don't think there's a conflict.  I could be wrong though. ;)

Mods Installed:
1.     Auto Embed Video/Audio Clips      3.0      
2.    SMF Poll Mod    1.2    
3.    E-Arcade    2.5.0    
4.    Users Online Today Mod    1.4.0    
5.    PM Popup - Uses Active Window    1.3    
6.    TinyPortal    1.052    
7.    SMF Gallery Lite    1.8.3    
8.    Custom Profile Field Mod

Of that list I only have Custom Profile Field Mod installed, along Auto Embed V/A Clips, so either one could be causing the problem. Unless it's a problem with SMF 1.1.5, because the "&nbsp;" started appearing after I did a 1.1.5 install (with those mods) as well.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 08, 2008, 10:13:13 AM
@antechinus 
The conversion IS caused by the auto embed mod.
On posting the link, the mod converts any non-active links which look like links in order to check whether they are ones which can be looked up. (SMF does convert non-active links, but only on viewing the post, not posting it).

@everyone
The nbsp; issue may be related to my auto embed mod. In particular I think my function
AutoLinksUrls may be the cause. (its based on smf's)
Knowing the cause and fixing it are two different things though.

I am working on a new version with these and other fixes.  As soon as its ready (hopefully inthe next day or two providing i figure out how to resolve some remaining issues) I'll be posting it.

Please bear with me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on July 08, 2008, 10:20:34 AM
That's awesome Karl, thanks! :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 08, 2008, 10:23:10 AM
Plus before I forget.
This is a final call for new video sites to try to support in the next version.

I've gone through the list so far, and managed to support most that were requested, a couple its not possible to, and still to do a few more.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Johno69 on July 08, 2008, 07:21:59 PM
www.rawvegas.com & www.pokertube.com please Karl.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 08, 2008, 07:25:38 PM
pokertube.com I've already tried yesterday and can't be supported.

rawvegas looks easy to do.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Johno69 on July 08, 2008, 07:28:17 PM
Thanks.

Hopefully RV can be.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SusanTN on July 08, 2008, 10:11:14 PM
Yahoo Music...

<object width="400" height="255" id="uvp_fop" allowFullScreen="false"><param name="movie" value="http://d.yimg.com/cosmos.bcst.yahoo.com/up/fop/embedflv/swf/fop.swf"/><param name="flashVars" value="id=v45173913&amp;eID=1301797&amp;lang=us&amp;enableFullScreen=0&amp;shareEnable=1"/><param name="wmode" value="transparent"/><embed height="255" width="400" id="uvp_fop" allowFullScreen="false" src="http://d.yimg.com/cosmos.bcst.yahoo.com/up/fop/embedflv/swf/fop.swf" type="application/x-shockwave-flash" flashvars="id=v45173913&amp;eID=1301797&amp;lang=us&amp;enableFullScreen=0&amp;shareEnable=1" /></object>

http://new.music.yahoo.com/videos/TracyLawrence/Find-Out-Who-Your-Friends-Are--45173913 (http://new.music.yahoo.com/videos/TracyLawrence/Find-Out-Who-Your-Friends-Are--45173913)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gschwendt on July 08, 2008, 10:17:45 PM
EA SportsWorld?

    <object width="425" height="355">
      <param name="movie" value="http://ll-999.ea.com/sonet-easw/2.2.3.3/flash/sw/videos/mediaplayer.swf?file=http://videocdn.easw.easports.com/easportsworld/media/7499/912A0001_1_FLV_VIDEO_OUh.flv&link=http://www.easportsworld.com/en_US/video/342&linkfromdisplay=true&linktarget=_topℑ=http://ll-999.ea.com/sonet-easw/2.2.3.3/images/sw/videos/preview.jpg&backcolor=0x000000&frontcolor=0x006BCC&lightcolor=0x006BCC" />
      <param name="wmode" value="transparent" />
      <embed src="http://ll-999.ea.com/sonet-easw/2.2.3.3/flash/sw/videos/mediaplayer.swf" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355" allowscriptaccess="always" allowfullscreen="true" flashvars="height=355&width=425&file=http://videocdn.easw.easports.com/easportsworld/media/7499/912A0001_1_FLV_VIDEO_OUh.flv&link=http://www.easportsworld.com/en_US/video/342&linkfromdisplay=true&linktarget=_topℑ=http://ll-999.ea.com/sonet-easw/2.2.3.3/images/sw/videos/preview.jpg&backcolor=0x000000&frontcolor=0x006BCC&lightcolor=0x006BCC"></embed>
    </object>
    <div style="font-family: Arial, sans-serif; font-size: 11px;"><a href="http://www.easportsworld.com/en_US/video/342" target="_top">EA SPORTS World: POLAND - PORTUGAL 13 - 0</a></div>
    <img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/CIMP/bT*xJmx*PTEyMTU1Njk3MzU5NTImcHQ9MTIxNTU2OTczODM4OSZwPTk1MDcxJmQ9Jm49Jmc9MQ==.jpg" />
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on July 08, 2008, 10:18:23 PM
karl, you're popular. :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gronk62 on July 08, 2008, 10:27:51 PM
Quote from: Vandaahl on July 06, 2008, 07:19:43 AM
Quote from: fompsweeva on July 06, 2008, 07:12:36 AM
I'm having an issue with "&nbsp;" appearing randomly... seemingly in multi-quoted threads with smilies. Seems to have happened since installing this plug in.

Does anyone have any ideas?

I have the exact same problem! Didn't know it was related to this mod though.

I help fompsweeva on both his boards and have as of yesterday, temporarily uninstalled the auto embed feature on one of the boards to see if the &nbsp; problem stops.
Since then it has not happened once (yet).
I'll monitor it for a few more days.  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: radioguy6 on July 09, 2008, 12:29:37 PM
i also have the &nbsp problem.  The auto embed mod is the only mod I have installed.  I have ruled it out that the &nbsp only shows when somebody posts a link to something, and then types a few sentences underneath and double spaces after each period.  One of the spaces is filled in with "&nbsp".

I have also noticed since installing this mod, there are alot of errors in the error log.  These errors happen randomly and dont appear to be related to the &nbsp thing.  The error is coming occuring with Post.php line 2217:

/index.php?action=jsmodify;topic=941;sesc;xml

8: Undefined index: message
File: \Sources\Post.php
Line: 2217

I had this error occur for me once when I went to create a new thread.  I went to post and it posted a blank space with no text.  I went into the error log and sure enough one of those errors popped up.  Any ideas?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 09, 2008, 12:34:17 PM
@radioguy6
The message one is going to fixed in my next version. (I've also fixed it in my test version that I'm in the process of working on).

The nbsp one I've not managed to find the cause or fix yet.

Please bear with me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: radioguy6 on July 09, 2008, 12:39:35 PM
Quote from: karlbenson on July 09, 2008, 12:34:17 PM
@radioguy6
The message one is going to fixed in my next version. (I've also fixed it in my test version that I'm in the process of working on).

The nbsp one I've not managed to find the cause or fix yet.

Please bear with me.

sweet man thanks!  I can live with the errors and the &nbsp for now.  I appreciate you taking the time to release a new version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SusanTN on July 09, 2008, 09:39:29 PM
Quote from: karlbenson on July 09, 2008, 12:34:17 PM
@radioguy6
The message one is going to fixed in my next version. (I've also fixed it in my test version that I'm in the process of working on).

The nbsp one I've not managed to find the cause or fix yet.

Please bear with me.

[root@ns1 Sources]# grep "&nbsp;" Subs-AEVAC.php
                $input = strtr($input, array('&#039;' => '\'', '&nbsp;' => $context['utf8'] ? "\xC2\xA0" : "\xA0", '&quot;' => '>">', '"' => '<"<', '&lt;' => '<lt<'));
                $input = strtr($input, array('\'' => '&#039;', $context['utf8'] ? "\xC2\xA0" : "\xA0" => '&nbsp;', '>">' => '&quot;', '<"<' => '"', '<lt<' => '&lt;'));


Dunno if that's any help...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: zeta4 on July 09, 2008, 09:45:04 PM
Karlbenson - thanks so much for you help. Everything works great.. The person was having a problem with their flash plugin just as you suspected.. again thank so much




Quote from: karlbenson on July 07, 2008, 02:00:17 PM
@zeta4.
FYI. My mod ONLY works with urls. Not with the entire embed code.
If they can't see the playlist, get them to check they have flash plugin installed and it is enabled.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dumblonde on July 09, 2008, 11:17:35 PM
On a 2nd forum I started we added the newer Auto Embed mod & we experienced the &nbsp issue also.  We searched around & found a solution.  Dunno if it's the best solution but it works.

Go to your admin panel>>posts & topics>>censored words

then list "&nbsp" & have it censored to "&nbsp"

Makes no sense to me but it works.  After I did it all the &nbsp's went away  :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gronk62 on July 10, 2008, 06:14:00 AM
Quote from: dumblonde on July 09, 2008, 11:17:35 PM
On a 2nd forum I started we added the newer Auto Embed mod & we experienced the &nbsp issue also.  We searched around & found a solution.  Dunno if it's the best solution but it works.

Go to your admin panel>>posts & topics>>censored words

then list "&nbsp" & have it censored to "&nbsp"

Makes no sense to me but it works.  After I did it all the &nbsp's went away  :D

Hey thanks for that! I just tried it and it certainly does work!  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Antechinus on July 10, 2008, 10:57:40 PM
I tried it too. All good so far. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: radioguy6 on July 11, 2008, 04:31:53 PM
sweet thats a great idea!!  Im going to give that a shot thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 11, 2008, 07:24:01 PM
@Cheschire
You asked a while back about only embedding the video IF it hasn't been read.
Well I had a quick go.
For Displaying of topics/posts this can be done relatively easy with this edit
Sources/Display.php
FIND
// Run BBC interpreter on the message.
$message['body'] = parse_bbc($message['body'], $message['smileysEnabled'], $message['ID_MSG']);

   
ADD BEFORE
if(!empty($message['isRead']))
$context['disableAEVAC'] = 1 ;

   
This obviously won't cover other areas such as Display of the last few posts when composing your own.
It would be as easy for those sorts of things, and would require queries and more extensive changes to explain to people why some videos are embedding and not others
Which is why I don't think I'd introduce it as a feature in the mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on July 11, 2008, 07:50:03 PM
Looks good in theory! I'll check it out when I get on a computer with shell access.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Otterdam on July 12, 2008, 05:01:02 AM
After a fresh install of a Beta 3.1 Public forum and installing this mod, changing the message icon of a post inline (i.e. you're viewing a topic, then you click the message icon to change it) will erase the contents of the message.

I'm having a look to see why this is happening, but it's a pretty serious bug.

Edit: OK, I see what's going on. When you add your code inside the JavaScriptModify function, you assume that $_POST['message'] is set, which is only true for quick edit - not for editing the subject on a board, or changing the icon in a post. Later on, the code detects that the message is now set by the mod, and then goes ahead and overwrites your post with nothing.

The solution is to move the code up inside the if (isset($_POST['message'])) {} block like so:

if (isset($_POST['message']))
{
if ($smcFunc['htmltrim']($smcFunc['htmlspecialchars']($_POST['message'])) === '')
{
$post_errors[] = 'no_message';
unset($_POST['message']);
}
elseif (!empty($modSettings['max_messageLength']) && $smcFunc['strlen']($_POST['message']) > $modSettings['max_messageLength'])
{
$post_errors[] = 'long_message';
unset($_POST['message']);
}
else
{
$_POST['message'] = $smcFunc['htmlspecialchars']($_POST['message'], ENT_QUOTES);

preparsecode($_POST['message']);

if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '')
{
$post_errors[] = 'no_message';
unset($_POST['message']);
}
}
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
// On Quick Edit
// Lookup function to grab the actual embed url/filename
// Remove this edit to prevent doing lookups
global $sourcedir;
require_once($sourcedir .'/Subs-AEVAC.php');
// Will [url] bbcode links which aren't currently url bbcoded (so they get can get lookup/embedded by my mod)
$_POST['message'] = AutoLinkUrls($_POST['message'], true);
// Go lookup
$_POST['message'] = ObtainActualVideoAudioClips($_POST['message'], true);
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - END
}


Then it will only process the message if there is a message to be processed.

I attached my edited install.xml that I am now using in my forum.

HTH
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on July 12, 2008, 05:50:59 AM
Thanks Otterdam!
That solved this bug.
There's even no Last edit after this change, and first post is same as it was when posted.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 12, 2008, 11:01:18 AM
@Otterdam
Indeed I am aware of it.

I am trying to resolve two remaining issues (urls converted in code and nbsp in posts) before I release v3.1

Edit: I have spent last nite and alot of time today trying to fix all the issues that have been reported.
I think I've fixed most if not all atm, but I'm having to go through every line of code, and test a variety of things (whether they are protected properly or not).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 12, 2008, 08:33:14 PM
I've now uploaded v3.1 which I've spent a good deal of time last night and tonight working on.
I *think I've fixed all the issues.  Although the &nbsp; bug I've not been able to completely replicate, but I've made some changes that I hope fix it.

Thanks to Din1031 who's suggestion/code to make the arrays static variables has greatly improved the speed considerably. (For 50 posts 0.034 seconds from 0.075) in some benchmark tests I made.  Although it might result in increased memory use, so I'll have to watch that.

On the mod site you'll also notice that I've added a .txt file which explains how to add another site (what all my bits of code mean). Although it isn't a how-to-write regular expressions guide.

Lots of bugs fixed. Thanks to everyone who reported them. Anyone using v3.0 is probably recommended to use v3.1.

Uninstall any previous versions completely before installing v3.1


v3.1 - 13th July 2008
o Fixed so don't call function with an empty $_POST['message'] for both edits on Posting (Post.php) (Thanks Nao + others)
o Fixed Veoh - they changed their player. (Note Veoh seems to have lots of issues atm with videos not playing - its to do with their servers/script, and not this mod.)
o Added Din1031 fix for faster processing.  Stores as static arrays.
o Fixed StupidVideos.com - they changed the player link
o Added several new sites (see those on the list in bold)
o Renumbered all replacements $1, $2 etc increasing by 1 (as $1 is now the FULL raw link)
o Fixed CrunchyRoll.com (they changed their links AGAIN!)
o Added original raw link back into the post for most sites (except ones where the raw link = the embed link (eg $2))
o Added nolink variable to enable you to decide not to show links for specific sites.
o Fixed protection of [code] so don't get bbcode/links inside it
o Fixed so mod follows setting whether or not to autolinkurls
o Fixed protection script to be more optimized
o Fixed possibility of getting html link instead of expected bbcode version
o Wrote accompanying guide on how to add sites
o Fixed bug not clearing left over [/noembed]
o Fixed 2.x only edit for WYSIWYG into separate file, so 1.1.x users don't get confused and try to add it
For the full changelog for previous versions please see changelog.txt[/code]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: maddogmc on July 12, 2008, 08:34:17 PM
Hello! It's best mod for SMF!!
But russian video sites out :( Please add ru :)

http://rutube.ruformat
/tracks/841739.html?v=c9db5617390f641b1e22245ad4ce07bb

Quotehttp://video.mail.ru
format
/corp/afisha/trailers/578.html

http://vision.rambler.ruformat
/users/andreykorneevvoynar/1/1/

http://video.yandex.ruformat
/users/vladromm/view/1/

Best regards :) Sotty for english!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on July 12, 2008, 11:42:31 PM
Karlbenson,

I uninstalled v3.0, deleted it and installed v3.1. Now all the old and new Youtube vids, including in post previews, are displayed twice for each link, stacked on top of each other.

Here is an example with both Youtube and Brightcove videos:

http://weightliftingexchange.com/index.php?option=com_smf&Itemid=39&topic=4285.0

Thanks very much
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: trioptic on July 13, 2008, 06:58:27 AM
i just replaced 1.9 with the new 3.1 - and now any post message with a link to video will not show.  I have disabled it temporarily, and have gone back to 1.9
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: jepot5 on July 13, 2008, 07:49:57 AM
hi mr karlbenson
is the [url] issue inside the code tag fixed?


nvm
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wtt on July 13, 2008, 09:28:57 AM
It is a fantastic feature. How could I add those to the html code or php code, so I can add video to an Amazon type of product comment with video? Can anyone help me?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on July 13, 2008, 10:48:10 AM
After installing 3.1 this error shows up in my 1.1.5 error log, for every video opened:

2: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Unknown modifier '1'
File: /Applications/MAMP/htdocs/smf/Sources/Subs.php
Line: 1785
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 13, 2008, 11:00:13 AM
Thx guys.  Big apologies.
It was an issue affecting users using utf8 only (which is why I missed it on final testing with 1.1.x and 2.x)

v3.1.1 now uploaded. Hopefully it should fix all these issues.

The change (which you can do manually if you like) is
Sources/Subs.php

FIND

$message = preg_replace(array('~\[quote(\s|=|\])~i','~\[\/quote\]~i'.$context['utf8']), array('[aevac][quote$1','[/quote][/aevac]'), $message);

REPLACE

$message = preg_replace(array('~\[quote(\s|=|\])~i','~\[\/quote\]~i'.($context['utf8'] ? 'u' : '')), array('[aevac][quote$1','[/quote][/aevac]'), $message);

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on July 13, 2008, 11:42:13 AM
Hmm, after installing 3.1.1 (specifically after uploading the modified post.php) posting replies no longer works on my board. After pressing submit it says the message was empty (which it wasn't). What's strange is that I have a mirror of the board locally (localhost) and that one works fine. I have a UTF8 1.1.5 install.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Angelotus on July 13, 2008, 11:45:30 AM
Is this problem common? After installing without any errors and testing a new post, I continuasly get the error: message body was empty when trying to post. It isn't empty.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on July 13, 2008, 12:41:41 PM
karlbenson,

I uninstalled 3.1, deleted it, and installed 3.11 but I still get two copies showing, one under the other, for each youtube link.

Example: http://weightliftingexchange.com/index.php?option=com_smf&Itemid=39&topic=4285.0

Thanks for any help
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: OChaos on July 13, 2008, 01:00:29 PM
Quote from: Vandaahl on July 13, 2008, 11:42:13 AM
Hmm, after installing 3.1.1 (specifically after uploading the modified post.php) posting replies no longer works on my board. After pressing submit it says the message was empty (which it wasn't). What's strange is that I have a mirror of the board locally (localhost) and that one works fine. I have a UTF8 1.1.5 install.

I noticed the same thing with my forum. I have just removed it for now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 13, 2008, 01:02:32 PM
In the new version, the original link is meant to be shown below the video.
For some reason its being converted on your forum. (but isn't on any of my three test forums).

Can you attach your Sources/Subs.php
I suspect there may be remnants of an old version.
If not I've got some bug debugging to do tonight.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on July 13, 2008, 01:05:55 PM
Quote from: karlbenson on July 13, 2008, 01:02:32 PM
In the new version, the original link is meant to be shown below the video.
For some reason its being converted on your forum. (but isn't on any of my three test forums).

That is working like it should on my forum.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on July 13, 2008, 01:25:13 PM
karlbenson, my subs.php is attached to this post.

Thanks very much for looking in to this for me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Angelotus on July 13, 2008, 01:46:27 PM
Quote from: OChaos on July 13, 2008, 01:00:29 PM
Quote from: Vandaahl on July 13, 2008, 11:42:13 AM
Hmm, after installing 3.1.1 (specifically after uploading the modified post.php) posting replies no longer works on my board. After pressing submit it says the message was empty (which it wasn't). What's strange is that I have a mirror of the board locally (localhost) and that one works fine. I have a UTF8 1.1.5 install.

I noticed the same thing with my forum. I have just removed it for now.

Me too!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Soms on July 13, 2008, 02:07:05 PM
Quote from: karlbenson on July 13, 2008, 01:02:32 PM
In the new version, the original link is meant to be shown below the video.

Hi Karl, frankly you make the best mods. However, I think showing the original link below the video defeats the whole idea of having it embed.  It is a function I think this mode can do without. That is just my humble opinion though and I might be alone in this line of thought.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on July 13, 2008, 02:10:43 PM
I agree with Soms here, the link below the video is redundant. Most of the videos have the link available either by clicking on them, or access it through a menu.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on July 13, 2008, 02:16:23 PM
I agree that the link isn't necessary. Don't mean to criticize though as this mod is awesome...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on July 13, 2008, 03:55:53 PM
I agree that the link is not necessary, but you can turn them off yourself...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: edi67 on July 13, 2008, 04:29:26 PM
Now work perfectly without old errors that i advised you but one thing this option:

Automatically link posted URLs must be ENABLED for work , i use it DISABLED and this mod NOT work may be in future you can fix this too, for use Enabled/Disabled without problem

thx for all karl
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on July 13, 2008, 04:34:32 PM
It requires it enabled because it uses SMF's auto linking feature to embed the video links.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Soms on July 13, 2008, 04:41:45 PM
Quote from: Vandaahl on July 13, 2008, 03:55:53 PM
I agree that the link is not necessary, but you can turn them off yourself...

How can this be done?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: tadi on July 13, 2008, 04:52:54 PM
Congratulations its a great mod. The perfect one.

I have two questions the first is the same as Som's   "How can this be done?" to disable the link below the video.

And the other: When someone post with a quote to a video, the video doesn't appear.

It appear only the link. Is there anything I can do for this?
(I use 1.1.5)

e.g.

quote from: ......today at 23:33:13
..........http://www.youtube.com/watch?v=u88cOsJ0E8Y (http://www.youtube.com/watch?v=u88cOsJ0E8Y)

 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on July 13, 2008, 04:54:21 PM
@tadi's second question:
I believe that's intended functionality, so that somebody doesn't quote 20 videos and crashes your browser.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 13, 2008, 08:02:22 PM
Embedding in quotes is disabled. (intended and heavily requested functionality)

The link below was also requested at least on half a dozen occasions so that if people then want to go view the comments/ratings of the video they can.
If the feeling is that its not needed, I'll remove it for the next version.
For now
Sources/Subs-AEVAC.php
FIND and REMOVE
// Include the original url (providing the link doesn't = $2 which would indicate that it its a link to the original. [most common with lookups])
// And nolink isn't set for that site
if($arr['movie'] != '$2' && empty($arr['nolink']))
$object .= '<br /><a href="$1" target="_blank" class="bbc_link new_win">$1</a>';

AND
FIND
// Add <noembed> ONLY if isn't a direct link to the flash file AND nolink isn't set
if($arr['movie'] == '$2' || !empty($arr['nolink']))
$object .= '<noembed><a href="'.$arr['movie'].'" target="_blank">'.$arr['movie'].'</a></noembed>';

REPLACE with

$object .= '<noembed><a href="'.$arr['movie'].'" target="_blank">'.$arr['movie'].'</a></noembed>';


@edi67
Your the person who reported that the mod wasn't respecting the Automatically Convert Urls setting.
The mod will work with it disabled. But any links MUST be in url bbcode in order to be LOOKEDUP OR EMBEDDED.
(The mod ONLY works with hyperlinks (matching <a href="http">...</a> in posts). So unless its active, it won't be looked up or embedded.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on July 13, 2008, 08:47:34 PM
This mod embs in the tinyportal shoutbox, anyways to make it so that it does not?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 13, 2008, 08:49:10 PM
Quote from: readme
Disabling Embedding In Specific Areas
By default embedding is disabled in signatures.
Some people requested a way to disable it for other sections such as Shoutbox.
You must find in the relevant SOURCE file where that string or data is put through the function "parse_bbc"
And on the line BEFORE it, put


$context['disableAEVAC'] = 1 ;

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on July 13, 2008, 08:54:04 PM
OK thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on July 14, 2008, 12:15:42 AM
karlbenson, thanks that fixed my problem of duplicate youtube videos. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: tadi on July 14, 2008, 05:02:26 PM
So i did remove the link below the video.
I think it is not useful, because if you click on the video in the point where is the YouTube
you go directly to link of the you tube page.

Thank you nery much for everything  :) :) :) :)

Did I mention that it is a great mod?  ;) ;) ;) ;) ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 14, 2008, 05:11:32 PM
Thx.

Disabling it for youtube would be very easy.

But my point was the vast majority of the sites do NOT link back to the page inside the player.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on July 14, 2008, 05:37:37 PM
I have a problem.
I have installed 3.0 version and now I want to update to 3.1.1.

But, when I want to uninstall there's an error.

(http://s2d2.turboimagehost.com/t/521073_1.jpg) (http://www.turboimagehost.com/p/521073/1.jpg.html)

I have tried to uninstall manualy, but then users can't post.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: tueac on July 14, 2008, 05:51:17 PM
I kept on encountering the Empty Message Error, is there anyway to solve it.

2.    Custom Action Mod    2.04    
3.    RSS Feed Poster    1.1    
4.    Global Announcements    1.0
5.    mp3 Flash Player BBC Tag (XHTML Compliant)    1.0    
6.    Downloads System    1.0.4    
7.    Ad Managment    2.3

PLease help
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on July 14, 2008, 05:58:32 PM
I think you're looking for this.

Quote from: Otterdam on July 12, 2008, 05:01:02 AM
After a fresh install of a Beta 3.1 Public forum and installing this mod, changing the message icon of a post inline (i.e. you're viewing a topic, then you click the message icon to change it) will erase the contents of the message.

I'm having a look to see why this is happening, but it's a pretty serious bug.

Edit: OK, I see what's going on. When you add your code inside the JavaScriptModify function, you assume that $_POST['message'] is set, which is only true for quick edit - not for editing the subject on a board, or changing the icon in a post. Later on, the code detects that the message is now set by the mod, and then goes ahead and overwrites your post with nothing.

The solution is to move the code up inside the if (isset($_POST['message'])) {} block like so:

if (isset($_POST['message']))
{
if ($smcFunc['htmltrim']($smcFunc['htmlspecialchars']($_POST['message'])) === '')
{
$post_errors[] = 'no_message';
unset($_POST['message']);
}
elseif (!empty($modSettings['max_messageLength']) && $smcFunc['strlen']($_POST['message']) > $modSettings['max_messageLength'])
{
$post_errors[] = 'long_message';
unset($_POST['message']);
}
else
{
$_POST['message'] = $smcFunc['htmlspecialchars']($_POST['message'], ENT_QUOTES);

preparsecode($_POST['message']);

if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '')
{
$post_errors[] = 'no_message';
unset($_POST['message']);
}
}
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
// On Quick Edit
// Lookup function to grab the actual embed url/filename
// Remove this edit to prevent doing lookups
global $sourcedir;
require_once($sourcedir .'/Subs-AEVAC.php');
// Will [url] bbcode links which aren't currently url bbcoded (so they get can get lookup/embedded by my mod)
$_POST['message'] = AutoLinkUrls($_POST['message'], true);
// Go lookup
$_POST['message'] = ObtainActualVideoAudioClips($_POST['message'], true);
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - END
}


Then it will only process the message if there is a message to be processed.

I attached my edited install.xml that I am now using in my forum.

HTH
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on July 14, 2008, 05:58:55 PM
Quote from: karlbenson on July 13, 2008, 08:02:22 PM
Embedding in quotes is disabled. (intended and heavily requested functionality)

The link below was also requested at least on half a dozen occasions so that if people then want to go view the comments/ratings of the video they can.
If the feeling is that its not needed, I'll remove it for the next version.
For now
Sources/Subs-AEVAC.php
FIND and REMOVE
// Include the original url (providing the link doesn't = $2 which would indicate that it its a link to the original. [most common with lookups])
// And nolink isn't set for that site
if($arr['movie'] != '$2' && empty($arr['nolink']))
$object .= '<br /><a href="$1" target="_blank" class="bbc_link new_win">$1</a>';

AND
FIND
// Add <noembed> ONLY if isn't a direct link to the flash file AND nolink isn't set
if($arr['movie'] == '$2' || !empty($arr['nolink']))
$object .= '<noembed><a href="'.$arr['movie'].'" target="_blank">'.$arr['movie'].'</a></noembed>';

REPLACE with

$object .= '<noembed><a href="'.$arr['movie'].'" target="_blank">'.$arr['movie'].'</a></noembed>';


@edi67
Your the person who reported that the mod wasn't respecting the Automatically Convert Urls setting.
The mod will work with it disabled. But any links MUST be in url bbcode in order to be LOOKEDUP OR EMBEDDED.
(The mod ONLY works with hyperlinks (matching <a href="http">...</a> in posts). So unless its active, it won't be looked up or embedded.

Thanks, kb!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 14, 2008, 06:44:27 PM
@AlenNS
Erase contents of the message was fixed for 3.1

@tueac
Empty message error should have been fixed for v3.1.1
If you had version 3.1 installed, did you fully uninstall v3.1 before installing 3.1.1

@AlenNS
Those changes you made would prevent it uninstalling.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on July 14, 2008, 08:27:38 PM
I have done the uninstalling, by manually remove the mod.

Now I've installed 3.1.1 and keep getting error when trying to post a video.

Quote
The following error or errors occurred while posting this message:
The message body was left empty.

And I try to post something with the url code, but it's same.

Can you help me solve this problem?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on July 14, 2008, 08:32:03 PM
Now I can't post at all!!!
It just giving same error message!

I've tried to uninstall 3.1.1 and get this message!

QuoteAn Error Has Occurred!
Hacker?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Angelotus on July 15, 2008, 01:37:44 AM
Quote from: AlenNS on July 14, 2008, 08:27:38 PM
I have done the uninstalling, by manually remove the mod.

Now I've installed 3.1.1 and keep getting error when trying to post a video.

Quote
The following error or errors occurred while posting this message:
The message body was left empty.

And I try to post something with the url code, but it's same.

Can you help me solve this problem?

Had this problem to, but still no cause/solution found for it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: trioptic on July 15, 2008, 06:59:11 AM
everything is working fine for me now with 3.1.1. (and yes, I was using UTF-8).  Thanks!

oops, I take that back, now I get "The message body was left empty." when posting as others have mentioned.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on July 15, 2008, 07:26:18 AM
I've uninstalled 3.1.1 and now I don't have any mod for video files.
Does someone trying to find solution for this problem?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 15, 2008, 07:55:29 AM
AlenNS.
As far as I'm aware there are currently NO known bugs in v3.1.1 at the moment.
I've tested it 3 times. I believe the cause of issues like empty were fixed in v3.1.1.

If you uninstalled the mod and can't post, that means that all the parts were not correctly uninstalled. (which is why I believe I can't replicate it)

I'd recommend double-checking your Subs.php and Post.php (both in Source folder).
Do a search for AEVAC and see if you find any matches for parts that didn't successfully uninstall.

If you still can't find anything in it.
Are there any errors that related to the embed mod in your smf error log?
Try attaching your Subs.php and Subs-Post.php here.
Are you using the Streaming 3 mod?

When I get back in a couple of hours I'll then take another look at the mod to see if I can find any bugs.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on July 15, 2008, 08:03:18 AM
Quote from: karlbenson on July 15, 2008, 07:55:29 AM
I'd recommend double-checking your Subs.php and Subs-Post.php (both in Source file).

Don't you mean Post.php instead of Subs-Post.php? As far as I can tell, your mod doesn't modify Subs-Posts.php?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on July 15, 2008, 08:10:22 AM
I have installed 3.1.1. again with no errors.
But then again empty body error.
Here is my Subs.php and Subs-Post.php after installing 3.1.1.

Edit: I've attached and Post.php :)
But when I try to uninstall this mod I get blank page!?!?!

It is uninstalled but should that be blank page after uninstall?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 15, 2008, 08:11:34 AM
indeed

*karl looks red faced

{edited}
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 15, 2008, 08:15:02 AM
I can't see anything in your files.

I'm just on my way out the front door. I'll be back later to spend some time trying resolve it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on July 15, 2008, 08:18:23 AM
Ok. Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MarkRH on July 15, 2008, 08:44:13 AM
Interesting... on my test forum on my local PC, I uninstalled version 3.0, then installed version 3.1.1 and I can't post.  I hit the post button and nothing.. as it turns out I have to manually stop the php-cgi.exe process using Task Manager.

Tried going back to the 3.0 version and still same problem.  I then downloaded the load.php, post.php, and subs.php from my production forum and I still can't post.. it just freezes.. which makes no sense.

I can modify an existing post, preview a post, but just not actually post or reply.

Hmmmm... odd..  wonder if something else is going on..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: farzad on July 15, 2008, 01:47:22 PM
Quote from: Vandaahl on June 30, 2008, 10:45:07 AM
Karl, could you add support for Trailer Addict (http://www.traileraddict.com/)? Seems like a nice source for high def movie trailers, and they support embedding.

yes i agree
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on July 15, 2008, 01:52:55 PM
I hope there will be some solution for our problem. :S
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MarkRH on July 15, 2008, 02:08:51 PM
Quote from: MarkRH on July 15, 2008, 08:44:13 AM
Interesting... on my test forum on my local PC, I uninstalled version 3.0, then installed version 3.1.1 and I can't post.  I hit the post button and nothing.. as it turns out I have to manually stop the php-cgi.exe process using Task Manager.

Tried going back to the 3.0 version and still same problem.  I then downloaded the load.php, post.php, and subs.php from my production forum and I still can't post.. it just freezes.. which makes no sense.

I can modify an existing post, preview a post, but just not actually post or reply.

Hmmmm... odd..  wonder if something else is going on..

Figured it out.  Had nothing to do with this mod.  My smf_messages table had an extra field in it from an old mod that used to be installed. My guess is that after I installed mysql server 5.0.45, it did not like that field getting no value during a post insert.  All I did was delete that field from the table and it all works now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 15, 2008, 05:38:01 PM
Hey guys.

v3.1.1
I've now tested the mod with utf8/non-utf8 for both 1.1.x and 2.x (with wysiwyg and without).
I cannot replicate it whatsoever.

Can those affected confirm
- they are using v3.1.1 not v3.1
- they haven't made any edits to the default code
eg disabling showing of the link below CAN cause this, if both parts aren't edited from
http://www.simplemachines.org/community/index.php?topic=200401.msg1614543#msg1614543

If its still happening
- what version of smf your using
- what content your trying to include exactly (put in code tag, so i can copy and paste to try to replicate it with your code)
- what other mods you have installed (especially the streaming 3 mod - as I'm aware of a bug with that which causes this)
- does it happen on full reply vs quick reply vs quick edit
- language of your forums

Much appreciated.

Re: TrailerAddict.com
Support for it was added in v3.1
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: trioptic on July 15, 2008, 08:23:48 PM
Quote from: AlenNS on July 15, 2008, 08:10:22 AM

when I try to uninstall this mod I get blank page!?!?!

It is uninstalled but should that be blank page after uninstall?

This happened to me as well for 3.1.1. and the previous version 3.1 - it just goes to a blank page, although it does uninstall correctly.

I am also having the empty body error

Quote from: karlbenson on July 15, 2008, 05:38:01 PM

Can those affected confirm
- they are using v3.1.1 not v3.1
- they haven't made any edits to the default code

If its still happening
- what version of smf your using
- what content your trying to include exactly (put in code tag, so i can copy and paste to try to replicate it with your code)
- what other mods you have installed (especially the streaming 3 mod - as I'm aware of a bug with that which causes this)
- does it happen on full reply vs quick reply vs quick edit
- language of your forums

- they are using v3.1.1 not v3.1
correct, although both versions gave me problems.  before upgrading, I was using 1.9 without any issues at all.

- they haven't made any edits to the default code
correct, I would be more than happy to provide you with the code for your inspection

- what version of smf your using
1.1.5

- what content your trying to include exactly (put in code tag, so i can copy and paste to try to replicate it with your code)
when submitting a new reply I can type anything.  e.g. "test" will trigger the error, as will posting a complex post with bbcode and etc.

- what other mods you have installed (especially the streaming 3 mod - as I'm aware of a bug with that which causes this)
enhanced quick reply box 2.0.2
Integrate Lightbox      1.1
Custom Profile Field Mod      3.19
reCAPTCHA for SMF      0.9.5.1
Registration Feedback      1.0.0

- does it happen on full reply vs quick reply vs quick edit
happens starting a new topic, posting a reply AND when editing (just tried all 3 now)

- language of your forums
english, with user-selectable language support enabled (if that makes a difference)

I am also using UTF-8 encoding.  Any other questions you may have that would help you out, just let me know.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: eforhan on July 16, 2008, 12:42:21 AM
3.11 on my 1.15 board. 

A poster is reporting he is unable to post a link and have a quote tag/box .  I'm not sure what it does, but that he's just not able to post at all with that combination. I also ran into a place where the "Reply" tab button would send me to an error page, but I could still post safely in the quick reply box.

1.     FlashChat Integration      1.0
2.    BoardHover Mod    1.2    
3.    ColorizePost    1.2
4.    Spoiler Show And Hide    1.0.3
5.    Auto Embed Video/Audio Clips    3.1.1    
6.    User Control Panel By Alan S    2.0    
7.    Google Member Map    0.1
8.    Enhanced Quick Reply Box 2.0.2    2.0.2
9.    Attachments Positioning    1.2    
10.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update

The only things I recall testing since updating this mod are Bookmarks and possibly the SMFArcade mod.  I updated AVEC twice (uninstallng/re-installin 3.1 and 3.11).  I also installed UserCP since then.

English, non-UTF-8 (I believe).

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: eforhan on July 16, 2008, 09:26:26 AM
As a follow-up:

I tried to access a thread and got the error.  Uninstalled AEVC, and was able to access it again.  Sure enough, a couple posts down was a post with an URL and a quote box.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on July 16, 2008, 11:20:32 AM

Hi, Karlbenson.

I'm using SMF 2.0 Beta 3.1 public.

This is the list of my packages.

   Mod Name     Version     
1.    Todays Birthday    0.1    [ Uninstall ] [ List Files ] [ Delete ]
2.    Profil Moderator Managment    1.0.0    [ Uninstall ] [ List Files ] [ Delete ]
3.    Auto Embed Video/Audio Clips    3.1.1    [ Apply Mod ] [ List Files ] [ Delete ]
4.    Frustrate Your Guests    0.2.2    [ Uninstall ] [ List Files ] [ Delete ]
5.    Users Online Today    1.5.2    [ Uninstall ] [ List Files ] [ Delete ]
6.    Pretty URLs - Base    0.8.4    [ Uninstall ] [ List Files ] [ Delete ]
7.    Enhance Recent Post    1.0    [ Uninstall ] [ List Files ] [ Delete ]
8.    Image Zoom Tag Package    1.2    [ Uninstall ] [ List Files ] [ Delete ]
9.    Posters In Recent Posts    1.1    [ Uninstall ] [ List Files ] [ Delete ]
10.    Mibbit Ajax IRC Chat Mod    1.4    [ Uninstall ] [ List Files ] [ Delete ]
11.    Recount Posts Maintenance    1.1    [ Uninstall ] [ List Files ] [ Delete ]
12.    More Spiders    1.2    [ Uninstall ] [ List Files ] [ Delete ]
13.    Topic Recent Moderation History    1.1    [ Uninstall ] [ List Files ] [ Delete ]
14.    vBulletin Style Meta Tags    1.1    [ Uninstall ] [ List Files ] [ Delete ]
15.    DeInCreasePostBox    1.3    [ Uninstall ] [ List Files ] [ Delete ]
16.    MCLegendII.2    2.0    [ Uninstall ] [ List Files ] [ Delete ]

And here are my files you asked.

If you have some time for check this out. Thanks in advance.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Hoochie Coochie Man on July 17, 2008, 08:17:51 AM
Is there any old version package?
Because I installed it manually..

And I remove some codes from subs.php with manually..

than I install latest version with admin panel.

now there is a video link under the video.. like this(attached..)..

any help would be great.. thanks..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on July 17, 2008, 08:47:13 AM
Well, I have uninstalled 3.1.1 and back 3..0 with this little modification ( http://www.simplemachines.org/community/index.php?topic=200401.msg1612818#msg1612818 ) and it works great. I don't know what is changed to 3.1.1. but it's bad mod.

@Hoochie Coochie Man I've attached you 3.0 and use above linked code modification because of quick rename topic problem. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 17, 2008, 06:42:44 PM
Well I've tested this again today. (albeit I didn't get much time testing as I'd like)
I can't see any issues with it whatsoever.

I'm going to try again tomorrow, probably installing it on one of live forums.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on July 17, 2008, 07:48:42 PM
I also had that error with "The message body was left empty" after upgrading to 3.1.1 from 2.2.
I also had  FIX MESSAGE EMPTY ERROR (http://custom.simplemachines.org/mods/index.php?mod=987)-Mod installed - after removing it everything is working fine again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: romeoyankee9 on July 17, 2008, 08:08:02 PM
I have uninstalled 3.0 and installed 3.1.1 with no issues so far whatsoever

1.     SMF Sitemap      1.2.2 
2.    RSS Feed Icon    1.1
3.    Auto Embed Video/Audio Clips    3.1.1
4.    Users Online Today Mod    1.4.0
5.    SMF Gallery Lite    1.8.3
6.    SSI Latest Members    1.0.1


I still have the issue with the smf rss feeds though...

Is there anyway to strip the coding if it is going to be exported as xml?  the code breaks for some reason if the post with the video is in the rss feed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on July 17, 2008, 08:14:17 PM
After upgrading from 2.2 to 3.3.1 i found this in my log:

2: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Unknown modifier '1'
Datei: /forum/Sources/Subs-AEVAC.php
Zeile: 1892


Line 1892:

$input = preg_replace(array('~\[quote(\s|=|\])~i','~\[\/quote\]~i'.$context['utf8']), array('[aevac][quote$1','[/quote][/aevac]'), $input);

[EdIT] Now - with v 3.3.1 enabled the users are unable to post ANY posts - they always get:
"The message body was left empty"

I use SMF 1.1.5 / UTF-8
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 17, 2008, 08:24:44 PM
Thanks allmassive.

That was a big help.
try replacing that line with
$input = preg_replace(array('~\[quote(\s|=|\])~i','~\[\/quote\]~i'.($context['utf8'] ? 'u' : '')), array('[aevac][quote$1','[/quote][/aevac]'), $input);
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on July 17, 2008, 08:31:47 PM
Works like charm now - no more errors and users are able to post.

thank YOU !
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mac_Hines on July 17, 2008, 09:17:29 PM
Hi Group -

Hope I'm posting in the right thread!

Is Auto Embed Video/Audio Clips v3.1.1 (AEVAC Mod) what I need? 

I have been using the avec_v2.2 very happily for youtube and google video embeds (see, for example, http://LibertyIsGreen.com/index.php) but can't seem to embed Ning video or slideshows (such as the one that follows):



<embed src="http://static.ning.com/pickensplan/widgets/photo/slideshowplayer/slideshowplayer.swf?v=3.4.1:6145" quality="high" alt="Photo Slideshow" width="545" height="427" allowFullScreen="true" allowScriptAccess="always" wmode="transparent"scale="noscale"FlashVars="feed_url=http%3A%2F%2Fpush%2Epickensplan%2Ecom%2Fphoto%2Fphoto%2FslideshowFeedForContributor%3FscreenName%3Dvy790y11fusf%26x%3DW3iOdZ9zyGl1UxZko4KICYgoCnYroJW1%26photo%5Fwidth%3D545%26photo%5Fheight%3D404&config_url=http%3A%2F%2Fpush%2Epickensplan%2Ecom%2Fphoto%2Fphoto%2FshowPlayerConfig%3Fx%3DW3iOdZ9zyGl1UxZko4KICYgoCnYroJW1&backgroundColor=EEEEEE&fullsize_url=http%3A%2F%2Fpush%2Epickensplan%2Ecom%2Fphoto%2Fphoto%2Fslideshow%3Ffeed%5Furl%3Dhttp%253A%252F%252Fpush%2Epickensplan%2Ecom%252Fphoto%252Fphoto%252FslideshowFeedForContributor%253FscreenName%253Dvy790y11fusf%26back%5Furl%3Dhttp%253A%252F%252Fpush%2Epickensplan%2Ecom%252Fprofiles%252Fprofile%252Fshow%253Fid%253DWilliamMcDavid%2526" class="xg_slideshow" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"> </embed><br /><small><a href="http://push.pickensplan.com/photo/photo">Find more photos like this on <em>PickensPlan</em></a></small><br />




Many thanks, as always, for the wonderful resources you provide here!!!

Rick

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on July 17, 2008, 09:18:36 PM
3.1.1 doesnt show up mp3tube.net - files - i also tried it with the included TestUrl.

Same links work with your old Mp3Tube (http://custom.simplemachines.org/mods/index.php?mod=915)-Mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: - danny on July 17, 2008, 11:37:13 PM
maybe i've misunderstood the mod, or maybe someone can correct me?

this mod will not support divx based sites, like vreel?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Hoochie Coochie Man on July 18, 2008, 05:19:09 AM
Quote from: AlenNS on July 17, 2008, 08:47:13 AM
Well, I have uninstalled 3.1.1 and back 3..0 with this little modification ( http://www.simplemachines.org/community/index.php?topic=200401.msg1612818#msg1612818 ) and it works great. I don't know what is changed to 3.1.1. but it's bad mod.

@Hoochie Coochie Man I've attached you 3.0 and use above linked code modification because of quick rename topic problem. ;)

Thank you very much @AlenNS
But I'm talkin about much older version..
There is no Subs-AEVAC.php file in that version, Codes are in subs.pbp in that version. :-\
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on July 18, 2008, 08:19:43 AM
Sorry, I wanted to help you this way. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 18, 2008, 09:18:17 AM
Right everyone. I think I've fixed the issue finally.
I appreciate the efforts of everyone who helped debug this utf8 issue.

I've hidden the link appearing below [well commented the lines out in fact] since no-one liked it.

v3.1.2 - 18th July 2008
o Fixed utf8 posting issue (this time I've really fixed it) [Big thanks to everyone who helped debug this one)
(anyone using less than v3.1.2 is recommended to uninstall their version and install the latest one)
o Fixed utf8 lookup issue (re Mp3tube, Thx AllMassive)
o Disabled the link below the video, since noone liked it (can be uncommented inside subs-aevac.php)
For the full changelog for previous versions please see changelog.txt


I would really appreciate if those having difficulties with v3.1.1 could test it and tell me whether it finally resolves it. [if not I'm going to cry {lol}]




@ Allmassive,  you seem to have spotted another utf8 issue which I've now fixed (and embedding for mp3tube works again for utf8).
Thanks again.

@~Alex 
At the moment it only supports the flash plugin, not divx.  However the mod used to support the divx plugin in order to support Stage6, however when that site went offline (and it was the only divx site supported) I removed support for it.
Other than vreel which you requested, I haven't had any other requests for divx plugin support/don't know of any other sites using it.
At the moment its not worth supporting just vreel, which seems to be a very small amateur video site.
If others request vreel/other divx sites get requested, then I might consider supporting divx again.

@Hoochie Coochie Man
yes v3.1.1 had utf8 issues. [which is why i've only got a few, rather than a gazillion people with issues with it]
Hopefully 3.1.2 fixes these issues.

@Mac_Hines
Thx for using my mod.
Ning isn't supported by my mod. {Never heard of it}
I'm not supporting slideshows {eg slideshare, slide.com}, just video/audio sites. Nor games for that matter.
Only sites listed in the readme are supported. Since v2.2 there are probably treble the no. of sites supported.

@AlenNS
Thx for posting the old v3 version for people in the meantime.  I do have almost all previous versions saved if anyone needs a copy (its just a pain to have them all on the mod site and people installing the old version)
Like I've said above, hopefully v3.1.2 will fix it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Hoochie Coochie Man on July 18, 2008, 09:32:03 AM
Thankyou very much Karl.
Now.. it works great on me :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on July 18, 2008, 09:33:16 AM
No problem Karlbenson. ;)

I'll try now new mod. Thanks for effort! :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mac_Hines on July 18, 2008, 09:40:45 AM
Quote from: karlbenson on July 18, 2008, 09:18:17 AM
@Mac_Hines
Thx for using my mod.
Ning isn't supported by my mod. {Never heard of it}
I'm not supporting slideshows {eg slideshare, slide.com}, just video/audio sites. Nor games for that matter.
Only sites listed in the readme are supported. Since v2.2 there are probably treble the no. of sites supported.
....
Like I've said above, hopefully v3.1.2 will fix it.

Many thanks Karl.  I (inartfully) grabbed 2.2 not realizing there was a 3.1.2 but I must say 2.2 has worked for me spectacularly well, with nary a hitch, in the several sites where I've used it.  I'll begin upgrading with the joyful knowledge that I am working with THE BEST!!!

P.S. Ning.com (http://www.) is Marc Andreeson's social network platform.  It's had some fits and starts but is continuously improving and is being used with good effect, for example, by http://push.pickensplan.com where T. Boone Pickens was able to launch a 40000 person network in a matter of (recent) days.  Like SimpleMachines,I consider it one of the "longer levers (http://www.math.nyu.edu/~crorres/Archimedes/Lever/LeverIntro.html)" of the Information Age.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: eforhan on July 18, 2008, 09:47:17 AM
URL + Quote box seems to be working fine again.  Thanks for fixing it so quickly.

And for the record, I kind of liked the URL under the video, but no biggie (and I saw your msg on how to re-add).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on July 18, 2008, 01:35:49 PM
I'm sorry karlbenson - mp3tube still doesnt work for me  :-X
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on July 18, 2008, 01:41:33 PM
Me neither but install mp3tube mod and you'll have it. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on July 18, 2008, 01:44:23 PM
i have it installed - but ppl are VERY lazy  ;D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 18, 2008, 01:56:58 PM
I'll look into for future versions.

Although it probably doesn't help that the site is really really slow (It might be timeout issue).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on July 18, 2008, 02:02:37 PM
True. Even with mp3tube mod it is very slow and I don't like it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 18, 2008, 02:23:01 PM
Yes, its as slow as the site its trying to grab data from.
There shouldn't be much difference between the mp3tube mod and this aevac one.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: h4lfh0nk on July 18, 2008, 03:25:42 PM
thx for this great mod, using it since Version1.9 and it's still getting better.
Also thank you for the great support  :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 18, 2008, 07:53:52 PM
Thx h4lfh0nk. :)

Well I'm glad I seem to have got the major issues fixed. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Hoochie Coochie Man on July 19, 2008, 08:44:48 AM
Hi..
I'm sorry, but yahoo is not working.. :(
For example, this video..
http://video.yahoo.com/network/100284668?v=3079115
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 19, 2008, 09:31:43 AM
Thx.
Yahoo has been a buggy site (sometimes it works, sometimes it don't).
But now it looks like they have changed their site links/player/site.

I'll look at for the next update.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Hoochie Coochie Man on July 19, 2008, 09:40:37 AM
Thank you very much Karl.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on July 19, 2008, 11:17:22 AM
Any chance of getting the old 2.2 package? (I was stupid enough to delete it...)
This version doesn't work a 100% on my server - but some threads actually started to give 404....

EDIT: Nevermind, found a backup copy of it after all. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: joephantasm on July 19, 2008, 02:42:04 PM
need alittle help i get this error after install,going  to forum to post.

Fatal error: require_once() [function.require]: Failed opening required '/home/2/e/3/12615/12615/public_html/forum/Sources/Subs-AutoEmbedVideoClips.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/2/e/3/12615/12615/public_html/forum/Sources/Subs.php on line 3044

and got this after trying to unistall

Fatal error: require_once() [function.require]: Failed opening required '/home/2/e/3/12615/12615/public_html/forum/Sources/Subs-AutoEmbedVideoClips.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/2/e/3/12615/12615/public_html/forum/Sources/Subs.php on line 3044
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: EvilDeeds on July 19, 2008, 04:14:38 PM
Hi, nice mod but it doesn't work for me! :(

I've SMF 1.1.5, why doesn't work?
The mod is installed with no errors or whatsoever..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: trioptic on July 20, 2008, 05:32:16 AM
outstanding, appears to be all fixed for me, thanks for the changes!  :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Emperium on July 20, 2008, 11:56:26 AM
GameTrailers Usermovies seem to have stopped working. I updated to the latest version of this mod but still no good.

Example of GT Regular clips (working):
http://emperium.uni.cc/forums/index.php?topic=433.0

Example of GT Usermovie clips (not working):
http://emperium.uni.cc/forums/index.php?topic=435.0

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ディン1031 on July 21, 2008, 01:30:07 AM
@Kalberson:
Can you please tell what exactly the changes are in the install.xml? (Because i've no Orginal Version of 3.1.1...)
If there are no changes than it's good and i need only to compare my file with your subs-file easier for me, because i change some of your code so that i can setup a post size limit to the paser (I've problems with your mod if i've post with more than 10000 letters, but i think it's a server related problem *g*).

Bye
DIN1031
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: joephantasm on July 21, 2008, 10:03:23 AM
Still need help please ,or does anybody have and older mod please 1.9 or 2.0 .
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 21, 2008, 10:14:37 AM
@joephantasm
You are getting that issue because you didn't uninstall previous versions of the mod.
(So its trying to call files, which have changed filename in later versions).
Between every version of my mod, you need to uninstall then reinstall the latest version.
There is no upgrade.

I've attached copies of the files (Subs.php and Load.php) which had offending parts removed. Overwrite the one on your server with these. And then all you need to do is install v3.1.2
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 21, 2008, 10:20:56 AM
@LexArma
Ok then. Nevermind. I do have backups of most earlier versions on my auto embed mod if people every need them.

@trioptic
Thx

@Emperium
Thx for bringing it to my attention, I'll look into trying to figure out why they aren't working for the next version.
They are embedding I notice, just the video isn't loading. It could be like Yahoo and they've changed their player/links format.

@ディン1031
Hey. I don't have the time to provide a changes list (and I can't remember them off hand). But I can attach the versions for you to do a diff on.

Note to everyone, the attachments are purely for doing a diff on. (to view the differences). Not to be used/installed.  v3.1.2 is the latest version available via the modsite.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Paracelsus on July 21, 2008, 10:33:19 AM
Great Mod, karlbenson. Works flawlessly ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: joephantasm on July 21, 2008, 12:18:18 PM
karlbenson thanks for the help!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: GreenBean |HH| on July 21, 2008, 01:24:07 PM
QuoteInstallation
Any previous versions of this mod MUST be uninstalled BEFORE installing this version.

Install the mod via the SMF Package Manager, and your done. It installs on ALL themes automatically as it only affects Source files.
There are NO theme edits required and there are NO language strings to translate.

Can I expand on this?  I almost didn't install it as, being a truly newbie, it wasn't installing for me...  so here is what I did to install it:

1) Go to: Download the Mod on this page: http://custom.simplemachines.org/mods/index.php?mod=977 and find the file that is ZIPPED. When downloaded, keep the file zipped on your desktop.

If you have problems downloading and keeping the file zipped (i.e., it unzips automatically), see if this is the issue: Safari (Mac): Right Click on AEVAC_v3.1.2.zip file and select 'Download Linked File'... Remember you need the original zipped file which is a folder filled with several files.

2) Go to your SMF Admin Page > Packages > Download Packages > Upload a Package and click on Choose File.  Select the zipped file from your desktop.  Click Upload.

3) Go to Browse Packages and at the bottom you'll see your Mod Package, click on Apply Mod.

4) A new page will come up.  Scroll down to very bottom and click on Install Now.

That is the installation instructions that should work for everyone.

This is a great mod and we at HackHunters (http://www.hackhunters.com) love it as we have a forum to discuss the few humorous videos we create.  This will be invaluable to us.  Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ディン1031 on July 22, 2008, 12:40:17 AM
Quote from: karlbenson on July 21, 2008, 10:20:56 AM
@ディン1031
Hey. I don't have the time to provide a changes list (and I can't remember them off hand). But I can attach the versions for you to do a diff on.
Thanks a lot =) there is the somehow lost version, now i can compare it, thanks a lot :).

Bye
DIN1031
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: leo-rcc on July 25, 2008, 09:48:08 AM
I have installed the mod through the package manager, it installed OK according to smf, but when I enter a new message with a youtube link all I get is a URL hyperlink to youtube.

Am I missing something?

SMF v1.1.5
aevac mod 3.1.2
http://www.navalism.org
Classic YaBB SE Theme as default.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 25, 2008, 10:29:18 AM
Double check manually that the edits were made.

I've seen it sometimes where it says its installed, but due to incorrect chmod or ownership of the file, it doesn't make the edit.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: leo-rcc on July 26, 2008, 09:20:26 AM
Thank you for your quick reply, I will check it out as soon as possible.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Adish - (F.L.A.M.E.R) on July 26, 2008, 03:02:25 PM
Hello,
I just read through the steps to enable disable video for certain boards or topics and posts.. but got quite confused... can you let me know the steps please.

Please tell me for Boards, Topics and Posts.. I would like to have a option in additions options if possible.

Thank you....
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 26, 2008, 03:08:03 PM
There isn't that functionality in the mod,

either disable it completely for a section (by section I mean eg in a shoutbox) with
$context['disableAEVAC'] = 1 ;

Or in an individual post disable embedding by protecting links which might otherwise embed with
[noembed]
[/noembed] bbcode tag

If you had a specific board you wanted to disable it in, you could also hack it with code by adding this into display.php
eg
global $board;
if(!empty($board) && in_array($board, array(1,2,3)))
$context['disableAEVAC'] = 1 ;
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Adish - (F.L.A.M.E.R) on July 26, 2008, 03:30:50 PM
where is this code $context['disableAEVAC'] = 1 ; acctually found ?? i m kinda not good at these things... i followed a bit but not exactly.. and thanks for your quick reply...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 26, 2008, 03:36:56 PM
That code isn't found anywhere.

Its just if you have places where you want to disable embedding, eg in a shoutbox or in tinyportal sidewindow etc, then you put that line BEFORE that mod uses the function parse_bbc, which tells my mod not to embed anything in this message.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Adish - (F.L.A.M.E.R) on July 26, 2008, 03:50:18 PM
ooh okay.. now i get it right i think... thanks...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on July 27, 2008, 08:07:25 AM
Karl, video from Brightcove still seems to be in the wrong resolution (using the latest version).

Original Brightcove video (http://www.brightcove.tv/title.jsp?title=1691159102)

With your mod (http://www.cinema-extreme.com/forum/index.php?topic=1691.0;msg=71644)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 27, 2008, 03:08:17 PM
I didn't know it was wrong (they may have changed their sizes - [all sizes were based on the sites sizes at the time I add them]

Obviously now they are using 412 x 486.

I'll remember to fix it on my next update [whenever that is]
If you really want to fix it now, you could easily change the sizes in Subs-AEVAC.php
Find brightcove, then change the sizes in the array.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on July 28, 2008, 07:11:15 AM
Thanks, I will do it myself :) I remember telling you about this in the past though ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: - danny on July 28, 2008, 11:09:01 PM
Quote from: karlbenson on July 18, 2008, 09:18:17 AM

@~Alex 
At the moment it only supports the flash plugin, not divx.  However the mod used to support the divx plugin in order to support Stage6, however when that site went offline (and it was the only divx site supported) I removed support for it.
Other than vreel which you requested, I haven't had any other requests for divx plugin support/don't know of any other sites using it.
At the moment its not worth supporting just vreel, which seems to be a very small amateur video site.
If others request vreel/other divx sites get requested, then I might consider supporting divx again.

i'd really love to get this going, vreel has got so much good content...simply perfect for my site.

is there any way you can help me make the necessary changes?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: klimon on July 29, 2008, 08:54:52 AM
Hi, Karl!  :)
Can you add russian popular video resources?
http://rutube.ru
format
/tracks/841739.html?v=c9db5617390f641b1e22245ad4ce07bb

http://video.mail.ru
format
/corp/afisha/trailers/578.html

So many russian users will be very grateful for you
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ElectricSquid on July 29, 2008, 07:35:33 PM
Thanks, Karl!!

Very smooth upgrade from v1.9.
Glad to have support for FunnyOrDie.com
That's why I upgraded (http://wherethetrailends.com/Smileys/classic/agree.gif)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: OdvkEputa on July 31, 2008, 03:50:22 PM
Hi!

Can you add this site?

http://videos.sapo.pt/

format:

http://videos.sapo.pt/iE8GzHWzlTVDzDb3ZVQf


Thank yoU!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on July 31, 2008, 03:59:15 PM
videos.sapo.pt is ALREADY supported by v3.0+
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mick. on July 31, 2008, 09:40:24 PM
karlbenson,......

I also run this website www.revflicks.com  , how can i make your mod to support my videos in your latest v3.1.2 ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 01, 2008, 06:52:45 AM
By default my mod doesn't work for videos hosted on your own site.

Quote from: readmeo Please DON'T ask me to help to make this mod support videos hosted on your OWN site.
Sorry, but I don't have the time nor the desire. You may find someone to write the regex patterns for you by posting a request in the Help Wanted board.

If you understand php regular expressions, I have posted a guide on the variables for adding sites which can be found AddingMoreSites.txt
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mick. on August 01, 2008, 07:44:29 AM
Quote from: karlbenson on August 01, 2008, 06:52:45 AM
By default my mod doesn't work for videos hosted on your own site.

Quote from: readmeo Please DON'T ask me to help to make this mod support videos hosted on your OWN site.
Sorry, but I don't have the time nor the desire. You may find someone to write the regex patterns for you by posting a request in the Help Wanted board.

Very well.

If you understand php regular expressions, I have posted a guide on the variables for adding sites which can be found AddingMoreSites.txt

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on August 03, 2008, 01:47:20 PM
I want to report a problem that happened to me since i have upgraded this mod.

Very rarely when i was quoting some posts, i was getting a server error problem and a core error file. I checked the quoted posts but i found nothing. My hosting company checked the servers but no problem too.

Finally i found that the problem was in the post.php file (sources directory).

The problem solved when i replaced the following:

// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
// On POSTING new topic/reply
// Lookup function to grab the actual embed url/filename
// Remove this edit to prevent doing lookups
global $sourcedir;
require_once($sourcedir .'/Subs-AEVAC.php');
// Will [url] bbcode links which aren't currently url bbcoded (so they get can get lookup/embedded by my mod)
$_POST['message'] = AutoLinkUrls($_POST['message'], true);
// Go lookup
$_POST['message'] = ObtainActualVideoAudioClips($_POST['message'], true);


with the previous code

// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
// On POSTING new topic/reply
// Lookup function to grab the actual embed url/filename
// Remove this edit to prevent doing lookups
if(!empty($_POST['message']))
{
require_once($sourcedir .'/Subs-AEVAC.php');
$_POST['message'] = PostingProtectAndObtain($_POST['message']);
}
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 03, 2008, 01:58:00 PM
This is the current version.
I'm confused, is the following what you replaced, or what is there now?

// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
// On POSTING new topic/reply
// Lookup function to grab the actual embed url/filename
// Remove this edit to prevent doing lookups
if(!empty($_POST['message']))
{
require_once($sourcedir .'/Subs-AEVAC.php');
$_POST['message'] = PostingProtectAndObtain($_POST['message']);
}
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - END
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on August 03, 2008, 02:37:17 PM
Now is the following:

// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
// On POSTING new topic/reply
// Lookup function to grab the actual embed url/filename
// Remove this edit to prevent doing lookups
global $sourcedir;
require_once($sourcedir .'/Subs-AEVAC.php');
// Will [url] bbcode links which aren't currently url bbcoded (so they get can get lookup/embedded by my mod)
$_POST['message'] = AutoLinkUrls($_POST['message'], true);
// Go lookup
$_POST['message'] = ObtainActualVideoAudioClips($_POST['message'], true);
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - END
// Previewing? Go back to start.
if (isset($_REQUEST['preview']))
return Post();
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 03, 2008, 02:51:18 PM
these quotes you were having trouble with

did they contain heavily nested quotes?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on August 03, 2008, 03:17:22 PM
No, nothing special.

It took me two weeks to find out what was the problem.
Finally i found out that the problem was related to the post.php. I compared one by one more that 1000 lines with my previous (back up) post php. and i found that the only difference was the mod's code. The i replaced it with my previous post.php and the problem solved.

I report it here in case someone else experiences the same problem.

It happened to me two times to quote a post and to get a server error message. Now that i replaced the post.php and have edited the mods code, i quote the same posts but no more server error messages.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on August 03, 2008, 03:27:54 PM
Try to quote the following message (in greek) to your forum.

*
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on August 03, 2008, 03:38:40 PM
Or try to quote this message

*
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Paracelsus on August 04, 2008, 10:25:58 AM
Hi Karl,

Sorry if this has been answered before (77 pages i a lot to search for). When I quote a post with a video placed with this mod, I get all this sort of code like this:

http://www.youtube.com/v/aJkOypS8K4c&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/aJkOypS8K4c&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>">http://www.youtube.com/v/aJkOypS8K4c&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/aJkOypS8K4c&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>">

Is there something I can do to avoid this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dante_Arg on August 04, 2008, 01:35:07 PM
QuoteIncrease/Decrease The Limit On The Number Embedded Objects Per Page
Too much flash can be bad for your health (eg it will crash your browser).  Thats why the limit was put in place.
IE, Firefox, Opera etc start kicking and screaming if you get over 10 objects.
Open Sources/Subs-AEVAC.php
FIND

Code:
   static $autoembedmax = 12 ;

I cant found that code, i need -1 for no limits, where is the code?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 04, 2008, 01:38:45 PM
@Paracelsus 
Are you using v3.1.2?

Quotes should not be embedded.

@brianjw
Are you reaching the limit of the number of embedded items per page?
(sometimes if you've got a tinyportal block showing recent posts, those can be included, and affect the limt)

@Dante_Arg
Sources/Subs-AEVAC.php
Line 384
   // Max auto embedded video/audio clips *per page* to avoid flash overload. It only applies to this mod, and not other video/audio mods.
   // Use -1 for no-limit (not recommended)
   static $autoembedmax = 12;
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dante_Arg on August 04, 2008, 01:43:24 PM
I found it! THANKSSSSSSSSS
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 04, 2008, 02:40:04 PM
The only difference you should get between automatically link urls enabled vs disabled, is that with it disabled, it won't embed any non-active links (aka a link which isn't between a form of [url][/url] bbcode.)

Is this on a forum without tinyportal/sidebars?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Paracelsus on August 04, 2008, 03:50:59 PM
Quote from: karlbenson on August 04, 2008, 01:38:45 PM
@Paracelsus 
Are you using v3.1.2?

Quotes should not be embedded.

Yes, karlbenson, it was actually the only version I installed. Before that I had the Youtube BBC Mod installed (still is of course ;)).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 04, 2008, 04:21:55 PM
Quote from: brianjw on August 04, 2008, 03:12:41 PM
This is on a forum with TinyPortal SideBars.

Brian, I suspect its related to TinyPortal.
Tinyportal has a habit of parsing the content of the topic, even just for recent posts in the sidebar.
It probably was resulting in you reaching the the maximum embed amount.
I'd recommend finding where tinyportal parses recent posts, and disable the embed for it using my variable.

@Paracelsus
I suspect, looking at the code, that someone posted a clip with the FULL embed code from youtube, rather than the browser/url which they are meant to use. That 'embed' code doesn't resemble that used by my mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Paracelsus on August 04, 2008, 06:02:24 PM
It's very likely, since I've not been able to reproduce it (and it actually seems to work ok with quotes ). Thanks anyway. I´ll keep you informed if something wrong comes up ;).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Paracelsus on August 05, 2008, 05:35:47 AM
Checked it thouroughly and I it was exactly what you said Karl, someone posted the embedd code instead of the regular link.

So it's nothing to do with your Mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on August 05, 2008, 06:16:39 AM
Quote from: searchgr on August 03, 2008, 02:37:17 PM
Now is the following:

// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
// On POSTING new topic/reply
// Lookup function to grab the actual embed url/filename
// Remove this edit to prevent doing lookups
global $sourcedir;
require_once($sourcedir .'/Subs-AEVAC.php');
// Will [url] bbcode links which aren't currently url bbcoded (so they get can get lookup/embedded by my mod)
$_POST['message'] = AutoLinkUrls($_POST['message'], true);
// Go lookup
$_POST['message'] = ObtainActualVideoAudioClips($_POST['message'], true);
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - END
// Previewing? Go back to start.
if (isset($_REQUEST['preview']))
return Post();


Karl, can i delete these two lines in order to avoid the 8: Undefined index: message errors?

// Will [url] bbcode links which aren't currently url bbcoded (so they get can get lookup/embedded by my mod)
   $_POST['message'] = AutoLinkUrls($_POST['message'], true);
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 05, 2008, 06:47:26 AM
You need to put if(!empty($_POST['message'])) lines around them.
As I did for v3.1.

I think whatever issue your having is to do with my protection.
Although it should not be possible for it to create a core file. Those are caused by host issues.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: yelegen on August 05, 2008, 08:02:32 AM
thank you for the great mod Ive installed it months ago all was fine till My government closed out youtube becuse of their nondiscriminate publishing anything and everything so now I cant use the mod, however because of this I created my own video site and its working fine now is it possible at least for me to have some instructions as how to install my video site.
thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on August 05, 2008, 08:10:26 AM
Quote from: karlbenson on August 05, 2008, 06:47:26 AM
You need to put if(!empty($_POST['message'])) lines around them.
As I did for v3.1.

I think whatever issue your having is to do with my protection.
Although it should not be possible for it to create a core file. Those are caused by host issues.

I copy the message and then quote it and the error appears. Is it possible to be related to the utf-8 forums?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 05, 2008, 10:28:56 AM
You need to do the !empty check for both versions of that part.
(theres one for normal posting and one for quick edit.)
Its not related to utf8. but that $_POST['message'] doesn't exist (and you'll end up with empty posts if you use quick edit).

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on August 05, 2008, 02:35:14 PM
Karl, did you try to QUOTE the following text? Any ideas why i get server error? Is it possible this problem to be related to the utf-8 forums?

Quote.....
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on August 05, 2008, 02:48:48 PM
I've tried and no errors.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on August 05, 2008, 03:15:58 PM
Did you try to quote or to post?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on August 05, 2008, 03:57:00 PM
I did. No errors.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 05, 2008, 04:12:29 PM
@searchgr
Sorry i hadn't had the chance to test it.

I have now with utf8 and non-utf8 on 1.1.x and 2.x. I can't replicate it. I can copy and paste that text.
Post it, quote it, quote it ten times over, modify it, and quote it again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on August 05, 2008, 04:30:16 PM
Thank you Karl, i just wondering what is going wrong :(  A mod corrupted file or something with the server? This happens only to some posts, not to all.....anyway, thank you again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: digit on August 06, 2008, 08:06:01 AM
PLEASE!  I need this video!  8)  ;D  :D

http://www.funnyordie.com/videos/64ad536a6d

Can someone help me add funnyordie videos to my Subs-AEVAC.php file?

Thanks in advance!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 06, 2008, 08:33:04 AM
funnyordie should already be supported
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on August 06, 2008, 09:09:27 AM
Of course it is.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: digit on August 06, 2008, 09:19:40 AM
Yeah, I was running an earlier version.  Upgrade complete. :)  Thanks for a GREAT mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PAPABEAR on August 06, 2008, 10:54:05 AM
I had this working on my 1.1.5 and since have installed a few other mods. It is not working now. Here is my mod list.

1.    TinyPortal    0.983
2.    SMF Staff Page    1.6
3.    Auto Embed Video/Audio Clips    3.1.2
4.    Global Headers Footers    1.4.1
5.    User Control Panel By Alan S    2.0
6.    Admin Notepad    1.0
7.    SMF Gallery Lite    1.8.3
8.    Member Color Link    3.0.2
9.    Remove Post Modified Time    1.2
10.    RemoveQuotedImages    1.0
11.    View Single PM    1.3
12.    Signature Settings Mod
13.    Karma Buttons    1.0
14.    SearchResultsMod    1.0
15.     Eliana Mod      2.0
16.    Poll Option in Post    1.0
17.    Copy Topics    1.4

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ElectricSquid on August 06, 2008, 12:28:13 PM
I think FunnyOrDie has a few of their vids configured differenty than the rest. I was not able to get The Landlord to work with this mod, even though all the other videos i tried worked.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 06, 2008, 12:30:17 PM
Is the link different?
Does it embed (eg its turned into an embedded object/player, but it won't play)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PAPABEAR on August 06, 2008, 01:10:19 PM
Nope...looks like a normal link and is clickable.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 06, 2008, 01:10:51 PM
can you paste me the link.
I'll take a look at it for the next version of the mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PAPABEAR on August 06, 2008, 01:25:28 PM
http://www.youtube.com/watch?v=5X_7Xt2ga
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PAPABEAR on August 06, 2008, 01:27:55 PM
nevermind...link was bad. I put in http://www.youtube.com/watch?v=5X_7Xt2ga-s&feature=related and it worked as always. Sorry. Awesome mod man.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ElectricSquid on August 06, 2008, 09:45:42 PM
The link for The Landlord is similar to all the others from FunnyOrDie. They do offer embed and direct link URLs. But even with this mod, all that shows in posts is the clickable link. I'd post the link to the funnyordie hosted version, but im out of town on business and only have this lame cellphone for net access, so i cant even get that site to load. The name of the vid is The Landlord. I'm pretty sure it is video #74. And it is a Will Ferrel exclusive posted by our bud Will himself. It is also the most watched video on their site. Thats why i think they did something wierd to it to somehow limit its use.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ElectricSquid on August 06, 2008, 09:52:06 PM
Besides that one vid, this mod works great. Thanks for such an easy to use, really cool feature for our site!! Any way you could help me add vids hosted on my ... :P Just kidding :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: danielgc on August 07, 2008, 06:09:02 PM
Hello
I just wanted to thank you for this excellent mod
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MeepZero on August 08, 2008, 11:44:40 AM
Apologies if this has been mentioned allready. But is there a way to force the videos not to auto embed and only show the link? For example, a youtube video that does not allow embedding will show up as a removed video. But if I want to post the link it still forces me to show the video feed. Is there a special setting that will let me get around that or something so I can just show the link to the site?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 08, 2008, 01:14:19 PM
use
[noembed] [/noembed] bbcode around it.

or code, quote bbcode.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dumblonde on August 08, 2008, 02:14:26 PM
F.Y.I... Karl I am not sure if redlasso made it into your last update but for your next update you can remove it.  I knew that place was too good to be true (for us TV bloggers) & 2 networks have sued them for copyright violation so redlasso has been shut down  :-[
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 08, 2008, 06:26:57 PM
thanks for letting me know.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: digit on August 12, 2008, 01:49:01 PM
Karl, can you help me embed this video (and others from nbc news?)

Thanks in advance.

http://abcnews.go.com/video/playerIndex?id=3971133
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 12, 2008, 03:23:29 PM
Looking at it, not very easily (if even at all).
They don't provide embed code, and since the site is in flash, have made it harder.
Even then they don't use friendly urls, so a lookup would be needed.

I am intending to work on this mod sometime very soon and try to optimize some things further (before adding a ******load of sites that have been requested, I'll be sure to try to support abcnews at that time)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kakkolone on August 14, 2008, 05:25:17 AM
Hi! Great Work!!

I'll tried to add more site to your contribution, but I'm not a programmator  :(..

If you explain how can I add this site for example:

URL video:
http://www.skylife.it/html/skylife/tg24/cronaca.html?idvideo=-1&refidTitle=107894title&bcId=1716480274

Code of the same Video:
<embed src="http://services.brightcove.com/services/viewer/federated_f8/1445085911" bgcolor="#FFFFFF" flashVars="videoId=1716480274&playerId=1445085911&viewerSecureGatewayURL=https://console.brightcove.com/services/amfgateway&servicesURL=http://services.brightcove.com/services&cdnURL=http://admin.brightcove.com&domain=embed&autoStart=false&" base="http://admin.brightcove.com" name="flashObj" width="486" height="412" seamlesstabbing="false" type="application/x-shockwave-flash" swLiveConnect="true" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>

Thank you!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: riker on August 14, 2008, 05:00:45 PM
The mod works for me on my FRESH upgrade to smf 2.0 but the Search no longer works with it installed.  Does anyone know whats causing this or how to fix it?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 14, 2008, 05:06:38 PM
Search works fine for me with it installed.
In fact I can't see how it would affect search.

What errors are you getting? any errors in error log?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: riker on August 15, 2008, 03:51:51 AM
Quote from: karlbenson on August 14, 2008, 05:06:38 PM
Search works fine for me with it installed.
In fact I can't see how it would affect search.

What errors are you getting? any errors in error log?

QuoteYou last search was less than 2 seconds ago. Please try again later.

That was after the 1st search   :o

Second try

QuoteInternet Explorer cannot display the webpage
   
   Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.

   What you can try:
     Diagnose Connection Problems 

     More information


As I said this was after a fresh upgrade, infact deleted the whole thing once and upgrade again from scratch just to be sure but the errors are still here
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 15, 2008, 08:22:51 AM
Thats definately not related to my mod.
You might to raise it as a separate support issue in one of the general support forums.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Lysyj on August 15, 2008, 08:49:16 AM
Hi. great mod.
i have one question: How can i add video from http://video.mail.ru ?
what kind of code i must insert in to Subs-AEVAC.php
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 15, 2008, 08:50:03 AM
Mail.ru is not currently supported.
I will try to support it in a future version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: riker on August 15, 2008, 09:17:53 AM
Quote from: karlbenson on August 15, 2008, 08:22:51 AM
Thats definately not related to my mod.
You might to raise it as a separate support issue in one of the general support forums.

Strange then because it only happens when the mod is installed.  Also as I've said I deleted everything on the server and tried another fresh upgrade to SMF 2.0 and it done exactly the same thing
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Alan G on August 15, 2008, 09:47:09 AM
Is there a problem with the iplayer embedding? i can't seem to get them to embed although a lot of other oens i've tried are working ok.

Great mod btw, excellent work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 15, 2008, 03:34:55 PM
Do any of the other ones in red work? Like Imeem?
BBC Iplayer will only work with 'lookups'.

What is the link that you are trying to embed?
Does it embed as as an object (but doesn't play) or does it remain as a text link?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Alan G on August 15, 2008, 03:40:15 PM
Yeah imeem is working ok, here's an example link that doesn't work for iplayer - and it's just not converting the links at all.

http://www.bbc.co.uk/iplayer/episode/b007jf5s/

Thanks for the fast response, appreciated.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 15, 2008, 03:44:15 PM
AHH. It looks like BBC have changed the iplayer links, they used to be in the format
http://(?:www\.)?bbc\.co\.uk/iplayer/page/item/([a-z0-9]{8})\.shtml

If you use, this, it should embed for now.
http://www.bbc.co.uk/iplayer/page/item/b007jf5s.shtml

I'll look to support the new format in the next update (when i get around to it)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: _Anthony_ on August 16, 2008, 04:13:02 AM
This messes up SSI.php
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Lysyj on August 16, 2008, 05:04:54 AM
this is a link for mail.ru video
LYSYJ81 is a login of author

http://video.mail.ru/mail/lysyj81/28/v-33.flv

These information can change:
lysyj81
28
33



Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 16, 2008, 12:43:58 PM
Quote from: (Anthony) on August 16, 2008, 04:13:02 AM
This messes up SSI.php

How so?
I've tested it with ssi and it works fine. (in fact alot of people use the mod because it will work with ssi without further edits)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mursalat on August 17, 2008, 09:39:33 AM
before i install this mode, i just wanted to know this:
does this mode already allow uploaded videos/ video attachments to be played,  by using some sort of bbcode or something?

if not is there going to be any?

thnx man, looks like a great mod!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 17, 2008, 09:47:46 AM
This mod currently does NOT support any locally hosted videos.
Only ones on SUPPORTED external sites eg youtube, dailymotion.

To use the mod for supported sites, post the link to the page the video is on, and it is automatically embedded into posts without the need for bbcode.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: _Anthony_ on August 17, 2008, 02:41:55 PM
Warning: preg_replace() [function.preg-replace]: Unknown modifier '1' in /homepages/23/d197961673/htdocs/justbabbelen/Sources/Subs.php on line 1718

Warning: preg_replace() [function.preg-replace]: Unknown modifier '1' in /homepages/23/d197961673/htdocs/justbabbelen/Sources/Subs.php on line 1718

Warning: preg_replace() [function.preg-replace]: Unknown modifier '1' in /homepages/23/d197961673/htdocs/justbabbelen/Sources/Subs.php on line 1718




That's what I get with SSI when I uninstall this it works fine.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 17, 2008, 04:04:01 PM
Are you using v3.1.2?
(there was a bug like that in an earlier version)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: _Anthony_ on August 17, 2008, 08:01:37 PM
Quote from: karlbenson on August 17, 2008, 04:04:01 PM
Are you using v3.1.2?
(there was a bug like that in an earlier version)
I was using 3.1
Fixed now, thnaks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ディン1031 on August 18, 2008, 09:22:23 AM
Hmmm i've follow porblem that only occour on image tags inside quotes oO.

The post look like:
[quote author=Miia link=topic=11708.msg413492#msg413492 date=1216596595]
Ich finde SIE, die tolle [i]Ziyi Zhang[/i] ganz klar am Schönsten!

[img]http://bp2.blogger.com/_HIztACxi-5A/Rd-fmT_knVI/AAAAAAAAAJU/Wiv4i6D4gEM/s400/Zhang-Ziyi-07.jpg[/img]
[/quote]
Schönes Bild von ihr.  ;D


And afterward it look like


[quote author=Miia link=topic=11708.msg413492#msg413492 date=1216596595]
Ich finde SIE, die tolle [i]Ziyi Zhang[/i] ganz klar am Schönsten!

[img]http://aevac://bp2.blogger.com/_HIztACxi-5A/Rd-fmT_knVI/AAAAAAAAAJU/Wiv4i6D4gEM/s400/Zhang-Ziyi-07.jpg[/img]
[/quote]
Schönes Bild von ihr.  ;D

I'm using SMF 1.1.5, Mod Version 3.1.2.

So now the problem is the http://aecac:// is in the image tag.

I changed the mod a little bit so that it is standard disabled *g* and only enabled on some pages (like, post, display and news). Why could this happen? Is it because i disabled it everywhere and only on some pages not?

I think this is the position of this bug :x

elseif(stripos($message, '[noembed]') !== false || stripos($message, '[aevac]') !== false || stripos($message, 'aevac://') !== false)
{
// Even if we aren't calling the function, we may still need to parse out [noembed] or [aevac] bbcode
global $sourcedir;
@require_once($sourcedir.'/Subs-AEVAC.php');
if(function_exists('AutoLinkUrls'))
{
// Remove any left-overs
$message = str_ireplace(array('[aevac]','[/aevac]', '[noembed]', '[/noembed]'), '', $message);
$message = AutoLinkUrls($message, false);
$message = str_replace('aevac://', 'http://', $message);
}
}
// Reset the status
// $context['disableAEVAC'] = 0 ;
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - END

//Sometimes this happen oO and it should normal not happen!
$message = str_replace('aevac://', '', $message);
$message = str_replace('http://http://', 'http://', $message);


I'm not sure but did smf come togther with the stripos function?
Because this function exist only in php 5 and i use php 4.
It's implemented

Currently i fix it with the last 2 lines ;). but it's not the nice way *g*

Bye
DIN1031
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 18, 2008, 11:59:30 AM
Thx Din1031.
I can't seem to replicate it at the moment, but I'm sure try to look at it/prevent it for the next version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Lysyj on August 18, 2008, 12:03:29 PM
this is a link for mail.ru video
LYSYJ81 is a login of author

http://video.mail.ru/mail/lysyj81/28/v-33.flv

These information can change:
lysyj81
28
33
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 18, 2008, 12:06:14 PM
Thanks Lysyj. I saw your post earlier, I will look to add support for it in a future version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kevlar2 on August 20, 2008, 01:32:44 AM
I'm running SMF version 1.1.5 with AEVAC_v3.1.2.

After I installed this mod, the search function on my forum began returning a "500 Internal Server Error" message, and a few topics on my forum returned the same error message (or a blank page) when opened.

I thought this might be a problem with my install, so I did a clean install of SMF, but got the same result.

I see that Riker had the same problem, but with SMF 2.0: http://www.simplemachines.org/community/index.php?topic=200401.msg1660986#msg1660986

I also tried this with AEVAC v3.0, with the same result. 

I'd like to try some older versions of this mod to see if any of them work with my forum. Could you upload them for me please?


Edit: I just tried to post a copy of one of the offending topics on your AEVAC test forum (http://www.adrevenueshare.com/index.php?board=2.0), but all I got was a blank page after posting. I think if you uninstall AEVAC, post a copy of the topic onto your forum, then reinstall AEVAC, you'll see the same kind of behavior I've been seeing on my forum.

Here it is: http://www.universalgamer.net/smf3/index.php?topic=3.msg4#new
(I uninstalled the mod so it won't crash)

I made a moderator account for you with username/pass: karlbenson/karlbenson so you can edit, copy and paste the topic.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: digit on August 20, 2008, 04:23:39 PM
I just had to UNFORTUNATELY uninstall mine...  I was getting a blank page too...  looking in my Apache log files, I noticed the following error....

child pid 17180 exit signal Segmentation fault (11)

So, I googled it and found this post...

http://www.simplemachines.org/community/index.php?topic=255942.0

Uninstalling the AEVAC Mod fixed my particular problem too.  :-(

I am not sure what's causing it - but I would REALLY like to reinstall it! 



Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 20, 2008, 05:14:15 PM
Thats 3 people I'm aware now getting that error.
So far I've been unable to replicate it whatsoever on 1.1.x/2.x utf8/nonutf8.

The only thing in common so far appears to be php 5.2.6
(One suggestion from a friend that it could be caused by php5.2.6 and zend optimizer issues, but Metallica said he wasn't using it.) (Although again, I've tested on 5.2.6 without any issues)

I am at a complete loss to resolve the issue at the moment. Metallica was trying to debug the .core file that he got, but I don't think he could find the cause. SearchGr believes he narrowed it down to function PostingProtectAndObtain($input)
(one of my functions called in that).  The only option is to disable chunks to try to narrow down the exact cause.

At the moment I am working on a new version. But not just an update. I'm trying to optimize things alot to hopefully resolve the issue.
I don't have any timeframe as to when it would be ready.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on August 20, 2008, 05:51:12 PM
I think that we have another one case, i will inform jason to let you know.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: digit on August 20, 2008, 11:07:51 PM
Quote from: karlbenson on August 20, 2008, 05:14:15 PM
The only thing in common so far appears to be php 5.2.6

I am running php 5.2.6 too.  I went back to your older version of the mod, and my problem is still resolved.  8)


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: OdvkEputa on August 22, 2008, 05:55:41 AM
I think the mod isn't working with videos.sapo.pt. Can anyone test it?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: jensvanherck on August 22, 2008, 06:49:53 AM
The cold-link embed doesnt work pls fix ty
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: humbleworld on August 23, 2008, 12:43:55 PM
I am using BlueMax Theme and I was able to install the MOD successfully, but no video appears in our forum site. What could have gone wrong?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 23, 2008, 12:48:14 PM
@OdvkEputa
What link we're you trying to use?
Is it still a link or does it embed, but not play?

@jensvanherck
What link we're you trying to use?
Is it still a link or does it embed, but not play?

@humbleworld
The mod is theme independant (should work for all as it doesn't contain any template edits)
Well theres plenty of things that could be wrong, I'll need some more info.
- What link we're you trying to embed?
- Does it remain a link or is embedded but doesn't play?
- Any errors in your error log?
- Are you using tinyportal sidebars (you may need to prevent embedding inside the sidebars).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: humbleworld on August 23, 2008, 01:25:37 PM
Hello Karl:

- What link we're you trying to embed?
Answer: Youtube videos

- Does it remain a link or is embedded but doesn't play?
Answer: It's just a clickable link without image nor a frame. Just a live link.

- Any errors in your error log?
Error is Themes/Blue_Max/style.css?fin11 (I think it's not related with your MOD)

- Are you using tinyportal sidebars (you may need to prevent embedding inside the sidebars).
No, I don't have tinyportal sidebars.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 23, 2008, 01:50:26 PM
What is the exact youtube link please.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: humbleworld on August 23, 2008, 01:56:23 PM
Sample link: http://www.youtube.com/watch?v=BsIdNkvkW2k

All YouTube links don't work, Karl.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: humbleworld on August 23, 2008, 01:58:12 PM
This was the result of the installation

1.     Execute Modification     ./Sources/Load.php     Test successful
2.    Execute Modification    ./Sources/Post.php    Test successful
3.    Execute Modification    ./Sources/Subs.php    Test successful
4.    Extract File    ./Sources/Subs-AEVAC.php

I couldn't find Subs-AEVAC.php from sources, so I manually uploaded it the sources directory.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 23, 2008, 02:44:43 PM
If the subs-aevac.php file was missing then its a good bet that the other edits weren't made by either.
Probably due to either chmod permissions or the owner.

Double-check all the edits and make the edits manually where required.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: humbleworld on August 24, 2008, 12:36:02 PM
Hello Karl,

The MOD is working well now. I just used http://www.adrevenueshare.com/parser
to manually edit all the sources files.

Thank you so much for making this MOD.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on August 24, 2008, 01:54:53 PM
Is the mod supposed to work with Imeem video? Music works, but video doesn't seem to work for me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 24, 2008, 02:56:44 PM
Imeem should work for music video and playlists.
However they do require a lookup in order to work.

I just tested that link on my test forum, and it embedded fine.

Maybe there was some slowness from imeem?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on August 24, 2008, 03:22:07 PM
Quote from: karlbenson on August 24, 2008, 02:56:44 PM
Imeem should work for music video and playlists.
However they do require a lookup in order to work.

I just tested that link on my test forum, and it embedded fine.

Maybe there was some slowness from imeem?

Actually it seems to be a browser issue for me. The video plays fine in Safari but not in FireFox 3.0.1. Maybe related to a plugin...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 24, 2008, 04:17:54 PM
Have you installed the flash plugin in firefox?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on August 24, 2008, 04:46:21 PM
Yes otherwise the Imeem music files wouldn't play either ;-) I'll try another video and deactivate Adblock Plus to see if it helps.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on August 24, 2008, 04:53:44 PM
Strange, Adblock Plus in FireFox 3 is indeed the problem. It let's through the Imeem music files but not the video's. When I turn it off both music and video work. Note that this only affects Imeem (YouTube and others work fine).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 24, 2008, 05:02:35 PM
Its probably either a false ad-detection in ad-blocker.

Other than report it to AdBlock Plus people to fix or uninstall that plugin.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: jensvanherck on August 25, 2008, 07:35:39 AM
Quote@jensvanherck
What link we're you trying to use?
Is it still a link or does it embed, but not play?

it embeds bud the player is all mest up
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 25, 2008, 09:29:00 AM
Yeah there appears to be something wrong with codelink. I think they've changed some code.

I'll fix it for the next update.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: KirkhamsEbooks on August 25, 2008, 11:07:59 PM
I'm a 49 year old man and yet I still have to say

Dude, this mod absolutely ROCKS!

I can't edit a line of php and it loaded so smooth I didn't even know it was working. It even embedded old video links I had for me

Rick
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ambientalien on August 26, 2008, 06:08:01 PM
/* _________________________ VIDEOLOG UOL _______________________________ */
         array(
            'name' => 'VideoLog UOL',
            'enabled' => 1,
            'pattern' => 'http://videolog\.uol\.com\.br\/video(?:\?|\.php\?id=)([0-9]{1,9})',
            'movie' => 'http://www.videolog.tv/swfs/externo_api.swf?v=$2',
            'width' => '512'/*'424'*/,
            'height' => '384'/*'318'*/,
            'flashvars' => 'id_video=$2',
            // mode1 > http://videolog.uol.com.br/video.php?id=326472
            // mode2 > http://videolog.uol.com.br/video?326472
         ),
/* _________________________ VIDEOLOG UOL _______________________________ */

My contribution for Videolog.tv / Videolog.uol.com.br. Thanks if you add it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 26, 2008, 06:14:49 PM
@KirkhamsEbooks
Thanks. That was my original plan with the mod.

@ambientalien
Thanks I appreciate it.  I will look to add it for the next version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on August 27, 2008, 04:42:32 AM
Quote from: humbleworld on August 23, 2008, 12:43:55 PM
I am using BlueMax Theme and I was able to install the MOD successfully, but no video appears in our forum site. What could have gone wrong?
Who's the girl in your avatar? :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mrstime on August 27, 2008, 10:45:01 PM
I installed this yesterday and tried it a few minutes ago.  It does embed the video, but the problem I have is that it embeds several of the same in the post. 

What am I doing wrong and how can I fix it.  I am using version SMF 1.1.5
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Bancherd on August 27, 2008, 11:27:57 PM
I am using an older version with SMF1.1.5, great mod!  :D

Does the current version work with SMF2beta4?  ???
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SgtMic on August 28, 2008, 01:27:32 AM
Quote from: Bancherd on August 27, 2008, 11:27:57 PM
Does the current version work with SMF2beta4?  ???


I have it on mine and no problems as of yet.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 28, 2008, 08:49:12 AM
@Bancherd 
Yes, it should work fine on 2.x beta 4.

@mrstime
What link did you post

Currently the mod only works with the AddressBar URL
eg http://www.youtube.com/watch?v=tGEz31RA4es

But DOES NOT work with
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/tGEz31RA4es&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/tGEz31RA4es&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: żνєя ησνяυżєℓιн on August 28, 2008, 09:37:10 AM
wow man sweet code, thanks very much
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mrstime on August 28, 2008, 01:17:49 PM
Quote from: karlbenson on August 28, 2008, 08:49:12 AM
@Bancherd 
Yes, it should work fine on 2.x beta 4.

@mrstime
What link did you post

Currently the mod only works with the AddressBar URL
eg http://www.youtube.com/watch?v=tGEz31RA4es

But DOES NOT work with
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/tGEz31RA4es&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/tGEz31RA4es&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>

Thank you!  That was what I did wrong, is posted the embed link. 

We are loving this mod!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: eforhan on August 28, 2008, 11:43:47 PM
I'm running 1.15 with the default theme.  Every once in awhile I'm unable to access a thread subpage and would only get an error page.   Tonight, when I couldn't access a page in a thread with a new message (several tries), I unisntalled AVEC (the latest version) and was able to access it again.

My best guess is that it's a non-video URL inside five nested quotes--at least, that was the newest message in a thread I had just previously read.

1.     Auto Embed Video/Audio Clips      3.1.2     
2.    Attachments Positioning    1.2    
3.    ColorizePost    1.2    
4.    BoardHover Mod    1.2.1    
5.    FlashChat Integration    1.0    
6.    Google Member Map    1.0 beta    
7.    Spoiler Show And Hide    1.0.3
8.    User Control Panel By Alan S    2.0
9.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0    
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: davo88 on August 29, 2008, 06:50:02 AM
Please excuse me if this question has been answered before. I searched this thread but couldn't find anything.

If I install this mod, what happens when an SMF update comes along - say from 1.1.5 to 1.1.6, or from 1.1.5 to 2.0?

Does the mod need to be uninstalled, the update performed, then the mod re-installed?

As you can tell, I haven't used mod packages before, only my own minor code edits.

Thanks, Dave
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: eforhan on August 29, 2008, 09:47:54 AM
Quote from: karlbenson on August 14, 2008, 05:06:38 PM
Search works fine for me with it installed.
In fact I can't see how it would affect search.

What errors are you getting? any errors in error log?

I've been having trouble with Search as well (1.15). 
There was one certain term which would always come up with this webpage error:

QuoteInternal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I just reinstalled the add-on to test.  Sure enough it broke the search function.  Uninstalled and it worked fine.
Like the earlier post, the search results had a quoted link inside (though a different link than the other one).

It <i>seems</i> to be intermittent.  The link in the first message was to a Prospero forum.  The link in the second was to MSNBC.  It doesn't always fail with a quoted link.  As far as I can tell,  it works fine if it's an AVEC-compatible link inside the quote, for example.

Also, no errors are reported in the server log.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SgtMic on August 29, 2008, 10:04:50 AM
Quote from: davo88 on August 29, 2008, 06:50:02 AM
Please excuse me if this question has been answered before. I searched this thread but couldn't find anything.

If I install this mod, what happens when an SMF update comes along - say from 1.1.5 to 1.1.6, or from 1.1.5 to 2.0?

Does the mod need to be uninstalled, the update performed, then the mod re-installed?

As you can tell, I haven't used mod packages before, only my own minor code edits.

Thanks, Dave


For upgrades, most mods should be uninstalled and reinstalled.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on August 29, 2008, 02:33:39 PM
eforhan 

Did you check for core dump files in your directory? I had some problems with the quoted messages too.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: eforhan on August 29, 2008, 02:48:56 PM
Searchgr,

Thanks.  I just deleted two "core" files and tried again.  No luck. 
A new core file does seem to be created after reinstalling and attempting to run a search or access the thread I previously discussed. I don't know if this is significant.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on August 29, 2008, 03:47:13 PM
If you want try the following & let me know. First back up the post.php file.

Find

// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
   // On POSTING new topic/reply
   // Lookup function to grab the actual embed url/filename
   // Remove this edit to prevent doing lookups
   if(!empty($_POST['message']))
   {
      require_once($sourcedir .'/Subs-AEVAC.php');
      $_POST['message'] = PostingProtectAndObtain($_POST['message']);
   }
   // Auto Embed Video/Audio Clips Mod (AEVAC Mod) - END



and replace with

// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
   // On POSTING new topic/reply
   // Lookup function to grab the actual embed url/filename
   // Remove this edit to prevent doing lookups
   global $sourcedir;
   require_once($sourcedir .'/Subs-AEVAC.php');
   // Will [url] bbcode links which aren't currently url bbcoded (so they get can get lookup/embedded by my mod)
   $_POST['message'] = AutoLinkUrls($_POST['message'], true);
   // Go lookup
   $_POST['message'] = ObtainActualVideoAudioClips($_POST['message'], true);
   // Auto Embed Video/Audio Clips Mod (AEVAC Mod) - END



Then try to reproduce the error.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: eforhan on August 29, 2008, 03:57:48 PM
No luck. :(  Still having the same problem, even after the changes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on August 29, 2008, 04:36:30 PM
Find this

// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
// On Quick Edit
// Lookup function to grab the actual embed url/filename
// Remove this edit to prevent doing lookups
if(!empty($_POST['message']))
{
global $sourcedir;
require_once($sourcedir .'/Subs-AEVAC.php');
$_POST['message'] = PostingProtectAndObtain($_POST['message']);
}
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - END



and replace with this

// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
// On Quick Edit
// Lookup function to grab the actual embed url/filename
// Remove this edit to prevent doing lookups
global $sourcedir;
require_once($sourcedir .'/Subs-AEVAC.php');
// Will [url] bbcode links which aren't currently url bbcoded (so they get can get lookup/embedded by my mod)
$_POST['message'] = AutoLinkUrls($_POST['message'], true);
// Go lookup
$_POST['message'] = ObtainActualVideoAudioClips($_POST['message'], true);
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - END



I'm curious to see if we have the same problem.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on August 29, 2008, 04:57:08 PM
Hi Karl,

As you might have noticed that Youtube has changed its embed code. Now it allows "Fullscreen" on embedded videos. Can you please look into it.

Thanks for your time.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: eforhan on August 29, 2008, 05:07:22 PM
searchgr: No luck with the new code.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on August 29, 2008, 05:41:01 PM
Sorry for the lack of an update.

Currently I am aware of 4 users who are having .core files created with PHP 5.2.6

I've been unable to replicate it myself, nor find the exact cause, I have been working on a new version from scratch which I hope will resolve the issue.  (I've had suggested it that it might be a bug in 5.2.6 and preg_replace_callback which this functions uses alot.)

During the update I will of course go through every post since i released v3.1.2.
One thing I have been doing is going through all existing sites, and re-checking them. Unfortunately quite alot seem to have changed. (BBC Iplayer support looks like it will have to be dropped since they changedtheir player to something i can't embed at the moment).

I don't want to give more details until its nearer ready. But it should be worth waiting for.
I don't have a time frame at the moment either.  Once I've got it ready I want to do alot of testing / benchmarking against the current version to see how it performs.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mac_Hines on September 02, 2008, 11:05:59 AM
Recently, I updated from v2.2 to v3.1.2 (I "uninstalled" 2.2 but did not delete it).  It functions terrifically well but where videos were posted prior to the upgrade an extra bit of html code is visible on published posts that is not visible if I go to modify the post).  Therefore, I cannot seem to delete the extraneous code in the ordinary course of modifying the post.  The extra code makes the video display in full screen mode.  It is great having that functionality but it just looks a bit untidy to have loose code. 

For example, see here: http://informaticsworks.com/index.php?topic=14.msg133#msg133

Is it possible to remove this code or avoid this situation in future, similar upgrade situations? (I have several forums I would like upgrade from v2.2 to v3.1.2

Thanks as always for the wonderful resources provided here.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 02, 2008, 11:13:30 AM
To me it looks like the previous version wasn't properly uninstalled.

Please can you attach
Sources/Subs.php
Sources/Subs-Aevac.php

And I should be able to confirm it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mac_Hines on September 02, 2008, 12:32:00 PM
Quote from: karlbenson on September 02, 2008, 11:13:30 AM
To me it looks like the previous version wasn't properly uninstalled.

Please can you attach
Sources/Subs.php
Sources/Subs-Aevac.php

And I should be able to confirm it.

Thanks for your help and please pardon my ineptitude.  I was only able to locate these files in my ftp folder but they are not in a format I can successfully manipulate.  I can't seem to find these files on my shared server using phpMYADMIN.  Overlooking something fundamental to be sure!  Sorry for the trouble.  If some kind soul here could give me a push in the right direction I'll return the requested information.  Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 02, 2008, 12:34:35 PM
You won't be able to find them in phpmyadmin.
Only via ftp.

Probably in your public_html folder

In the Sources folder.
Subs-Aevac.php
Subs.php

Download both your pc, then add them here as attachments.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mac_Hines on September 02, 2008, 01:03:55 PM
Hope these are the right ones!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 02, 2008, 02:35:40 PM
As I suspected, the previous version hadn't uninstalled itself properly.

try this replacing your Subs.php with this version
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mac_Hines on September 02, 2008, 03:13:25 PM
It totally worked!  Thanks Karl.  You really know your stuff! 

Will this same fix work in other forums where I have the same problem upon attempting the same upgrade?

Rick
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 02, 2008, 04:14:13 PM
It is likely caused by ownership or chmod permissions on the files which prevented smf from editing/undoing the edits which were made to the file, on uninstalling.

Therefore you might have to fix permissions or manually uninstall mods in future.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pbarney on September 02, 2008, 05:29:40 PM
How can I add MSNBC videos to the lineup?  I looked at subs-AEVAC.php but I don't know enough regex to make my own.

Here is a sample link to an MSNBC video, and it's typical of all their vids.

http://www.msnbc.msn.com/id/22425001/vp/20381145#20381145

Thanks for any help.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 02, 2008, 05:59:21 PM
I'll try to support them if possible in my next version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mac_Hines on September 03, 2008, 02:03:33 PM
Quote from: karlbenson on September 02, 2008, 02:35:40 PM
As I suspected, the previous version hadn't uninstalled itself properly.

try this replacing your Subs.php with this version

As noted in my previous post your fix worked like a charm.  However, it appears to generate some weird characters (  )in the upper left corner of my web pages, as in here: http://jurisworks.com
or here: http://AlgorithmWorks.com

I searched the weird characters and found this post in a Joomla discussion group:

http://forum.joomla.org/viewtopic.php?f=309&t=275353

It discusses a fix that I lack the sophistication to attempt.  If you have the opportunity to review and advise how I may fix I would be most grateful.

Thanks, as always

Rick
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 03, 2008, 03:43:15 PM
apologies.

try this one.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mac_Hines on September 03, 2008, 04:54:38 PM
The last file you created cleared up my problem.  Many thanks!

Rick
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: vastair on September 06, 2008, 06:45:06 PM
I get this error for 1.1.5:

"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 06, 2008, 07:05:10 PM
If you tried to downloading it via SMF web server, (that feature of smf might not work on your server)

Download directly from the mod site to your pc
then upload via Browse Packages.
and install.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: vastair on September 06, 2008, 07:26:49 PM
That's what I did I downloaded AEVAC_v3.1.2.zip from the mod site and then browse, upload, and apply mod and that is the error I get.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 06, 2008, 07:30:24 PM
Theres definately nothing wrong with the package.
Its been downloaded hundreds of times with no changes to it recently.

Double check the chmod permissions of the packages direectory is set to 777.

If that doesn't work, create a folder inside Packages called temp and chmod that to 777 aswell.

P.S have you had this issue when installed any other mods?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: vastair on September 06, 2008, 07:41:33 PM
Yes I have had this issue on other mods that mentioned it is compatible with 1.1.5. The packages directory was already 777. The temp directory is 755 and when I try to change to 777, I get this:

QuoteWarning: ftp_site() [function.ftp-site]: Could not change perms on /public_html/Packages/temp: Operation not permitted in /home/manager/public_html/includes/filesystem.inc.php on line 571
An error has occured

Unable to execute site command chmod 0777 /public_html/Packages/temp. Note that the CHMOD command is only available on Unix FTP servers, not on Windows FTP servers.



Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: sonicfetish on September 07, 2008, 04:47:01 AM
Karlbenson,

Thanks for such a useful mod.  I installed and the mod worked perfectly with YouTube on the first go.  I can't seem to get anything from Archive.org. though.  Specifically I am trying to embed an audio player.  Perhaps this is not the right mod for that?

I've scoured 83 pages of thread and can't find the answer to my dilema.  I read, in the installation instructions, and in this thread, that I have to do a 'lookup' to get the link to post.  Please excuse my ignorance but how do I do this?

I'm running SMF version 1.1.5 with AEVAC_v3.1.2

The player I am trying to embed is located at:
http://www.archive.org/details/TheMantras.2008.05.15

our site is at:
http://www.carolinalivemusic.net/forums

the ability to embed the player from Archive.org to our forums would be invaluable to our organization and visitors. 

Thanks,
Sonic
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 07, 2008, 08:27:32 AM
Only videos are currently supported from archive.org
I will see if i can support audio for future versions.

But they DO require lookups to work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: sonicfetish on September 07, 2008, 12:38:05 PM
Thanks for the quick reply... tha'ts what I was afraid of.  Does anyone know of any mods that will work with the Archive.org audio player?


I am still using the mod for videos.  So I may use it's full finctionality.  What is the 'lookup' process?

Thanks again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 07, 2008, 12:50:20 PM
If your prepared to 'fish' the actual url to the audio file out of the embed code, then it might work with an mp3 player mod.
But I don't know any that will work with archive.org's actual player.

Unfortunately Archive.org is coded in a quite annoying way which makes it difficult to embed.
Just in order to support the videos, the mod has to be grab the page, and find out the actual embed url.

Like I said though, i will try to add support for my next version that I've been working on, but it might be at least a week or more before that it released.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: sonicfetish on September 07, 2008, 01:00:16 PM
Thanks Karl,

I'll wait with patience and thank you in advance

:D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ambientalien on September 07, 2008, 01:13:21 PM
Dear karlbenson,
My petition is a mechanism to choose between (via adm?):

1 - a "normal" insertion <object>... <embed></embed></object> (like we have today)
2 - a "webstandard (http://www.alistapart.com/articles/flashsatay)" code insertion, i.e. <object type="application/ x-shockwave-flash" ...> without <embed> code, because is deprecated for xhtml and...
3 - another "webstandard" code insertion, but with Ian Hickson (http://ln.hixie.ch/?start=1081798064&count=1) technique.

Would be really nice, huh? :)
Thanks in advanced.

Cheers,
--
ambientalien
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 07, 2008, 02:02:57 PM
Unfortunately not all the browsers work properly with it.  I did investigate various methods at the time I started the mod.

For compatibility reasons.
IE (non-mac) is shown <object> & <embed>
IE Mac will only work properly with <Embed> (So is shown <embed> only)
All other browsers are only shown <embed>

Object inside object has issues which is why its 'hack' method is not used by a single video website I'm aware of.

Overall there is no perfect solution.  This is why alot of sites have started writing it in javascript.  But that just hides validation issues in javascript.

Overall thats why I chose compatibility over complete validation we use the same as SMF.  Object and embed for non-mac IE, and embed only for everyone else.

I will investigate it further, but I very much doubt I would ever add a setting for it.

It is very possible for you to customize the output of the object yourself.

(Note: things should improve for html5 with the new elements, but thats along way off being popular)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wengland on September 07, 2008, 02:56:00 PM
Silly question - how do I download this?

I select my version (1.1.5) and click the submit button, I get:

An Error Has Occurred!
Sorry, but the modification could not be parsed.

I click the link of each of the three parts and get a white screen. Tested on safari and firefox 3.x on Mac.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ambientalien on September 07, 2008, 03:08:35 PM
Quote
For compatibility reasons.

Hmmm...

Quote
IE (non-mac) is shown <object> & <embed>

XHTML need the <object> to display only. Not <embed>.

Quote
IE Mac will only work properly with <Embed> (So is shown <embed> only)

It's true.

Quote
All other browsers are only shown <embed>

It's not true. Standard compliant browsers, called KMOS, ignore <embed>, if <object> have attributes as "data" and "type".

Quote
Overall there is no perfect solution.  This is why alot of sites have started writing it in javascript.  But that just hides validation issues in javascript.

Javascript sniffer is good, but write html via JS is not good. JS need to be unobtrusive, always. :)

Cheers,

--
ambientalien
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ambientalien on September 07, 2008, 03:13:44 PM
Quote from: wengland on September 07, 2008, 02:56:00 PM
I click the link of each of the three parts and get a white screen. Tested on safari and firefox 3.x on Mac.

I'm using Firefox 3.01 on Leopard and everything ok.

--
ambientalien
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 07, 2008, 04:18:52 PM
By compatibility I don't mean with respect to valid to xhtml or html spec.  I mean that it didn't work, or had sideeffects in some browsers.

In fact one of the issues was having specified both 'data' and param movie was that some users of some browsers ended up with two embedded objects instead of one.

Like I said above, javascript just hides the validation issues.  And I am very keen to avoid using.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wengland on September 07, 2008, 05:16:24 PM
Quote from: ambientalien on September 07, 2008, 03:13:44 PM
Quote from: wengland on September 07, 2008, 02:56:00 PM
I click the link of each of the three parts and get a white screen. Tested on safari and firefox 3.x on Mac.

I'm using Firefox 3.01 on Leopard and everthing ok.

--
ambientalien

Huh - worked now - appears to have been some kind of transient failure.  Anyway, I have the mod downloaded, installed and it works GREAT!.

Thank you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ambientalien on September 07, 2008, 08:32:19 PM
Quote from: karlbenson on September 07, 2008, 04:18:52 PM
By compatibility I don't mean with respect to valid to xhtml or html spec.  I mean that it didn't work, or had sideeffects in some browsers.

Yes, of course. So, the switcher would be the best solution. If my template is xhtml 1.0 strict (the valid page by W3.org), I can remove the <embed> or just adding <!-- [if IE] --> special conditional for IE. Can I help you to do it and insert as new feature for further version?

Cheers,

--
ambientalien
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 07, 2008, 08:39:40 PM
I'm afraid I don't intend on adding such a feature.

Whilst I will look to try making it more valid (providing compatibility with all major browsers can be achieved).
I will investigate furrther

However I won't use IE hacks, or <object> inside <object>

And there is noway to get around the fact <embed> will be required in some form for legacy purposes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mikyatope on September 08, 2008, 11:09:37 AM
It's possible to make a modification of the mod to have this functionality only between bb codes like [video][*video]? 

maybe I try it my self and post it
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 08, 2008, 11:12:11 AM
No.
The entire point of this mod was to do it automatically without the need for bbcode.

There are bbcode video mods available for a few sites like youtube/metacafe etc.  And there is also the Streaming 3 mod.

However if you don't want items to embed you can use [noembed] bbcode to disable it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mikyatope on September 08, 2008, 11:20:09 AM
Ok thks !

The problem is that I put the mod in a 2 years running forum, with a lot of videos inside URL with text, especifically made that way, and all the videos were detected and the links screwed up xDDD

I think a possible suggestion for a great mod, is a bb code mod with the hability of  multiple video webs of "Auto Embed Video/Audio Clips"

How must be used the [noembed] ? inside or outside [url] ? is there a button for [noembed] in the editor?

thanks again!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 08, 2008, 11:52:33 AM
No there isn't a button for it on the editor (because I don't want to add any template edits in the mod).
whatever is inside [noembed][/noembed] is protected so you can include multiple links with bbcode.

I will never add functionality to only embed when [embed] or [video] bbcode because like I said above, it would ruin the WHOLE point of the mod.  I've used bbcode mods in the past, and I was sick of having to specify bbcode.
I wanted something that you just post the link and let it do all the work.

There is also functionality (which is disabled in code) to show the original link below the video, but I got loads of compliants about it (which was why the code for it was disabled)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Paracelsus on September 08, 2008, 03:54:05 PM
Quote from: karlbenson on August 29, 2008, 05:41:01 PM
Sorry for the lack of an update.

Currently I am aware of 4 users who are having .core files created with PHP 5.2.6

I've been unable to replicate it myself, nor find the exact cause, I have been working on a new version from scratch which I hope will resolve the issue.  (I've had suggested it that it might be a bug in 5.2.6 and preg_replace_callback which this functions uses alot.)

Put it 5... those .core files are driving me nuts. I believe they started after upgrade from PHP 4 to 5.2.6. I have already turned off queryless URLs and mod_security, but no effect so far, they just keep coming, 20Mb several times a day.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on September 08, 2008, 04:13:36 PM
 I have the same problem and the same php 5.2.6. version
I temporary use the code of the previous version

Find

// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
// On POSTING new topic/reply
// Lookup function to grab the actual embed url/filename
// Remove this edit to prevent doing lookups
if(!empty($_POST['message']))
{
require_once($sourcedir .'/Subs-AEVAC.php');
$_POST['message'] = PostingProtectAndObtain($_POST['message']);
}
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - END


Replace

// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - START
// On POSTING new topic/reply
// Lookup function to grab the actual embed url/filename
// Remove this edit to prevent doing lookups
global $sourcedir;
require_once($sourcedir .'/Subs-AEVAC.php');
// Will [url] bbcode links which aren't currently url bbcoded (so they get can get lookup/embedded by my mod)
$_POST['message'] = AutoLinkUrls($_POST['message'], true);
// Go lookup
$_POST['message'] = ObtainActualVideoAudioClips($_POST['message'], true);
// Auto Embed Video/Audio Clips Mod (AEVAC Mod) - END
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kusmierz on September 10, 2008, 04:16:11 AM
Hi all,

there is a problem with blip.tv (in address is *other* id than in swf movie file).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: theshu on September 10, 2008, 12:13:44 PM
I don't know if this is possible or not, but could you look into adding support for videos from Magnify.net.  My specific site is http://video.vfwwebcom.org on the Magnify platform.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 10, 2008, 12:39:13 PM
Even though your using the Magnify platform, all the video runs through your site, so I couldn't support all magnify in one.
A different regex would need to written for each.

For your own video sites you'll need to write your own regex patterns.
I won't be supporting them in them mod, and don't have the time nor desire to help people support their own site.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: humbleworld on September 10, 2008, 03:41:11 PM
Hello Karl,

After I successfully installed this MOD, all my forum avatars don't appear anymore. The avatars that appear are those pre-installed by SMF Default.

What could have caused it? How to fix it? Please see the forum Here (http://tubagbohol.mikeligalig.com)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 10, 2008, 04:28:59 PM
The mod doesn't affect avatars. I don't see how this mod could ever interfere with it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: theshu on September 11, 2008, 01:18:27 PM
QuoteEven though your using the Magnify platform, all the video runs through your site, so I couldn't support all magnify in one.
A different regex would need to written for each.

For your own video sites you'll need to write your own regex patterns.
I won't be supporting them in them mod, and don't have the time nor desire to help people support their own site.

I've since figured out that I can use the [html] code and mod to embed the Magnify clips.  I have no need to allow my regular users to do this so as admin, I'm all set.

Thanks for taking a look anyway.   :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Boubear on September 11, 2008, 03:07:34 PM
Strange thing is happening.  When i post the url for the youtube video, I can see the video in preview, but then when I post, I only see the link. 

Any ideal?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 11, 2008, 03:14:52 PM
Are there already 12 videos on that page?

if so you're proably reaching the hard-coded max embed limit.

This limit is put in place because at 12 videos was the point when browsers inc ie/firefox/opera all crash.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Boubear on September 11, 2008, 03:41:48 PM
No this is the first video I try!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Adish - (F.L.A.M.E.R) on September 11, 2008, 03:47:37 PM
Any idea how to embed the flash but before how to get the embed code ? any software ? anything simple leaving the viewing source and hitting a jackpot of where the video is ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 11, 2008, 05:52:30 PM
I'm not sure exactly what you are asking.

Every site is different, if they don't provide 'embed' code, then on viewing source of the page look for the start of an <embed or <object tag. However some sites use javascript which makes it alot more difficult to support them.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on September 12, 2008, 08:01:35 AM
Quote from: F.L.A.M.E.R on September 11, 2008, 03:47:37 PM
Any idea how to embed the flash but before how to get the embed code ? any software ? anything simple leaving the viewing source and hitting a jackpot of where the video is ?

Internet Explorer - View - Source
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Refalm on September 14, 2008, 02:47:16 PM
This is probably a repost, but if you want to embed clips from the South Park site www.southparkstudios.com (this is the official site), here's the code:
array(
'name' => 'South Park Studios',
'enabled' => 1,
'pattern' => 'http://(?:www\.)?southparkstudios\.com/(?:clips)/([0-9]{1,10})/',
'movie' => 'http://media.mtvnservices.com/mgid:cms:item:southparkstudios.com:$2',
'width' => '480',
'height' => '360',
// http://www.southparkstudios.com/clips/104220/
),


Edit: fixed width and height.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on September 14, 2008, 06:19:51 PM
Thanks for the udpate karlbenson   8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 14, 2008, 06:30:03 PM
Ooh thanks, i'll add that one to the next version.

Note to self: Noted all site requests upto this point.

Note everyone, If there are any further video or audio sites that you would like to be supported in the next version please post in here asap. I've already made a list of ones requested to date and will attempt to get them supported.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Refalm on September 15, 2008, 07:38:31 AM
Quote from: karlbenson on September 14, 2008, 06:30:03 PM
Ooh thanks, i'll add that one to the next version.

Note to self: Noted all site requests upto this point.

Note everyone, If there are any further video or audio sites that you would like to be supported in the next version please post in here asap. I've already made a list of ones requested to date and will attempt to get them supported.
Thanks, it's nice to see this mod being maintained, it's one of the best
Great work, we love you :)

Note that I updated the width and height, the unedited has the wrong aspect ratio (causing weird ****** on some themes).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MarChelo on September 15, 2008, 11:51:34 AM
I hope you can update this excellent mod to beta 4 soon!
Congratulations by your amazing work!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 15, 2008, 12:31:30 PM
^ mod will already work on beta
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tokzu on September 15, 2008, 01:13:08 PM
I have a problem with Blip.tv, the embed video shows a video different to which should be, for example, this link (http://blip.tv/file/1258443) it is a video of an anime, but when I embed this, it shows a video of a TV report
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 15, 2008, 01:30:26 PM
I've gone through all existing sites and re-tested, changed/fixed all of them. So it will definately be fixed for the next version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on September 15, 2008, 04:03:44 PM
Hi karlbenson, great mod by the way.
I've just tried an update but having some problems.
smf 1.1.5
Auto Embed Video Clips      1.3
Had a problem uninstalling, "1.    Execute Modification    ./Sources/Subs.php    Test failed"
Via Admin set File Attributes which usually sorts problems out with installs.
This made no difference.
Then used direct ftp access and set the Sources and ./Sources/Subs.php to 777
Then got this error "An Error Has Occurred!
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!"

I uninstalled anyway and that went ok.
Checked a previous post of mine and the vids link were still working!
Then installed the new version but new sites you've added not working.
Currently both versions not installed but I can still view my vids in my posts!
I also have a youtube and google BBC MOD installed but under "Bulletin Board Code" I've had them disabled from when I installed  "Auto Embed Video Clips 1.3" a long time ago.
Thanx for any help on this.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 15, 2008, 05:42:11 PM
It would look like the uninstaller failed to uninstall the mod properly.

The only thing I can suggest is manually uninstall the parts of the mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on September 15, 2008, 07:55:05 PM
I'll have a bash at that and let you know how it goes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Pratt on September 15, 2008, 07:57:01 PM
Great mod!
Thank you Karlbenson, youre the best :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on September 15, 2008, 10:07:57 PM
Quote from: karlbenson on September 15, 2008, 05:42:11 PM
It would look like the uninstaller failed to uninstall the mod properly.

The only thing I can suggest is manually uninstall the parts of the mod.
Manually uninstalled now new version installed and working but some sites not. I assume these might be part of the 35 that need a lookup but BBC Iplayer (UK Only) http://www.bbc.co.uk/iplayer/ and http://www.southparkstudios.com/clips/ is not working? Edit, sorry don't think you've added Southpark yet!
Thanx for any info?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 16, 2008, 01:18:33 PM
Southpark isn't added yet. It is included in the version I am working on (and have been doing for weeks).

BBC Iplayer (UK Only) unfortunately will no longer work.  They've changed their player/embedding method, and at this time I have been unable to get it work for next version either. So it may unfortunately have to be removed.]

There are also a few others which won't work anymore due to changes in the embedding/links or site is dead.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on September 16, 2008, 03:34:26 PM
Thanx for the reply and info karlbenson
I didn't know you got that working and would have updated just for iplayer!
The question is, can you miss what you never had! Yeah I think so  :'(
Would be great if you can get BBC Iplayer working again, hope you can as a couple of links from there would really add some useful info to my site.
I wonder why they changed the embedding method!! So annoying.

Keep up the good work, this mod is an amazing addition to any site, it's the Bee's Knees  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 16, 2008, 03:49:36 PM
BBC Iplayer don't allow embedding. But I managed to get it working anyway.
Essentially I think they might have changed it to make it harder to embed.

I will keep trying, but at the moment it will have to be removed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MultiformeIngegno on September 16, 2008, 05:14:13 PM
Does this MOD work with Beta 4?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 16, 2008, 05:17:38 PM
As I've stated previously, yes it will.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MultiformeIngegno on September 16, 2008, 06:08:41 PM
Wlth this MOD, if I write [url=http://youtubelink]title[/url] it displays the video directly!
I'd like to have only the link... :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 16, 2008, 06:48:36 PM
Not 100% what you are asking.

If your asking is it possible to embed without the need to put url bbcode around a link.
In order to embed, links must be ACTIVE / linked

For this reason, I recommend enabling "Automatically link posted URLs" via Admin > Posts & Topics > Bulletin Board Code).

So if you do post
http://www.youtube.com
it will automatically make it into an active link.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: autogespot.com on September 17, 2008, 03:04:19 AM
Hello Karl,

Thanks for your mod, i just donated something to your paypal account. But can you help me out? I am on SMF 1.1.6 and it says it's an old version i'm using. So i can't install it. Can you fix this? :)

*EDIT* Got it installed but not working, posting a youtube link stays a youtube link. Using DilberMC theme.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on September 17, 2008, 04:47:49 AM
Karl, is there any new version of the mod available?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MultiformeIngegno on September 17, 2008, 07:55:37 AM
Quote from: karlbenson on September 16, 2008, 06:48:36 PM
Not 100% what you are asking.
No... I mean... I'd like to post an URL without embedding.
I want to post a link like this: link (http://www.youtubeblablabla), but the MOD converts it automatically!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vandaahl on September 17, 2008, 08:24:15 AM
Quote from: lorenzone92 on September 17, 2008, 07:55:37 AM
No... I mean... I'd like to post an URL without embedding.
I want to post a link like this: link (http://www.youtubeblablabla), but the MOD converts it automatically!

"Use [noembed][/noembed] bbcode to prevent links being converted to embedded clips"
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 17, 2008, 11:22:34 AM
or put it in quotes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: autogespot.com on September 17, 2008, 11:49:06 AM
Quote from: autogespot.com on September 17, 2008, 03:04:19 AM
Hello Karl,

Thanks for your mod, i just donated something to your paypal account. But can you help me out? I am on SMF 1.1.6 and it says it's an old version i'm using. So i can't install it. Can you fix this? :)

*EDIT* Got it installed but not working, posting a youtube link stays a youtube link. Using DilberMC theme.

Nop, tried to edit it manually :{
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 17, 2008, 03:16:16 PM
You've had an old version installed?

v3.1.2 is the latest.

Attach Sources/Subs.php and I'll have a look

Any errors in your error log?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: sever2k7 on September 17, 2008, 04:37:06 PM
not work for 1.1.6
my videos is not play
not embed vimeo.com videos :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 17, 2008, 04:44:24 PM
vimeo links work for me.

What link were you trying to use?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: sever2k7 on September 17, 2008, 05:04:43 PM
Thanks Karl

i upgrade the forum software to 1.1.6
since i upgrade the forum software to 1.1.6
it cant catch the vimeo videos

video link: http://www.vimeo.com/1706797
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 17, 2008, 06:13:28 PM
That link works for me.

Is there any chance that you reaching the max limit of 12 embeds on that page.
This limit is hard-coded to prevent browsers crashing.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on September 19, 2008, 01:59:24 AM
Karl,

Youtube has taken out new embed code which enables going full screen on our sites as well now [previously full screen was only allowed on Youtube.com].

Please clarify.

Thank You.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 19, 2008, 08:41:55 AM
Fullscreen will be included in the next version.
I've already added it, as I have also done with youtube higher quality videos
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cthulhumythos on September 20, 2008, 07:42:03 PM
Hey, I love your mod, it works beautifully! But i just moved to a linux option and now i am getting the massive core (up to 10 100 meg files I just found) files in conjunction with your mod. I'm sure the answer is in this massive thread somewhere but just wondering how I can work around this for now? Is there an older version available somewhere? (I saw the posts somewhere were they stated older versions were fine).

Thank you for all your hard work, i really appreciate this mod!

:)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 20, 2008, 09:10:15 PM
cthulhumythos
Is there any possibility that you can send me of the core files.
What php version are you using?

I have been working on a new version which is in the testing stages and I'm hoping to release within the coming days. But I haven't had the chance to test it with php 5.2.6 which I believe has the bug that is causing the core files)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ruckstande on September 20, 2008, 09:38:34 PM
I'm having trouble with FunnyorDie. Anyone else?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cthulhumythos on September 21, 2008, 01:51:19 AM
Quote from: karlbenson on September 20, 2008, 09:10:15 PM
cthulhumythos
Is there any possibility that you can send me of the core files.
What php version are you using?

I will see if a core gets generated this evening and then pm a link to you. I think the massive amount of them all of sudden may have occurred in conjunction with me using an app called a1 sitemap generator. As soon as it got going crawling the forum I happened to be in ftp and saw them come up. Deleted and ten more sized 93,000 kb appeared. In the first batch 4 had been generated on the 16th and the rest during the crawl. Now nothing. I'll try to force some with the crawl if none come up tonight.

I am using php 5.2.6

I'll get back as soon as I get some core samples for you! ;)

EDIT: Running it again and nothing this time, I'll try to recreate my other steps in the morn.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on September 21, 2008, 07:14:43 AM
Quote from: cthulhumythos on September 21, 2008, 01:51:19 AM
Quote from: karlbenson on September 20, 2008, 09:10:15 PM
cthulhumythos
Is there any possibility that you can send me of the core files.
What php version are you using?


I will see if a core gets generated this evening and then pm a link to you. I think the massive amount of them all of sudden may have occurred in conjunction with me using an app called a1 sitemap generator. As soon as it got going crawling the forum I happened to be in ftp and saw them come up. Deleted and ten more sized 93,000 kb appeared. In the first batch 4 had been generated on the 16th and the rest during the crawl. Now nothing. I'll try to force some with the crawl if none come up tonight.

I am using php 5.2.6

I'll get back as soon as I get some core samples for you! ;)

EDIT: Running it again and nothing this time, I'll try to recreate my other steps in the morn.

http://www.simplemachines.org/community/index.php?topic=200401.msg1697012#msg1697012
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: tadi on September 21, 2008, 11:50:49 AM
Hello,

I use the mod and i recently update my forum to 1.1.6. Some posts with embeded you tube code, are not shown as a video, but as a link.
I use the version 3.1.1  and I see that you have a new version.
How can I make an update?
Do I have to unistall the 3.1.1  and then to put the 3.1.2 or is there another way to update the mod?

:)

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cthulhumythos on September 21, 2008, 03:13:19 PM
Quote from: searchgr on September 21, 2008, 07:14:43 AM
http://www.simplemachines.org/community/index.php?topic=200401.msg1697012#msg1697012

Thank you!!! Which php file to edit? I just got 63 100 meg files last night!!! I guess the sitemap thing did have an effect, jesus!!!! I have left one core on the server, will message link.

EDIT: OK, i figured it out, unistall, modify install.xml, reinstall, thank you! Here's hoping it works. Will pm link to core now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dblast on September 21, 2008, 07:30:02 PM
Hi I recently upgraded to 2.0 beta and installed the mod and when I post a link it just comes up as a link, no video. I also installed the youtube mod and it installed fine but no youtube button. So I can't quite figure out whats up. I apologize if this was covered I read about 50 pages then jumped ahead.

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 21, 2008, 09:44:01 PM
Are there any other videos in that topic? (are any existing ones working).
(remember there is a hard-coded limit of 12 per page)

Any errors in your smf error log related to the mod?

Manually double-check all the edits were made.
The last few times people have said it wasn't working, was due to chmod permissions that resulted in the mod not installing properly.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dblast on September 21, 2008, 10:00:45 PM
I checked the error log and this is what I saw:

    Apply Filter: Only show the errors of this type  Type of error: General
Apply Filter: Only show the error messages of this URL http://www.warrior-scholar.com/smf/index.php?action=admin;area=packages;sa=install2;package=YouTube_BBCode_v2.3.zip;pid=0
Apply Filter: Only show the errors with the same message
2: copy(/usr/local/4admin/apache/vhosts/warrior-scholar.com/httpdocs/smf/Themes/default/images/bbc/youtube.gif) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied
Apply Filter: Only show the errors from this file
File: /usr/local/4admin/apache/vhosts/warrior-scholar.com/httpdocs/smf/Sources/Subs-Package.php
Line: 1333
   
Apply Filter: Only show the error messages of this member admin    Reverse chronological order of list Today at 07:12:20 PM
Apply Filter: Only show the error messages of this IP address 96.250.82.2      Apply Filter: Only show the error messages of this session 56a147ab7e526943fb7ca0658b1bd847
     Apply Filter: Only show the errors of this type Type of error: General
Apply Filter: Only show the error messages of this URL http://www.warrior-scholar.com/smf/index.php?action=admin;area=packages;sa=install2;package=YouTube_BBCode_v2.3.zip;pid=0
Apply Filter: Only show the errors with the same message
2: gzclose(): supplied argument is not a valid stream resource
Apply Filter: Only show the errors from this file
File: /usr/local/4admin/apache/vhosts/warrior-scholar.com/httpdocs/smf/Sources/Subs-Package.php
Line: 2704

I can't make heads or tails of it. I tired changing the permission of the subs-package.php to 777 just as a shot and still no videos.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: tadi on September 22, 2008, 03:33:52 AM
Quote from: tadi on September 21, 2008, 11:50:49 AM

I use the version 3.1.1  and I see that you have a new version.
How can I make an update?
Do I have to unistall the 3.1.1  and then to put the 3.1.2 or is there another way to update the mod?

:)

So  any reply? I want the update   8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on September 22, 2008, 04:33:00 AM
Quote from: tadi on September 22, 2008, 03:33:52 AM
Quote from: tadi on September 21, 2008, 11:50:49 AM

I use the version 3.1.1  and I see that you have a new version.
How can I make an update?
Do I have to unistall the 3.1.1  and then to put the 3.1.2 or is there another way to update the mod?

:)

So  any reply? I want the update   8)
Hi, download the latest version from here and also you can check the info on the download page Re. upgrading http://custom.simplemachines.org/mods/index.php?mod=977
Quote(anyone using less than v3.1.2 is recommended to uninstall their version and install the latest one)
I'm running SMF 1.1.5 and Auto Embed 3.1.2 without any problems.
Uninstall then install new Ver. is suggested, I had to do a manual uninstall but that was due to a file permissions problem on my Server. Now working 100%  :P

Hope that helps.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JCphotog on September 22, 2008, 02:12:24 PM
Great mod.  I love it.  Is there a hack to get flickr.com videos involved?
Not my video, but here's an example:

http://www.flickr.com/photos/siefken/2551950971/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 22, 2008, 06:36:33 PM
Currently not possible.
You would need to write the regex patterns.

Flickr would also require doing a lookup to grab the actual video filename. So you would need to write regexs for that aswell.

I will try to add support for it for a future version. But it won't be the version I'm currently working on because I'm not adding any more sites to it now. So it will be the version/update after that. (if it is possible to support it)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: tadi on September 22, 2008, 07:05:03 PM
Quote from: Jaba on September 22, 2008, 04:33:00 AM
Hope that helps.

Thank You Jaba ... It works perfect   ;D

karlbenson ... great mod ( I think the best of the mods)   8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on September 22, 2008, 07:22:26 PM
Quote from: tadi on September 22, 2008, 07:05:03 PM
Quote from: Jaba on September 22, 2008, 04:33:00 AM
Hope that helps.

Thank You Jaba ... It works perfect   ;D

karlbenson ... great mod ( I think the best of the mods)   8)
Glad to help, glad you got it sorted  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on September 22, 2008, 08:42:04 PM
Quote from: ruckstande on September 20, 2008, 09:38:34 PM
I'm having trouble with FunnyorDie. Anyone else?
Me too.
Beta 3.1
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dblast on September 22, 2008, 08:50:23 PM
Hey what about me.

I checked the error log and this is what I saw:

     Apply Filter: Only show the errors of this type  Type of error: General
Apply Filter: Only show the error messages of this URL http://www.warrior-scholar.com/smf/index.php?action=admin;area=packages;sa=install2;package=YouTube_BBCode_v2.3.zip;pid=0
Apply Filter: Only show the errors with the same message
2: copy(/usr/local/4admin/apache/vhosts/warrior-scholar.com/httpdocs/smf/Themes/default/images/bbc/youtube.gif) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied
Apply Filter: Only show the errors from this file
File: /usr/local/4admin/apache/vhosts/warrior-scholar.com/httpdocs/smf/Sources/Subs-Package.php
Line: 1333
   
Apply Filter: Only show the error messages of this member admin    Reverse chronological order of list Today at 07:12:20 PM
Apply Filter: Only show the error messages of this IP address 96.250.82.2      Apply Filter: Only show the error messages of this session 56a147ab7e526943fb7ca0658b1bd847
     Apply Filter: Only show the errors of this type Type of error: General
Apply Filter: Only show the error messages of this URL http://www.warrior-scholar.com/smf/index.php?action=admin;area=packages;sa=install2;package=YouTube_BBCode_v2.3.zip;pid=0
Apply Filter: Only show the errors with the same message
2: gzclose(): supplied argument is not a valid stream resource
Apply Filter: Only show the errors from this file
File: /usr/local/4admin/apache/vhosts/warrior-scholar.com/httpdocs/smf/Sources/Subs-Package.php
Line: 2704

I can't make heads or tails of it. I tired changing the permission of the subs-package.php to 777 just as a shot and still no videos.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JCphotog on September 22, 2008, 09:39:45 PM
karlbenson:  Thanks so much for looking into this.  I still love the mod.  Many users are happy!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dblast on September 23, 2008, 12:57:44 AM
Quote from: JCphotog on September 22, 2008, 09:39:45 PM
karlbenson:  Thanks so much for looking into this.  I still love the mod.  Many users are happy!
Hey I love the idea, I'd be even happier if I could get it to work. I'm sure it's something I'm doing and not the Mod. I hope someone can help a newbie like me figure it out.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 23, 2008, 02:57:50 PM
dblast, those errors are not from this mod.
They were created on installing the YouTube mod.

If this (or the youtube mod) isn't working, please manually check all the edits were made to the relevant files.
(you can find the edits either in the package, or via the mod site page [select you version and hit submit]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: autogespot.com on September 23, 2008, 03:13:36 PM
When this mod is installed, the board won't accept post with the [+code+] tag in it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on September 23, 2008, 04:47:31 PM
Quote from: autogespot.com on September 23, 2008, 03:13:36 PM
When this mod is installed, the board won't accept post with the [+code+] tag in it.
I don't have that problem!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on September 24, 2008, 01:30:18 AM
Quote from: karlbenson on September 19, 2008, 08:41:55 AM
Fullscreen will be included in the next version.
I've already added it, as I have also done with youtube higher quality videos

Thats gonna be sweet....Great job, sir!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dblast on September 24, 2008, 07:53:35 AM
o.k I read the readme and I am a little confused. I checked for each of the files needed to edit SMF 2.0 beata 4 and could not find any files such as Modifications.{language}.php I added the gif in the babylon them folder though and still nothing.

QuoteInstallation
Any previous versions of this mod MUST be uninstalled BEFORE installing this version.

Install the mod via the SMF Package Manager, and your done. It installs on ALL themes automatically as it only affects Source files.
There are NO theme edits required and there are NO language strings to translate.

Is there something else I'm not doing? I read the readme and checked every folder it has to be some stupid newbie thing I didn't do.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 24, 2008, 08:04:26 AM
dblast. This is the the wrong support topic.

The youtube mod is found
http://custom.simplemachines.org/mods/?mod=936
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dblast on September 24, 2008, 08:15:45 AM
I don't understand I am talking about the AEVAC not the Youtube mod. The quote I supplied is directly from the AEVAC readme file.

I installed the youtube mod thinking it was needed for the upgrade to AEVAC, but obviously I was mistaken. The point is I am still having a problem getting the AEVAC up and running. Others running 2.0 seem to have no problems with it so I'm trying to figure out what I could possibly be doing wrong.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: doughty on September 24, 2008, 10:10:57 AM
Hello - first of all, fantastic mod!! - thanks

I have a question, is there any way to change the default size of the embedded vids? I would like to make them a little bit bigger,

I have searched the thread for 'size' but it does not return anything useful

Many Thanks
Chris

EDIT - don't worry, I worked it out, just need to edit the subs-AEVAC.php file, all the widths and sizes are in there for each vid type
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Plus on September 24, 2008, 12:56:07 PM
i unistall old version after install this version but now i have a big problem its not work its show video url still :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: vietboyog on September 25, 2008, 09:40:03 PM
please help, I'm trying to embed tube8.com but never get it to work, I'm newbie to php. Thanks

array(
'name' => 'tube8.com',
'enabled' => 1,
'lookup_url' => 'http://(?:www\.)?tube8\.com/(?:[0-9a-z-_]*)/(?:[0-9]{1,12})',
'lookup_regex' => '<embed src="http://(?:www\.)?tube8\.com/swf/nplayer5\.swf"  flashvars="videoUrl=http://media01\.tube8\.com/flv/(?:[0-9]{1,32})/(?:[0-9]{1,8})/(?:[0-9]{3})/(?:[0-9]{2})/(?:[0-9]{1,13})/(?:[0-9]{1,13}).flv&imageUrl=http://www\.tube8\.com/v/640x480/5183\.jpg"',

// http://www.tube8.com/share/alicia---blonde-teen/50770/
// http://media07.tube8.com/flv/f9f2b2eac7cc213e58be1641c78a9a49/48d961bc/0808/31/48ba7f1a0bc29/48ba7f1a0bc29.flv
// <embed src="(http://(?:www\.)?trtube\.com/mediaplayer_(?:[0-9]{1,2})_(?:[0-9]{1,2})\.swf\?file=http://(?:www\.)?trtube\.com/vid(?:[0-9]{1,2})?/(?:[0-9]{1,10}).flv)
),
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: chifliiiii on September 26, 2008, 03:37:55 PM
I got same problem as Plus. I uninstalled previus version of the mod because i didnt read about the 12 videos limit and i thougt something was wrong. I was using version 3.0 and it was working great. So after uninstalling i installed new version but now im only seeing links instead of embeded videos. I cant see any special error in logs.ANY CLUE?

Also i dont have the uninstall button anymore. Just the delete files ones
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 26, 2008, 05:09:23 PM
Please attach your Subs.php here and I'll take a look
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dblast on September 27, 2008, 11:33:46 PM
Here are mine.
Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: The Saviour on September 28, 2008, 12:15:11 AM
I have AVEC_V2.2 installed.

I had to install it manually.  Can someone provide me with the information I need to remove it manually?


Thanks, in advance...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kerrick on September 28, 2008, 02:26:45 AM
I just wanted to say, great mod, and thanks for making it!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 28, 2008, 01:35:10 PM
@dblast
The reason why my mod won't work is that there are no edits from my Auto Embed Video/Audio Clips mod that should have been made on install, in subs.php
For some reason  (probably chmod permissions or chown issues), no edits were made to that file.
(the youtube mod isn't even installed).

The only solution dblast, would be to MANUALLY install the mod using the edits from the mod site.

@The Saviour
I have attached v2.2. You should be able to look at the edits inside install.xml which you will have to undo. If necessary put the package through a mod parser like http://www.adrevenueshare.com/parser (http://www.adrevenueshare.com/parser)

@Kerrick
Thx

@ everyone
With regards to this mod and the new version that I have been working on.
Its almost finished, however it still appears to be causing core files on php 5.2.6. due to what appears to be a bug in php 5.2.6.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dblast on September 28, 2008, 02:26:43 PM
I unistalled changed the permissions on the sub.php reinstalled and BAM it's working now. VERY COOL! Thanks for being patient with a newbie.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: highwayfrunkis on September 28, 2008, 06:07:03 PM
I'm sure it's been mentioned in the 88 pages, but we keep getting the

"message box left empty" when someone posts a link

is there something we've done wrong? thanks!

great mod, btw!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 28, 2008, 06:34:27 PM
version of smf?
version of this mod?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: highwayfrunkis on September 28, 2008, 06:37:24 PM
sorry

1.1.6 - smf
3.1.2 - mod
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: The Saviour on September 30, 2008, 06:29:17 AM
Quote from: karlbenson on September 28, 2008, 01:35:10 PM

@The Saviour
I have attached v2.2. You should be able to look at the edits inside install.xml which you will have to undo. If necessary put the package through a mod parser like http://www.adrevenueshare.com/parser (http://www.adrevenueshare.com/parser)

Thank you...

I'm running SMF 1.1.6 and used the parser link as you recommended, however there is no 1.1.6 version for the parser...I used 1.1.5.  It refers to editing Subs-Editor.php.  This file is not available in 1.1.6.

Should I worry...or just make the other edits for uninstall and be on my way?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on September 30, 2008, 09:57:52 AM
ignore that subs-editor.php edit.
That edit is just for smf 2.x
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: The Saviour on September 30, 2008, 10:13:02 AM
Thank you, Karl...will do.

I appreciate your fast replies...you da man!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Smythe on September 30, 2008, 09:37:43 PM
Hello, I represent a group of medical professionals, in EMS. I am trying to embed this file into the SMF website for training,I want them to be able to have them view it directly from the site, instead of having to have each person download the files. Any thoughts.... its and adobe flash file I believe..... not to sure because it is an exe file.... one of the 30-40 files I need to up is attached....mess around with it and let me know if this is even possible...thanks in advance.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JimM on September 30, 2008, 10:14:00 PM
Be sure and read the info that karlbenson has provided about this mod in the first post. 

QuoteAutomatically embed video and audio clips in your SMF forum posts from OVER 130+ sites including YouTube/DailyMotion/MetaCafe/GoogleVideo/BBC Iplayer (uk only) from urls.

And this one,

QuotePlease DON'T ask me to help to make this mod support videos hosted on your OWN site.

Alternatively you could upload the video to YouTube (depending on how large it is) and then embed with this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on October 01, 2008, 06:12:33 AM
Quote from: Smythe on September 30, 2008, 09:37:43 PM
Hello, I represent a group of medical professionals, in EMS. I am trying to embed this file into the SMF website for training,I want them to be able to have them view it directly from the site, instead of having to have each person download the files. Any thoughts.... its and adobe flash file I believe..... not to sure because it is an exe file.... one of the 30-40 files I need to up is attached....mess around with it and let me know if this is even possible...thanks in advance.
Hi
Well Flash files as far as I know are always .FLA or SWF, the latter being the type you would want to embed or upload to use the Flash BBC code option in your posts or PM's
You don't need this MOD to embed Flash files!

The file you've attached would seem to be a FlashPlayer! Some sort of either self extracting or .exe Flash file player.
I don't think you can embed that directly, and using .exe files is risky as they are normally executable program files that possibly could contain a virus,,, possibly more risk!

Can you get these files in .SWF format? Then just upload to your webspace, post or upload to Google etc and then link them with the Flash BBC code button! Job done! I've just tested a .SWF file and it works fine, the .exe doesn't work because it wants to run on your PC as a program etc! I don't think this will ever work via Youtube because of the same reason!

There are tools available to convert Flash .exe files to .SWF! Just google and you will find!
Make sure you're not infringing on any copywrite before using or changing the .exe files!!

I'm pretty sure you can open .exe files in Explorer but not FF by default, but posting the .exe files would let others download them and again that might be a problem with copywrite so stick to embedding!

So, find and download a converter that can handle .exe to SWF, upload the converted .SWF file to your webspace, Google or Youtube, then embed using the BBC Flash button!

Hope that helps!

PS. You might need to turn on the Flash BBC option in Admin, I can't remember if it's on by default!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: esber on October 01, 2008, 03:17:36 PM
im trying to install this on 1.1.6...your version 3.1.2 and when i go to apply mod it says ..Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.


the error it shows is this 2. Execute Modification ./Themes/default/index.template.php Test failed

any ideas on what i need to do here?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 01, 2008, 03:25:07 PM
esber, this cannot be an issue with this mod. Because my mod does NOT have any template edits whatsoever.
nevermind ./Themes/default/index.template.php
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: esber on October 01, 2008, 03:51:45 PM
wel tats the message i recieve when i go to install it so i dunno
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 01, 2008, 04:16:40 PM
Are you sure its the Auto Embed Audio/Video Clips mod?

Can you take a screenshot of all the edits please. (the screen where it says failed)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: esber on October 01, 2008, 04:45:29 PM
seems file is too large to attach here...what is hyour email
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 01, 2008, 07:33:36 PM
Screenshots.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 01, 2008, 07:33:44 PM
Welcome everyone.

Introducing v4.0 of my Auto Embed Video/Audio Clips v4.0 (AEVAC Mod) which I have literally spent weeks writing from scratch.

What happened to the old support topic?
Well at over 1000 posts in length over the many iterations of the mod that lead us to v4.0, I decided that we should start afresh. This will make it easier for me to provide support.

For reference and support for PREv4 versions please see
The Old Support topic (http://www.simplemachines.org/community/index.php?topic=265441.0)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 01, 2008, 07:38:23 PM
Message To All

This topic had gone to over 1000 posts long over the many iterations of the mod.

I am now introducing version 4.0 which has been completely re-written from scratch.
Therefore I decided that it would be beneficial to start a fresh.

So this is the support topic for any PRE-v4.0 versions.  Eventually when I get to the point of recommend that people upgrade to v4.0, I will of course lock this topic.

The NEW support topic for version 4.0 can be found
http://www.simplemachines.org/community/index.php?topic=200401.0

And v4.0 is now available from the mod site.
http://custom.simplemachines.org/mods/index.php?mod=977

Thankyou.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shadow82x on October 01, 2008, 07:50:13 PM
Great work Karlbenson. One of my favorite mods for SMF. :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: 4Kstore on October 01, 2008, 08:28:08 PM
work perfect !!! thankss!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 01, 2008, 08:29:29 PM
@Shadow and 4kstore
Thank you very much.

*updates demo site to use v4 instead of v3.1.2
*updates own site (http://www.youposted.com/index.php?topic=41252.0) to use it aswell.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: eforhan on October 01, 2008, 08:51:24 PM
This version still has the same 404 Not Found issue as I had reported in the other thread.  I believe it fails when there is a post with a link inside of a quote.


ETA: When I enabled them to be quoted (via Admin panel), and also deleted the Core file (dated today), it seems to have taken care of the problem -- so far!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sakae on October 01, 2008, 09:00:27 PM
Awesome, just that. Installed and working on my SMF 1.1.6.

I'll translate it to portuguese (Brazil), but I have no clue how to translate the word "embed". I will talk to some good friends of mine that works with tecnology.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 01, 2008, 09:05:19 PM
@eforhan
Although I was unable to replicate the .core files etc Metallica who also had that problem has been testing the mod for me for like a week and has not reported any .core files with the new version.

Since I was unable to replicate it or determine the exact cause, I had hoped that by re-writing it entirely that I would get around the issue. Although to the best of my knowledge it is in fact a bug in php 5.2.6
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rafferty on October 01, 2008, 09:32:34 PM
hmm Hi Karl, I have used every upgrade of your mod so far and all have worked perfectly until ver 4. It installed perfectly with no errors but all I have in my embedded displays are the text HTML links.

Im using SMF 1.1.6, any ideas

ps: Karl also just noticed it's conflicting with nneonneos shoutbox mod causing the chatbox to disappear..

Error: undefined index: AEVAC
Forum/sources/subs.php
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on October 01, 2008, 10:48:15 PM
Hi I'm running SMF 1.1.5
3.1.2 working fine. Uninstalled, then installed Ver4 but all my links not working.
Uninstalled Ver4, went back to Ver 3 all links working again.
Uninstalled Ver3, installed Ver4 same problem.
Error log also produced 26 pages of this just for one post with 2 links to yourtube when Ver4 installed;
Does that every time I refresh the post.
Error log doesn't increase when the same post is viewed with Ver3.
I also have Approx 3700 pages of errors when Ver4 installed, as below or when I opened a post with clips I have embedded these get produced. The same error gets repeated many times, many pages also with the same time/date!
Quote
8: Undefined variable: message
File: /home/sites/mywebsite.com/public_html/Sources/Subs-Aevac.php
Line: 223

Install was clean no errors.
Installations actions for "Auto Embed Video/Audio Clips":
Installing this package will perform the following actions:
Type Action Description
1. Execute Code install.php
2. Execute Modification ./Sources/Load.php Test successful
3. Execute Modification ./Sources/Post.php Test successful
4. Execute Modification ./Sources/Subs.php Test successful
5. Execute Modification ./Sources/Post.php Test successful
6. Execute Modification ./Sources/ModSettings.php Test successful
7. Extract File ./Sources/Subs-Aevac.php
8. Extract File ./Sources/Subs-Aevac-Admin.php
9. Extract File ./Sources/Subs-Aevac-Sites.php
10. Extract File ./Sources/Subs-Aevac-Generated-Sites.php
11. Extract File ./Themes/default/languages/Aevac.english.php
12. Extract File ./Themes/default/languages/Aevac.english-utf8.php
13. Extract File ./Themes/default/languages/Aevac.english_british.php
14. Extract File ./Themes/default/languages/Aevac.english_british-utf8.php

Any ideas what the problem might be?
Thanx
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Simplemachines Cowboy on October 01, 2008, 11:41:40 PM
1.1.6
Did not display videos, only the html link.
Installed fine, but three errors.
Several thousand iterations in the error log.  :D

Undefined index: aevac
File: /xxxxxx/forum/Sources/Subs.php
Line: 2426

Undefined variable: message
File: /xxxxxx/forum/Sources/Subs-Aevac.php
Line: 223

And then this when I disabled the mod via admin center:
Undefined offset: 6
File: /xxxxxx/forum/Sources/Subs-Aevac-Admin.php
Line: 274

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cheffe on October 02, 2008, 02:59:10 AM
Quote from: Simplemachines Cowboy on October 01, 2008, 11:41:40 PM
1.1.6
Did not display videos, only the html link.
Installed fine, but three errors.
Several thousand iterations in the error log.  :D

Undefined index: aevac
File: /xxxxxx/forum/Sources/Subs.php
Line: 2426

Undefined variable: message
File: /xxxxxx/forum/Sources/Subs-Aevac.php
Line: 223

And then this when I disabled the mod via admin center:
Undefined offset: 6
File: /xxxxxx/forum/Sources/Subs-Aevac-Admin.php
Line: 274



I had the same Problems...

regards
Markus
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Broc Lee on October 02, 2008, 05:33:08 AM
Cool mod!!!

Thanks   :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Soms on October 02, 2008, 07:56:39 AM
I'll wait until it is no longer beta!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: edi67 on October 03, 2008, 05:06:52 AM
excellent
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on October 03, 2008, 05:13:32 AM
Quote from: 4kstore on October 01, 2008, 08:28:08 PM
work perfect !!! thankss!
Hi 4kstore
Can you please list up what SMF Version you're using and all MOD's installed, plus any other info that might be of some help in tracking down why I can't get this new Ver4 working?
If you wouldn't mind also list what versions of the following SMF File also;
Sources
Default Templates
Language Files
Current Templates

May not be related but have to start somewhere!
If anyone else could list also when they have it working what SMF your're running and MOD etc etc that might help me track down the problem I'm having?

Thanx
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: edi67 on October 03, 2008, 05:18:35 AM
Quote from: Simplemachines Cowboy on October 01, 2008, 11:41:40 PM
1.1.6
Did not display videos, only the html link.
Installed fine, but three errors.
Several thousand iterations in the error log.  :D

Undefined index: aevac
File: /xxxxxx/forum/Sources/Subs.php
Line: 2426

Undefined variable: message
File: /xxxxxx/forum/Sources/Subs-Aevac.php
Line: 223

And then this when I disabled the mod via admin center:
Undefined offset: 6
File: /xxxxxx/forum/Sources/Subs-Aevac-Admin.php
Line: 274



same problems for me with SMF 2.0 Beta 3.1 Public
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 03, 2008, 12:50:28 PM
Thanks for the bug reports.

I've now uploaded a fixed version v4.0.1

Hopefully it should fix all the issues.
(some were php4 related, which is why they had slipped my testing).

Thanks again
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: louislam123 on October 03, 2008, 03:59:09 PM
Hi. I have a question about this mod. It says it supports StageHD, but through lookup.

-What does lookup mean? How does it work?
-If I want to embed a StageHD link, do I post the URL from the browser (e.x.: http://www.stagehd.com/video/45679)?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 03, 2008, 04:03:59 PM
Yeah you post the link from the browser.
The mod will grab a copy of that page from stagehd.com and will look at the page to grab the 'actual' embed url.

It will then try to use that to embed the mod.
Note, looking up only works on posting. So it won't work on any existing links.

And will only work if lookups are enabled, and work on your server (see admin panel).

Also Note, stageHD might not be completely supportable. IIRC their files are externally hosted/ not on their own server.
So depending on the link, it may or may not work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sudhakar Arjunan on October 03, 2008, 04:05:11 PM
Hi karlbenson,

I saw in the top you are mentioning that you have spent more than a week to develope from the scratch.

A Big Thank for your Great Mod.
One of My Fav Mod ever.

Some doubt you any idea when it will be stable.
Because i have worried about the previous mods installed related to this mod like embed video mod etc.

If i install it without error, whether all the earlier version will be affected or not. I mean the youtube and other videos.
And now youtube is coming with in.youtube.com on INDIA. So could you able to added it so that everytime i need not have to delete in from the url pasted in the posting page.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: louislam123 on October 03, 2008, 04:08:03 PM
Hmm...I see that you are able to access the AEVAC settings in the admin panel. However, I cannot find it. Where can I find it in? If I can't find it, is there ea manual URL to type to get in? Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 03, 2008, 04:10:41 PM
I've spent a week testing (along with Metallica and Jade).
I spent probably end july/most of september working on it (converting/testing/checking/updating all the sites took the longest time).

I called this a beta because there could be bugs (as those I fixed above).
However I am happy enough to install it on my own forum.

All previous versions of my auto embed mod must be uninstalled before installing the mod.
Any links which embedded before should embed in the new version.
(apart from ones which need looking up)

Thx for youtube india. I'll add that in my next update.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 03, 2008, 04:11:15 PM
In SMF 1.1.x
Its admin > Features and Options > AEVAC tab

In SMF 2.x
Its Admin > Modifications > AEVAC tab
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: louislam123 on October 03, 2008, 04:34:24 PM
thanks karlbenson. I figured it was the 4.0.1 that had the menu. Uninstalled the old version and installed this right away!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 03, 2008, 04:35:46 PM
The menu is new in v4 (and upwards eg the bug fix release v4.0.1).

I've always been against adding menus due to template edits, however I was able to do it with adding any template edits.
So I finally added it in v4.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sudhakar Arjunan on October 03, 2008, 04:40:49 PM
Quote from: karlbenson on October 03, 2008, 04:10:41 PM
I've spent a week testing (along with Metallica and Jade).
I spent probably end july/most of september working on it (converting/testing/checking/updating all the sites took the longest time).

I called this a beta because there could be bugs (as those I fixed above).
However I am happy enough to install it on my own forum.

All previous versions of my auto embed mod must be uninstalled before installing the mod.
Any links which embedded before should embed in the new version.
(apart from ones which need looking up)

Thx for youtube india. I'll add that in my next update.



Ok Karlbenson,

I will be waiting for the next youtube india included and quite stable update to install it.

Thanks a lot for your valuable time you have spent on this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: louislam123 on October 03, 2008, 04:42:54 PM
When I went tot the settings, I noticed that lookups were disabled on the server. The screenshot is attached below. How do I enable it? Is this configuration SMF-sided, or is it configurable in my hosting control panel.

Edit: My PHP Safe Mode is off, and OpenBaseDir has no value.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 03, 2008, 04:50:17 PM
My mod uses SMF package functions ( fetch_web_data() )

I don't believe that you will be able to do enable the functions yourself on a shared host.
The function smf uses fsockopen which tries to get the contents of a URL, irrespective of allow_url_fopen.
Your host may have intentionally disabled these functions (for possible performance/optimization reasons).

Unfortunately the only solution I know of, would be to switch hosts.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MoreBloodWine on October 03, 2008, 05:12:12 PM
Great mod, this is what I'm primarily using it for.

http://www.eojmarket.com/index.php?board=17.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: edi67 on October 03, 2008, 05:30:42 PM
Quote from: karlbenson on October 03, 2008, 12:50:28 PM
Thanks for the bug reports.

I've now uploaded a fixed version v4.0.1

Hopefully it should fix all the issues.
(some were php4 related, which is why they had slipped my testing).

Thanks again

Good work Karl, seem working very good now ;) excellent
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on October 03, 2008, 05:50:45 PM
Great improvements Karl! But, the "Check whether Youtube videos are embeddable" doesn't appear to be working for me. What is it supposed to do? For me, it allows the post, the preview image shows, and if you click play it gives the message "We're sorry, this video is no longer available." The AEVC admin panel says it WILL work on my server. Also, the "Include the Original Link" doesn't appear to be working either, or is not supposed to do it for Youtube, Revver, or Brightcove? I don't see links for videos from those 3 sites.

Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kizer on October 03, 2008, 05:55:05 PM
You might have the same problem this guy has.
http://www.simplemachines.org/community/index.php?topic=200401.msg1734989#msg1734989
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: avelo on October 03, 2008, 06:05:05 PM
Hello (sorry for my English i'am french)...
Intalled the last version mod , and this error
Fatal error: Cannot redeclare make_pattern() (previously declared in /home/------/public_html/------/forum/Sources/Subs-AEVAC.php:1963) in /home/----/public_html/-----/forum/Sources/Subs-Aevac.php on line 926

in version v4.0.1 or v4.0.0 desintalled ...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cthulhumythos on October 03, 2008, 06:05:40 PM
Hey! Thank you so much for your hard work! I tried this out, and it works great. Except its automatically embedding a flash player for all audio files on my site. I already have dewplayer bb well established, with this mod installed it takes the podcast link and creates new player below dewplayer. I switched ALL options off but left the master on and it still autoembeds my mp3s. If i turn it off all is fine. Is this a bug or have you designed it so auto embeds mp3 links no matter what? Cause thats a prob for me. How could I modify it to stop this? Thank you for everything.  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 03, 2008, 06:16:47 PM
*looking at both issues now (I hope to fix and release v4.0.2 asap)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cthulhumythos on October 03, 2008, 06:20:43 PM
 :) Wow, fast stuff! You are one awesome individual, honestly, one of the best smf mods. Thank you again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on October 03, 2008, 06:30:58 PM
Woops! The "Fix uses of the embed html with an embeddable link" doesn't work for me either. And, by the way, I am using SMF 1.16.

Thanks Karl!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kizer on October 03, 2008, 06:36:06 PM
As it is I don't have any media files embeded, but so far it runs great. I even tried to trick it with files I know are not embedable because Youtube didn't allow it and man it threw up a URL for them unlike the older version and it works great.

Thanks for the updated version. I did notice that on some videos it puts the URL below the embeded video and some it doesn't. Bug or just the way it is? I have it checked to put the URL below too.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 03, 2008, 06:49:48 PM
@kizer
There is a setting for it in the admin.
However for sites like YouTube which have a link inside the player, I have disable it (per request).

If you wanted to make it show for ALL sites.
Open
Sources/Subs-Aevac-Sites.php

FIND ALL instances of
      'embed-nolink' => true,
REPLACE
      'embed-nolink' => false,

then go into your admin panel, and click save (to re generate the sites list)

@weightman
Re: Youtube checks. That will not work on existing posts.  It will only work on modifying existing or posting new posts.
If your still having issues with it with new posts, I'll take a look

Fix the embed html will ONLY work for the default html provided by sites.
eg youtubes
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/LnGO1L2Ed_k&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/LnGO1L2Ed_k&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>

If that setting is enabled and the replacement isn't working. I need to know the 'exact' and 'complete' embed html that was being used so that I can check it against the regex to find out why it isn't working.

@cthulhumythos  and avelo
Thx. I've now found out the cause of both these bugs, and will attempt to release a fixed version in the coming hour.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on October 03, 2008, 06:56:46 PM
QuoteRe: Youtube checks. That will not work on existing posts.  It will only work on modifying existing or posting new posts.

Yes, it didn't work on a new test post.

QuoteFix the embed html will ONLY work for the default html provided by sites.

I used the exact, uncustomized code from youtube for a test:

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/QUn0hMIMy5M&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/QUn0hMIMy5M&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 03, 2008, 07:10:03 PM
The fix html one works for me on all my test hosts. (including with that code you posted).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on October 03, 2008, 07:16:21 PM
QuoteThe fix html one works for me on all my test hosts. (including with that code you posted).

Bummer! That is a very useful feature- the most useful of the new ones for me! Tested on 1.16? I unsinstalled AEVC 3.12 with no errors, deleted, and installed 4.01 with no errors. No errors in log either.

Oh well. :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: avelo on October 03, 2008, 07:30:02 PM
thanks karlbenson , the next week, if you want the french language for the mod ..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 03, 2008, 09:12:32 PM
Ok, I've uploaded v4.0.2.

Due to SMF.org downtime I was unable to post it within the hour promised.  So here it is a couple of hours late.

---------------------------------
   v4.0.2 - 4th October 2008
---------------------------------
o Fixed PHP4 error "Cannot redeclare make_pattern()"
o Fixed local files shouldn't embed when they are disabled.
o Added Youtube India (IN) /Israel (Il) /South Korea (KR) for videos/playlists and lookup check
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rafferty on October 03, 2008, 09:46:25 PM
All working fine here now Karl tyvm
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on October 03, 2008, 10:01:37 PM
All seems to be working perfectly now, gr8 work karlbenson  8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cthulhumythos on October 03, 2008, 10:25:42 PM
Thanks karl, I uninstalled, and installed 4.0.2. Unfortunately it is still exhibiting the same behaviour. The mp3 links are on my server but not attachments, they are full links. It is grabbing the link in the podcast portion of dewplayer and creating a player below. And again, it is automatically embedding an mp3 file (any link on my server (aiwazz.com), but not links outside of my server, i tested, see last two snaps, second to last being the bbcode for the last)) even with all settings switched off except for the master. Sorry, i should have been more clear, thanks again.

(i have changed snap names to reflect their order as attachments here)

Snap 1: Settings off except master

Snap 2: Grabbing podcast link and creating player below dewplayer for file on my server with full url in dewplayer bbcode.

Snap 3: Code for Snap 4

Snap 4: Autoembedding links on my server but not links outside of my server.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on October 03, 2008, 10:27:10 PM
No change for me.

Thanks Karl.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Simplemachines Cowboy on October 03, 2008, 11:12:56 PM
Thanks Karl, the latest version solved my issues.

Works like a charm!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on October 03, 2008, 11:32:06 PM
Excellent, thanks Karl!   8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on October 04, 2008, 03:21:24 PM
how to embed my local files ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 04, 2008, 04:28:14 PM
Enable the type you want to embed eg .divx files enable .divx setting.

then post the link in the topic
eg

http://www.yoursite.com/files/myfile.divx

Note, it won't work with any urls with querystring in, nor attachments.
It has to be a direct link to the file. AND the file MUST be local. (on the SAME DOMAIN as the forum)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on October 04, 2008, 04:43:50 PM
i'm enable .mp3 urls.

i'm trying post "http://www.kayserock.com/mp3/bakisacisi.mp3" but not embedding.
(i'm not try local files? in rockayseri.net)

demo : http://www.rockayseri.net/rk/index.php?topic=7803.msg39435#msg39435

Edit: im understand this. but i want external link embedded. how can do this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 04, 2008, 04:59:00 PM
It will not work for files not on your domain. (Its for local files only)
This is for security reasons.
And I have no intention of allowing any mp3 (other files) from anywhere to embed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: louislam123 on October 04, 2008, 05:15:56 PM
Quote from: karlbenson on October 03, 2008, 04:50:17 PM
My mod uses SMF package functions ( fetch_web_data() )

I don't believe that you will be able to do enable the functions yourself on a shared host.
The function smf uses fsockopen which tries to get the contents of a URL, irrespective of allow_url_fopen.
Your host may have intentionally disabled these functions (for possible performance/optimization reasons).

Unfortunately the only solution I know of, would be to switch hosts.

I have asked my webhost this, and as far as he knows, all of them meet the requirements. However, I still cannot perform lookups.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 04, 2008, 05:21:29 PM
Check whether this image exists.
Themes/default/images/smflogo.gif
(this is the image the mod attempts to get in order to check whether the function will work).
(my lookup test can only be run once per hour, then in stores the result).

Are you able to install mods via smf package servers?
If yes, lookups should work on your server.

If no, then I would suggest raising a separate topic in the support forums to ask how to get it to work.
Other people who know more about hosts and their disabling of functions.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: avelo on October 04, 2008, 06:04:26 PM
hello , the last version v4.0.2 , in admin ok , but for posting = white page to accés on board .

(sorry for my english    :-X
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 04, 2008, 06:08:22 PM
any error in your error log?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: avelo on October 04, 2008, 06:26:56 PM
No :(  , when the mod is not installed ok , but the mod installed white page in board .
and no error in log .

this is à test forum http://leclube.avelo.net/forum/index.php
mod installed....
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 04, 2008, 06:33:51 PM
Please double-check that all the files are there.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: avelo on October 04, 2008, 06:38:45 PM
this ok no?

attach ,error logs ...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 04, 2008, 06:46:05 PM
Sorry I wasn't clear.
Those are the files in the mod package.

But you need to check when you installed the mod, were all of those correctly extracted in the relevant folders eg
Sources/
Themes/default/languages
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: avelo on October 04, 2008, 06:54:02 PM
ok 2 screens shot .

if you want , i install the mod original  .
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nibogo on October 04, 2008, 07:14:13 PM
Nice update thanks Karl!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: avelo on October 04, 2008, 07:18:36 PM
I installed the original mod, and I have the same result.
files are installed is ok?

I will not fiddling more than that, my English was really bad ....

In any case thank you for help, and congratulations for this mod
translate by google ..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cthulhumythos on October 04, 2008, 07:19:32 PM
OK, I see, the fact it is only embedding local mp3's is because you have coded it that way. Cool, now, the fact it is embedding all my local files even with all settings off is all I am looking to fix. Ultimately, I could do without the mp3 embedding altogether as I already have the dewplayer system established, how could I go about removing the mp3 embedding function, which lines to edit (or is it an epic job?)? Thank you so much!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 04, 2008, 07:39:07 PM
I fixed the embedding of local files (when setting was disabled) when you reported it.
(Fixed in v4.0.2)

If your using that version and embedding of local mp3 files is unchecked, the mp3 files will NOT be embedded.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cthulhumythos on October 04, 2008, 08:11:10 PM
That's what i was trying to say in my last post, its still happening. Uninstall and install went smoothly. Regards.

Snap 1: version proof
Snap 2: settings
Snap 3: post code
Snap 4: Results
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: louislam123 on October 04, 2008, 08:42:08 PM
Quote from: karlbenson on October 04, 2008, 05:21:29 PM
Check whether this image exists.
Themes/default/images/smflogo.gif
(this is the image the mod attempts to get in order to check whether the function will work).
(my lookup test can only be run once per hour, then in stores the result).

Are you able to install mods via smf package servers?
If yes, lookups should work on your server.

If no, then I would suggest raising a separate topic in the support forums to ask how to get it to work.
Other people who know more about hosts and their disabling of functions.
The images exists. However, when i try to browse the SMF Mods Site from ACP, it returns with the error message, saying I cannot connect to the server.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Omar Bazavilvazo on October 04, 2008, 10:02:38 PM
really nice mod, thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PRaDiUS on October 04, 2008, 11:03:33 PM
Works great! Your the man Karl! Thanks for your hard work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cthulhumythos on October 05, 2008, 05:38:55 PM
Hi, I hate to be a bother, but i take it you have this fixed (auto embed mp3 no matter settings on or off) and feel there is a problem on my end? Essentially, I cant use this mod if it is doing this and I simply love it, using it for some time so all my video content is dependent. Again, uninstall and install went perfect. Is there any way i could get pointed in the direction of which code to mod to simply totally disable mp3 embedding so i can use this? It just is such a complex mod and I dont want to tinker and mess up. Thank you, i know you're very busy on things, I appreciate any feedback.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 05, 2008, 06:03:24 PM
cthulhumythos,

Yeah, I believe it is fixed in v4.0.2 (and my testing seems to confirm it is).

removing it is actually quite simple
Sources/Subs-Aevac-Generated-Sites.php

find the array item  with the id 'local_mp3' and remove it. (it should be first or thereabouts)
Note depending on settings it will contain less information (title etc, may also be removed).

   array(
      'id' => 'local_mp3',
      'title' => 'Local Mp3/4 Files',
      'type' => 'special',
      'added' => '4.0',
      'plugin' => 'flash',
      'embed-enabled' => false,
      'embed-pattern' => '({local}[a-z0-9/_ &;%-\.]+\.mp(?:3|4))',
      'embed-movie' => 'http://www.flash-mp3-player.net/medias/player_mp3_maxi.swf?mp3=$2&amp;width=250&amp;showstop=1&amp;showinfo=1&amp;showvolume=1&amp;volumewidth=35&amp;sliderovercolor=ff0000&amp;buttonovercolor=ff0000',
      'embed-width' => '250',
      'embed-height' => '20',
      'embed-nolink' => false,
   ),
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cthulhumythos on October 05, 2008, 06:07:14 PM
Thank you!!! OK, I am about to test, my code looks lighter than yours:

array(
      'id' => 'local_mp3',
      'plugin' => 'flash',
      'embed-pattern' => '({local}[a-z0-9/_ &;%-\.]+\.mp(?:3|4))',
      'embed-movie' => 'http://www.flash-mp3-player.net/medias/player_mp3_maxi.swf?mp3=$2&amp;width=250&amp;showstop=1&amp;showinfo=1&amp;showvolume=1&amp;volumewidth=35&amp;sliderovercolor=ff0000&amp;buttonovercolor=ff0000',
      'embed-width' => '250',
      'embed-height' => '20',
      'embed-nolink' => false,

It does have the false there...

EDIT: OK, tests complete. I used your code which had more going for it and it worked! I then enabled the switch and it came back on successfully. I then disabled and it did not work, it kept embedding! I redownload the php and the old code I pasted above had replaced what you pasted here. So it appears something else on my end is writing back the old code from 4.0, though i swear, the uninstall and install went perfect! Weird!

EDIT 2: It appears that any settings change causes my code to go back to the old stuff, any idea why this is happening? I have reinstalled and its still happening. It's alright, at least I can fix it manually now, but quite weird.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 05, 2008, 06:35:55 PM
Sorry my fault.

Do the same to
Sources/Subs-Aevac-Sites.php
(which is the master definitions file).

Then re-save the settings in admin (to re-generated Sources/Subs-Aevac-Generated-Sites.php)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on October 05, 2008, 06:38:34 PM
Karl,

If I give you admin access, would you take a look at my problems with this mod? I assume it would make the mod stronger so thought you might be interested. I am guessing its a conflict with another mod or the SMF/Mambo bridge? Let me know and I will PM you admin access details.

Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cthulhumythos on October 05, 2008, 06:57:01 PM
Thanks karl I downloaded the master defs and all the code in that is the new stuff! For divx mp3 etc it has all that new code you added. So something else on my end is causing only generated sites to revert to old code. Funky funk... Thank you for all your help.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 05, 2008, 08:20:35 PM
Weightman, can you send me a login/password via pm and i'll have a look.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on October 05, 2008, 09:58:13 PM
Installed perfect without a hitch!
Thanks once again Karl.
A question about the  "Enable Lookups"
Will this allow the mod to embed links from sites not currently in the list?

Thanks :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 05, 2008, 10:56:21 PM
No. Lookups were needed in order to support the sites with an * in the list.

Sites not currently in the list won't embed. They would need regular expressions writing in order to support them.
(since every embed site is different)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on October 06, 2008, 01:17:59 PM
Hi, sorry if this sounds a bit lame, but I'm trying to get my host to enable Lookups hopefully but have been asked to
Quote"clarify what "lookups" are exactly?"
:-\
What I've told them is I use some embedding to link out to sites like Youtube etc. but some sites require Lookups of these pages to obtain the correct url!
Thanx for any info
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on October 08, 2008, 05:49:43 AM
I tried your MOD. It plays Youtube videos, but local .fla files are just shown as a link.

I guess in the Subs-Aevac-Generated-Sites.php there should be an local_flv array code, but there isn't.

However no matter which local files I choose to be able to play, only these entrances keeps appearing (as the only local playback arrays), even though I disabled them:

local_mp3
local_swf
local_divx

I tried with a mp3 file, and it works ok.

I'm running a 1.1.6 fully updated SMF forum, not other mods installed. No errors in the LOG.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 08, 2008, 10:08:57 AM
Thanks akyhne,

I will look at this asap.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on October 08, 2008, 10:15:34 AM
Thx. I also have a danish translation for you.

I tested a little more and whatever i delete of other sites, the Subs-Aevac-Generated-Sites.php is updated as it should - just not with my local playable files.

And one more thing to help you: Even though i paste the code manually for .flv playback, it does still just provide a link.
In xxx_settings in the DB, my choices are saved as they should (0 or 1 for every local media)

Aky
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 08, 2008, 10:18:12 AM
Its the fixes I made for in 40.01 and 4.0.2 which are breaking it.

I will try to provide a fixed version (later today, if not tomorrow)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on October 08, 2008, 10:22:06 AM
Ok, great. How would you like the translation?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on October 08, 2008, 10:23:33 AM
... and just a question: What is the sequrity risc by having a local player installed. I saw that somewhere in one of your scripts (I think)?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on October 08, 2008, 10:30:58 AM
It would depend on the player. Sometimes players have exploits. (like youtube.com player did not so long ago)
Although to be honest if you really wanted to use a local player, then it wouldn't be a major problem I don't think.
[Plus the fact I don't really want to ship any players with the mod]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rad1701 on October 08, 2008, 08:56:54 PM
Installed ok, but one little problem.  I am getting this again in posts:   &nbsp
This was a problem with the previous version for me too.  I think you told me how to fix it but I can't find that old thread.  I know I had to edit a file slightly. 
Could you point me in the right direction again please?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: atdforum on October 10, 2008, 01:23:59 AM
It's probably right in front of me in this topic, but I'm looking for manual installation instructions for your beta version for use in 1.1.x (I have 1.1.5).

I installed your 3.1.2 before I made extensive template changes, but since then I've had some problems with other mod test installs.

Thanks!

NEVERMIND!  I found it on the first page (duh).  I tried a 1.1.5 to 1.1.6 upgrade tonight that had problems, so I restored my backup copy of files and database.  But now I can't get the video to work.  Tried both versions, uninstalling first.  I'll check the manual install to see if something was missed on install.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: atdforum on October 10, 2008, 04:01:12 AM
Damn, can't get it to work.  Even youtube video do nothing, just a link.  No errors in the log.  Sometimes it goes to a blank screen on submit.  I tried both new and old versions, uninstalling each time, with successful messages.

Any ideas?

UPDATE: I restored the dbase to the previous day's backup, in addition to previously restoring 1.1.5 files, and now the video embed works (version 3.1.2).  When your new embed beta version goes live, I think I'll be doing the manual install.  :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: oztiks on October 10, 2008, 09:30:13 PM
For some reason all versions above 2.x crash intermittently on my server. It seems to be only on threads that have large bodies of text encompassed within a [quote] tag. It actually causes apache/php to segfault and the page comes back blank. It appears to be a problem with the PHP preg library, but specifically with this php_replace:
                       
// Always retained, never replaced, we need a preg for this one aswell.
                        $input = preg_replace(
                              array('~\['.$item.'(\s|=|\])~i'.($context['utf8'] ? 'u' : ''), '~\[\/'.$item.'\]~i'.($context['utf8'] ? 'u' : '')),
                              array('[aevac]['.$item.'$1', '[/'.$item.'][/aevac]'),
                              $input
                        );




It appears if I comment out the above preg_replace, everything works fine, I'm not sure what functionality i'm sacraficing though.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cthulhumythos on October 11, 2008, 10:33:43 AM
Quote from: rad1701 on October 08, 2008, 08:56:54 PM
Installed ok, but one little problem.  I am getting this again in posts:   &nbsp

I am also having this problem, and also the big core files still. Would love to know how to fix this...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: oztiks on October 11, 2008, 11:25:55 AM
Quote from: cthulhumythos on October 11, 2008, 10:33:43 AM
Quote from: rad1701 on October 08, 2008, 08:56:54 PM
Installed ok, but one little problem.  I am getting this again in posts:   &nbsp

I am also having this problem, and also the big core files still. Would love to know how to fix this...


Same here.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PMF on October 11, 2008, 06:57:34 PM
Quote from: oztiks on October 11, 2008, 11:25:55 AM
Quote from: cthulhumythos on October 11, 2008, 10:33:43 AM
Quote from: rad1701 on October 08, 2008, 08:56:54 PM
Installed ok, but one little problem.  I am getting this again in posts:   &nbsp

I am also having this problem, and also the big core files still. Would love to know how to fix this...


Same here.

And same here also with Me with the---> &nbsp
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kraken on October 12, 2008, 10:15:00 AM
Ι installed this mod manually, but it doesn't embed the video, it shows only the link.
When i am previewing the post, the video appears.
Can anyone help?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: unrelenting on October 12, 2008, 01:42:59 PM
Is there a manual edit to load high quality youtube videos rather than just the normal quality? I'm referring to the 3.1.2 version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on October 12, 2008, 01:50:13 PM
Yeah, just add &fmt=18 (or more correctly &amp;fmt=18) in the end of the Youtube link. As far as I know, Youtube still doesn't support HQ playback in an embed window, only from their own site.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wwe9112 on October 12, 2008, 09:48:44 PM
I have a prob, when I post from hulu it don't work, it just brings up the link and nothing else. I do have look ups enabled too.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: B u m u™ on October 13, 2008, 02:13:04 AM
Let me traslation in to turkish
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on October 13, 2008, 06:45:06 AM
Is there any way I can run something locally on my PC to do lookups on a site per site basis so I can manually add links to my posts for sites that require lookups?
I guess I might be able to look at the source of a page on a site and maybe do it that way! Not sure tho, but I'm looking for a workaround if possible!?
Thanx for any info.  :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: filippoantonello on October 13, 2008, 10:48:07 AM
Good Job ! my favorite mods for SMF !!!  ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Diabolo.ca on October 13, 2008, 02:16:42 PM
Thank you for your continued work on this useful mod!

One thing: Even when I check off "Use higher quality YouTube clips", I still get normal quality clips. Am I missing something here?

This is with or without endings like "&amp;fmt=18".

We are using: SMF 2.0 Beta 4, AEVAC v4.0.2., one other mod installed: AJAX Recent Topics 1.0.1, site: http://diabolo.ca/forum
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on October 13, 2008, 02:43:12 PM
S far as I have been informed on Youtubes forum, they don't support HQ playback in an embed window.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: greg2414 on October 14, 2008, 02:58:58 PM
Karl can we get support for Yidio.com ? or Supernovatube.com

Regards
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wwe9112 on October 14, 2008, 06:28:52 PM
Quote from: akyhne on October 13, 2008, 02:43:12 PM
S far as I have been informed on Youtubes forum, they don't support HQ playback in an embed window.

I posted a link on my forum from them and I got this the next day :(External Embedding Disabled) ; why?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: stye on October 16, 2008, 12:29:02 AM
i am not able to embed this code:

Quote<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" bgcolor="#000000" width="482" height="385"><param name="allowScriptAccess" value="always"><param name="flashvars" value="autoPlay=true&amp;browser=IE&amp;urls=687474703a2f2f7777772e76656f682e636f6d2f766964656f732f7631363231393336315133516e796a3977&amp;siteName1=Bollystic&amp;siteLink=http://bollystic.com"><param name="allowFullScreen" value="true"><param name="movie" value="http://go4ent.com/flashPlayer/bollystic.swf"><param name="quality" value="high"><param name="bgcolor" value="#000000"><param name="loop" value="false"><embed src="http://go4ent.com/flashPlayer/bollystic.swf" flashvars="autoPlay=true&amp;browser=OTHER&amp;urls=687474703a2f2f7777772e76656f682e636f6d2f766964656f732f7631363231393336315133516e796a3977&amp;siteName1=Bollystic&amp;siteLink=http://bollystic.com" quality="high" bgcolor="#000000" loop="false" allowscriptaccess="always" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" width="482" height="385"></object></center>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: louislam123 on October 16, 2008, 12:58:27 AM
Hi. I am still having troubles with getting lookups to work. My host has confirmed that both PHPSafeMode and OpenbaseDir are disabled. Could you please contact him (tumbleweed) to solve this, or could you list all the possible reasons why it wouldn't work? I've even tried it on a fresh install of SMF. Still doesn't work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dv007 on October 16, 2008, 02:01:25 PM
When I post a direct link to wmv or mp3 file, it's not work, help me!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Paracelsus on October 17, 2008, 04:33:59 AM
Quote from: eforhan on October 01, 2008, 08:51:24 PM
This version still has the same 404 Not Found issue as I had reported in the other thread.  I believe it fails when there is a post with a link inside of a quote.


ETA: When I enabled them to be quoted (via Admin panel), and also deleted the Core file (dated today), it seems to have taken care of the problem -- so far!

Quote from: karlbenson on October 01, 2008, 09:05:19 PM
@eforhan
Although I was unable to replicate the .core files etc Metallica who also had that problem has been testing the mod for me for like a week and has not reported any .core files with the new version.

Since I was unable to replicate it or determine the exact cause, I had hoped that by re-writing it entirely that I would get around the issue. Although to the best of my knowledge it is in fact a bug in php 5.2.6

Hi Karl,

Uninstalled v3 and tried this one because of the same "internal server error" problem (I also have PHP 5.2.6)

Unfortunately, v4 has exactly the same problem, BUT this time it disappears and everything gets back to normal when I activate embedding inside quotes, so the whole problem has to be around this.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cthulhumythos on October 17, 2008, 01:20:06 PM
I am getting core files every day still as well. I will try activating that, thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nillusius on October 18, 2008, 10:07:02 AM
Fix for last.fm intergration (audio)
Currently the player autostarts and artists/tracks with special characters aren't supported. To fix replace lines 1968 & 1969 in Subs-Aevac-Sites.php with
              'embed-pattern' => 'http://(?:www\.)?last\.fm/music/([0-9a-zA-Z\%\+_-]*?)/_/([0-9\+\%a-zA-Z_-]*)',
              'embed-movie' => 'http://cdn.last.fm/webclient/s12n/102/lfmPlayer.swf?lang=en&lfmMode=playlist&resname=$3&restype=track&artist=$2',


first line adds support for extra characters, second line makes sure the player doesn't autostart (not passing autostart parameter works, whereas autostart=false doesn't!)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: himaloy on October 19, 2008, 01:53:30 PM
thanks for this great mod.

i'm having a problem..although i have installed it without any erros & i am able to embed the vedios, but the url stops embedding after 3rd post..for example, i want to post three urls embedded in 3 posts..the first 2 will embed into vedios but the 3rd one won't..it will just display the url..

any idea's? (i've double checked the admin tools..it doesn't have any limitation on how many vedios i could post in a page)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Legrand on October 19, 2008, 05:37:09 PM
I hate to ask such a noob question, but I installed this on a 1.1.6 board, it said the install was sucessful, I removed the install.php file (after the warning), but I can't find the options to turn this on or administer it. Can I get a little basic help?

Where is this in the admin panel? How can I "turn this on"?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LOADING... on October 19, 2008, 06:03:08 PM
I need help can some one help me please?

I have installed this mod on SMF 2.4 and it dosent work
there are no errors but when i try to uninstall it i get


Installing this package will perform the following actions:
Type Action Description
1. Execute Modification ./Sources/Load.php Test failed
1. Replace ./Sources/Load.php Test failed
2. Execute Modification ./Sources/Post.php Test successful
3. Execute Modification ./Sources/Subs.php Test failed
1. Replace ./Sources/Subs.php Test successful
2. Replace ./Sources/Subs.php Test failed
4. Execute Modification ./Sources/Subs-Editor.php Test failed
1. Replace ./Sources/Subs-Editor.php Test failed
5. Execute Modification ./Sources/Post.php Test successful
6. Execute Modification ./Sources/ManageSettings.php Test successful
7. Execute Modification ./Sources/Admin.php Test successful
8. Delete File ./Sources/Subs-Aevac.php
9. Delete File ./Sources/Subs-Aevac-Admin.php
10. Delete File ./Sources/Subs-Aevac-Sites.php
11. Delete File ./Sources/Subs-Aevac-Generated-Sites.php
12. Delete File ./Themes/default/languages/Aevac.english.php
13. Delete File ./Themes/default/languages/Aevac.english-utf8.php
14. Delete File ./Themes/default/languages/Aevac.english_british.php
15. Delete File ./Themes/default/languages/Aevac.english_british-utf8.php


any can help me in this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on October 19, 2008, 06:16:12 PM
Quote from: Legrand on October 19, 2008, 05:37:09 PM
I hate to ask such a noob question, but I installed this on a 1.1.6 board, it said the install was sucessful, I removed the install.php file (after the warning), but I can't find the options to turn this on or administer it. Can I get a little basic help?

Where is this in the admin panel? How can I "turn this on"?

It is on after you installed the mod. This mod does not edit any of the themes so there is no way to administer it excluding the uninstall in the packages panel. Just post a youtube video link on your forum to test it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: choloman05 on October 20, 2008, 05:32:59 AM
Thanks again for this great and useful mod.  Even nicer that it installs w/out the manual edits.     

Question:  Does the optional "Convert old Video BBC Code" from the old support thread still work for this version?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nillusius on October 20, 2008, 06:19:36 AM
Quote from: nick09 on October 19, 2008, 06:16:12 PM
Quote from: Legrand on October 19, 2008, 05:37:09 PM
I hate to ask such a noob question, but I installed this on a 1.1.6 board, it said the install was sucessful, I removed the install.php file (after the warning), but I can't find the options to turn this on or administer it. Can I get a little basic help?

Where is this in the admin panel? How can I "turn this on"?

It is on after you installed the mod. This mod does not edit any of the themes so there is no way to administer it excluding the uninstall in the packages panel. Just post a youtube video link on your forum to test it.

Actually, this version does have a configuration screen, under features and options in the admin panel :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LOADING... on October 20, 2008, 07:15:54 AM
Anyone?  :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Diabolo.ca on October 20, 2008, 11:55:59 AM
Quote from: himaloy on October 19, 2008, 01:53:30 PM... the url stops embedding after 3rd post..for example, i want to post three urls embedded in 3 posts..the first 2 will embed into vedios but the 3rd one won't ...  i've double checked the admin tools... it doesn't have any limitation on how many vedios i could post in a page)
You've tried adjusting the "Max Embedding Per Post" and "Max Embedding Per Page" options in the admin panel?

And on another note: Has anyone got high-quality YouTube videos to embed?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on October 20, 2008, 03:34:52 PM
Karl has retired from his mods. So we are on our own.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on October 20, 2008, 10:32:34 PM
My understanding is that Karl wants others to take over all of his other mods but he wants to continue development of this mod. This is the best one and should be made a default feature of SMF. My suspicion is he is working on the issues. It is just a beta after all and he did warn of potential problems.

Cheers
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LOADING... on October 21, 2008, 03:16:21 PM
Quote from: LOADING... on October 19, 2008, 06:03:08 PM
I need help can some one help me please?

I have installed this mod on SMF 2.4 and it dosent work
there are no errors but when i try to uninstall it i get


Installing this package will perform the following actions:
Type Action Description
1. Execute Modification ./Sources/Load.php Test failed
1. Replace ./Sources/Load.php Test failed
2. Execute Modification ./Sources/Post.php Test successful
3. Execute Modification ./Sources/Subs.php Test failed
1. Replace ./Sources/Subs.php Test successful
2. Replace ./Sources/Subs.php Test failed
4. Execute Modification ./Sources/Subs-Editor.php Test failed
1. Replace ./Sources/Subs-Editor.php Test failed
5. Execute Modification ./Sources/Post.php Test successful
6. Execute Modification ./Sources/ManageSettings.php Test successful
7. Execute Modification ./Sources/Admin.php Test successful
8. Delete File ./Sources/Subs-Aevac.php
9. Delete File ./Sources/Subs-Aevac-Admin.php
10. Delete File ./Sources/Subs-Aevac-Sites.php
11. Delete File ./Sources/Subs-Aevac-Generated-Sites.php
12. Delete File ./Themes/default/languages/Aevac.english.php
13. Delete File ./Themes/default/languages/Aevac.english-utf8.php
14. Delete File ./Themes/default/languages/Aevac.english_british.php
15. Delete File ./Themes/default/languages/Aevac.english_british-utf8.php


any can help me in this?




HELP >:(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ccbtimewiz on October 21, 2008, 08:12:14 PM
Quote from: nillusius on October 18, 2008, 10:07:02 AM
Fix for last.fm intergration (audio)
Currently the player autostarts and artists/tracks with special characters aren't supported. To fix replace lines 1968 & 1969 in Subs-Aevac-Sites.php with
              'embed-pattern' => 'http://(?:www\.)?last\.fm/music/([0-9a-zA-Z\%\+_-]*?)/_/([0-9\+\%a-zA-Z_-]*)',
              'embed-movie' => 'http://cdn.last.fm/webclient/s12n/102/lfmPlayer.swf?lang=en&lfmMode=playlist&resname=$3&restype=track&artist=$2',


first line adds support for extra characters, second line makes sure the player doesn't autostart (not passing autostart parameter works, whereas autostart=false doesn't!)

Thanks for that fix. It's appreciated.

Quote from: LOADING... on October 19, 2008, 06:03:08 PM
I need help can some one help me please?

I have installed this mod on SMF 2.4 and it dosent work
there are no errors but when i try to uninstall it i get


Installing this package will perform the following actions:
Type Action Description
1. Execute Modification ./Sources/Load.php Test failed
1. Replace ./Sources/Load.php Test failed
2. Execute Modification ./Sources/Post.php Test successful
3. Execute Modification ./Sources/Subs.php Test failed
1. Replace ./Sources/Subs.php Test successful
2. Replace ./Sources/Subs.php Test failed
4. Execute Modification ./Sources/Subs-Editor.php Test failed
1. Replace ./Sources/Subs-Editor.php Test failed
5. Execute Modification ./Sources/Post.php Test successful
6. Execute Modification ./Sources/ManageSettings.php Test successful
7. Execute Modification ./Sources/Admin.php Test successful
8. Delete File ./Sources/Subs-Aevac.php
9. Delete File ./Sources/Subs-Aevac-Admin.php
10. Delete File ./Sources/Subs-Aevac-Sites.php
11. Delete File ./Sources/Subs-Aevac-Generated-Sites.php
12. Delete File ./Themes/default/languages/Aevac.english.php
13. Delete File ./Themes/default/languages/Aevac.english-utf8.php
14. Delete File ./Themes/default/languages/Aevac.english_british.php
15. Delete File ./Themes/default/languages/Aevac.english_british-utf8.php


any can help me in this?

Have you tried the manual installation for this modification?

Refer to: Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402)

Quote from: Diabolo.ca on October 20, 2008, 11:55:59 AM
Quote from: himaloy on October 19, 2008, 01:53:30 PM... the url stops embedding after 3rd post..for example, i want to post three urls embedded in 3 posts..the first 2 will embed into vedios but the 3rd one won't ...  i've double checked the admin tools... it doesn't have any limitation on how many vedios i could post in a page)
You've tried adjusting the "Max Embedding Per Post" and "Max Embedding Per Page" options in the admin panel?

And on another note: Has anyone got high-quality YouTube videos to embed?

Not quite sure it's possible, but there is an extension that enables HQ on youtube. Developing the mod further with that extension might get us that result.

Quote from: choloman05 on October 20, 2008, 05:32:59 AM
Thanks again for this great and useful mod.  Even nicer that it installs w/out the manual edits.    

Question:  Does the optional "Convert old Video BBC Code" from the old support thread still work for this version?

It should.

Quote from: weightman on October 20, 2008, 10:32:34 PM
My understanding is that Karl wants others to take over all of his other mods but he wants to continue development of this mod. This is the best one and should be made a default feature of SMF. My suspicion is he is working on the issues. It is just a beta after all and he did warn of potential problems.

Cheers

He is not. He has given up on all his mods and will not be returning to SMF at all.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on October 21, 2008, 09:31:12 PM
QuoteHe is not. He has given up on all his mods and will not be returning to SMF at all.

Wow, that really sucks. It also looks like maybe Orstio is done developing the Mambo bridge so these are two very big blows to SMF.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: himaloy on October 21, 2008, 10:12:58 PM
Quote from: Diabolo.ca on October 20, 2008, 11:55:59 AM
Quote from: himaloy on October 19, 2008, 01:53:30 PM... the url stops embedding after 3rd post..for example, i want to post three urls embedded in 3 posts..the first 2 will embed into vedios but the 3rd one won't ...  i've double checked the admin tools... it doesn't have any limitation on how many vedios i could post in a page)
You've tried adjusting the "Max Embedding Per Post" and "Max Embedding Per Page" options in the admin panel?

And on another note: Has anyone got high-quality YouTube videos to embed?

Yeah i have tried those 2 options, as i mentioned in my earlier post..nothing seems to work

anyone?  :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on October 22, 2008, 04:10:23 AM
Quote from: weightman on October 21, 2008, 09:31:12 PM
QuoteHe is not. He has given up on all his mods and will not be returning to SMF at all.

Wow, that really sucks. It also looks like maybe Orstio is done developing the Mambo bridge so these are two very big blows to SMF.
Someone will take them over if that's really needed.
Someone who needs them, needs them updated, and wants to help the community.

(I'm not talking about me, mind you! :P)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Legrand on October 22, 2008, 07:27:08 AM
I'm hoping I can get some assistance with the install of this.

I'm using the newest beta, 2.04 I believe. I uploaded all the extracted files into the root directory of the forum. I then ran the install.php file. I received a message saying that the database changes were complete (or successful or whatever), however I still get nothing.

When I paste a link in a message, I get just a link, and nothing else...

I also have no options in the admin portion of the website.

Any ideas?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on October 22, 2008, 09:13:56 PM
QuoteSomeone will take them over if that's really needed.
Someone who needs them, needs them updated, and wants to help the community.

(I'm not talking about me, mind you! :P)

Perhaps and perhaps not. Great talent and especially great willpower is never easily replaceable. I hope this isn't some kind of trend or great conflict within SMF's talent core.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on October 23, 2008, 05:17:53 AM
I don't think so. Karl will be missed by everyone, that's for sure. As an example, most of the team thinks I'm the most prolific beta tester (with something like 150-180 bug reports this year), but I'm only second to Karl, who sent nearly 300 reports. I think people remember me more because I'm the arrogant French bastard who keeps bumping his reports with added information :P

I don't know how Karl managed to do all of this at the same time, without ever getting angry. I never saw him have an argument with anyone. And he did say that his departure was not due to SMF or Internet issues. So to answer your question, this isn't a conflict. Definitely.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: genieuk on October 23, 2008, 07:59:48 AM
Great Mod! works like a charm, no problems here at all.

Only thing is it says: dont understand what that means but guess some sites wont display video which has the * next to it. Is this something i can enable in Cpanel ???

Enable Lookups
This feature will NOT work on your server

Check whether Youtube videos are embeddable
This feature will NOT work on your server

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PMF on October 23, 2008, 04:24:34 PM
Quote from: PMF on October 11, 2008, 06:57:34 PM
Quote from: oztiks on October 11, 2008, 11:25:55 AM
Quote from: cthulhumythos on October 11, 2008, 10:33:43 AM
Quote from: rad1701 on October 08, 2008, 08:56:54 PM
Installed ok, but one little problem.  I am getting this again in posts:   &nbsp;
I am also having this problem, and also the big core files still. Would love to know how to fix this...

Same here.
And same here also with Me with the---> &nbsp;

Does anybody have a fix for the (&nbsp;) problem

A few people in this topic have posted about it, but so far nobody has posted a possible fix.

With Me and the others who posted about the (&nbsp;) problem this is what the problem is......

When members on my site submit a post the (&nbsp) code shows up in members post's. Today for example on my forums a member posted and he had (&nbsp;) showup after every sentance in his post.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Paracelsus on October 24, 2008, 04:05:54 AM
Quote from: PMF on October 23, 2008, 04:24:34 PM
Quote from: PMF on October 11, 2008, 06:57:34 PM
Quote from: oztiks on October 11, 2008, 11:25:55 AM
Quote from: cthulhumythos on October 11, 2008, 10:33:43 AM
Quote from: rad1701 on October 08, 2008, 08:56:54 PM
Installed ok, but one little problem.  I am getting this again in posts:   &nbsp;
I am also having this problem, and also the big core files still. Would love to know how to fix this...

Same here.
And same here also with Me with the---> &nbsp;

Does anybody have a fix for the (&nbsp;) problem

A few people in this topic have posted about it, but so far nobody has posted a possible fix.

With Me and the others who posted about the (&nbsp;) problem this is what the problem is......

When members on my site submit a post the (&nbsp) code shows up in members post's. Today for example on my forums a member posted and he had (&nbsp;) showup after every sentance in his post.

I second your request... this is also happening to me. Can someone please help? (since this error is very annoying)

(as for the .core files, the problem is fixed easily by allowing embedd in quotes.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on October 24, 2008, 10:43:24 AM
Found another bug. So, here is all the ones I have:

1) Embed codes are not auto replaced with link.
2) Youtube videos with embedding disabled are not replaced with link.
3) noembed bbc codes do not work.
4) Include the original link does not do anything.
5) Embedding in quotes occurs regardless of setting to enable it.

I hope someone competent takes over the mod because these would be great features to have.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: clindner on October 24, 2008, 02:52:13 PM
Hi, I am running 2.0 Beta 3.1 and I have tried both 3.1.2 and 4.0.2.

I am getting a "Zero Sized Reply" error message on my forums when it tries to process a page that has links in it like the following:

http://www.msnbc.msn.com/id/27167122/

If I turn 4.0.2 off, I can view the page with no problems.  If I turn it on, I get the error message.

Nothing shows up in my site error log, but my host support folks have told me the Subs-AEVAC.php file is where the error is occuring.

Any ideas?   Your Mod is wonderful, my users hate to be without it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: clindner on October 24, 2008, 10:06:57 PM
This link also caused crashes:

http://wsj.com/article/SB122290574391296381.html

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ccbtimewiz on October 24, 2008, 10:15:46 PM
Quote from: PMF on October 23, 2008, 04:24:34 PM
Quote from: PMF on October 11, 2008, 06:57:34 PM
Quote from: oztiks on October 11, 2008, 11:25:55 AM
Quote from: cthulhumythos on October 11, 2008, 10:33:43 AM
Quote from: rad1701 on October 08, 2008, 08:56:54 PM
Installed ok, but one little problem.  I am getting this again in posts:   &nbsp;
I am also having this problem, and also the big core files still. Would love to know how to fix this...

Same here.
And same here also with Me with the---> &nbsp;

Does anybody have a fix for the (&nbsp;) problem

A few people in this topic have posted about it, but so far nobody has posted a possible fix.

With Me and the others who posted about the (&nbsp;) problem this is what the problem is......

When members on my site submit a post the (&nbsp) code shows up in members post's. Today for example on my forums a member posted and he had (&nbsp;) showup after every sentance in his post.

Open Subs.php

Find:
$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '' => "\n"));

Replace with:
$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br /> ', '' => "\n"));
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ccbtimewiz on October 24, 2008, 10:20:20 PM
Quote from: weightman on October 24, 2008, 10:43:24 AM
Found another bug. So, here is all the ones I have:

1) Embed codes are not auto replaced with link.
2) Youtube videos with embedding disabled are not replaced with link.
3) noembed bbc codes do not work.
4) Include the original link does not do anything.
5) Embedding in quotes occurs regardless of setting to enable it.

I hope someone competent takes over the mod because these would be great features to have.

1.) I'm assuming you mean via [code tags? If so, this is intended.

2.) There isn't a viable solution to this as there is almost 0 possible way to check.

3.) Ensure it's enabled?

4.) Well obviously it's supposed to. Elaborate?

5.) Make sure you haven't altered the source files to keep it always on.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on October 24, 2008, 11:01:57 PM
Quote1.) I'm assuming you mean via [code tags? If so, this is intended.

No, I mean the poster just pastes the embed codes in the post thinking that is the way to embed video. My impression of what the " Fix uses of the embed html with an embeddable link" feature does would be to replace that with the link. What does it do if not that? Code tags would not allow html. Only admins can embed html, using the [html][/html] tags, as I recall- haven't done it in a while.

Quote2.) There isn't a viable solution to this as there is almost 0 possible way to check.

Well, what does the "Check whether Youtube videos are embeddable" feature do then?

Quote3.) Ensure it's enabled?

How? I don't see a setting for that in the AEVAC admin panel.

Quote4.) Well obviously it's supposed to. Elaborate?

What info do you want? The feature is enabled in the AEVAC admin panel but when a youtube vid is posted (or revver or brightcove- only 3 I use), only the vid shows up and not the link. I don't really care about this personally but thought I should report it.

Quote5.)]Make sure you haven't altered the source files to keep it always on.

I haven't altered any source files.

Thanks for the help.



Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LOADING... on October 25, 2008, 04:32:24 AM
Quote

Quote from: LOADING... on October 19, 2008, 06:03:08 PM
I need help can some one help me please?

I have installed this mod on SMF 2.4 and it dosent work
there are no errors but when i try to uninstall it i get


Installing this package will perform the following actions:
Type Action Description
1. Execute Modification ./Sources/Load.php Test failed
1. Replace ./Sources/Load.php Test failed
2. Execute Modification ./Sources/Post.php Test successful
3. Execute Modification ./Sources/Subs.php Test failed
1. Replace ./Sources/Subs.php Test successful
2. Replace ./Sources/Subs.php Test failed
4. Execute Modification ./Sources/Subs-Editor.php Test failed
1. Replace ./Sources/Subs-Editor.php Test failed
5. Execute Modification ./Sources/Post.php Test successful
6. Execute Modification ./Sources/ManageSettings.php Test successful
7. Execute Modification ./Sources/Admin.php Test successful
8. Delete File ./Sources/Subs-Aevac.php
9. Delete File ./Sources/Subs-Aevac-Admin.php
10. Delete File ./Sources/Subs-Aevac-Sites.php
11. Delete File ./Sources/Subs-Aevac-Generated-Sites.php
12. Delete File ./Themes/default/languages/Aevac.english.php
13. Delete File ./Themes/default/languages/Aevac.english-utf8.php
14. Delete File ./Themes/default/languages/Aevac.english_british.php
15. Delete File ./Themes/default/languages/Aevac.english_british-utf8.php


any can help me in this?

Have you tried the manual installation for this modification?

Refer to: Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402)



Yes I have :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ai_yazawa on October 25, 2008, 06:19:00 AM
Quote from: karlbenson on October 14, 2007, 04:28:15 PM
Customizing
Disabling Embedding In Specific Areas
By default embedding is disabled in signatures.
Some people requested a way to disable it for other sections such as Shoutbox.
You must find in the relevant SOURCE file where that string or data is put through the function "parse_bbc"
And on the line BEFORE it, add
$context['aevac_disable'] = 1 ;

Hi there. i have nneonneo's shoutbox installed in my forum n i would like to disable auto embed in it. i've read the thing u wrote up there bout how to disable it but i just cant configure where to add the code that u gave. can u explain more? thanx!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ShopHRM on October 25, 2008, 01:05:13 PM
at the risk of sounding retarted, how do i embed the video from my ftp server that i have uploaded? its a wmv file
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on October 25, 2008, 01:46:36 PM
Quote from: ShopHRM on October 25, 2008, 01:05:13 PM
at the risk of sounding retarted, how do i embed the video from my ftp server that i have uploaded? its a wmv file
I guess you just put a direct link to the file...? :P (Haven't tested myself...)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ShopHRM on October 25, 2008, 02:05:11 PM
Quote from: Nao 尚 on October 25, 2008, 01:46:36 PM
Quote from: ShopHRM on October 25, 2008, 01:05:13 PM
at the risk of sounding retarted, how do i embed the video from my ftp server that i have uploaded? its a wmv file
I guess you just put a direct link to the file...? :P (Haven't tested myself...)


tried that, is there a code oyu need to add at the beginning and end? I was hopiing it was like the embedding for the youtube player with just the link but i guess not
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: webfred on October 25, 2008, 02:30:58 PM
hello,
how to change the script
and add the video player http://www.wat.tv
Please
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ShopHRM on October 25, 2008, 03:02:29 PM
anyone? im sure others have used it
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: clindner on October 25, 2008, 09:15:08 PM
Quote from: clindner on October 24, 2008, 02:52:13 PM
Hi, I am running 2.0 Beta 3.1 and I have tried both 3.1.2 and 4.0.2.

I am getting a "Zero Sized Reply" error message on my forums when it tries to process a page that has links in it like the following:

http://www.msnbc.msn.com/id/27167122/

If I turn 4.0.2 off, I can view the page with no problems.  If I turn it on, I get the error message.

Nothing shows up in my site error log, but my host support folks have told me the Subs-AEVAC.php file is where the error is occuring.

Any ideas?   Your Mod is wonderful, my users hate to be without it.

Quote from: clindner on October 24, 2008, 02:52:13 PM
Hi, I am running 2.0 Beta 3.1 and I have tried both 3.1.2 and 4.0.2.

I am getting a "Zero Sized Reply" error message on my forums when it tries to process a page that has links in it like the following:

http://www.msnbc.msn.com/id/27167122/

If I turn 4.0.2 off, I can view the page with no problems.  If I turn it on, I get the error message.

Nothing shows up in my site error log, but my host support folks have told me the Subs-AEVAC.php file is where the error is occuring.

Any ideas?   Your Mod is wonderful, my users hate to be without it.



So, has anyone else here every run into these types of problems?  I'm just wondering if there is a fix I can make...   I can't use the mod as it stands now...

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: junglejim42 on October 27, 2008, 04:01:30 AM
Using SMF 1.1.4
I too am getting the &nbsp popping up everytime there is a "full stop and 2 spaces" in a paragraph.  this only occurs when there is a http link in the post. 

after posting a link, saving and then modifing, I noticed the link had become a double entry enclosed in the URL BB code.

any how after uninstalling Ver4 and reverting to Ver2 all is fine a again. 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Paracelsus on October 27, 2008, 04:42:03 AM
Quote from: ccbtimewiz on October 24, 2008, 10:15:46 PM
Open Subs.php

Find:
$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '' => "\n"));

Replace with:
$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br /> ', '' => "\n"));

I did it... unfortunately, it doesn't seem to solve the problem entirely... I still get those &nbsp 's, specially in links or smileys inside quotes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kizley on October 27, 2008, 08:18:17 AM
Hi,


i m using

SMF 1.1.6
Default


thanks alot for this great mod but..
i think i have a strange problem, i have installe it,i can see its setting in Admin panel but cant see the supported tags anywhere else in forum.

i hope you people can understand my english as well as problem :weeping:

pls help anyone.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kizley on October 27, 2008, 09:40:19 AM
ohh,i got the answer in old post of same thread.

Pls ignore my above msg
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cueball on October 28, 2008, 08:36:49 AM
I have installed this mod in my SMF forum at http://buildingthelegacy.com/forum/index.php. It works great for the most part and my members have enjoyed it. Th only problem I have is that when I try to change options in the ADMIN panel for this mod, I get a message that my "session timed out while posting". I have included a screen shot. I am a beginner to modifying code ans such and have no Idea where to start with this. Any help would be greatly appriciated.

I am using SMF 1.1.6, Simple Portal 2.0.4, Helios Multicolor theme with extra buttons activated.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Basie on October 28, 2008, 03:17:10 PM
I installed this mod, but when I post a youtube link I get the following message...

(External Embedding Disabled)

How do I enable it, as I don't see the option anywhere?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on October 28, 2008, 08:23:33 PM
Hi Karl,

I was wondering if it was possible to have MegaVideo without their PartyPoker pop-up ads, which pop-up blockers can't block I believe.

http://www.phpbb3bbcodes.com/how-megavideo-bbcode-t148.html#p1272

I was wondering if something similar could be done for this SMF Mod as well?

Edit: I'm using 3.1.2
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ElOtroPepper on October 28, 2008, 08:44:51 PM
Quote from: Basie on October 28, 2008, 03:17:10 PM
I installed this mod, but when I post a youtube link I get the following message...

(External Embedding Disabled)

How do I enable it, as I don't see the option anywhere?

That's related with the upload options in Youtube

QuoteSharing Options:
-      Yes, external sites may embed and play this video.
-   No, external sites may NOT embed and play this video.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: InternetMafia on October 28, 2008, 10:17:50 PM
Having a little problem.  Have a thread where all they do is post YouTube videos.  After a while it just starts showing the URL instead of the video.

Any thoughts?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nillusius on October 28, 2008, 10:33:00 PM
Quote from: InternetMafia on October 28, 2008, 10:17:50 PM
Having a little problem.  Have a thread where all they do is post YouTube videos.  After a while it just starts showing the URL instead of the video.

Any thoughts?
adjust the "Max Embedding Per Page" in the configuration to a value that suits you :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: D M G on October 29, 2008, 12:53:58 AM
Quote from: Nao 尚 on October 23, 2008, 05:17:53 AM
I don't know how Karl managed to do all of this at the same time, without ever getting angry. I never saw him have an argument with anyone.

Which is a miracle when you consider all the "WAT DU I DU PLZ HEP IT DUZENT WARK!!!111one!!" posts from people who haven't had the decency to search the thread for the answer - which is usually posted about 20 times or so. Some people shouldn't be allowed to boot computers.  O:)

He made fantastic mods, I never once had to ask for help with any of them. Shame he's gone.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cueball on October 29, 2008, 06:30:28 AM
Quote from: Cueball on October 28, 2008, 08:36:49 AM
I have installed this mod in my SMF forum at http://buildingthelegacy.com/forum/index.php. It works great for the most part and my members have enjoyed it. Th only problem I have is that when I try to change options in the ADMIN panel for this mod, I get a message that my "session timed out while posting". I have included a screen shot. I am a beginner to modifying code ans such and have no Idea where to start with this. Any help would be greatly appriciated.

I am using SMF 1.1.6, Simple Portal 2.0.4, Helios Multicolor theme with extra buttons activated.
Just to clarify, this only happens when trying to change options to this mod, and only certain options. The affected options are:
-check whether youtube videos are embedable
-enable embedding in quotes
-include original link
-AEVAC debug mode
-All of the "Embed local files" options

It appears that I am able to Disable/Enable all to the embedable site options. When this happens, there is no error recorded in the error log.
Most of these are no big deal as I do not need them at this time, however, If anyone has any info on this or a possible fix, I wiould love to hear it. I would like to have full use of the mod if I should need any of these options in the future. Thank you.
-
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Basie on October 29, 2008, 07:19:18 AM
Quote from: ElOtroPepper on October 28, 2008, 08:44:51 PM
Quote from: Basie on October 28, 2008, 03:17:10 PM
I installed this mod, but when I post a youtube link I get the following message...

(External Embedding Disabled)

How do I enable it, as I don't see the option anywhere?

That's related with the upload options in Youtube

QuoteSharing Options:
-      Yes, external sites may embed and play this video.
-   No, external sites may NOT embed and play this video.

I don't understand... I've tried 10 completely random youtube video's and they ALL just appear on my board as a link followed by "(external embedding disabled)".

So how do I fix this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: genieuk on October 29, 2008, 07:21:39 AM
Hi,

People who upload videos to youtube can disable the embed video to otherwebsites, this is stated on the youtube video page of the video you are going to embed.

I had that problem with a video and later noticed that the person who uploaded the video disabled embedding to other websites.

Mathew
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Basie on October 29, 2008, 07:27:25 AM
But this seems to be happening with every single video I try. Not even one has worked. Can someone link me to a video which should definitely work, so I can try it?

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: genieuk on October 29, 2008, 07:33:47 AM
Quote from: Basie on October 29, 2008, 07:27:25 AM
But this seems to be happening with every single video I try. Not even one has worked. Can someone link me to a video which should definitely work, so I can try it?

Thanks.

Oh, I have this installed on SMF 1.1.6, installed via package manager with no problems at all.

Try my Youtube Video as it is allowed to be embedded on any site, it is embedded on mine to.

http://uk.youtube.com/watch?v=cXShrTWXHCc

Mathew
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Basie on October 29, 2008, 07:36:05 AM
Yeah that worked. I guess my random selections were just unlucky. :/

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: genieuk on October 29, 2008, 07:43:48 AM
Quote from: Basie on October 29, 2008, 07:36:05 AM
Yeah that worked. I guess my random selections were just unlucky. :/

Thanks.

See  :D , All goes well, It happened to me when i tried to embed a leona lewis video on my website, It worked for about 5 seconds then it said no longer available, i went on YouTube and then noticed they disabled embedding on her videos.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: trip001 on October 29, 2008, 09:34:58 AM
Hmmm i couldn't get http://www.gamerstube.com to work and couldn't find it on either working or non-working lists.

So if not requested already is it possible to add http://www.gamerstube.com in at some point?

Cheers

Great Mod btw, thanks for the time and effort
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on October 29, 2008, 02:31:38 PM
Nice improvements karlbenson - but i dont get how this feature works:
QuoteEmbed Local Files [Excludes attachments]

How to add those formats to the post ?

I tried a http-link to a mp3 but no luck.

Some advice would be nice.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sakae on October 29, 2008, 08:34:22 PM
Karl, dude, I know you already teach us how to add a new website to this MOD, but I think this is a huge additional to the list:

http://www.mtvmusic.com/

Mtv started today to provide music clips in their website. There's more than 20,000, and they can be embedded!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: InternetMafia on October 29, 2008, 09:15:49 PM
Quote from: nillusius on October 28, 2008, 10:33:00 PM
Quote from: InternetMafia on October 28, 2008, 10:17:50 PM
Having a little problem.  Have a thread where all they do is post YouTube videos.  After a while it just starts showing the URL instead of the video.

Any thoughts?
adjust the "Max Embedding Per Page" in the configuration to a value that suits you :)

What file is this stored in?

Thank you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Diabolo.ca on October 30, 2008, 10:10:13 AM
Quote from: InternetMafia on October 29, 2008, 09:15:49 PM
What file is this stored in?
It is in the admin panel.
In 2.0: configuration->modifications->AEVAC

Quote from: Diabolo.ca on October 13, 2008, 02:16:42 PM
One thing: Even when I check off "Use higher quality YouTube clips", I still get normal quality clips. Am I missing something here?
Quote from: akyhne on October 13, 2008, 02:43:12 PM
S far as I have been informed on Youtubes forum, they don't support HQ playback in an embed window.
It certainly is possible to embed HQ playback. I have done so within Wordpress or regular HTML files. It would also seem strange to write the mod with this option if it was impossible. Would be lovely to get this working.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nay27uk on November 01, 2008, 09:23:51 PM
how do you embed local files on this ive uploaded a .wmv and a .mov file and it is just a link no with no video. I altered chmod to 777 on all the avec files still nothing, am i missing somthing do i have to use some special bbcode or somthing. i even uninstalled it deleted it from the server downloaded a fresh copy and installed it againe, still only a link no video. also i think i may have found a bug. this maybe the problem i dont know. ok what i found.
When in admin in avec after selecting everything i want and hitting save, it seems that the settings are being saved to the database with no problems. however it seems like the file sorces Subs-Aevac-Generated-Sites.php is missing some components and is not being updated. See code bellow from Subs-Aevac-Generated-Sites.php when you open this file for some reson it always opens up at line 3306 with the curser blinking on that line here see the end

'fix-html-pattern' => '<embed width="(?:[0-9]*?)" height="(?:[0-9]*?)" type="application/x-shockwave-flash" ?src="http://counters.gigya.com(?:[^<>]*?)>CURSER SITS BLINKING HERE

Like i said it also seems like the file is missing stuff and is not being updated this code is for the local files.

global $sites;
$sites = array(
array(
  'id' => 'local_mp3',
  'plugin' => 'flash',
  'embed-pattern' => '({local}[a-z0-9/_ &;%-.]+.mp(?:3|4))',
  'embed-movie' => 'http://www.flash-mp3-player.net/medias/player_mp3_maxi.swf?mp3=$2&amp;width=250&amp;showstop=1&amp;showinfo=1&amp;showvolume=1&amp;volumewidth=35&amp;sliderovercolor=ff0000&amp;buttonovercolor=ff0000',
  'embed-width' => '250',
  'embed-height' => '20',
  'embed-nolink' => false,
),
array(
  'id' => 'local_divx',
  'plugin' => 'divx',
  'embed-pattern' => '({local}[a-z0-9/_ &;%-.]+.divx)',
  'embed-movie' => '$2',
  'embed-width' => '500',
  'embed-height' => '360',
  'embed-nolink' => false,
),
array(
  'id' => 'local_avi',
  'plugin' => 'divx',
  'embed-pattern' => '({local}[a-z0-9/_ &;%-.]+.avi)',
  'embed-movie' => '$2',
  'embed-width' => '500',
  'embed-height' => '360',
  'embed-nolink' => false,
),


It dont matter what settings i have enabled or disabled in admin they always seem to be set to FALSE thier also seems to be no remarks to .mov .wmv etc like in the admin panell, for example array(
  'id' => 'local_wmv,
  'plugin' => 'divx',
  'embed-pattern' => '({local}[a-z0-9/_ &;%-.]+.wmv)',
  'embed-movie' => '$2',
  'embed-width' => '500',
  'embed-height' => '360',
  'embed-nolink' => false,
),


now when i manualy alter all the FALSE to TRUE and manualy put the code in for the missing bits like .wmv .mov etc i actualy get the player showing in a post however it is the divx player and if you click on play it says the file is not a divx file.

Please can you help me to get local files to play inline instead of being a link
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 02, 2008, 07:43:53 AM
Quote from: softcore on October 29, 2008, 08:34:22 PM
Karl, dude, I know you already teach us how to add a new website to this MOD, but I think this is a huge additional to the list:

http://www.mtvmusic.com/

Mtv started today to provide music clips in their website. There's more than 20,000, and they can be embedded!
Karl has left the building. Learn regexp and add it yourself if it can be done ;)

Oh my, all of these people asking for Karl's help even weeks after he announced his departure -- it's really painful to me. It feels like he's dead or something. :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 02, 2008, 08:14:05 AM
QuoteOh my, all of these people asking for Karl's help even weeks after he announced his departure -- it's really painful to me.

Can you give a link to that announcement? I'd like to read it, out of curiosity.

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 02, 2008, 08:58:47 AM
Sherlock Holmes would have done it that way: go to page 1 of this topic. Click on the first message's poster (Karl). Click on "Latest messages".

Okay, I know, Holmes is but a fictional character... O:)

http://www.simplemachines.org/community/index.php?topic=268542.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mannie_Fine on November 02, 2008, 11:42:49 AM
Could www.vidster.nl be added also , i have some vids there i'd like to embed
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 02, 2008, 12:16:55 PM
Quote from: Diabolo.ca on October 30, 2008, 10:10:13 AM

It certainly is possible to embed HQ playback. I have done so within Wordpress or regular HTML files. It would also seem strange to write the mod with this option if it was impossible. Would be lovely to get this working.


I need a prove on that. I have been running a forum for several months where there's posted a lot of Youtube videos. There's absolutely no difference in the quality in HQ or normal playback (but a huge when playing them directly). And as I mentioned, I got the message from Youtube forum that they don't allow it yet.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: palofdru on November 02, 2008, 04:02:59 PM
Quote from: Nao 尚 on November 02, 2008, 08:58:47 AM
Sherlock Holmes would have done it that way: go to page 1 of this topic. Click on the first message's poster (Karl). Click on "Latest messages".

Okay, I know, Holmes is but a fictional character... O:)

http://www.simplemachines.org/community/index.php?topic=268542.0

"Sherlock Holmes" would have done nothing of the sort. He would have done exactly what the fellow did - ASK.
It is simplest and easiest.

Besides, the "logic" you base your reply on is faulty. It assumes that his "goodbye" message is his absolutely last one.

He could have posted
"Goodbye cruel world!, After Monday, I'll be gone - forever!" then answered a hundred posts and pms, then left, never to return.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RustyBarnacle on November 02, 2008, 04:30:27 PM
With Karl gone, is anyone taking over this mod?  I imagine its a lot of work but I'd hate to see it fall by the wayside since its such a great one to have as new releases of SMF come out.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 02, 2008, 04:53:52 PM
QuoteBesides, the "logic" you base your reply on is faulty. It assumes that his "goodbye" message is his absolutely last one.

He could have posted
"Goodbye cruel world!, After Monday, I'll be gone - forever!" then answered a hundred posts and pms, then left, never to return.

Yes, obviously as a SMF forum admin, and a heavily custom modified one at that, I know how to use the software. I knew Karl was very active and could have had many posts, even announcing something like "in two months I am retiring from SMF" or something. After all, he asked for volunteers to take over his mods (except this one as I recall) quite a long time ago. I figured since this person read it, they could find it for me and save me some trouble.  ;D

QuoteWith Karl gone, is anyone taking over this mod?  I imagine its a lot of work but I'd hate to see it fall by the wayside since its such a great one to have as new releases of SMF come out.

Agreed. I hope someone competent comes along and continues development of this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: poolhall on November 02, 2008, 08:47:53 PM
This is a great mod, much much appreciated.

Would it be at all possible to add support for www.justin.tv ? It's a big webcasting site.

Thank you!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on November 02, 2008, 09:03:03 PM
Just use the embedd link justin.tv provide.
I use that also, and figured that one link per channel is enough.
Although I only really use the movie channel lol
Such things I do not wish for users to freely add to the site...
Just me :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: poolhall on November 02, 2008, 11:01:05 PM
Sabre™, not sure if I understood. To use an embed link where?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on November 03, 2008, 01:08:16 AM
You want to watch a Justin.tv channel in your forum or something yeah?
Well on every channel there, there is a link to embedd that player/channel into your site.
It is usually under the chatbox in the "Channel Info" section.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: poolhall on November 03, 2008, 07:15:33 AM
I know what an embed link is. It's not going to work if I paste the link into a message body.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: cthulhumythos on November 03, 2008, 10:47:51 AM
I'll keep deleting the 100 meg core files this thing produces every day but if anyone can figure out the &nbsp; bug that keeps defacing my posts I would be super stoked. I'll keep hunting as well.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sakae on November 03, 2008, 11:36:53 AM
Quote from: Nao 尚 on November 02, 2008, 07:43:53 AM
Oh my, all of these people asking for Karl's help even weeks after he announced his departure -- it's really painful to me. It feels like he's dead or something. :(

It's kinda impossible to read all messages on this forum, so I apologize for the inconvenience :P

ps.: I realized he didn't connected the Messenger more often than he used to do...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TosTos on November 03, 2008, 12:55:58 PM
Hi Karl,
I have a webpage turkishutube.com which became very famous for Turkish community. It is a video sharing webpage same as youtube. Your mod is excellent, and most Turkish people would want to apply it to their forums so that they can use my webpage. Can you help me to integrate my webpage to smf sites? I mean if that is possible for you to adjust your mod so that Turkish Community use my webpage. Actually, i heard that someone is trying to do this, but if you could add my webpage in your site list to work your mod, I would really appreciate it.
Thank you,
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: poolhall on November 03, 2008, 01:34:56 PM
I didn't know Karl Benson left the project. Best wishes for him.

I guess it's time to learn some regex :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: metaphysic on November 03, 2008, 02:45:52 PM
Quote from: vietboyog on September 25, 2008, 09:40:03 PM
please help, I'm trying to embed tube8.com but never get it to work, I'm newbie to php. Thanks

array(
'name' => 'tube8.com',
'enabled' => 1,
'lookup_url' => 'http://(?:www\.)?tube8\.com/(?:[0-9a-z-_]*)/(?:[0-9]{1,12})',
'lookup_regex' => '<embed src="http://(?:www\.)?tube8\.com/swf/nplayer5\.swf"  flashvars="videoUrl=http://media01\.tube8\.com/flv/(?:[0-9]{1,32})/(?:[0-9]{1,8})/(?:[0-9]{3})/(?:[0-9]{2})/(?:[0-9]{1,13})/(?:[0-9]{1,13}).flv&imageUrl=http://www\.tube8\.com/v/640x480/5183\.jpg"',

// http://www.tube8.com/share/alicia---blonde-teen/50770/
// http://media07.tube8.com/flv/f9f2b2eac7cc213e58be1641c78a9a49/48d961bc/0808/31/48ba7f1a0bc29/48ba7f1a0bc29.flv
// <embed src="(http://(?:www\.)?trtube\.com/mediaplayer_(?:[0-9]{1,2})_(?:[0-9]{1,2})\.swf\?file=http://(?:www\.)?trtube\.com/vid(?:[0-9]{1,2})?/(?:[0-9]{1,10}).flv)
),


and

do you done

i want the same

embed tube8.com video  in smf
neverna.com
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Zepia1 on November 03, 2008, 11:51:49 PM
For some reason I can't access the Control panels for this app the mod works great though!

I'm using SMF 1.1.6 and custom theme Dziner's

Any help on this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on November 04, 2008, 01:47:00 AM
Quote from: poolhall on November 03, 2008, 07:15:33 AM
I know what an embed link is. It's not going to work if I paste the link into a message body.

Would you care to explain to me how I do it then?  :)
Since you know what embedded links are, then you would obviously know that you would have to put them in
[ html ]  tags then yeah?
Of course you do  :)

Well then mate, Im sorry I couldnt be of any assistance to you, as I mustve been lying when I said I use em on my site  :D

Good luck  O:)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LexT on November 04, 2008, 03:20:01 AM
It would be great if the embeds that ted talk offers would be included too...

See for example:

http://www.ted.com/index.php/talks/jill_bolte_taylor_s_powerful_stroke_of_insight.html

(underneath the video "embed this video")

Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LexT on November 04, 2008, 03:24:34 AM
Quote from: Sabre™ on November 04, 2008, 01:47:00 AM
Since you know what embedded links are, then you would obviously know that you would have to put them in
[ html ]  tags then yeah?

Hey, thanks! (didn't know that)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on November 04, 2008, 06:02:10 AM
My pleasure buddy.
Only you as admin are able to use [ html ] tags, and I suggest you leave it that way. ;)
I thank you back for your link, that is a very interesting site.

Cheers :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 04, 2008, 06:34:32 AM
Fantastic mod and thanks for doing the BBC but some of the links don't seem to work, try this one: http://news.bbc.co.uk/sport1/hi/tennis/7690268.stm
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: poolhall on November 04, 2008, 08:31:44 AM
Sabre™, I switched from phpBB in September and didn't know that html bbcode exists. Your rant was unnecessary - I didn't say you were lying as you assumed, I only said that the bare embed link being pasted in the message body doesn't work, which was true.

Thank you
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on November 04, 2008, 03:18:57 PM
lol  That wasnt ranting, it was being cheeky/sarcastic  ;D  Huge difference ...
Well buddy, I had just stated that I use j'tv myself, so why not ask how if you didn't know, instead of saying that it wont work?
Remember this is a world wide site, so some things are misconstrued in translation.
I would have easily mentioned how(as I have) as that is why I replied, to offer a little guidance :)

With bbcodes, you will find a list in your admin panel.
Click on Posts and Topics then Bulletin Board Code.
You will also find various mods that offer other bbcodes eg. [ you ] bbcode from ccbtimewiz, which is one of my favs.
There is also a mod called.... if I recall correct, "Custom BBCode" in which you may create/add your own. The mod author hasnt updated it, but there are people who may assist with that.
Ask for assistance if you are not sure on anything mate, there are thousands of people here, so someone will pop in to help.

Good Luck :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: BYUFanatic on November 04, 2008, 03:44:46 PM
Aw crap.

I installed this mod and now my forum does not load at all. I get a blank screen. I did the 1.1.6 manual installation steps in reverse (removing the code snippets) and it still won't load.

Any ideas?

Rob
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on November 04, 2008, 04:03:00 PM
Did you check for duplicate codes and remove them buddy?
You should always make a backup of your forum as often as possible :)

A quick way is to go into your packages folder in your server, go to backups, then there should be a file which states something along the lines of "before Auto Embed Video/Audio Clips v4.0.2 (AEVAC Mod)"
Download that, then upload it to the root of your forum.
It will put everything back to how your forum was before you added this mod.
That means any other edits you have done after installing this(Im assuming none :P), will be gone.

Always make regular backups of your forum mate. You never know what may happen

Good luck :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: BYUFanatic on November 04, 2008, 04:11:52 PM
Thanks Sabre -

I had one last snippet of code that needed to be removed (found it using search). I got my forum back. I did do the "standard installation procedures."

I'd like this mod to work. So I'll try it again...

Rob
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on November 04, 2008, 04:13:56 PM
Oh good stuff buddy :)
In my opinion, this is one of those mods that are a "must have" for any forum that allows media.
Good luck mate and enjoy :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Diabolo.ca on November 04, 2008, 11:40:40 PM
Quote from: akyhne on November 02, 2008, 12:16:55 PM
Quote from: Diabolo.ca on October 30, 2008, 10:10:13 AM
It certainly is possible to embed HQ playback. I have done so within Wordpress ...Would be lovely to get this working.
I need a prove on that. ... And as I mentioned, I got the message from Youtube forum that they don't allow it yet.
Scroll down to the bottom of this post (http://diabolo.ca/another-diabolo-triangle/) for an example in Wordpress. That's the highest quality .mp4 version of youtube embedded.

But, you are right, checking off the "high quality" option in this mod doesn't do anything as far as I can tell.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MrLeN on November 05, 2008, 03:12:18 AM
I tried to install

AEVAC_v3.1.2.zip

to my 1.1.6 and it displayed nothing. Just the link.

So, because the downlaod page doesn't say which of the zips to download, I removed the mod and installed:

AEVAC_v4.0.2.zip

Same thing.

So I rolled back my 1.1.6 update and took my board back to 1.1.5

Then I installed

AEVAC_v3.1.2.zip


Same thing.

So I installed

AEVAC_v4.0.2.zip

Same thing.

Nothing I have done made the mod work.


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TaskyZZ on November 05, 2008, 11:07:27 AM
Can somebody post here exactly what changes need to be made to make "embed local swf files" work?

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: edi67 on November 06, 2008, 05:46:47 AM
how make this mod work in different theme?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JimM on November 06, 2008, 09:06:06 AM
There are no theme or template edits so this mod should work in all themes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: junglejim42 on November 06, 2008, 12:59:30 PM
Hi
can anyone help,  having tried v2 and v3 all video sites work except liveleak in internet explorer,  all we get is a little flower logo in the middle of the screen showing something is trying to load.  everything works in firefox.   I presume it is a setting in IE.

many thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Diabolo.ca on November 06, 2008, 09:38:14 PM
Quote from: MrLeN on November 05, 2008, 03:12:18 AM
I tried to install ... and it displayed nothing. Just the link....
Either version 3 or 4 should work, although 4.0.2 is beta.

Just stating the obvious, but did you enable the embedding under the AEVAC mod settings panel? "Enable AEVAC mod (Master Setting)"

--

Edit - got the high quality youtube working!!

The line:
'embed-movie' => 'http://www.youtube.com/v/$2&rel=0&fs=1',
was remaining in my 'Subs-Aevac-Generated-Sites.php' file. Either this line needs to be changed to match the high quality expression. i.e.:
'embed-movie' => http://www.youtube.com/v/$2&ap=%2526fmt%3D18&rel=0'
or that line can be deleted entirely provided that the high quality youtube option is selected.

Strangely, I went back, deselected some embedding websites, which regenerated my 'Subs-Aevac-Generated-Sites.php' file and this time it was generated without the
'embed-movie' => 'http://www.youtube.com/v/$2&rel=0&fs=1',
line, and everything works.

Hello high quality youtube!

Easiest way to check if it's working is to look at the source code for a forum page with an embedded video. If there's a "&ap=%2526fmt%3D18&rel=0" at the end of the youtube link then it's high quality.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 07, 2008, 02:17:21 AM
"Hello high quality youtube!"

So how does the complete code look like for HQ embeding?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Paracelsus on November 07, 2008, 05:13:31 AM
Unfortunately, I had to uninstall the MOD because of the &nbsp; issue. :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gronk62 on November 07, 2008, 05:22:16 AM
Quote from: Paracelsus on November 07, 2008, 05:13:31 AM
Unfortunately, I had to uninstall the MOD because of the &nbsp; issue. :(

Me too.

I only just installed it tonight to try and work round another issue (assumed) but the &nbsp; issue still exists with this version.

Oh well I guess the punters can live with just clicking on a link to video's

Thankyou anyway   :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 07, 2008, 08:17:38 AM
I didn't have to make any edits to this mod to get it playing high quality Youtube versions when available- just click the box for it in admin. I still have the other problems mentioned however with the Check whether Youtube videos are embeddable,  Fix uses of the embed html with an embeddable link,  Include the Original Link (for sites that don't have it in the player) features not working.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TosTos on November 07, 2008, 07:38:15 PM
Hi Karl,
I have adjusted your mod for turkishutube.com , and it is beautifully working. You can be sure that I just added the turkishutube.com parts, and didn't change the others. I got the idea using the godtube because turkishutube and godtube have similiar scripts.
Here is the file. I would like to share this with Turkish community. Hence, if you could add this to your file, I would appreciate it. Then, the Turkish community will be able to use the webpage turkishutube.com If you don't want to add the file, can you give me permission to send it the modification department so that the Turkish community can reach if you don't want to give this in your files. Thank you very much for your great mod. Here is the file
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TosTos on November 07, 2008, 11:29:39 PM
Hi,
After the upgrade, the package manager gives error for this mod. Can you check if that supports 1.7?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Oleg Vereshchagin on November 09, 2008, 04:29:36 AM
Excuse me for my English.
Karlbenson, thank You for the Mod.
I have some problems. I have local links to .avi files, coded by H.264-video codec, in some posts. This links are auto embed as div-x and try to play with DIv-X-plugin. As result we can see a green screen with audio. I have disabled "Embed Local Files" for all formats, but videos stay embedded.
SMF 1.1.7, AEVAC v. 4.0.2 (clear installing).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LOADING... on November 09, 2008, 06:54:12 PM
in this mod supported in SMF117?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ccbtimewiz on November 09, 2008, 08:02:56 PM
Quote from: LOADING... on November 09, 2008, 06:54:12 PM
in this mod supported in SMF117?

Yes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: eleven0 on November 09, 2008, 08:23:45 PM
Is there a known problem about yahoo videos not showing up?

For instance,  I posted 10 yahoo videos in a post, only 2 of them shows up.

Most of the time, none of them shows up.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: BYUFanatic on November 10, 2008, 12:11:09 AM
Questions about how to make this work -

I've installed version 4.0.2 onto SMF 1.1.7 and it seems to work just fine with external videos (at least it does with YouTube). However, when I try to embed local files I only get links - no videos. My forum is located at:

www.westwoodasl.com/forum
-and-
forum.westwoodasl.com

The video files (I've tried most formats - mov, avi, wmv...) just aren't loading. I have ALL of the extensions for local files checked in the admin area. When I embed them in a post I get the following:

mov - link
mpg - link
wmv - link
flv - link
mp4 - audio control bar
avi - puts a divx web player up, but stays permanently at "buffering 0%"

If I load up any of these by typing the URL directly onto my address bar most of them load fine (except for the fact that I have to wait for them to fully download before playing - no streaming). The flv doesn't work at all - I apparently need to install a flash player on my server?

Any ideas/help? I'd appreciate it!

Rob
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 10, 2008, 02:06:21 AM
BYUFanatic: You are having the same issues as I have.

Have anyone taken over this mod, or are someone working on it?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xepernas on November 10, 2008, 05:35:47 PM
I gather there's no support for this mod anymore ? Anyway, in case somebody met and solved this strange bug, I'd love to hear how :

For some reason, it seems that each 10th video in a page (or thread?) is displayed as a link, instead of embedded. The 11th, 12th, 13th etc. videos show normally (actually I haven't checked beyond 14 yet), but not the 10th. And it's not video-dependant : if you swap them around, the tenth is always hidden.

I know that's pretty cute, for a bug, but still, any idea how to correct this ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on November 10, 2008, 07:02:33 PM
Quote from: Xepernas on November 10, 2008, 05:35:47 PM
I gather there's no support for this mod anymore ?

Unfortunately Karl has left us due to lifes timings. It is mentioned many times through the last few pages.

If I recall correct, there is a limit to how many clips can be embedded in one page.
So it aint a bug
It is hard coded, so you'll have to manually make the changes.
Search through these pages to find the solution for altering the limit, as I didnt use it.
If it isnt here, then it'll be in the old thread which is located [HERE] (http://www.simplemachines.org/community/index.php?topic=265441.0)

Run a few search querys, and sift through the mess, and you'll usually find your questions have been answered.

Good luck.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xepernas on November 10, 2008, 07:12:42 PM
Thanks. But I doubt it's that. I don't seem to have issues with a video limit, my problem is much sillier. The 10th one isn't displayed, but I can display more of them : the 11th one DOES get embedded (on the same page), as do the next ones. It's not a question of amount. It's just a pretty random "hey YOU THERE, number 10, no no".

In fact there's settings in the AEVAC admin panel, that you can change to allow how many videos you want per page and per post. But this hasn't solved my "video number 10" problem.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: BYUFanatic on November 10, 2008, 07:17:04 PM
How about my issue (see quote below):

Quote from: BYUFanatic on November 10, 2008, 12:11:09 AM
Questions about how to make this work -

I've installed version 4.0.2 onto SMF 1.1.7 and it seems to work just fine with external videos (at least it does with YouTube). However, when I try to embed local files I only get links - no videos. My forum is located at:

www.westwoodasl.com/forum
-and-
forum.westwoodasl.com

The video files (I've tried most formats - mov, avi, wmv...) just aren't loading. I have ALL of the extensions for local files checked in the admin area. When I embed them in a post I get the following:

mov - link
mpg - link
wmv - link
flv - link
mp4 - audio control bar
avi - puts a divx web player up, but stays permanently at "buffering 0%"

If I load up any of these by typing the URL directly onto my address bar most of them load fine (except for the fact that I have to wait for them to fully download before playing - no streaming). The flv doesn't work at all - I apparently need to install a flash player on my server?

Any ideas/help? I'd appreciate it!

Rob

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on November 10, 2008, 07:24:01 PM
Quote from: Xepernas on November 10, 2008, 07:12:42 PM
"hey YOU THERE, number 10, no no"

lol
Ok mate.  Sorry I couldn't be of any useful assistance then lol
I have an idea, and will look into it when I install this on a new site Im preparing.

Good luck in the mean time
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on November 12, 2008, 01:13:57 PM
This is a great mod, been using it a while on our boards.  Question I have, however, is that some of the YouTube videos are hanging on playback.  All I get is:

(http://www.edgeoffate.com/images/Youtube.jpg)

Any ideas?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xepernas on November 12, 2008, 04:35:13 PM
Hello you X-named fellow. I have the same problem as you with some videos (I even get the typically youtubic "this video is no longer available" message). Strangely enough, you won't get this problem with Karlbenson's other youtube embedder mod :

http://custom.simplemachines.org/mods/index.php?mod=936

HOWEVER, despite of what he claims, both mods don't seem to coexist well. BBCoding a youtube video in the presence of AEVAC makes the video appear twice (I suppose once through bbcode, and once through the AEVAC-ization of the url between said bbcodes).

SO, i am annoyed.

The good news is that uninstalling and re-installing AEVAC seems to have solved my mysterious Nr.10 exclusion. Now I am wondering, like you, why those videos are available through Karlbenson's YT-BBC and not through Karlbenson's AECAV. I'll keep watching this place while pulling off and chewing my hair.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on November 12, 2008, 04:38:27 PM
Yes, I prefer this mod because I don't have to resort to BBCode, which just confuses some of my members.  I'll try reinstalling to see if it helps.  Good to see other X-named fellows out here ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on November 12, 2008, 05:09:04 PM
No joy, WTF?  Uninstalled, reinstalled, played with different settings.  Just the white circle of death.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on November 12, 2008, 05:18:40 PM
Guess I have to resort to BBCode.  It will co-exist as long as you uncheck YouTube options in AEVAC.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wjhdiz on November 13, 2008, 12:08:13 AM
The quality and speed at 56.com is very good. It would be great if this works.

Quote56.com (Dead?)

Thanks Karl.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xepernas on November 13, 2008, 09:51:56 AM
Quote from: Xaneth on November 12, 2008, 05:09:04 PM
No joy, WTF?  Uninstalled, reinstalled, played with different settings.  Just the white circle of death.
(http://www.windowtothemovies.com/pics/ring.jpg)

Quote from: Xaneth on November 12, 2008, 05:18:40 PM
Guess I have to resort to BBCode.  It will co-exist as long as you uncheck YouTube options in AEVAC.
Ah, hadn't thought of that. I'll maybe resort to it too, although it'll probably make AEVAC useless (no forumer has used another site than youtube by now).

The confusing thing is that, as both mods are from the same author, one would expect them to deal with youtube a similar way. So I ask the -possibly naive- question :

Is there a way to integrate ft-bbc's "youtube embedding" code (without the bbc tags part) into aevac ? Could it be an angle through which a modder could -rather simply- correct that issue, and release some sort of v4.0.3 ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on November 13, 2008, 12:22:35 PM
Yes, please!  Has this mod been abandoned?  Not much of a php coder, but I'm sure someone out there could do this!  In fact, I used to use the one I'm now having to resort back to, but moved to AEVAC for the obvious reasons.  Just can't work with it, if it won't work with us...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: albanian on November 14, 2008, 08:52:48 AM
for the 1.1.7 version of smf  is compatible this version ?  can you tell me please
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xepernas on November 14, 2008, 09:37:24 AM
Quote from: albanian on November 14, 2008, 08:52:48 AM
for the 1.1.7 version of smf  is compatible this version ?  can you tell me please
Interesting question.

I think it is : I am using it on 1.1.7 and it didn't destroy anything. But, maybe the white-circle-of-death problem does come from 1.1.7. I wonder if the peoblem would have occured on 1.1.6. Xaneth, you are under 1.1.7 too ?

Could somebody investigate this (a bit) ?  :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on November 15, 2008, 09:34:06 PM
I'm running 2.0 Beta 4.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: hipertekspeed on November 16, 2008, 09:05:10 AM
when i post videos from vimeo, it automatically resizes it down to almost 1/2 of a standard youtube vid. is there a way to have the vimeo vids posted at least in 600x338?

when i post with this mod, i just enter the URL..  :-[

thanks for the help in advance..

(http://www.gaijindrift.com/a/vimeoproblem.jpg)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 16, 2008, 11:30:29 AM
Quote from: karlbenson on March 18, 2008, 06:19:53 AM
Ok, I've done some reading.
http://blog.jimmyr.com/High_Quality_on_Youtube_11_2008.php (http://blog.jimmyr.com/High_Quality_on_Youtube_11_2008.php)

And on YouTube itself.
It does appear that it won't be possible to provide the HQ streams. It isn't simply a case of recognising the fmt=6.
But needs other variables aswell.
So it will be a case of watching this space to see if they make it easier to embed the HQ streams externally of youtube.com

Hmm, I seemed to manage to get HQ playback in the 3.x package by changing some values in Subs-AEVAC.php
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on November 16, 2008, 12:34:53 PM
Try the stable version from here:
http://www.simplemachines.org/community/index.php?topic=265441.0

Karl is out and not active anymore, so you have very limited support. Its best for you to use 3.1.2 if you are having problems with 4.0.2, which is mod in the beta stage. Can't really do much more for you but it's best not to install a mod in beta if you have a active site.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on November 16, 2008, 12:37:54 PM
Open the php file that comes with the mod. Search vimeo and change the values of the size to your liking. Then all you have to do is replace the php file on your server.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xepernas on November 16, 2008, 02:47:31 PM
Excellent !

This older version seems to have solved all my problems. I will miss the nifty little settings console, though, but, I gladly trade it for displayed videos.

Thank you for the advice.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on November 16, 2008, 03:44:25 PM
Note to self: Latest is not always greatest, especially when it is a beta(st).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 16, 2008, 06:58:11 PM
Quote from: nick09 on November 16, 2008, 12:34:53 PM
Karl is out and not active anymore, so you have very limited support.
Is he just on holiday or something or can you confirm he is ceasing support?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on November 16, 2008, 07:17:55 PM
Here, read   [THIS] (http://www.simplemachines.org/community/index.php?topic=268542.msg1755079#msg1755079)   thread mark.
All will be answered there :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Pratt on November 17, 2008, 11:03:24 PM
Just wanted to say thanks for this great great mod!
Karlbenson, you're the best!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 18, 2008, 08:13:55 AM
Quote from: Sabre™ on November 16, 2008, 07:17:55 PM
Here, read   [THIS] (http://www.simplemachines.org/community/index.php?topic=268542.msg1755079#msg1755079)   thread mark.
All will be answered there :)
Wow shocking, I assume someone will take over this mod then? This is the type of mod that needs a very active developer.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on November 18, 2008, 12:06:01 PM
Well that could be a bit for a person to do because they could be busy with work and such. I'm fine with the 3.1.2 version but a stable version of this mod would be helpful.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 18, 2008, 12:19:46 PM
The only thing the 3.xx version needed was the possability to play HQ playback
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on November 18, 2008, 12:31:56 PM
You can't. Youtube does not allow for it, even in the html embing code they provide for each video.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 18, 2008, 12:55:09 PM
I thought so too, but i managed to break the code.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 18, 2008, 02:02:33 PM
Someone needs to take over this mod otherwise Karl's work is in vain... I'm surprised Karl didn't try and find someone but clearly whatever happened in his life came out of the blue and took him away without allowing him preparation.

There's no point making the best mod for SMF when it's not the finished product.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on November 18, 2008, 02:19:52 PM
Quote from: mark7144 on November 18, 2008, 02:02:33 PM
There's no point making the best mod for SMF when it's not the finished product.

:-\

There's a stable version, use it instead of the beta.
Karl had been asking for people to take over his mods for months, so he didnt just abandon them.
Please read up before you make accusations, he has alot of dear friends here, and doesnt need slander alongside his name.

Thank you
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on November 18, 2008, 02:32:45 PM
Agreed.  The stable version is stable.  The beta version is beta.  If you're so interested in having support for it, why not pick it up and develop and support it?  Go for it dude.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mikeric on November 18, 2008, 07:58:52 PM
Anyone else having sites starting to not work that used to work with this mod? Funnyordie and streetfire are not working for me anymore.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PopLife on November 18, 2008, 11:41:34 PM
When I try to apply this mod, I get the message,

"Session verification failed. Please try logging out and back in again, and then try again."

Logging out and back in again doesn't solve the problem.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PopLife on November 19, 2008, 10:51:20 PM
Any ideas?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 21, 2008, 05:31:29 AM
Quote from: Sabre™ on November 18, 2008, 02:19:52 PM
There's a stable version, use it instead of the beta.
The latest version of this mod is quite a significant step forward from the previous. It has been rewritten and has had some major improvements, using what you call the "stable version" isn't an option for people like me who regularly use the BBC News embeds and benefit greatly from the look-up functionality.

Quote from: Sabre™ on November 18, 2008, 02:19:52 PM
Karl had been asking for people to take over his mods for months, so he didnt just abandon them.
He explicitly said he did not want anyone to take over this mod because he wanted to update it himself, unfortunately that is no longer possible. That is what I was trying to get at, I never commented on his other mods.

Quote from: Sabre™ on November 18, 2008, 02:19:52 PM
Please read up before you make accusations, he has alot of dear friends here, and doesnt need slander alongside his name.
If you read my post again, you'll hopefully realise that it is actually in support of Karl and his work. I expressed that I didn't want his work to be in vain and showed an understanding that the only reason he hasn't found a developer must be due to the timing and seriousness of the reasons behind him leaving.

So as someone who has a deep respect for Karl, I ask that you retract your false accusation and slander of my name.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on November 21, 2008, 05:47:26 AM
hahaa  you're too dramatic

Quote from: mark7144 on November 18, 2008, 02:02:33 PM
There's no point making the best mod for SMF when it's not the finished product.

To me that was rude, this is freedom of speech, and so was my statement!
I remove nothing!
So forget about chopping up posts and move along.

Thanks :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 21, 2008, 06:31:14 AM
If BBC links work in the beta version, the code for that particular site should be easy to implement to the stable version if that doesn't support BBC links. It's just a few lines of codes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 21, 2008, 01:41:52 PM
Quote from: akyhne on November 21, 2008, 06:31:14 AM
If BBC links work in the beta version, the code for that particular site should be easy to implement to the stable version if that doesn't support BBC links. It's just a few lines of codes.
The BBC news thing uses the new look-up functionality so not sure it would be so easy.

Quote from: Sabre™ on November 21, 2008, 05:47:26 AM
hahaa  you're too dramatic
And yet you were the one that used words like "slander" in response to an innocent post :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on November 21, 2008, 01:53:34 PM
omg you act like a child.
Please stop spamming this thread and leave it for actual support and/or questions for this mod.
If you want to continue raving on, then refer to PMs, so I can ignore you in a fashion suiting your ignorance.

So PLEASE, grow up, and move on with your life.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: metallica48423 on November 21, 2008, 08:24:24 PM
I respect that there are opposing sides and viewpoints in this argument, but this is not the place for it.  If you cannot be respectful, then please do not bring it to this board.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 22, 2008, 07:35:27 AM
Quote from: Sabre™ on November 21, 2008, 01:53:34 PM
omg you act like a child.
Can you please just stop arguing over something that actually never existed, this thread is not the place for it. I won't stoop to your level by throwing insults in your direction, just make the sensible decision and leave it now.

Quote from: metallica48423 on November 21, 2008, 08:24:24 PM
I respect that there are opposing sides and viewpoints in this argument, but this is not the place for it.  If you cannot be respectful, then please do not bring it to this board.
Quite right, I initially posted in here to ask if a developer is taking over the mod and somehow it has now ended up with Sabre insulting me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: txleo on November 22, 2008, 12:20:48 PM
I installed this mod for SMF 1.1.7 however I can't find the tab to configure the mod? Am I just blind?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 22, 2008, 03:11:25 PM
Quote from: txleo on November 22, 2008, 12:20:48 PM
I installed this mod for SMF 1.1.7 however I can't find the tab to configure the mod? Am I just blind?
Admin > Features and Options > Aevac
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 22, 2008, 04:57:40 PM
Quote from: mark7144 on November 18, 2008, 08:13:55 AM
Wow shocking, I assume someone will take over this mod then? This is the type of mod that needs a very active developer.
I'm not sure anyone will take over... It's quite a large mod, and even for people who have enough time to waste it on developing large mods for free (e.g. SMF Media Gallery in my case), it's not easy to simply "take over", as opposed to helping the original author with some portions of it.
I've been asked a couple of times to take over AEVAC, I've even considered it several times, and fact is, it seems I'm the only one who actually considers that, at all. But there are far more drawbacks to me, than advantages. (Advantage: I love writing regexps. Drawbacks: tech support. Possibly too many nasty bugs to fix. Having to add and remove video sites constantly. Living with the weight of having to maintain two of the biggest media mods for SMF. Etc...)

I still don't like the idea of seeing the mod drift away into oblivion because it's the best of its kind, but I know that I'm personally using AEVAC 3 which does a satisfying job for me, and I have absolutely no idea what AEVAC 4 is supposed to bring, except for a whole lot of shiny new bugs.
Maybe I would be less frightened to take over AEVAC 3, actually, I don't know. Are there any "real" advantages to AEVAC 4?
I could work on fixing bugs in AEVAC 4 if they're not too complicated, but I can't promise I'll take over immediately and forever. I think I can spare a few days of work on this, because right now SMG is close to the final 1.5 release and we're not seeing too many bugs so I could work on both projects next week, but after that, I'm not sure of what I'll be able to provide.

This is just my current state of mind on this...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on November 22, 2008, 05:06:54 PM
Well Nao,
I have read in other threads, or maybe it was Karls farewell thread, that you were thinking on the idea, and have been waiting for you to come here to comment.
I agree with all you have stated, and Im glad that you are considering ironing out a few bugs.
Many people would appreciate your time, and understand the enormity of anyone considering taking the reigns on this project.

I'm sure I speak for everyone, when I say Thank You :)
Every little bit helps.
Cheers
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 22, 2008, 05:22:13 PM
I would love to help, but regexps aren't anything I know about although I know my way around php. And  yeah I also don't care about adding new sites, but just about getting this mod to work properly.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 22, 2008, 05:40:23 PM
QuoteAre there any "real" advantages to AEVAC 4?

Yes, several cool features including "Check whether Youtube videos are embeddable",  Use higher quality YouTube clips
(where available),  Fix uses of the embed html with an embeddable link,  and last and least important "Include the Original Link
(for sites that don't have it in the player)."

If you are going to take over the mod, it would be better to do version 4!

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 22, 2008, 07:01:44 PM
"Use higher quality YouTube clips (where available" - I got AVEAC 3 to do the same.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 22, 2008, 08:16:45 PM
Nao, I agree it would be pretty bad to have to support all those video sites. I think this mod supports far too many video sites, I think it should support just the major ones and leave it at that.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xepernas on November 22, 2008, 08:33:46 PM
Unless I'm mistaken (or facing a strange bug), I think AEVAC 3 doesn't feature any settings page, unlike AEVAC 4 and its aevac tag in "features and options".

As far as I'm concerned, it's the only thing that I miss from AEVAC 4. If this could be added to v3, I'd be perfectly happy, and would indeed consider that AEVAC 4 doesn't bring anything really important.

But of course, I'm not using all these exotic video sites (it's good to know they're here, but in practice, I'm just using the standard youtube/dailymotion sites), nor those lookup functions. So I speak as a very very basic user.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on November 23, 2008, 01:34:41 AM
Quote from: weightman on November 22, 2008, 05:40:23 PM
QuoteAre there any "real" advantages to AEVAC 4?

Yes, several cool features including "Check whether Youtube videos are embeddable",  Use higher quality YouTube clips
(where available),  Fix uses of the embed html with an embeddable link,  and last and least important "Include the Original Link
(for sites that don't have it in the player)."

If you are going to take over the mod, it would be better to do version 4!

Thanks

The thing is, YT videos in version 4 just produce the white circle of death, as mentioned earlier, which basically renders it useless for YT.

(http://www.edgeoffate.com/images/Youtube.jpg)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 23, 2008, 04:16:15 AM
@akyhne> I think Karl was a bit too kind to n00bs coming by to ask for support for whatever obscure video site they wanted ;) (Probably some website created by a friend and that only them would use :P)

@Xaneth> You mean it *never* works?

@mark> Ah, the good old times of AEVAC 1 & 2..... ;) Back when it was still just called "Autoembed video"... ;)

Quote from: weightman on November 22, 2008, 05:40:23 PM
Yes, several cool features including "Check whether Youtube videos are embeddable",
Well I'm not sure how this is done...? Anyway, when a video is not embeddable, I don't really mind, since just clicking on the flash movie will usually bring me to the item page... (I'm not exactly sure, though.)
Also, I regularly have a "Not embeddable" error which gets fixed when I simply refresh my page. (This is with AEVAC3.)

QuoteUse higher quality YouTube clips (where available),
Isn't it already the case in v3...?

QuoteFix uses of the embed html with an embeddable link,
Well that one is cool for n00bs, but I suspect this is one of the reasons v4 has grown to such large proportions... Actually, I already thought that v3 was going in the wrong direction because of all of the overhead... Karl tried to take every possible n00b mistake into account when doing v3 and v4... As a result, what used to be a 20kb (!!!) mod has turned into a 250kb mod, including 32kb of code just for the actual job of turning links into embedded videos... I can understand that he'd like to get rid of n00b support messages though. But it's hardly maintainable in the current situation. My guess is that it's one of the main reasons he gave up on AEVAC. He should have adopted a more restrictive policy, and/or made a paid-for version where n00bs could actually get support and ask for obscure video site integrations.

Quoteand last and least important "Include the Original Link (for sites that don't have it in the player)."
I think it's one of the better new features, if you ask me... :P

QuoteIf you are going to take over the mod, it would be better to do version 4!
Yeah, I guess...
But I'd feel so much more comfortable if I could take out all of the unneeded code...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 23, 2008, 07:33:01 AM
3 most important features for me:

1. BBC News embeds (uses look-up)
2. High quality YouTube
3. URL to video.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 23, 2008, 07:37:26 AM
#2 and #3 could be easily implemented in version 3
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 23, 2008, 08:03:28 AM
What about #1, that's most important to me?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 23, 2008, 08:06:47 AM
I have no idea how it works
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: qubbah on November 23, 2008, 09:59:08 AM
how can i embed this:

<object width="320" height="277"><param name="movie" value="http://www.tv9.com.my/App_Themes/tv9/swf/FlvPlayer_320x277.swf"></param><param name="FlashVars" value="flv=http://medprima.vo.llnwd.net/o18/u/tv9/sec/halaqah/halaqah_2008_041_rec.flv &title=Halaqah: Episod 41"></param><param name="wmode" value="transparent"></param><embed src="http://www.tv9.com.my/App_Themes/tv9/swf/FlvPlayer_320x277.swf" type="application/x-shockwave-flash" wmode="transparent"  width="320" height="277" flashvars="flv=http://medprima.vo.llnwd.net/o18/u/tv9/sec/halaqah/halaqah_2008_041_rec.flv &title=Halaqah: Episod 41"></embed></object>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 23, 2008, 12:50:23 PM
QuoteWell I'm not sure how this is done...? Anyway, when a video is not embeddable, I don't really mind, since just clicking on the flash movie will usually bring me to the item page... (I'm not exactly sure, though.)

Hmm, that isn't the case with me. If the video is not embeddable, it comes up as "This video is no longer available" or something like that and you can't click it to go to the item.

QuoteUse higher quality YouTube clips (where available),

Isn't it already the case in v3...?

I don't know, but it works for me with V4.

QuoteFix uses of the embed html with an embeddable link,

Well that one is cool for n00bs, but I suspect this is one of the reasons v4 has grown to such large proportions... Actually, I already thought that v3 was going in the wrong direction because of all of the overhead... Karl tried to take every possible n00b mistake into account when doing v3 and v4... As a result, what used to be a 20kb (!!!) mod has turned into a 250kb mod, including 32kb of code just for the actual job of turning links into embedded videos... I can understand that he'd like to get rid of n00b support messages though. But it's hardly maintainable in the current situation. My guess is that it's one of the main reasons he gave up on AEVAC. He should have adopted a more restrictive policy, and/or made a paid-for version where n00bs could actually get support and ask for obscure video site integrations.

It is a nice feature for n00bs or non-techie type people on your forum. I have many non-techie people as members of my site so its useful. I do agree that a bunch of odd-ball unimportant video sites are supported and would be fine with just focusing on the top few or so. I also have no use for the embed local files features. I wouldn't put any videos worth hosting on my own server (eating my space and bandwidth) on my forum but rather on my main site/CMS.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mforum on November 23, 2008, 01:15:20 PM
i use AEVAC 4.0.2 on my 1.1.7 forum
have checked Windows Media files (.wmv/.wma) on Embed Local Files [Excludes attachments]

i use in post the url
http://www.mysite/folder/video.wmv  (mysite is my domain)

i don`t see any embed video, only the url  ::)

*the link to video is correct
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: poolhall on November 23, 2008, 02:11:32 PM
Quote from: Nao 尚 on November 23, 2008, 04:16:15 AM
@Xaneth> You mean it *never* works?

YouTube videos work just fine in AEVAC 4. No "white circles of death":
http://allboxing.ru/forum/index.php?topic=13254.msg935547#msg935547

Nao 尚, if you take this mod over, it'd be just really great man!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 23, 2008, 02:19:06 PM
Try this link: http://www.youtube.com/watch?v=3aQPLdfk4Nk

It's not embeddable
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: poolhall on November 23, 2008, 02:32:24 PM
Quote from: akyhne on November 23, 2008, 02:19:06 PM
Try this link: http://www.youtube.com/watch?v=3aQPLdfk4Nk

It's not embeddable

My forum shows the url to that video and the text (External Embedding Disabled)

You have to make sure that you tick the option Check whether Youtube videos are embeddable in Aevac settings.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 23, 2008, 02:37:56 PM
I know, but you wrote videos are embeddable from Youtube. I just wanted to show you they are not all embeddable.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Paracelsus on November 23, 2008, 02:41:09 PM
Quote from: Nao 尚 on November 22, 2008, 04:57:40 PM
Quote from: mark7144 on November 18, 2008, 08:13:55 AM
Wow shocking, I assume someone will take over this mod then? This is the type of mod that needs a very active developer.
I'm not sure anyone will take over... It's quite a large mod, and even for people who have enough time to waste it on developing large mods for free (e.g. SMF Media Gallery in my case), it's not easy to simply "take over", as opposed to helping the original author with some portions of it.
I've been asked a couple of times to take over AEVAC, I've even considered it several times, and fact is, it seems I'm the only one who actually considers that, at all. But there are far more drawbacks to me, than advantages. (Advantage: I love writing regexps. Drawbacks: tech support. Possibly too many nasty bugs to fix. Having to add and remove video sites constantly. Living with the weight of having to maintain two of the biggest media mods for SMF. Etc...)

I still don't like the idea of seeing the mod drift away into oblivion because it's the best of its kind, but I know that I'm personally using AEVAC 3 which does a satisfying job for me, and I have absolutely no idea what AEVAC 4 is supposed to bring, except for a whole lot of shiny new bugs.
Maybe I would be less frightened to take over AEVAC 3, actually, I don't know. Are there any "real" advantages to AEVAC 4?
I could work on fixing bugs in AEVAC 4 if they're not too complicated, but I can't promise I'll take over immediately and forever. I think I can spare a few days of work on this, because right now SMG is close to the final 1.5 release and we're not seeing too many bugs so I could work on both projects next week, but after that, I'm not sure of what I'll be able to provide.

This is just my current state of mind on this...

I fully understand your position, but I would personally be immensely satisfied if the most important bugs could get fixed.

And I'm not talking about embedding this, or adding that, just fixing annoying bugs like the &nbsp; thing and the video embedding inside quote (if you don't activate it in v4 then that topic page crashes - a feature that v3 unfortunately doesn't have which blocks a lot of topics).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: poolhall on November 23, 2008, 02:44:13 PM
Quote from: akyhne on November 23, 2008, 02:37:56 PM
I know, but you wrote videos are embeddable from Youtube. I just wanted to show you they are not all embeddable.

I wrote an answer to a post where it was alleged that YT video produce the "white circle of death" when using AEVAC 4.

If embedding has been disabled for a particular video, the video cannot be embedded, I believe, at all. It's not a Aevac 4 issue.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: poolhall on November 23, 2008, 02:47:58 PM
Quote from: Paracelsus on November 23, 2008, 02:41:09 PM
video embedding inside quote (if you don't activate it in v4 then that topic page crashes
I am using AEVAC 4 and have never activated the embedding videos in quotes feature. Having no problems with pages.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 23, 2008, 02:48:49 PM
Quote from: Paracelsus on November 23, 2008, 02:41:09 PM
I fully understand your position, but I would personally be immensely satisfied if the most important bugs could get fixed.

And I'm not talking about embedding this, or adding that, just fixing annoying bugs like the &nbsp; thing and the video embedding inside quote (if you don't activate it in v4 then that topic page crashes - a feature that v3 unfortunately doesn't have which blocks a lot of topics).
I never saw that &nbsp; issue. How do you provoke that error to happen?

video embedding inside quote  - like this: "http://www.youtube.com/watch?v=sO_hClrtpXo"? Doesn't give any error for me.
Edit: Ahh, you mean quoted messages!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on November 23, 2008, 03:07:37 PM
Quote from: poolhall on November 23, 2008, 02:11:32 PM
Quote from: Nao 尚 on November 23, 2008, 04:16:15 AM
@Xaneth> You mean it *never* works?

YouTube videos work just fine in AEVAC 4. No "white circles of death":
http://allboxing.ru/forum/index.php?topic=13254.msg935547#msg935547

Nao 尚, if you take this mod over, it'd be just really great man!

V4 worked for me at first, and then over time I noticed that the YT videos just hang on my site.  V3 works fine, however.  May be the overhead?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Paracelsus on November 23, 2008, 03:35:16 PM
Quote from: akyhne on November 23, 2008, 02:48:49 PM
Quote from: Paracelsus on November 23, 2008, 02:41:09 PM
I fully understand your position, but I would personally be immensely satisfied if the most important bugs could get fixed.

And I'm not talking about embedding this, or adding that, just fixing annoying bugs like the &nbsp; thing and the video embedding inside quote (if you don't activate it in v4 then that topic page crashes - a feature that v3 unfortunately doesn't have which blocks a lot of topics).
I never saw that &nbsp; issue. How do you provoke that error to happen?

video embedding inside quote  - like this: "http://www.youtube.com/watch?v=sO_hClrtpXo"? Doesn't give any error for me.
Edit: Ahh, you mean quoted messages!!


You can check it here:
Quote from: PMF on October 23, 2008, 04:24:34 PM
Quote from: PMF on October 11, 2008, 06:57:34 PM
Quote from: oztiks on October 11, 2008, 11:25:55 AM
Quote from: cthulhumythos on October 11, 2008, 10:33:43 AM
Quote from: rad1701 on October 08, 2008, 08:56:54 PM
Installed ok, but one little problem.  I am getting this again in posts:   &nbsp;
I am also having this problem, and also the big core files still. Would love to know how to fix this...

Same here.
And same here also with Me with the---> &nbsp;

Does anybody have a fix for the (&nbsp;) problem

A few people in this topic have posted about it, but so far nobody has posted a possible fix.

With Me and the others who posted about the (&nbsp;) problem this is what the problem is......

When members on my site submit a post the (&nbsp) code shows up in members post's. Today for example on my forums a member posted and he had (&nbsp;) showup after every sentance in his post.

Basically, the &nbsp; thing comes up sometimes in quoted messages. I have no idea what's causing it, if it's related with UTF-8 or something else.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on November 23, 2008, 04:16:22 PM
The fix for &nbsp is to go into censored words and add the string. Resolved all my issues with it.   Forum-->Posts and Topics-->Censored Words and add both &nbsp and &nbsp;

http://www.simplemachines.org/community/index.php?topic=273524.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Paracelsus on November 23, 2008, 04:26:53 PM
Quote from: Xaneth on November 23, 2008, 04:16:22 PM
The fix for &nbsp is to go into censored words and add the string. Resolved all my issues with it.   Forum-->Posts and Topics-->Censored Words and add both &nbsp and &nbsp;

http://www.simplemachines.org/community/index.php?topic=273524.0

Very smart solution, thanks. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 23, 2008, 05:31:13 PM
Not really a solution. What version are we talking about? 3 or 4? Does anyone have a link to a post with the issue?

By the way I have been working on a beta 3.1.3 that adds links below videos and HQ playback also in version 3. I just need to find the 3.x topic to upload the files.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on November 23, 2008, 05:33:14 PM
Quote from: akyhne on November 23, 2008, 05:31:13 PM
Not really a solution. What version are we talking about? 3 or 4? Does anyone have a link to a post with the issue?

By the way I have been working on a beta 3.1.3 that adds links below videos and HQ playback also in version 3. I just need to find the 3.x topic to upload the files.

Yes, really a solution.  As I said, I had the issue for quite some time and this resolved it.  If you look at the thread I posted, it is specific to this mod as well.  The link to the post is right there.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 23, 2008, 05:34:06 PM
I am working on a few modifications that makes HQ embed of Youtube videos possible. And an option to show a link to the source of the video.
I will upload it here once it is finished.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 23, 2008, 05:35:42 PM
It is not a solution to the mod, really.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on November 23, 2008, 05:42:31 PM
Not to the mod, no, but it is a workaround that works (e.g. working solution).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 23, 2008, 05:45:06 PM
I'm quite sure I saw someone writing about this being an issue to version 3 as well. But I have a forum with hundrets of videos linked from Youtube and I never saw the issue.

I'm still using version 3 as V4 didn't work as it should.

And I would still like a link to a page where the problem is, as I would like to see the code behind.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on November 23, 2008, 05:47:02 PM
Yeah I don't think the problem existed on V3, I didn't start seeing it until I upgraded to V4.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on November 23, 2008, 06:00:56 PM
Here's a thread Karl was on that has some code recommendations in it:

http://www.simplemachines.org/community/index.php?topic=265441.msg1609998#msg1609998

Sorry, guess he was describing some other issues about Display.php, but he did say:

QuoteI've now uploaded v3.1 which I've spent a good deal of time last night and tonight working on.
I *think I've fixed all the issues.  Although the &nbsp; bug I've not been able to completely replicate, but I've made some changes that I hope fix it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 24, 2008, 03:25:51 AM
If you're interested in the future of AEVAC, please read this post. Thank you.

I know I'm going to regret it, but I've decided to take over the AEVAC project, if no one is opposed to the idea. I would like to have Karl's official approval and I hope someone (Jade?) will transmit this message to him and ask for his advice. Thank you. (I would appreciate even more if he could share any additional code he has -- earlier private beta, external tools, etc.)

I will have to review all 15 pages of the topic, compile a list of things to fix and implement, and start reworking the mod to my own guidelines (I'm following as close as possible the official SMF coding guidelines, which I already apply to SMG). It will be slow because I'm still working on SMG, but I'll be sure to work on it. It may not be forever, either -- if I ever think the mod has reached a stable condition,

If anyone else would like to take over the job, please say it now. ;)

I only took over a mod once before -- Merge Double Posts, but it was unwillingly (and I'm still in denial). I'm willing to do the AEVAC job if it doesn't eat up too much of my time. I'm not going to spend my time researching new video websites -- I'll be more likely to eliminate sites from the list, to make it easier to handle.
If I get to inherit the code base and everything, things will be done according to my rules, so there's bound to be a few changes. I will implement more ties to the SMG project, etc. I may even rename it to AEVA or MAEVA (I never quite liked that "C"...) and skip to version 5 or reset to version 1, in order to make it clear the ownership has changed.
More importantly (but it's still in the air and may not happen anytime soon), I could very well drop SMF 1 support, because let's face it, supporting SMF 1 for SMG is a nightmare to me. 95% of bugs that happen during beta are due to the SMF 1 implementation (Dragooon and I just don't always have the time to test on a separate SMF 1 install). I would encourage anyone to switch to SMF 2 anyway -- it's mature enough. If only the SMF team could hurry up and release RC1...

I'm still unsure whether to host the project at noisen.com (my personal website, over which I have complete control), or smf-media.com (SMG's website, which has a fitting name, and a SVN client, but over which I have close to no control). I'll need the help of willing beta testers, who are ready to take the crap and bear with me being much, much less likeable and patient than Karl ever was.

It's not going to be pretty, but it's the only way I'll feel comfortable taking over. Thanks for reading.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on November 24, 2008, 03:44:37 AM
Congratulations mate.
And good luck.

Thanks :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 24, 2008, 04:11:25 AM
I like what I hear.

If you need any help, then please let me know.

I think you should skip embedding of sites that doesn't allow it anyway. Why bother with the troubles it makes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mforum on November 24, 2008, 04:36:50 AM
QuoteI'll need the help of willing beta testers, who are ready to take the crap and bear with me being much, much less likeable and patient than Karl ever was.

I would like to be a beta tester ........  that`s for 3 reasons

1.I like the mod and use it on my forum
2.You can test it on my 1.x forum
3.-The best one-  I can bear you   :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 24, 2008, 04:50:17 AM
Quote from: Nao 尚 on November 24, 2008, 03:25:51 AMI could very well drop SMF 1 support
That would be very sad, I hope you won't do this until a proper release of SMF2 is out.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 24, 2008, 07:04:49 AM
Quote from: mark7144 on November 24, 2008, 04:50:17 AM
Quote from: Nao 尚 on November 24, 2008, 03:25:51 AMI could very well drop SMF 1 support
That would be very sad, I hope you won't do this until a proper release of SMF2 is out.
Well, that depends on when the final release is out... And whether or not I get issues with SMF1 support. If I don't -- then we're good.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: poolhall on November 24, 2008, 10:35:39 AM
Thanks, Nao 尚!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on November 24, 2008, 10:53:20 AM
Thanks for stepping up Nao. I have some test forums (variety of 1.x and 2.x) that I can help beta test with. I've been using AEVAC since its early releases, and it has been the one mod my boards can't do without.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 24, 2008, 11:22:28 AM
QuoteMore importantly (but it's still in the air and may not happen anytime soon), I could very well drop SMF 1 support, because let's face it, supporting SMF 1 for SMG is a nightmare to me. 95% of bugs that happen during beta are due to the SMF 1 implementation (Dragooon and I just don't always have the time to test on a separate SMF 1 install). I would encourage anyone to switch to SMF 2 anyway -- it's mature enough.

I won't be switching to SMF2 until Orstio releases a stable bridge upgrade for it (or announces he isn't going to) but this sounds fine to me anyway because I can stick with this version for now as the bugs are minor and only in new features from V3.

Thanks very much
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 24, 2008, 11:25:28 AM
Neither can mine.

Can anyone have a look at smf-media.com and forum.noisen.com and say whichever board they'd like to see the AEVAC board go to? smf-media.com has the "right name" and the right tools, but I only have control over noisen.com and I test my new code on it... Hmm.

At any rate, don't expect me to start work on AEVAC before the next couple of days.

@weightman> What bridge?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 24, 2008, 11:36:45 AM
Hmm, if it's webspace and DB space you need, I can offer it for you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 24, 2008, 11:41:23 AM
Quote@weightman> What bridge?

Orstio's bridge for the Mambo CMS. Sorry, that has nothing to do with this topic but that is the primary, by far, reason I am waiting to upgrade to 2.0 along with a couple other mods I use not being updated yet that supposedly will be at some point.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: poolhall on November 24, 2008, 11:51:16 AM
Nao 尚,

The forum at smf-media.com looks prettier, haha. But I guess it doesn't really matter to us, if you feel it's more convenient for you to host the project at noisen.com, please stick with it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 24, 2008, 01:09:04 PM
@weightman> Sorry, I don't know anything about Mambo so I can't help...

Quote from: poolhall on November 24, 2008, 11:51:16 AM
Nao 尚,

The forum at smf-media.com looks prettier, haha.
And now? (I chose a better looking color theme for mine :P)

QuoteBut I guess it doesn't really matter to us, if you feel it's more convenient for you to host the project at noisen.com, please stick with it.
I still don't know... Well, I still have a few days before I get to take my decision on whether I'll host the project and the support boards. It will probably be over at smf-media.com, but noisen has a strong case :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 24, 2008, 01:13:04 PM
Quote@weightman> Sorry, I don't know anything about Mambo so I can't help...

No worries. I don't need any help. Hopefully Orstio will update the SMF-Mambo bridge once SMF2 comes out of beta. If not, I will have to do things differently for now on.

Cheers
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 24, 2008, 01:16:06 PM
Quote from: Nao 尚 on November 24, 2008, 01:09:04 PM
I still don't know... Well, I still have a few days before I get to take my decision on whether I'll host the project and the support boards. It will probably be over at smf-media.com, but noisen has a strong case :P

It depends, I guess, on what options you have available about changing php.ini options, what PHP and MySql version you have available.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 24, 2008, 01:20:19 PM
Quote from: akyhne on November 24, 2008, 01:16:06 PM
It depends, I guess, on what options you have available about changing php.ini options, what PHP and MySql version you have available.
Err... Changing php.ini? What for?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 24, 2008, 01:30:12 PM
Support for different kind of options. I don't know if it can influence anything in the embed mod as I don't know the code behind. Perhaps memory limits etc.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 24, 2008, 02:49:06 PM
I didn't even install AEVAC 4 yet, and I think I've already fixed the &nbsp; bug ;D

Open Subs-Aevac.php, line 533... And replace $bbcode with !$bbcode

Yeah, simplest fix in the world :P
Tell me if it works, though! I'm only getting started here... Just finished translating the mod to French.

(Wow, that's a cool 2^10th post.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 24, 2008, 03:02:40 PM
I count 2^10th + 1 ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 24, 2008, 03:21:21 PM
That's because I posted in the meantime... (Twice, now.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Simplemachines Cowboy on November 24, 2008, 03:25:01 PM
Quote from: Nao 尚 on November 24, 2008, 02:49:06 PM
I didn't even install AEVAC 4 yet, and I think I've already fixed the &nbsp; bug ;D

Open Subs-Aevac.php, line 533... And replace $bbcode with !$bbcode

In my file of Subs-Aevac.php, Version 4, I have $bbcode in 4 locations:
Lins 1039, 1053, 1063, and 1065.
Nothing at 533.
?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 24, 2008, 03:37:53 PM
Are you sure you're using v4? ^^

if($bbcode) <---------- that line
$input = strtr($input, array('\'' => ''', $context['utf8'] ? "\xC2\xA0" : "\xA0" => '&nbsp;', '>">' => '&quot;', '<"<' => '"', '<lt<' => '&lt;'));
else
$input = strtr($input, array('\'' => ''', '>">' => '&quot;', '<"<' => '"', '<lt<' => '&lt;'));
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Paracelsus on November 24, 2008, 03:44:30 PM
Quote from: Nao 尚 on November 24, 2008, 02:49:06 PM
I didn't even install AEVAC 4 yet, and I think I've already fixed the &nbsp; bug ;D

Open Subs-Aevac.php, line 533... And replace $bbcode with !$bbcode

Yeah, simplest fix in the world :P
Tell me if it works, though! I'm only getting started here... Just finished translating the mod to French.

(Wow, that's a cool 2^10th post.)

Cool, changed it. Let's see if it works.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 24, 2008, 04:53:11 PM
Nao, really glad you plan to remove some video sites, half of them are ridiculously insignificant. Might be an idea to just visit the websites of all of them and keep the ones with high PR if you have never heard of some of them.

Imeem is one I just got using today via this mod, great website for high quality music so I hope that stays.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 24, 2008, 05:39:31 PM
Paracelsus> So, did it work...?

Quote from: mark7144 on November 24, 2008, 04:53:11 PM
Nao, really glad you plan to remove some video sites, half of them are ridiculously insignificant.
Yeah, probably... I had a quick look at the disabled ones (un-embeddable)... They simply sucked... Especially stagehq.com... I removed them without waiting. I guess it would be harder for Karl to do that -- he spent time to research for their URL schemes. One of the good things I'm taking over, I guess? Well, we'll see. Maybe in two weeks, there will be twice as many websites in the list :P

QuoteMight be an idea to just visit the websites of all of them and keep the ones with high PR if you have never heard of some of them.
I don't like relying on PR... But I'll try to think of it. (Forces me to use Firefox or IE to visit them, though...)

QuoteImeem is one I just got using today via this mod, great website for high quality music so I hope that stays.
The name rings a bell to me... It'll stay, for sure.
Don't forget v4 introduces the ability to choose from the site list. It's important. I can't remove all of them. But I'm thinking, at least, if I add a new site, I'll have to remove one from the list. Sounds fair enough. The list is already 160kb -- it's a complete joke. No even 10% are actual websites with more than a hundred users, I think.

Quality isn't always about quantity. But I have time to think of it. I need to adjust. I'm finished with my first rewrite of the mod -- I mainly cleaned up the code like I usually do on SMG, and I renamed the mod from AEVAC to AEVA. Sounds much better. I'll pronounce it like Wall-E pronounces Eve. "Eeeeeeva...?"
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 24, 2008, 06:14:39 PM
Quote from: Nao 尚 on November 24, 2008, 05:39:31 PM
and I renamed the mod from AEVAC to AEVA. I'll pronounce it like Wall-E pronounces Eve. "Eeeeeeva...?"
Haha, before I even read what you said about Wall-E, it's the first thing I thought of! What an awesome film :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 24, 2008, 06:38:01 PM
Quote from: mark7144 on November 24, 2008, 06:14:39 PM
Quote from: Nao 尚 on November 24, 2008, 05:39:31 PM
and I renamed the mod from AEVAC to AEVA. I'll pronounce it like Wall-E pronounces Eve. "Eeeeeeva...?"
Haha, before I even read what you said about Wall-E, it's the first thing I thought of! What an awesome film :)
Yeah... Best of its kind.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 24, 2008, 06:39:59 PM
Will embedding of local files be one of the things you will remove from the mod? It doesn't work as it is right now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 24, 2008, 06:49:39 PM
I don't even know what it's supposed to do ;)

Should I fix it, or remove it?

Playing local files is one of the things that SMG does, though. You could use it for this kind of stuff ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Polymath on November 24, 2008, 07:33:00 PM
Just to let anyone know that if you give text decoration (Bold,Underline,Italics etc) for your post links in style.css, the mod for Youtube video does not work. You can have a color but not decoration.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 24, 2008, 08:06:24 PM
QuoteWill embedding of local files be one of the things you will remove from the mod? It doesn't work as it is right now.

QuoteI don't even know what it's supposed to do ;)

Should I fix it, or remove it?

I vote to remove the embed local files functionality completely as it really is an entirely different purpose from the original intent of this mod in my opinion.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on November 24, 2008, 08:31:48 PM
I second that. I guess it would be nice if local embedding worked, its easy enough to upload to YT. I feel like one of those fat guys in a floating chair mesmerized by a screen.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Simplemachines Cowboy on November 24, 2008, 09:19:15 PM
Quote from: Nao 尚 on November 24, 2008, 03:37:53 PM
Are you sure you're using v4? ^^

      if($bbcode) <---------- that line
         $input = strtr($input, array(''' => ''', $context['utf8'] ? "Â " : " " => '&nbsp;', '>">' => '&quot;', '<"<' => '"', '<lt<' => '&lt;'));
      else
         $input = strtr($input, array(''' => ''', '>">' => '&quot;', '<"<' => '"', '<lt<' => '&lt;'));


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 25, 2008, 02:02:25 AM
Quote from: Nao 尚 on November 24, 2008, 06:49:39 PM
I don't even know what it's supposed to do ;)

Should I fix it, or remove it?

Playing local files is one of the things that SMG does, though. You could use it for this kind of stuff ;)

Embedding of local files is one of the things I was looking forward to in version. But since it didn't work, I made my own modifications to play .flv and .wmv locally with the JW Player.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mforum on November 25, 2008, 03:26:06 AM
Quote from: Nao 尚 on November 24, 2008, 06:49:39 PM
I don't even know what it's supposed to do ;)

Should I fix it, or remove it?

Playing local files is one of the things that SMG does, though. You could use it for this kind of stuff ;)

SMG doesn`t do that ....
is a big difference to upload a video file (that means you must allow a really big max file size) than embed the file in your post.
The option of embed local files is there , but don`t work for some reason ......  :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Paracelsus on November 25, 2008, 04:08:09 AM
Quote from: Simplemachines Cowboy on November 24, 2008, 09:19:15 PM
Quote from: Nao 尚 on November 24, 2008, 03:37:53 PM
Are you sure you're using v4? ^^

      if($bbcode) <---------- that line
         $input = strtr($input, array(''' => ''', $context['utf8'] ? "Â " : " " => '&nbsp;', '>">' => '&quot;', '<"<' => '"', '<lt<' => '&lt;'));
      else
         $input = strtr($input, array(''' => ''', '>">' => '&quot;', '<"<' => '"', '<lt<' => '&lt;'));


Yep. Auto Embed Video/Audio Clips 4.0.2
Pulled a new copy of the mod from the mod site & checked the Subs-Aevac.php and it's not there either.
Attached is my file pulled from my working site.


You have a very weird Subs-AEVAC.php with double spacing between every line. I would guess it's the one on line 1065 (about double of line 533 ;)).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 25, 2008, 04:57:48 AM
Quote from: Paracelsus on November 25, 2008, 04:08:09 AM
You have a very weird Subs-AEVAC.php with double spacing between every line.
That's because he downloaded off his Linux FTP onto a Windows machine through a FTP client set in ASCII mode and that didn't correctly retrieve the data.
Line breaks in Windows and Linux are not the same. It creates problems in some configurations. (I get that from time to time with my CuteFTP 2.8 in ASCII mode... Although it hasn't happened to me in years, actually.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 25, 2008, 06:39:01 AM
Would need a few opinions for the future version. I've already asked, but didn't get a lot of answers, ehh...

- version number: (1) reset to 1.0 (2) update to 5.0 (3) update to 4.0.3 and so on
- name: (1) rename to AEVA (2) rename to SMAEVA (SimpleMachines Auto-Embed Video & Audio) (3) keep AEVAC
- website: (1) noisen.com (with a subdomain) (2) smaeva.com (3) smf-media.com (with a long URL following it :P)

If you want an AEVA 1.0 hosted at noisen.com (like, a support board at aeva.noisen.com), just answer 111. You get the point. Thanks for your participation.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Paracelsus on November 25, 2008, 08:17:06 AM
1-3,1,3

Explaining: I would like to see an update of the current version with fixed bugs (like the server error message sometimes when 'embedding in quoted messages' is disabled) and have this version as "legacy" version (3). After this, the next version should be your remake with your logic and options (1).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 25, 2008, 08:52:41 AM
331
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 25, 2008, 09:42:58 AM
2 initially then 3.

1 and definitely not 2 - sounds like some Smurf town!

1 - no idea what the domain means but it's considerably more memorable than the other options. Overall, all the options for this one are dissapointing.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: poolhall on November 25, 2008, 10:09:07 AM
2
don't matter (IMHO, all 3 stink, honestly  :P )
1
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 25, 2008, 10:23:02 AM
2
1
Whatever
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RustyBarnacle on November 25, 2008, 11:23:24 AM
211
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 25, 2008, 07:50:10 PM
YouTube has now gone widescreen, will the dimensions set in this mod change accordingly?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on November 25, 2008, 08:06:40 PM
You can change it yourself, just edit the php file where the youtube entry is.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 26, 2008, 01:30:09 AM
Quote from: mark7144 on November 25, 2008, 07:50:10 PM
YouTube has now gone widescreen, will the dimensions set in this mod change accordingly?
Yeah of course.
What are the preferred dimensions?

As for the mod, I'll go 211 since it seems to be the most commonly accepted offer.
You can check out http://aeva.noisen.com for a placeholder forum. If it appears in French even though your Windows is in English, please report it. (I'm trying to set it by default to your OS language. But this is a website targetted to French users so it's not easy to check everything.)

(And to whomever said the name sucked, thank you. I only spent a few months thinking about it.)

@Paracelsus> I don't think I will do that. I need to find an incentive to work on this. If I release a fixed AEVAC, what the heck should I work on AEVA for?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 26, 2008, 02:13:11 AM
Dimensions should be optional in the admin center. Most videos are made in 4/3 or similar format and really looks stupid in widescreen format.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 26, 2008, 02:59:05 AM
Quote from: akyhne on November 26, 2008, 02:13:11 AM
Dimensions should be optional in the admin center. Most videos are made in 4/3 or similar format and really looks stupid in widescreen format.
That's the plan. I'll try to find whether Youtube offers a variable that sets widescreen format. Maybe it will in a few days, when enough people complain that 4/3 vids shouldn't have black bars ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Soms on November 26, 2008, 03:09:51 AM
Quote from: Nao 尚 on November 26, 2008, 01:30:09 AM
You can check out http://aeva.noisen.com for a placeholder forum. If it appears in French even though your Windows is in English, please report it. (I'm trying to set it by default to your OS language. But this is a website targetted to French users so it's not easy to check everything.)

It does appear in French!  :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 26, 2008, 03:15:58 AM
There's supposedly a blog post from Youtube about the change:
http://www.youtube.com/blog?entry=0i22UDAOfj8
Unfortunately, it won't show up in my browser -- I only have access to the French version of their blog, even if I enable English everywhere and I hide my country... Annoying!
If there's any technical data about doing something about the widescreen format stuff, please paste it here!

@Soms> What about now?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Soms on November 26, 2008, 04:06:10 AM
Quote from: Nao 尚 on November 26, 2008, 03:15:58 AM
@Soms> What about now?

Nope On FF it takes me to http://aeva.noisen.com/install.php and on IE it won't even show at all
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 26, 2008, 04:09:17 AM
Nothing else than they expanded the Youtube page to 960px to make more room for the widescreen videos.

I managed to do a few tests before going to work. I made a button to make a video change btw. 16:10 and 4:3 dimensions. The video was in 16:10. All that really happened was that the top and bottom black bars of the video was hided. The video wasn't played back in another stretched format. Also, as I can see it, the dimensions in the embedded code Youtube provide isn't changed at all.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Soms on November 26, 2008, 04:11:28 AM
It is ok now! It is in English now. Opens fine in both FF and IE  :D :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: poolhall on November 26, 2008, 07:28:24 AM
Quote from: Nao 尚 on November 26, 2008, 03:15:58 AM
If there's any technical data about doing something about the widescreen format stuff, please paste it here!
It's just a short announcement with myriads of comment on how much they love or hate the new dimensions :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on November 26, 2008, 07:36:05 AM
Some parts of the website(the link provided by Nao 尚) is French but it is good enough to browse the site.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 26, 2008, 07:59:54 AM
Stupid question of the day...
Who should I be talking to, in order to transmit to me the ownership of the http://custom.simplemachines.org/mods/index.php?mod=977 page?
I'm not asking for ownership of this topic (it will obviously have to be replaced with a new one... Unless someone changes the id_member for the first post to my account...), but I'm sure people will be more likely to understand Aevac has been taken over if the URL stays the same for the mod itself...
(I need to be either added as Additional author, or put as main author, and add Karl as additional author of course.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 26, 2008, 08:13:03 AM
Quote from: nick09 on November 26, 2008, 07:36:05 AM
Some parts of the website(the link provided by Nao 尚) is French but it is good enough to browse the site.
Just tell me what I should translate to English and I'll try to do it ASAP. This is really a beta website that is catered to a French audience. I offered to open the discussion/support board there because (1) guests can post, which doesn't force you to open an account just for asking a question, (2) I have control over the website, and I'll be testing Aeva there, so it's only logical that people could make their tests over there.
If you'd rather use smf-media.com (which hosts the SVN server and will also host the beta versions, thanks to Dragooon who kindly offered free use of his system), I just need a few more people to ask for it. You'll have to register over there, though, if you want to post, so it's less flexible.

Oh my, another long sentence...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on November 26, 2008, 08:23:28 AM
Try contacting "SMF Customization Team"(the custom team uses this account for user support) in a PM.

Also the search bar and the left panel need to be translated.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 26, 2008, 09:50:54 AM
(I left a PM for metallica, upon a hint from SiNaN.)

Search bar and sidebar, okay, I'll have a look... That sidebar should have gone long ago, but I'm too lazy to turn it into a menu... ^^ (I will though, at one point.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 26, 2008, 10:11:13 AM
@Soms> Yeah, forgot to remove that file... I was testing a bug in the install process when using it as stand-alone. Turns out it just needed to be renamed...

Quote from: akyhne on November 26, 2008, 04:09:17 AM
Nothing else than they expanded the Youtube page to 960px to make more room for the widescreen videos.
I just tested... It would seem that Youtube embedded videos change their dimensions according to the embed size. i.e., if you put a 16/9 video into a 4/3 window, it will show with black bars... same thing the other way around.
I'm not sure what I could do, apart from adding an option in the admin area to let the administrator choose whether to show 4/3 or 16/9 videos all the time...
Adding &fmt=22 to the URL used to force the video to 16/9 so I could have used that, but nowadays it always defaults to 16/9, even when trying to force 4/3, at least on Youtube I mean...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 26, 2008, 10:33:48 AM
You could do like i did here this morning: teamhd.org - youtube video. There's a button below the video.

Note that I changed the height for testing as the space I have available in width there is limited. Of course you should expand the width when showing 16/9 or 16/10 video.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gmvasco on November 26, 2008, 03:46:38 PM
Hi. Thanks again for this great mod. I'm still using version 2.2 (don't fix what's working), but I'm going to upgrade now because of the YouTube 16/9 aspect rate..
I mean, I'll upgrade as soon as the mod supports it natively.
So, yes that's a request. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 26, 2008, 04:05:26 PM
Point taken ;)
Is the "admin area checkbox" solution good enough for everyone?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gmvasco on November 26, 2008, 04:35:17 PM
Good enough for me :)

By the way, can you give us divshare mp3 player support? (this mod is the gift that keeps on giving) :)

Here's a random example of that mp3 player: http://www.divshare.com/download/5925984-2b2

And thanks again. And again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 26, 2008, 04:45:12 PM
Quote from: gmvasco on November 26, 2008, 04:35:17 PM
Good enough for me :)
Okay, someone will have to remind me to implement that... ;)

QuoteBy the way, can you give us divshare mp3 player support? (this mod is the gift that keeps on giving) :)
Hmm looks easy enough to implement. (If it will allow it, of course...)
And I guess an extra audio site is okay. Do they do vids as well? I suppose, huh?

(Bear with me--I'm still adjusting.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gmvasco on November 27, 2008, 03:55:27 PM
Quote from: Nao 尚 on November 26, 2008, 04:45:12 PM
...
Hmm looks easy enough to implement. (If it will allow it, of course...)
And I guess an extra audio site is okay. Do they do vids as well? I suppose, huh?

You suppose correctly :)

As you can see here http://www.divshare.com/tour#content_share (http://www.divshare.com/tour#content_share) it allows video, mp3, doc, jpg and all sort of stuff to be shared. 5 GB for free isn't' too shabby either!

Here's some sample mp3 embed code to get you started:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,18,0" width="325" height="85" id="divmp3"><param name="movie" value="http://www.divshare.com/flash/playlist?myId=5925984-2b2" /><embed src="http://www.divshare.com/flash/playlist?myId=5925984-2b2" width="325" height="85" name="divmp3" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 27, 2008, 05:41:31 PM
Yeah it's not a problem with the implementation etc., it's just that I only recently said I would concentrate on removing sites, rather than adding any... ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gmvasco on November 27, 2008, 06:57:31 PM
What about "slim" and "phat" versions?
I'm not a programmer, but as I see it, you would just need to keep the phat version as usual and delete all the lines of code in the slim one. But that would be yet another small task to add to the myriad of little things that make up a busy man's day.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 27, 2008, 07:13:30 PM
Quote from: gmvasco on November 27, 2008, 06:57:31 PM
What about "slim" and "phat" versions?
I'm not a programmer, but as I see it, you would just need to keep the phat version as usual and delete all the lines of code in the slim one. But that would be yet another small task to add to the myriad of little things that make up a busy man's day.
That would defeat the purpose of him removing small websites, he is doing it so it requires less time keeping the code working for all those insiginicant sites. It's better he can focus time and support only on the major websites rather than waste time on websites almost no one will benefit from.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Apllicmz on November 28, 2008, 02:28:48 AM
Well nice work
when have time plaese Update portuguese
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 28, 2008, 02:34:04 AM
I think a lot of people will not like their embed sites are being removed. If they already have embed movies or music from those particular sites!!?!
Maybe make an option in the admin panel to add own code.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: metallica48423 on November 28, 2008, 02:53:18 AM
Thats dangerous too though.  The regexes necessary for doing this are very advanced
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 28, 2008, 02:59:51 AM
Quote from: akyhne on November 28, 2008, 02:34:04 AM
I think a lot of people will not like their embed sites are being removed. If they already have embed movies or music from those particular sites!!?!
Maybe make an option in the admin panel to add own code.
Sorry but this mod needs to be targeted correctly, time and support cannot be given to a few individuals because they want to keep using their own rubbish video websites. If you want to keep using your video site then maybe it's just best you don't upgrade or manually carry over the code to the next update if you can do that.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 28, 2008, 03:00:36 AM
Yes and no. It's a set of parameters for each site. And I'm sure only a few very skilled people here can do their own sites. But if they are willing to share those in an unsupported topic, I see no reason why this shouldn't work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 28, 2008, 04:22:18 AM
Yeah, I don't see there being any problem if it's an unofficial topic where people help each other out with modding the mod, as long as it doesn't involve the author's time.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 28, 2008, 05:02:29 AM
Exactly. This topic is filled with unnessescary requests for this and that site.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Neons on November 28, 2008, 02:42:10 PM
Hello

Any directions on how to expand the embedded youtube videos to the new format (960px wide)?

I tried to set the new dimensions in Subs-Aevac-Sites.php but it didn't help :<
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 28, 2008, 06:15:17 PM
Hmm, many many messages... Sorry, I'm a bit behind.

Was busy on SMG work today. Will try to get friggin' Aeva out by this weekend. I've been officially made owner of this topic & the mod page, so I'll just need a few more hours of work to get something out. Not much, but it's a start. I don't want to be overconfident too quickly. I'll get to add more stuff as I get acquainted with the new codebase. (I'm way, waaaay more comfortable with Aevac 3, but since it's part of the past, well...)

Regarding the addition of new websites, I'll really keep these to a minimum. Obviously, we all want to focus on the most popular websites, and making these work well.

neon> Did you make sure to update your generated file as well...? And the new width is 640, not 960.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gmvasco on November 28, 2008, 07:03:15 PM
Take it easy with the 'tude mark7144.
Maybe akyhne's sites aren't so bad, or mine for that matter.
If we follow your line of reasoning, this mod can only become one of two things:
1 - Another Youtube embed mod. (Only the most popular site is supported)
2 - Nao's personal favorites embed mod. (Nao gets to choose what's popular)

What makes this mod so great is that it has been very democratic and heterogeneous in the choosing of supported sites. Because of user requests.
Of course, we do realize that whatever we get we should be thankful for. We are, and I've said it plenty times too. We ask for more, because for us it would be better this or that way. If Nao thinks this is too much (I wouldn't blame him), he'll say so, I'm sure.

On the bright side (the one where I'm agreeing with you), if Nao likes the idea of a  "modding the AEVAC mod" thread, we won't have this argument any more. We'll have others, granted, but not this one :)

Nao
I want my site supported. Others will want (and have asked for) theirs. We are the users, we are all-demanding and omnipresent. Resistance is futile, you will be assimilated...
Erm, sorry, got a little carried away there.
Seriously though, if this is becoming a problem (user requests), perhaps you should take akyhne's idea and start that thread. You'll have to give us some pointers if you decide to do that.
However, as part of The Collective the user community, I don't want that. What I really want is to have my precious supported...
Quote from: gmvasco on November 27, 2008, 06:57:31 PM
But that would be yet another small task to add to the myriad of little things that make up a busy man's day.


P.S. I'll launch a preemptive apology for my nerdy references, but I have to tell you that you got off easy. This past months I've been reading Asimov and Tolkien, and I'm watching DS9, so I actually let you get away without mentioning any robots or Galactic Empires. It's the kind of apology where I hit you with a trout in the face 2 times and I say you're lucky, because in this weather I usually randomly hit people 3 times.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 28, 2008, 07:13:56 PM
My users and i don't post anything else than Youtube videos, and then I myself upload some videos that i play with JW FLW Media Player and JW WMV Player (through some mods I did of my own). So I really have no need for all those different sites.

What I'm trying to say is that my needs are small, but what about a guy who just have use for Youtube and maybe a few local tv stations in his/her country that really doesn't say anything to anyone else? If someone wanted to help this person with the code for embedding that particular site, it should be possible without having to edit some php script. That would make the mod even greater than it already is. And it's pretty easy to make the option to do it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 28, 2008, 09:33:29 PM
I'd recommend only supporting a maximum of ten video sites. As Nao says, it is better to make sure the mod is working perfectly than to support a bunch of obscure video sites most people don't care about.

My personal priorities are getting the currently broken features in V4 working:

"Check whether Youtube videos are embeddable"
" Fix uses of the embed html with an embeddable link"
  and last and least important "Include the Original Link (for sites that don't have it in the player)."

Thanks very much!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 29, 2008, 06:50:05 AM
Quote from: gmvasco on November 28, 2008, 07:03:15 PM
If we follow your line of reasoning, this mod can only become one of two things:
1 - Another Youtube embed mod. (Only the most popular site is supported)
2 - Nao's personal favorites embed mod. (Nao gets to choose what's popular)
Neither of these, really...
It is important not to forget that no one wanted to take over because this mod is probably the hardest one (and the least fun one) to maintain in all of SMF's mods, although it's also clearly one of the most interesting. (It sort of is a "SMG for dummies", if I may say. SMG allows you to categorize your links and archive them. You then show them in posts with the [smg] tag. I find it to be cleaner, but of course you lose the benefits of simply posting a quick link for your friends to see and forget immediately. Which is mostly what happens on large boards.)

So, with that in mind:

- If I accepted to take over, it is because those who understand the inner layers of Aevac are a rare breed here. Those who can actually manage to improve it are close to non-existent. Right now, I simply can NOT improve it, because I was at a loss even with the v3 engine (I sent a few bug reports to Karl but I couldn't fix these bugs myself). It's a real challenge to me, knowing that I'll have to make it even better. The fact that I (hopefully?) managed to fix the &nbsp; bug immediately is not exactly something that makes me optimistic, because it was a very specific bug and I immediately noticed there was an inversion between two lines of code. (This fix will be in Aevac 5.0)

- I would like to make the mod simpler. Karl turned Aevac into a mammoth. The fact that I've remove a letter from the mod's name is exactly for the same reason I shortened my nickname from Naoki Haga to Nao three years ago: tabula rasa. So, I'm thinking of doing it in two possible ways: either use Aevac 2.0 as a basis (it worked fine... and it was extremely short) and add many features from Aevac 4.0 into it (including the site list). Or, use Aevac 4.0 as a basis (what I'm doing right now), and trying to strip it down to a much simpler version. It would mean, however, that in several situations, the mod wouldn't work, because Karl made sure it would work even with malformed URLs etc. I'll definitely have to look into this.

- Now, for the site list. Which is what most of you are interested in. I think it would be nice to make some statistics about which websites you enabled. The least enabled ones would get removed, or maybe, placed into a "lower sites" list that wouldn't be made apparent to the user in the Admin area -- they would have to click on a button to make it show up. Just like SMF2 has added a "Simple view" for group permissions. I don't use that simple view, but it sure makes it easier for newbies to adjust.

- Adding new sites: I'm still in the same position here. As I said, I will add websites according to their popularity and how good they look. If a site doesn't look like it's professional, there's little chance I'll add (or keep) it.

- I'm also looking into adding to Aeva a feature I made for SMG: embedded video thumbnails. I added thumbnail support for Youtube, Dailymotion and Metacafe (three of the biggest sites around). I've been unable to do it for Google Video, though (I'm working on it, though.) I think Aeva is the better place to support video thumbnails. And it would allow users to show dozens of Youtube links on a single page without a crash. A thumbnail link is still better than a text link, eh?
This shall be my main contribution to Aeva -- at least for now.
Oh, yes, that, and making local and remote .flv embedding work as expected. (You just provide your direct link, and a player shows up for you.)

QuoteWhat makes this mod so great is that it has been very democratic and heterogeneous in the choosing of supported sites.
Yeah, but I'm more of a dictator (check out my sig), so while I'm not a bad guy (I did accept taking over, right? And I'm not in it for the money), I won't be, like Karl is, a humanist who would try to satisfy everyone. I'll try to find the best balance between my own satisfaction and yours.

Just have a look at what SMF Media Gallery has become since I jumped onboard. Some fantastic challenges, a lot of satisfaction for me (and Dragooon), and happy users. I have many fields I can work on in SMG, and this is less valid for Aeva. So the thumbnail thing would be a step in the good direction for me. :)

QuoteOf course, we do realize that whatever we get we should be thankful for.
Oh yeah, I'd need more bug reports, too ;) I currently don't have to read all the backlog of bug reports from this topic.
Jade did report to me the .core thing, but I couldn't reproduce it on my server, so I would need a zipped copy of one of these files...

QuoteWe are, and I've said it plenty times too. We ask for more, because for us it would be better this or that way. If Nao thinks this is too much (I wouldn't blame him), he'll say so, I'm sure.
Yeah, count on me for that. (Some people over at smf-media.com *know* how I can be vocal in these moments. :D)

QuoteOn the bright side (the one where I'm agreeing with you), if Nao likes the idea of a "modding the AEVAC mod" thread, we won't have this argument any more. We'll have others, granted, but not this one :)
Actually, I think Aeva should be part of SMF, in a stripped down version (only Youtube, Dailymotion and 5-6 more websites). And then Aeva would simply become a mod that would add more site regexps.
Of course, this will never happen. Hell, SMF2 final will not be released before it feature-freezes over. (Oh! A pun and double-entendre. That one was nearly funny. If only I hadn't pointed it out.)
So, well, the least I can do is make sure Aeva is "there" for other mods to use. SMG is already using it if it's detected. As long as the mod is free (well, that's the spirit), you can be sure I won't refuse this kind of deal. (I wouldn't mind being asked, though.)
As for modding Aeva itself -- nope. It would bring other issues. What I could do, however, is add hooks to plug your code into -- not sure how to do it for now, but I'll try to think of it. The goal would be to add functionalities to Aeva without taking any chances.

Quote
P.S. I'll launch a preemptive apology for my nerdy references, but I have to tell you that you got off easy. This past months I've been reading Asimov and Tolkien, and I'm watching DS9,

What? You mean the Borg was in DS9? I don't remember that...! I thought they were in TNG and Voyager only.

@akyhne> Yes, I could do that, too... A site editor for adding new sites. Either through importing a code block (saves you the need of firing up your ftp client), or entering data into input boxes. But you would have to edit your php files to find out the regexp first, eh...

@weightman> Ten to 15 video/audio sites would be perfect, yeah. That would be the "simplified" list I would show by default in the Aeva admin area. The question is -- which websites do I show?

Okay, I'm doing my first list... Youtube, Dailymotion, Metacafe, Google Video. What else? Complete the list. I found this: http://social-media-optimization.com/2008/03/top-10-video-sites/
It's from last March, and has some logical sites on it... But no veoh.com and hulu.com which I thought were popular. I don't know about hulu.com actually (not available for French users), but it's mentioned here: http://social-media-optimization.com/2008/06/myspace-losing-video-ground/
Also, a few websites that seem popular (Facebook Video, Truveo.com which is on alexa.com's site list...) do not appear in the current Aevac list, which is surprising.

Still @weightman> Check whether Youtube videos are embeddable works for me... (?) Can you tell me what doesn't work? And if it doesn't, can you tell me whether the *package* remote downloading function works for you at all? (Because Aeva uses the same functions to retrieve its data. I don't, so we might have something here.) Do you have Safe mode enabled?

"Fix uses of the embed html"> I didn't test this, and whether it works or not, I'm not very eager to keep it at all actually...
"Include the original link"> Works for me... What's the problem? The only thing I might change is the font size.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 29, 2008, 08:24:43 AM
A suggestion could be to make it with "plugins". "Download a file for each site you want supported" from the admin center. I don't see the big deal in that.

About invalid links posted from a member in a forum: Well that's why forums have moderators - to solve the stupid issues people are doing.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gmvasco on November 29, 2008, 10:35:26 AM
Quote from: Nao 尚 on November 29, 2008, 06:50:05 AM
What? You mean the Borg was in DS9? I don't remember that...! I thought they were in TNG and Voyager only.
First episode (actually, a double episode), Picard as Locutus kills Sisko's wife in the space battle. :)
I'm going through every series and movie ever made in order, hopefully finishing in time for the upcoming movie. So, although you were close to the mark with that comment, I have recently finished TNG and moved onto DS9, and the Borg references are still fresh to me.
Now, back to the topic:

Although I would like to see divshare support for my own selfish purposes (it allows mp3 upload, preview and download for free), I must admit it is not very popular. So, take it of the list if you will.
However, I would add a couple of popular sites to that list you mentioned:
Vimeo and Revver.
Vimeo is the standard for high quality video streaming and is widely used. I've seen it on almost every other geek blog/website/forum.
Revver is the adsense of online videos (embedding ads in your videos), and I've seen it in some places but I guess it is losing popularity.

What about a poll?
Setup a poll with ALL the options (except youtube, metacafe and such) and allow 3 votes per person. The top 5 get added to the ones you already decided.

Quote from: akyhne on November 29, 2008, 08:24:43 AM
A suggestion could be to make it with "plugins". "Download a file for each site you want supported" from the admin center. I don't see the big deal in that.
I also like the possibility of adding our own sites. If Nao can point us in the right direction, I'm sure some of us might be able to do it.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: qubbah on November 29, 2008, 11:06:03 AM
How can i mixing the problem like this?
The physical thumbnail #14, used with item #9, is missing
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 29, 2008, 11:12:59 AM
Quote@weightman> Ten to 15 video/audio sites would be perfect, yeah. That would be the "simplified" list I would show by default in the Aeva admin area. The question is -- which websites do I show?

I'd recommend Revver and Brightcove be added to the list.

QuoteStill @weightman> Check whether Youtube videos are embeddable works for me... (?) Can you tell me what doesn't work? And if it doesn't, can you tell me whether the *package* remote downloading function works for you at all? (Because Aeva uses the same functions to retrieve its data. I don't, so we might have something here.) Do you have Safe mode enabled?

The feature currently does nothing for me. How do I test if the package remote downloading function works. I have never done that before. In admin-packages I presume, but where and what? Safe mode is not enabled on my server.

Quote"Fix uses of the embed html"> I didn't test this, and whether it works or not, I'm not very eager to keep it at all actually...

Bummer. :(

"Include the original link"> Works for me... What's the problem? The only thing I might change is the font size.

I don't care about this feature actually, but it doesn't work for me, at least not with Youtube, Revver, or Brightcove.

Thanks!

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 29, 2008, 11:41:13 AM
QuoteI'm also looking into adding to Aeva a feature I made for SMG: embedded video thumbnails. I added thumbnail support for Youtube, Dailymotion and Metacafe (three of the biggest sites around). I've been unable to do it for Google Video, though (I'm working on it, though.) I think Aeva is the better place to support video thumbnails. And it would allow users to show dozens of Youtube links on a single page without a crash. A thumbnail link is still better than a text link, eh?

I'm not sure I like this idea as then you would have to click the link and open another site to view the video and avoiding that need is sort of the whole point of this mod IMO. But, this would be a really cool thing to have happen to video links occurring after the per post or per page limit is reached. So, instead of only displaying the link once the limit is reached it would display the clickable thumbnail. That would be a very cool improvement IMO. Or, perhaps even provide an option for the user to select whether a thumbnail or embed are displayed though I am afraid of adding complexity to the feature on the user's end.

QuoteOh, yes, that, and making local and remote .flv embedding work as expected. (You just provide your direct link, and a player shows up for you.)

This is a really cool idea but I will say one last time it seems like a different mod to me.

Thanks very much.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 29, 2008, 01:25:41 PM
@qubbah> You're in the Aeva topic... SMG is right across the street ;) And btw, a physical file ID has nothing to do with the media ID... They're not related in any way. Except that they're linked together by the script.

Quote from: weightman on November 29, 2008, 11:12:59 AM
I'd recommend Revver and Brightcove be added to the list.
Err okay...

QuoteThe feature currently does nothing for me.
Hmm, my mistake -- I was talking about the lookup feature, not the embeddable check.
I haven't looked into that yet. Will do it later.

Quote"Include the original link"> Works for me... What's the problem? The only thing I might change is the font size.

I don't care about this feature actually, but it doesn't work for me, at least not with Youtube, Revver, or Brightcove.
I think it's supposed to show the link only if the flash object doesn't provide it already... e.g., Youtube will never show a link, since you can click on the object to go to that page.
Also, the link is shown if Flash isn't installed on your browser.

As for thumbnails -- how about I implement Highslide on this, too? Basically, what I would do is: when you click on the thumbnail, it fires up an animation that will enlarge the video player. (Of course, it stays in the same page.)

Okay, I've got a preliminary beta version for Aeva 5.0 ready for release... I'll put it out in a few minutes. Hopefully you won't yell at me for not adding too much -- keep in mind that I've only taken over the project a few days ago, and I'm still in the process of learning to understand the code. Also, I'm very busy working on the final touches for SMG 1.5. And I'd like to have a life, too. Can anyone lend me one, please?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 29, 2008, 02:00:59 PM
QuoteHmm, my mistake -- I was talking about the lookup feature, not the embeddable check. I haven't looked into that yet. Will do it later.

Cool!

QuoteI think it's supposed to show the link only if the flash object doesn't provide it already... e.g., Youtube will never show a link, since you can click on the object to go to that page. Also, the link is shown if Flash isn't installed on your browser.

Gotcha.

Quote
Okay, I've got a preliminary beta version for Aeva 5.0 ready for release...

Wow. Great work. Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 29, 2008, 02:15:20 PM
Quote from: weightman on November 29, 2008, 02:00:59 PM
Wow. Great work. Thanks!
Done!
Released.

---------------------------------
v5.0 b1 - 29th November 2008
---------------------------------
* Karl Benson retired, and ownership was taken over by Nao [noisen.com]
* Mod was renamed to Aeva, because it sounds cooler, and that's a good reason
+ Added Popular Sites list - if you only want the links most likely to show up
! Fixed &nbsp; bug
! Renamed install.php to aeva_install.php to avoid issues when calling the file directly
! Fixed Photobucket link
+ Added support for Divshare (currently only for audio files)
! The site list had several duplicate site IDs
* Overhauled parts of the Admin area template


I'll disappear for an hour... Just to make sure I get as many "It doesn't work!" messages as possible :) I like it when I screw up big time.

To any site admin looking around> How do I change the package id for future uploads? I changed it from <karlbenson:aevac> to <Nao:Aeva> (since it was renamed anyway...), and the uploader wouldn't accept it. I had to change the id back into the first one in package-info.xml... I can live with it, but if it's a matter of a couple of changes, I'm all ears :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shadow82x on November 29, 2008, 02:40:49 PM
Great work Nao. I'm pretty glad to see that your taking over this mod as your very experienced. :D

I just ran a test install of v5.0 and it installed fine. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 29, 2008, 03:08:54 PM
Good :)
Now, I just hope it will be flawless for SMF 1.x installs, too! (Unless you tried on these?)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shadow82x on November 29, 2008, 03:26:46 PM
Only tested beta4. Ill run a install on my SMF1.1 board. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gmvasco on November 29, 2008, 05:17:40 PM
It works great on 1.1.7!
Thank you for keeping up the great work!. And another thanks for you know what :)
You are the man! You made me pick up French again, just so I can get those Naologismes. You should be awarded the medal for QCCF (Quelque Chose la Culture de France)!
All hail Nao now!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: poolhall on November 29, 2008, 05:27:44 PM
Thanks much, Nao!

Justin.TV is a major webcasting site support for which I would like to see in AEVA.

And another inquiry: if you're intending to keep support for RuTube.ru (it's a Russian analog of YouTube), could you please fix regexp for it? It currently "understands" links that one can find within an embed code, but not URLs.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xepernas on November 30, 2008, 07:16:09 AM
Great news tout ça.

I've tried AEVA on 1.1.7, but I still get the old ringu bug for the same youtube videos as before. In fact, it's not exactly the circle of death itself, but a "sorry the video is not available" message. Using AEVAC3 (instead of AEVA or AEVAC4) solves the problem.

This is the youtube video in question, if you want to test it :

http://www.youtube.com/watch?v=v6BRz-kJ2Zw

I haven't found out what makes some youtube videos work with AEVA/AEVAC4, and some others not. It's not related the embedding authorization, as you can see. For comparison, here is a video that AEVA and AEVAC4 embed without problem :

http://www.youtube.com/watch?v=Lou1qn7rQrM



Now, something else. Somebody has submitted that video in a post. The hosting site isn't on the list of AEVA/C supported sites.

http://www.mymediaplaylist.com/viewvideo/75/Family_Guy___Passion_of_the_Christ/

So I hereby officially suggest it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 30, 2008, 08:00:18 AM
okay guys, two things

- i made a bad fall an hour ago and badly hurt my hands, especially the righ tone. it hurts just to type so i'll try to keep it quiet for today until my hands feel better, i m currently typing with two fingers, can t access the numpad, lol, and pressing the shift key for a period is hard too uhhh... (ouch)
so please forigve me if i'm silent for he next few hours

- please submit your suggestiionns and bugs to aeva noisen com (fill in the periods will you), there is a child board there for site submission etc, you can even post as guest if you don t want to register an account, fine by me (it s only there to make submissions and bug reports more visible)

xenerpas and others, please repost at noisen, it'll be easier for me to handle every request
xenerpas can you pm me or post at noisen your website details, and if you could provide admin access and possibly ftp account, i d do my best to fix that bug -- if it happens in aeva 5 and not in aevac 3, then i know i want to fix it, i love a good challenge from tiem to time

thank you very much and sorry for not using tha shift key a lot and backspace and everything, i m ashamed but i can t help it for now... (ouch) (i m pathetic iknow) (stop looking at me liek that)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 30, 2008, 08:01:20 AM
Quote from: Xepernas on November 30, 2008, 07:16:09 AM
So I hereby officially suggest it.
And I suggest we do not include it - seems like a fairly new and under developed website. Put simply, it looks like crap.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nick09 on November 30, 2008, 09:08:07 AM
Get those hands some ice; we don't need to lose any good fingers do we? :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 30, 2008, 09:36:15 AM
nick> thanks :) don't worry, i don't want to make it look like i'm in need for a doctor, the fingers are fine, just the palms of my hands are scratched and their muscles are sore. i can press the shift key without hurting now. good thing... a few more hours and i'll be able to type uppercase characters as well, and i'll resume work. i will only have the sore muscles to deal with but it won't stop me from working. (do i look like i care more about programming than my own health? on a sunday, for crying out loud?? uh... i did say i needed a life.)

mark> haven't had a look at the site, but now you know where to discuss these questions :)

can't wait for these uppercase letters to come back to me! right now i'm looking like i'm discussing through msn, ughh...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 30, 2008, 10:26:47 AM
QuoteI've tried AEVA on 1.1.7, but I still get the old ringu bug for the same youtube videos as before. In fact, it's not exactly the circle of death itself, but a "sorry the video is not available" message. Using AEVAC3 (instead of AEVA or AEVAC4) solves the problem.

This is the youtube video in question, if you want to test it :

http://www.youtube.com/watch?v=v6BRz-kJ2Zw

Confirmed. This video doesn't work for me either, with the new beta5 version.

Thanks for the hard work Nao.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 30, 2008, 11:16:07 AM
Try disabling HQ playback. It will probably remove the error. If it does, then it's a Youtube issue and not the mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 30, 2008, 03:47:45 PM
Yes, you're right, it doesn't work here either...

Quick fix: search in your generated sites file, around line 185, replace
'embed-hq-movie' => 'http://www.youtube.com/v/$2&ap=%2526fmt%3D18&rel=0',

With
'embed-hq-movie' => 'http://www.youtube.com/v/$2&fmt=18&rel=0',

This is only a quick hack. Should work, hopefully... (It does, for me.)
I have yet to understand why Karl url-encoded the "=" sign (%3D) while it should be left as it. As for "ap", I have no idea what it stands for... If only he could have documented his search... I'll look into it tomorrow, I'll try to devote my day to coding. (My hands' muscles are still strained, hopefully after tonight they'll be in better shape.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 30, 2008, 03:51:31 PM
Karl was basically looking for code here : http://blog.jimmyr.com/High_Quality_on_Youtube_11_2008.php
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on November 30, 2008, 05:54:14 PM
Yeah, I found about it in my search for the mystery...

Well, it *does* seem that it works, for other videos.
I think I'm onto a clue... Could someone take some time to look into it?
The video that was given as an example does *not* provide a "Normal quality" link... It is only available in high quality. So, it made me think -- maybe Karl's method only works when there are several qualities available on the Youtube site. Maybe lower quality was recently dropped in favor of only higher quality vids, and the trick doesn't work anymore... But I did find a few blog posts dated from this month that give pretty much the same tip. So what? I dunno...
Youtube is definitely "the" website that will always get most of the attention in terms of Aeva support. So I definitely have to find a solution for this. Maybe I could add a lookup for Youtube vids, in order to find a "Higher quality" link... If it isn't to be found, we'll fall back to the normal link (which, in this case, is the HQ one).

I'm a bit lost when it comes to comparing video quality -- apparently, there are several video formats used on the Youtube site, such as the original low quality (don't know the exact number), 6 (high quality FLV), 18 (high quality MP4 with h264 vid and AAC audio), and then 22 (720p HD).

Hmmm, hang on... I just found this website:
http://www.webmonkey.com/blog/How_To:_Watch_YouTube_Movies_in_Full_720p_HD_Glory
It shows one of my test vids (well, it's one of the most popular Youtube HD vids so I'm not surprised I find it again!), with different embedding formats... Only, when I clicked on the video link, I got the HD version, and *no* link in the Youtube page... I reloaded the page, and I got a "Normal quality" link this time. Ohhhh, I'm not sure I'm going to like what I'll find out tomorrow when I try to fix this...!!

Okay, this conversation really should happen on the Aeva dev child board, here: http://aeva.noisen.com/dev/
Anyone willing to open up a new topic for this? I have to go now... Close to midnight here, and I'm waking up at 6. The good news is that I should be up and running in 8 hours tops. Then, time to hunt for bugs! ;D

(Why am I always talking about my life? Please tell me if that's annoying to you ;))
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on November 30, 2008, 06:22:01 PM
Just like on YouTube, is there any possibility of actually implementing the 'High Quality' and 'Normal Quality' links below the embed and have it so it changes the quality within the forum if a user clicks on either one?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 30, 2008, 06:22:21 PM
QuoteQuick fix: search in your generated sites file, around line 185, replace

      'embed-hq-movie' => 'http://www.youtube.com/v/$2&ap=%2526fmt%3D18&rel=0',

With

      'embed-hq-movie' => 'http://www.youtube.com/v/$2&fmt=18&rel=0',

This made the example link posted here work on my site. This also seems to have corrected my problem with the "Check whether Youtube videos are embeddable" feature since a little message saying embedding is disabled comes up to the right of the non-working video now.

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 30, 2008, 06:37:37 PM
Quote from: weightman on November 30, 2008, 06:22:21 PM
QuoteQuick fix: search in your generated sites file, around line 185, replace

      'embed-hq-movie' => 'http://www.youtube.com/v/$2&ap=%2526fmt%3D18&rel=0',

With

      'embed-hq-movie' => 'http://www.youtube.com/v/$2&fmt=18&rel=0',

This made the example link posted here work on my site. This also seems to have corrected my problem with the "Check whether Youtube videos are embeddable" feature since a little message saying embedding is disabled comes up to the right of the non-working video now.

Thanks

Yeah, but you probably also disabled HQ video playback. You took the code out that makes HQ playback.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on November 30, 2008, 06:41:02 PM
QuoteYeah, but you probably also disabled HQ video playback. You took the code out that makes HQ playback.

Yes, you are correct. HQ is disabled now. Disabling it in the admin center prior to making the above edit did not resolve the above issues however.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 30, 2008, 06:56:38 PM
If I play a lot of the videos posted on my site with the &fmt=22 at the end of the youtube videos DIRECTLY from their page like this: http://www.youtube.com/watch?v=zlfKdbWwruY&fmt=22 then I get the lowest quality available.

If I write &fmt=18 after the links, I get HQ

I think the issue is this:
When you use the &fmt=22 code, you actually get a HQ video - in fact the very video the user have uploaded. But depending on the media type he/she has been uploading - if it was MOV, .flv, wmv or whatever, you can probably do the same if you know the integer to put in back of the &fmt=

I have a SMF forum with hundrets of Youtube linked. I use AVEAC 3.0 modified by myself to play HQ for all videos. There are a few videos that gives me the "not available"- text. When I doubbleclick on those ones, I get the message on the Youtube site that the owner has disabled embedding.
The link weightman posted, is actually the first video I have come across that doesn't work AT ALL on my forum!!

If I post the dancing guy's video on my forum, I get the same quality as webmonkey has posted as second video... which is not LQ but what I would call HQ. If you take his link and put it on youtube, you will actually get LQ.

Just try this: http://www.youtube.com/watch?v=zlfKdbWwruY
This is what I call LQ video and is the quality we are all used to

When you have had enough, try http://www.youtube.com/watch?v=zlfKdbWwruY&fmt=18 which gives the quality I call HQ but what that monkey guy calls LQ.

I know it's not the same quality as the monkey guys HQ, but as I mentioned I think you are then streaming the original video.
I have no intension of getting monkeys HQ, as it takes a damn long time to stream it on my 4096kbit connection. What would my users think!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on November 30, 2008, 07:25:14 PM
Quote from: weightman on November 30, 2008, 06:41:02 PM
QuoteYeah, but you probably also disabled HQ video playback. You took the code out that makes HQ playback.

Yes, you are correct. HQ is disabled now. Disabling it in the admin center prior to making the above edit did not resolve the above issues however.
HQ and LQ playback didn't work for me in version 4.02. That's the reason I skipped it and went to 3.xx
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 30, 2008, 10:57:50 PM
First off.  I am Karl (new account : my old one was intentionally and permanently skuttled)
[Jade or anyone with my email or msn will be able to confirm that with me]
Nope I'm not back for good.
However I have been peppered with email requests since Nao took over to provide some quick answers to some of the problems/issues [albeit from memory] to help Nao with the transition. I had an hour to spare to do just that.

P.S thanks for all the kind posts/messages and emails which I received.

Anyways, heres some comments starting several pages back, so please bear with me. {LONG POST : YAWN}

Quote from: Nao 尚 on November 22, 2008, 04:57:40 PM
[...](Advantage: I love writing regexps. [...]
I did too, before I started re-writing all those definitions. hence my new username :P

Quote from: Nao 尚 on November 22, 2008, 04:57:40 PM
[...]Possibly too many nasty bugs to fix. [...]
Hope not too many.  Otherwise the original author deserves to be hung drawn and quartered :P

Quote from: Nao 尚 on November 22, 2008, 04:57:40 PM
[...]Having to add and remove video sites constantly.[...]
I thought it was fun trying to infinite no. of sites. Although I wished there would have been more help with pre-created definitions from the community. [more on that in a bit]

Quote from: Nao 尚 on November 22, 2008, 04:57:40 PM
Are there any "real" advantages to AEVAC 4?
I know I'm a bit late. AE4 is a major step forward. Just I didn't get the chance to iron out all the bugs.
AE4 was necessitated (being written from the ground up) to get around some bottlenecks/limitations/bug in AE3 that I'd been unable to get around.
Not to mention it was a heck of alot faster/lighter on memory.

I think AE4 is cleaner code.  (and Nao, your more likely to understand that, than AEvac3 :P [messy code.])

P.S [sentence added later] Not to mention I spent weeks re-writing all the definitions.

Quote from: Xaneth on November 23, 2008, 01:34:41 AM
The thing is, YT videos in version 4 just produce the white circle of death, as mentioned earlier, which basically renders it useless for YT.
(http://www.edgeoffate.com/images/Youtube.jpg)
Check the youtube page for that video and make sure that it doesn't say "Embedding is disabled by request".
In AEVAC4, if you can use lookups, it should automatically check whether embedding is possible for youtube videos.
If you can't, then you'll end up with some videos that can't play. Thanks to youtube for this amazing feature *sarcasm.

Quote from: Nao 尚 on November 23, 2008, 04:16:15 AM
@akyhne> I think Karl was a bit too kind to n00bs coming by to ask for support for whatever obscure video site they wanted ;) (Probably some website created by a friend and that only them would use :P)
Not really.  It started out as that I would just support the main ones.
However when someone mentioned to me that vbulletin has a similar mod http://www.vbulletin.org/forum/showthread.php?t=175378
and then it became a case of that I wanted it to have more than theirs did.  So any that they supported that mine didn't, I would try to support. Plus I got many requests to my own forum, email, pm box, which soon counted up. [Not forgetting a google search for some more :P ]

Quote from: Nao 尚 on November 23, 2008, 04:16:15 AM
Well that one is cool for n00bs, but I suspect this is one of the reasons v4 has grown to such large proportions... Actually, I already thought that v3 was going in the wrong direction because of all of the overhead... Karl tried to take every possible n00b mistake into account when doing v3 and v4... As a result, what used to be a 20kb (!!!) mod has turned into a 250kb mod, including 32kb of code just for the actual job of turning links into embedded videos...

Nao, yes, in total the filesize of the mod (as a package has gone up) and as more sites were supported, it will obviously increase further.  However AEVAC4 was meant to make it more scaleable.
Both in terms of speed and bandwidth/filesize usage.  Although it was hard to compare like for like (aevac4 vs aevac3), aevac4 was twice as fast even with all the upgrades, and used alot less memory.

Although the definitions file is 250kb. In almost ALL circumstances, that never gets used.
A 'lite' version gets written out with out ANY comments, and without information that was not needed, and based on what features are enabled.
This is why its scaleable. If you enable only youtube, and disable fix links, then the file that gets used can be like 1kb.
(even with all the sites and features enabled, I think at minimum it loses a third of the filesize).

Quote from: Nao 尚 on November 23, 2008, 04:16:15 AM
QuoteIf you are going to take over the mod, it would be better to do version 4!
Yeah, I guess...
But I'd feel so much more comfortable if I could take out all of the unneeded code...

See above about scalability and my comment at the end.

Quote from: Nao 尚 on November 23, 2008, 04:16:15 AM
My guess is that it's one of the main reasons he gave up on AEVAC. He should have adopted a more restrictive policy, and/or made a paid-for version where n00bs could actually get support and ask for obscure video site integrations.
I didn't want to give it up. Adding new sites was a pleasure.  I think my plan was to enable only major sites by default.
Although I changed this later on because, if the user didn't have correct chmod permissions, then it would use the full definitions file, and they would all be enabled.

Thinking about it now, the solution would be to try to detect if its using the full version, and if so respect the enabled flag.

Quote from: Nao 尚 on November 23, 2008, 04:16:15 AM
Quoteand last and least important "Include the Original Link (for sites that don't have it in the player)."
I think it's one of the better new features, if you ask me... :P
Funny, so did I. But everyone else hated it.
There is a flag in the definitions file for each site which states whether site x has it shown.
I was trying to only include it when the player itself didn't have a button or link back to the video (so the user can comment on that video at youtube etc).  I was going to throw it open to the community to decide which ones should have it and which ones not. (or at least decide by their complaints).

Quote from: Nao 尚 on November 24, 2008, 03:25:51 AM
I would like to have Karl's official approval and I hope someone (Jade?) will transmit this message to him and ask for his advice. Thank you.
Official Response: Nao, I'm delighted that your taking it over.
Firstly because you've helped me with it so far so I know you get it.
Secondly because you're more than capable
and finally (and selfishly) so I won't be getting any more emails about it being left to rot (JOKE!)

[Note, I did leave specific instructions / permission with the smf team to allow for people to take over my mods / for them to re-assign at their discretion.]

Quote from: Nao 尚 on November 24, 2008, 03:25:51 AM
(I would appreciate even more if he could share any additional code he has -- earlier private beta, external tools, etc.)
I've attached a zip containing every PUBLIC version that I have released. I had not kept any betas.
v4.0.2 as I released on the website was the latest and best version of the mod that I had.

Also in the zip is a file that I used to write out the lists of the sites supported for the readme.  Not much use I know.

I don't have any further code. I will discuss at the end what my plans were, which you can decide on merit whether you want to go gown that road or not.

External tools were notepad++ and a browser.  oh and a favorite in my list for www.google.com :P
If I was struggling on finding how to embed the item, I would look whether someone else had done it.

Quote from: Nao 尚 on November 24, 2008, 03:25:51 AM
if I ever think the mod has reached a stable condition,
Although my mod was still marked beta. With only a handful of bugs to resolve, I would have been ready to call it final very soon had I not left.
But despite being beta, I was more than happy to run it on my own sites, and still find it a damn site more stable than many other RC or FINAL mods/softwares that I've ran.

Quote from: Nao 尚 on November 24, 2008, 03:25:51 AM
I'm willing to do the AEVAC job if it doesn't eat up too much of my time.
It does.  But there maybe a solution.

Quote from: Nao 尚 on November 24, 2008, 03:25:51 AM
I could very well drop SMF 1 support,
With AEVA, I would have done too if necessary. However there were very little differences between the two which made it easy to support both.
I'm not sure how that would differ under your control.

Quote from: Nao 尚 on November 24, 2008, 03:25:51 AM
I'm still unsure whether to host the project at noisen.com (my personal website, over which I have complete control), or smf-media.com (SMG's website
Do what you feel is necessary for support. Although Nao,I would still like the mod to be available on the mod site here.

Quote from: akyhne on November 26, 2008, 02:13:11 AM
Dimensions should be optional in the admin center.
Just youtube or for them all? It might be a bit overkill to set the dimensions in the acp for them all.

Quote from: Nao 尚 on November 26, 2008, 02:59:05 AM
That's the plan. I'll try to find whether Youtube offers a variable that sets widescreen format. Maybe it will in a few days, when enough people complain that 4/3 vids shouldn't have black bars ;)
...although a widescreen vs normal might dropdown would probably look ok.  Although another youtube specific setting lol.

Its actually quite funny. Because youtube have kept their links and sizes the same for years, where every other site has been a pain in the ass in changing them all the time.  Whats the betting that youtube opt for ugly-seo-urls (eg dailymotion) in the near future and break half the internet where the old links are used. LOL.

Quote from: gmvasco on November 26, 2008, 04:35:17 PM
Good enough for me :)

By the way, can you give us divshare mp3 player support? (this mod is the gift that keeps on giving) :)

Here's a random example of that mp3 player: http://www.divshare.com/download/5925984-2b2

And thanks again. And again.

This would definately need a lookup because the link format doesn't distinguish between mp3 and video. otherwise you'll try to embed video in mp3 player etc.
I can't remember exactly, but I suspect that divshare and mp3 was one that I tried to get working but was unable to.



At this point I realise that I've quoted too much, feel like I've written an eassy and decide to skip to the important bits.

Re http://www.simplemachines.org/community/index.php?topic=200401.msg1819931#msg1819931

If I had got to my next version, the mod would have likely reached 200 or 250 supported sites.
I agree it is far too many.
For this reason I was looking at an alternative way.

According to my friend who uses the vbulletin AME mod (which is similar).
they've actually got it in two parts.

1) The player (with only a couple of sites supported) [supported by the main author]
http://www.vbulletin.org/forum/showthread.php?t=189267

2) The definitions list (each separate) [supported by other people/submitted by individuals/community]
http://www.vbulletin.org/forum/showthread.php?t=175378

Basically the player has an upload option for the user to upload a definition.
The definitions are in xml format.

I actually toy'd with this idea just before writing aevac 4.0.
It would be possible to do something very similar with smf.  And cheating to use SMF xml functions to read/parse the definitions.

This would be the sort of road that I would have preferred to go down, so that it didn't waste all the popular definitions that I had got to work.
And relying on the community to provide the definitions instead of me you.

I don't see why more people can't provide completed definitions, it isn't really that hard once you look at mine.
Obviously there will be ones that are more difficult (photobucket gets 5 stars for being the crappest site cos they use stupid links and change them every other month)

I think for such a large mod, we should see more community involvement in the additions of sites.

Quote
"Fix uses of the embed html"> I didn't test this, and whether it works or not, I'm not very eager to keep it at all actually...
It does work (at least 4.0.2 did the other day on my site).  This was to counter the problem where noobs put the whole embed code. And what they end up with are 3 or 4 videos and junk surrounding it. There was no way I could think of to protect it. Replacing it was better option.
You also have the benefit that its taking up alot less space in your database.
That when you uninstall, your left with a viable link instead of junk.
That when the embed code changes, that you don't have to go through everything.

Whilst of course its upto you if you should drop it.
It is a common occurance for noobs to post the embed code. (otherwise i wouldn't have spent the hours making it work).



before I forget it was also suggested that I could have been looser with the regular expressions.
My expressions were very tight. (this might use up more memory).
it has been suggested that I could use \d+ \s+ instead of mandating [a-z] and the length {10,20}
I've not really done loose expressions so I never bothered to look into it.



removing my aevac debug might be a good idea. Could save a few hundreths of a tenth.  I only left it in cos I was testing with it and couldn't be arsed to remove it.




Quote from: Nao 尚 on November 30, 2008, 03:47:45 PM
I have yet to understand why Karl url-encoded the "=" sign (%3D) while it should be left as it. As for "ap", I have no idea what it stands for... If only he could have documented his search...
I have no idea either. :P

I copied it straight from youtube. (but i did confirm it with other sites and test it).
However youtube have constantly being messing about with this and adding new formats.
It should be an equals to me. But video sites never conform to logic. (in fact i don't think theres any video sites producing legit valid embed code to w3c standards (ignoring the <embed><object>) issue for a second.

NOTE: Although & is shown as & in those lines above, my mod makes sure that all & are &amp; in the url (preventing double-encoding).
ampersands in urls should always be encoded (but you already knew that) :P

THOUGHT: I just remembered, we were using HQ links before they were public/out of beta.  So they may no longer be correct.
Youtube has added other changes, so you might have to re-do the hq link from scratch based on whatever youtube are now styling their links as.



Other ideas:
People were asking to move towards w3c complaint coding.



From memory. These are the bugs that I am aware of
&nbsp; - This should have been fixed.  It will not fix old posts with it though as unfortunately the &nbsp; has been inserted into the post itself.
I believe this was caused by the protection of quotes PRE-parsing of bbcode OR on posting with linking of urls.
(Yes the cause was auto_link_urls function, but only when called on those two occasions).
I was unable in every circumstance to replicate it. I tried with utf8/nonutf8 and smf 1.x and 2.x.

Enabling/Disabling Embedding local media.  It wouldn't enable/disable itself properly when told to. So it would embed when you had it off.
Not sure if I fixed this in the last version which I released.
If not I can't remember the solution that I had planned, but I don't think it was too complicated.

YouTube HQ. videos not playing/loading/hanging - Something I learnt after I left, that youtube doesn't have higher quality for every video, and stupidly doesn't load lower quality when it doesn't have it.  You can't fully detect it as I understand it.  Youtube was still displaying higher quality links for me for videos which didn't have it (older ones).  Partly youtubes fault this one.
Solution:  Only use lower quality videos. OR detect if the user has specified a higher quality link, if they have then the user says hq exists, so use it.

Youtube + lookups (not always). Something like two days before I left, youtube added this geolocation crap to their website which detects whether you're being served you're localised version.  Unfortunately, it does a 301 redirect  from www. to uk.youtube.com etc
However the lookup functions of smf (which the mod uses), does NOT understand a 301. And will return null/empty.

This issue only affected me on my localhost. Not my actual server. It may depend on what geo-locating youtube is using and whether it is accurate, and where your server is.

I'm not sure whether this is still happening. And is not entirely in my your hands.

.Core files - Is this still happening?  I thought I'd fixed it in v4, thats why I re-wrote it cos it was pissing me off in v3.
The only users that were affected to my knowledge are ones on php 5.2.6. Any other php version appears to be unaffected.
This one is beyond me.  My only other solution would be to remove protecting of quotes. to stop it happening.

(Actually, brainfart, one thing I didn't check is whether a $message that was being protected was too large (thus crashing))
I wonder if splitting messages over 50kb in size and then protecting it in chunks.







I think thats everything for now. Nao ONLY, if you have any specific questions, drop me a pm, or to my email (which you already have)

or here, and I'll reply in the next few days if possible.

Anyways, I just want to take the opportunity to thank Nao for taking over the mod.
I would encourage people to get involved with the mod and help with contributions of definitions.
Testing of each one aswell.

Finally.  Apologies for the length of this post.  I'm sure that you have a headache now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on November 30, 2008, 10:59:37 PM
attachments as promised.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 01, 2008, 02:40:06 AM
Karl: The way vbulletin does the list of embedded sites was exactly what I had in mind.

I'm quite sure the &nbsp; wasn't solved in V4, but I would have to check again. At least it was an error in V3.

Unfortunately local playback and HQ Youtube playback didn't work in V4 (at least not for the many videos I have in my forum).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 01, 2008, 04:11:16 AM
Wow, the Karl's back :)
Just wait for me to finish reading my backlog of messages! It's impressive how awfully busy this weekend has been in terms of messages on various boards, PMs, etc, it was clearly the best time for me to hurt my hands lol!
I'll answer today at any rate. I'm just trying to sort out the mess that is this day to me :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 01, 2008, 05:17:24 PM
Okay, big SMG day for me -- wrote a long-overdue feature (upload separate thumbnails for items that would otherwise get generic icons as thumbnail). Took me longer than expected, and there are so many things to discuss here, that it'll have to wait until tomorrow.

@wingman and everyone at the top of the page> yes, it was only a quick fix, designed to allow that particular video to show up. In no way was it a "definitive fix"... (the &fmt=18 shouldn't even have been there :P)

Sorry again for being overwhelmed with work on the SMG side... Hopefully, tomorrow I'll have all of my time available for Aeva. *And* replying Karl's post :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on December 01, 2008, 09:03:15 PM
WELCOME BACK KARL!!!!  regularexpression!!!!!

Quote from: regularexpression on November 30, 2008, 10:57:50 PM
I think for such a large mod, we should see more community involvement in the additions of sites.

I was going to suggest something similar, in which the Subs-Avec-Sites template containing the new sites(user requested/submitted), would be updated/uploaded monthly(stand alone) for uploading/updating to your site.
But I know not of other edits that maybe needed on other templates, if any are.

Great work Nao!!
Keep it up champ  8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shumilica on December 01, 2008, 09:35:09 PM
Hello. I was using until today de 3.0 version. Now i installed version 5, wich is better, but i have a request.
Trilulilu.ro site has different player for audio than the video one. They have on their site a plugin for wordpress, wich makes the difference between one and another. Here it is: http://static.trilulilu.ro/download/trilulilu_plugin.zip Can you implement this to this mod and make trilulilu video and trilulilu audio embed with different players (i would't mind to be the same, if it worked, but if I embed a link to an audio file then it doesn't work to be played from the forum).
Hope you understand and hope it is easy to adapt. And if yes, can you put the code to be modified here? Thank you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 02, 2008, 04:17:38 AM
@Sabre> I'm currently thinking of splitting the mod in two, yes. Making sure that people don't have to upgrade just to get support for a specific site. I'll upload the site list to Aeva's mod page, and let the mod download it directly there, if the SMF team doesn't mind (and if it's technically possible -- I haven't looked into it yet.)
Of course, users will be able to download the site list manually from the mod page, too (that's the point).

@shumilica> I'll try to take a look but please, please post this kind of request on aeva.noisen.com's request section -- it's the right place for that, and I'll always look there for new work to do when I have some spare time, while browsing through this topic is already complicated for me.

@Karl> I'm preparing to answer your post today... I will need some courage, wish me luck! ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on December 02, 2008, 04:52:37 AM
Beautiful!!      I was thinking/hoping you may go that way, after reading previous posts of yours.
As stated, great job buddy :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 02, 2008, 05:09:17 AM
Well I do have some pretty good ideas of what I'm going to do to make the mod better and easier to use, and I'm trying to shape a philosophy around them, but clearly, I've only taken over a couple of weeks ago, and only worked on it for a couple of fulltime days, so I'm quite open to suggestions. I just need to sort them out. The most solid path for the future, I will try, out of respect, to borrow from Karl, if he has anything in mind (including the ideas shared in his long post). Apart from that, I'm pretty free and for instance I think I'll rework the Aeva settings into two sections (normal settings, and site list), maybe more, and add actual templates for them (I'm not comfortable with using SMF functions for them, and I don't think any theme creator would in their right mind skin the Admin templates anyway, so SMF 1.x should be good.)

Oh dear, I'm starting to get lost in my thoughts. I'll get back to you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 02, 2008, 10:26:54 AM
Okay everyone, you'll have to help me here... I just need someone or some people to compile a list of everything I *should* do, and everything I said I *would* do... A series of topics on aeva.noisen.com would be even better.

Quote from: regularexpression on November 30, 2008, 10:57:50 PM
However I have been peppered with email requests since Nao took over to provide some quick answers to some of the problems/issues [albeit from memory] to help Nao with the transition. I had an hour to spare to do just that.
Thank you again.
It is true that I was pretty much thrown into the vortex without prior knowledge... Although I was vaguely aware of what function did what in Aevac 3 (which I used), I had never tried Aevac 4 myself -- if you remember, you told me it might fix an issue I had with trimUrl... Sure it did :) But I wasn't sure it would, and I figured it was too little of a bug to justify manually uninstalling and reinstalling immediately... Then I postponed... Until you decided to retire, and I figured I'd rather stay with a "functional" version until someone took over. So, when it turned out that it would be me, I had to upgrade... And although Aevac 4 is much easier to understand in the sense that the code structure is better and every other line is commented, I'm still far from being able to say I "get" your mod. I think it'll take a couple of weeks (months?) before I fully understand it enough to be confident in changing code here and there, more than the quick fixes, code indentation and template modifications I've been doing so far.
Just like Wayne would say--I'm not worthy! But the task is up to me now.

Quote
Quote from: Nao 尚 on November 22, 2008, 04:57:40 PM
[...]Possibly too many nasty bugs to fix. [...]
Hope not too many.  Otherwise the original author deserves to be hung drawn and quartered :P
Are you sure? I heard he was a jolly good fellow!

QuoteI thought it was fun trying to infinite no. of sites.
There's always a moment when you realize you have to stop the mess.

Again with my examples with Kyodai Mahjongg -- I know, not much related, but it's my only long-term experience in maintaining popular software -- there were always people asking for me to add new layouts to the game. I was always ahead of the competition in every area, including that one. I decided to stop after 100 (having made myself most of them). I only added a handful of layouts later, considering they were very skillfully made. In the meantime, other games went over the 100 limit, and even reached the 1,000 barrier I think... That was probably fun and everything, but they put most of their marketing power into the fact that they had something like 1,000 layouts. Okay, fine, but when you have so many layouts to choose from, which one will you choose? After a while, I realized there were only a few layouts that were interesting to play. There's really very limited appeal to the strategy of quickly clearing a layout that just draws a letter of the alphabet with Mahjongg tiles. Great. The original layout (Turtle/Pyramid as it's mostly called) is still the best one -- and for many games, the only layout they provide. Whenever I play a game of KMJ, I only play with the Turtle layout. Games with hundreds of layouts? Only played Turtle on them, too... The point was that with KMJ, people could create their own layouts in less than a minute. It's a better selling point than offering thousands.

I'm telling you this because it relates very closely to the problem with the site list -- there are only a dozen that appear regularly everywhere. So I will focus on these. Youtube and Dailymotion, mostly (as they're the most challenging ones to support, too, especially Youtube). If a user wants their forum to support a specific niche site, they could add their own code (as in a layout editor). Turns out that it's harder for anyone to grasp the inner layers of even basic regexp matching (as opposed to tile matching :P), so it's up to me to make them, again -- but it doesn't matter, I'd like to try and differentiate the most important sites from the rest... I've already done part of the work by making a "Popular sites" section in the admin area, and clearing the way for possibly many more site categories. These are the "categories" that users will be able to import. For instance -- a game category. Only filled with gaming video websites. Or an adult category, which will be available *separately* (I share your point of view about this), and in full accordance to your original statement on them. It's just an example.

QuoteAE4 was necessitated (being written from the ground up) to get around some bottlenecks/limitations/bug in AE3 that I'd been unable to get around.
Not to mention it was a heck of alot faster/lighter on memory.
Are you sure it couldn't be any faster...?
This is an important question.
My *feeling* is that what Aeva(c) does is turn links to videos at parse_bbc time. I can't say that for sure though, because there's a lot of stuff with the [aeva(c)] tag, and I'm afraid I still haven't dwelved deep enough into Aeva to be sure. (I know I'm repeating myself, but although I will try my best to evenly share my time between SMG and Aeva in the future, my current absolute priority is getting the frigging final 1.5 release of SMG out, because we've been working on that exclusively for the last two months, and we're nearly done...)

So, if I'm right and if everything is done at parse_bbc time, to me it would be easier to have an actual visible (and editable) aeva tag, that would contain all of the settings needed to run the video, for instance -- [nobbc][aeva type=unembed]... (//http://)[/aeva][nobbc] would simply show the link, followed with an icon that means "this video can't be embedded". Edit--I think you already sort of do this with #noexternalembed, but it would be better off in a "regular" tag. It could also be used in other ways:
- forcing to show a video thumbnail instead of a video player (as in SMG),
- choosing a specific width/height for instance (if you want the video to be smaller than normal, or larger),
- more "user-friendly", "type" could be "169" or "ws" for a 16/9 view, "43" or "fs" for a 4/3 view (which is why they'd need to be editable, so the poster can change the aspect ratio after posting the video),
- users could choose the playback quality manually,
- etc...

This is just an idea, I'm not saying I'll implement it. (Well, I enjoyed making the [smg] tag from scratch, so I'll probably do it ;))

Oh, coding questions:
- why are you using for() loops associated with a count(), instead of simply foreach()-looping through the site list? Is for() supposed to be any faster?
- Or in a regexp, you use (i|) instead of (i?), is it faster, too?
- Your lookup code is great, btw. I just wouldn't use fetch_web_data(), as, even though it saves some code, doesn't behave correctly on safe-mode servers, while some of these might have the curl library installed -- which makes for a great replacement, check out my code in MGallery-Embed.php if you're curious (I'll use it in Aeva anyway).

QuoteI think AE4 is cleaner code.  (and Nao, your more likely to understand that, than AEvac3 :P [messy code.])
You know, I *like* messy code, as long as it's geeky ;)

QuoteP.S [sentence added later] Not to mention I spent weeks re-writing all the definitions.
Yeah, obviously I respect that ;) (Which is the main reason why I wouldn't remove definitions from the mod -- I would rather sort them and put them in an external file.)

QuoteNot really.  It started out as that I would just support the main ones.
However when someone mentioned to me that vbulletin has a similar mod http://www.vbulletin.org/forum/showthread.php?t=175378
and then it became a case of that I wanted it to have more than theirs did.  So any that they supported that mine didn't, I would try to support.
I never heard about that mod... (Of course, I never go to websites about forums that are not SMF, either...)
Is it any good?
It's annoying to me. It is very (very!!) important for me NOT to use external code as much as possible. For instance, although I converted SMF Gallery Pro to SMF2, from the moment I switch to SMG, I never looked back, and never opened these files again. Not that I would have needed to. Plus, it's much funnier to figure everything out by yourself. Even when I wrote the SGP to SMG converter last week, I only used a dump of my original test database (which was, hopefully, more than enough to convert everything correctly).
Knowing that there's a similar mod isn't too exciting to me, because I might be tempted to use their knowledge. I could at the very least be tempted to read their feature list (which seems quite long), but I know I'll end up looking at "how they did it" if this ever happens. I also know that even if I did this, I would probably rewrite everything to my own taste, do it my own way, but I wouldn't feel the approach to be honorable in the first place.
There's a fine line between programming for yourself (i.e. adding features when you want to include them, only if you enjoy making them), versus programming for the community (i.e. doing everything possible to make the best possible mod -- and this would include looking above over forum software's shoulders and check out their code.)
I remember doing it a few weeks ago when it came to strenghtening SMG's security code. I knew it wasn't too good, so I looked into SMF and used one of their tricks, then into phpBB3 and used another of their tricks -- then mixed them together and obtained a better protection (it's hard to protect against malware files because there's a high chance of adding false positives to the rejected list.)
This, I did without too much trouble, because (1) security is ten times more important than any honor code, (2) both phpBB and SMF wrote their code according to security bulletins published online -- I just saved some extra time, which is what I needed (because of the 1st point, again). But site lists? "Cool" features? I don't know what to think...
I'd really appreciate your opinion on this, before I start looking into that vBulletin mod.

QuoteNao, yes, in total the filesize of the mod (as a package has gone up) and as more sites were supported, it will obviously increase further.  However AEVAC4 was meant to make it more scaleable.
By the way, I hope you weren't annoyed by my negative thoughts about some of your personal choices. I'm not saying they were wrong -- just that we were in disagreement over them. I tend to be ******y without realizing it, which can hurt when things are said "behind your back". (Of course, I was hoping you would read my posts, but I wasn't expecting it either.)

QuoteBoth in terms of speed and bandwidth/filesize usage.  Although it was hard to compare like for like (aevac4 vs aevac3), aevac4 was twice as fast even with all the upgrades, and used alot less memory.
I'm not sure how you did it, but I'm not going to go through a diff parse of both mods (I did that some time ago and there too many differences here and there), just to find out ;) I'm trying to forget anything I could have known about v3.

QuoteAlthough the definitions file is 250kb. In almost ALL circumstances, that never gets used.
And it shouldn't. It could slow down a forum's execution by a large share... (I suppose.)

QuoteA 'lite' version gets written out with out ANY comments, and without information that was not needed, and based on what features are enabled.
The comments aren't too big a deal, since anyone with speed in mind will use their own server, and enable a caching technology such as APC, which will in turn precompile the php files and strip them of their comments.
BTW, did you know that your comments represent about 13KB out of the 33KB in Subs-Aeva.php? ;)
20KB is very manageable actually... :)

QuoteThis is why its scaleable. If you enable only youtube, and disable fix links, then the file that gets used can be like 1kb.
Yup. This is something I really appreciate in v4. That, and the fact that you return the site list in a global... Which in turn, allowed me to use it in SMG 1.5 :)

QuoteI didn't want to give it up. Adding new sites was a pleasure.  I think my plan was to enable only major sites by default.
Oh yes, that's still not done... Uh, I'm not even sure this can be done without initializing the Generated-Sites list first... I'll have to check.

QuoteAlthough I changed this later on because, if the user didn't have correct chmod permissions, then it would use the full definitions file, and they would all be enabled.
Incorrect chmod... In the Sources folder, really?

QuoteFunny, so did I. But everyone else hated it.
Yeah, you told me back then... ;) I was surprised. I like seeing the full URL (in all cases, even when the player is clickable), so maybe I'll add an option to always show it...

QuoteThere is a flag in the definitions file for each site which states whether site x has it shown.
Yeah, that's easier that way I guess... ;)

QuoteI was trying to only include it when the player itself didn't have a button or link back to the video (so the user can comment on that video at youtube etc).  I was going to throw it open to the community to decide which ones should have it and which ones not. (or at least decide by their complaints).
Back to what I was saying sometime ago: you try to listen to the community too much ;)
There's a balance to be found. Finding your own pleasure, and theirs. If they don't like your settings, just give them an extra setting to disable them.

QuoteOfficial Response: Nao, I'm delighted that your taking it over.
Firstly because you've helped me with it so far so I know you get it.
Well it was only on a few details, really... I never understood why you credited me for my help in the first place... I don't even remember what I contributed to ;) (I know I still have the PMs, but...)

QuoteSecondly because you're more than capable
In terms of regexp? I'm only second to you. I look for years for the way to make a full string optional, until I found out about (?!string) in your "god of all regexps"... Fantastic. The same regexp taught me about recursive regexps. Wow. I thought I knew pretty everything I needed to know, but clearly the guide over at php.net isn't complete... I found another guide on a Perl website that is.
I also must credit Dannii for sharing with me his enthusiasm for regexps. I knew very little about them before -- and the month I spent working with him on PrettyURLs really taught me all of the basis I needed to acquire. And a few tricks to spare.

You are my two sensei when it comes to regexp. I only hope I can write equally good regexps in the future. (Dragooon can tell you how happy I am everytime I add a new convoluted regexp to SMG, eheh. There are quite a few. I like that because he doesn't get them. So I can spread my knowledge. Maybe I'll be his sensei, too. My very own young padawan.)

Quoteand finally (and selfishly) so I won't be getting any more emails about it being left to rot (JOKE!)
Yay!
Now you'll be getting e-mails from people complaining that I'm ruining your work of love, that I'm a ****** with them and they want you back because you didn't treat them like cattle :D
Just wait for it... It's going to be legendary!

Quote[Note, I did leave specific instructions / permission with the smf team to allow for people to take over my mods / for them to re-assign at their discretion.]
Yes, I was told about that. Although the process could have been better optimized through a regexp or something: Goodbye Topic->Me (I should take over)->->Topic users (Do it)->Sinan (Do it)->Jade (Do it)->Me (OK)->Dragooon (ask Sinan)->Sinan (ask metallica)->metallica (ask the team)->Customizer Team->End of story... And I'm not kidding you ;)

QuoteI've attached a zip containing every PUBLIC version that I have released. I had not kept any betas.
v4.0.2 as I released on the website was the latest and best version of the mod that I had.
Thanks for the file ;)

QuoteExternal tools were notepad++ and a browser.
I use Notepad2 for programming (Ctrl+shift+Z is better for undo/redo, and I prefer to deal with source files in my taskbar rather than in a tab bar...), and Notepad++ for to-do-lists (because I always keep them open that way).

QuoteIf I was struggling on finding how to embed the item, I would look whether someone else had done it.
Yeah, it looks like it's the only solution... Even for retrieving thumbnails, which is somehow as complicated.
Or I'd just go looking through the website to see if it has a rss feed per item... In which case it usually embeds a thumbnail in it. (I did that for Google Video which had eluded me for some time!)

QuoteAlthough my mod was still marked beta. With only a handful of bugs to resolve, I would have been ready to call it final very soon had I not left.
Yes, I'll release a "final" v5.0 soon. Maybe all bugs won't be fixed, but it's very usable. Bugs can be crushed later as they come. They always come back, anyway.
And if I call it "final", maybe people will flock to it, I dunno... Do you know that v4 still gets downloaded 4 times more than v5? Did you submit a direct link to the file to another site or something? Because I have no idea why it is the case... (I mean, v5 *is* v4, only with a shortened name and fixed bugs...)

BTW I always wanted to ask you whether you would accept that I change the mod's name (while keeping it recognizable), but it seems that I didn't even have to ask, since you're using the new name, thank you :)

QuoteBut despite being beta, I was more than happy to run it on my own sites, and still find it a damn site more stable than many other RC or FINAL mods/softwares that I've ran.
Sure :)

Quote
Quote from: Nao 尚 on November 24, 2008, 03:25:51 AM
I'm willing to do the AEVAC job if it doesn't eat up too much of my time.
It does.
Not as much as SMG ;)

QuoteWith AEVA, I would have done too if necessary. However there were very little differences between the two which made it easy to support both.
Yes, indeed it's easy enough to keep support going. This was one of my first ideas, but when I saw everything looked okay, I decided against dropping it (for now).
I'd rather drop support for PHP 4, so that I could use some of PHP 5's features and functions, but well... I'm used to the compatibility crap now, with SMG and everything.

QuoteI'm not sure how that would differ under your control.
I'm trying to stay in your line. I know that I would have appreciated that the "spirit is respected" if anyone had accepted to take over Kyodai Mahjongg (no one ever applied, so I just left it on the side of a road before going on vacation to Sicily, and it never came home on its own.)

QuoteDo what you feel is necessary for support. Although Nao,I would still like the mod to be available on the mod site here.
Oh, it will always be... SVN revisions will be over at smf-media.com, specific patches at noisen.com (none for now), and actual downloadable packages at simplemachines.org, in the mod page.

Okay, I've answered more than half of the message -- I'll start the rest immediately, but I'll post this now, so that I don't cry like a baby when I have a power shortage  >:(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 02, 2008, 12:08:06 PM
Quote from: regularexpression on November 30, 2008, 10:57:50 PM
Its actually quite funny. Because youtube have kept their links and sizes the same for years, where every other site has been a pain in the ass in changing them all the time.  Whats the betting that youtube opt for ugly-seo-urls (eg dailymotion) in the near future and break half the internet where the old links are used. LOL.
Well, the other half will use Aeva and see no difference because I'll have figured out a solution ;D

Hmm, maybe it would be a good idea to implement a management task that will go through every post in the board to check for existing Aeva links and fix them if they need to...

Quote from: gmvasco on November 26, 2008, 04:35:17 PM
This would definately need a lookup because the link format doesn't distinguish between mp3 and video. otherwise you'll try to embed video in mp3 player etc.
Yeah, it's a pity... (Which is why Divshare is listed in the Audio-only websites for now.)
Another possible reason for adding the [aeva] tag: tell the browser to use a video or audio flash player for a specific link... ;)
Yeah I know, "overkill", once again... But at least it'd work. If users are smart enough to check out the aeva tag documentation (that I would have to write >_<)

QuoteI can't remember exactly, but I suspect that divshare and mp3 was one that I tried to get working but was unable to.
It's rank 2730 in Alexa so it's definitely worth a shot.  ;)

QuoteI don't see why more people can't provide completed definitions, it isn't really that hard once you look at mine.
Most people are very reluctant to even change a single quote in a SMF file...
Most people don't learn PHP.
Most people who learn PHP, are afraid of manipulating regexps.
Most people are not as crazy as we are.

QuoteI think for such a large mod, we should see more community involvement in the additions of sites.
Well, most of the time, they won't thank you, won't pay you, won't repay you, and will expect you to be happy that they even downloaded your stuff.

I hate users.

Lol okay I'm pulling your leg but a good share of users is just like that... And it can be boring. (I have no patience for people who are expecting others to do all the work for them. That's all. If I had acted like that, I would never be in the position I am in.) (What position?!)

QuoteYou also have the benefit that its taking up alot less space in your database.
Ah... Yes ;)

QuoteWhilst of course its upto you if you should drop it.
No, I won't...

Quotebefore I forget it was also suggested that I could have been looser with the regular expressions.
My expressions were very tight. (this might use up more memory).
I don't know... I just know that my first attempt at a regexp for Aeva (divshare) was very loose -- a simple .* at the end of the URL ;)

Quoteit has been suggested that I could use \d+ \s+ instead of mandating [a-z] and the length {10,20}
Yeah, or \w+? ... I like \w, because it encompasses the underscore character. Not many people are aware of that, though.

QuoteI've not really done loose expressions so I never bothered to look into it.
Let's say that loose expressions are less likely to break up in the future, when some websites switch from a digit-based scheme to an alpha-numeric scheme. ("OMG, we've got too many users! Let's change our URLs and break Aeva!!")

Quoteremoving my aevac debug might be a good idea. Could save a few hundreths of a tenth.  I only left it in cos I was testing with it and couldn't be arsed to remove it.
Yeah I may remove it in the future, I dunno yet... No plans for now.

QuoteI copied it straight from youtube. (but i did confirm it with other sites and test it).
However youtube have constantly being messing about with this and adding new formats.
It should be an equals to me. But video sites never conform to logic. (in fact i don't think theres any video sites producing legit valid embed code to w3c standards (ignoring the <embed><object>) issue for a second.
- as for embed, it'll never be valid, since the w3c is pushing for the <video> tag (which is cool, but requires us to change the doctype.. Uh, not doing that again for a long time!)
- <object> is valid, but sometimes you can't just cater to an object tag. You have to add the embed tag. It's annoying, but for instance I have trouble getting a single object tag to work fine in Opera... (Works for my mp3 players, not for the rest.)
I'm also thinking I could turn all of these into javascript calls to swfobject... But I think a local swf file is needed for that :(
- regarding the equals sign, I used to think that "ap=" was short for autoplay... Now, I just think it's a hidden value that sends a string to the player... And that string includes the fmt=22 which forces us to urlencode the = signs so that it doesn't get parsed by Apache in the first place.
- anyway, this isn't of much use for now...

QuoteNOTE: Although & is shown as & in those lines above, my mod makes sure that all & are &amp; in the url (preventing double-encoding).
Yeah, I did notice that. (I was starting to change the & to &amp; when I figured it'd be faster to check my website to see if it worked...)
Although I'm not sure about the point of turning & to &amp; if we already know the page isn't going to validate in the first place... (because of the embed tag...)

QuoteTHOUGHT: I just remembered, we were using HQ links before they were public/out of beta.  So they may no longer be correct.
The HQ links you used are still recommended by some blogs. I'm not exactly sure what to do with them, though... If you find something in the future, if you have some time to spare, feel free to look into it ;) I may find a solution in the meantime, of course...

QuoteYoutube has added other changes, so you might have to re-do the hq link from scratch based on whatever youtube are now styling their links as.
If only they had a proper page with a FAQ for embedding their links...

BTW, was AME started before or after Aeva? That Aeva idea, this generous concept, was it inspired from some other project, or just came off in a moment of pure genius?

QuoteOther ideas:
People were asking to move towards w3c complaint coding.
Complaint coding? Oh, compliant you mean.
Yeah, see above.

QuoteFrom memory. These are the bugs that I am aware of
&nbsp; - This should have been fixed.  It will not fix old posts with it though as unfortunately the &nbsp; has been inserted into the post itself.
Ah, bugger... Well, users will know that if they find some more, they just need to reedit their posts :)

QuoteI believe this was caused by the protection of quotes PRE-parsing of bbcode OR on posting with linking of urls.
(Yes the cause was auto_link_urls function, but only when called on those two occasions).
I was unable in every circumstance to replicate it. I tried with utf8/nonutf8 and smf 1.x and 2.x.
Just in case you didn't notice--I fixed (well, I think I fixed, since I couldn't reproduce in any case, and no "victim" of the nbsp bug came to see me either before or after the fix..), I fixed the issue by inverting two lines in the script.
In autolink_urls, you had inadvertantly inverted both final strtr lines.
This was not the case in v3, which is why I'm not sure it is fixed (because someone reported that the bug happened in v3 as well.)

QuoteEnabling/Disabling Embedding local media.  It wouldn't enable/disable itself properly when told to. So it would embed when you had it off.
Not sure if I fixed this in the last version which I released.
If not I can't remember the solution that I had planned, but I don't think it was too complicated.
Can anyone confirm this happens?

QuoteYouTube HQ. videos not playing/loading/hanging - Something I learnt after I left, that youtube doesn't have higher quality for every video, and stupidly doesn't load lower quality when it doesn't have it.  You can't fully detect it as I understand it.  Youtube was still displaying higher quality links for me for videos which didn't have it (older ones).  Partly youtubes fault this one.
Solution:  Only use lower quality videos. OR detect if the user has specified a higher quality link, if they have then the user says hq exists, so use it.
Or maybe -- lookup the page, find "higher quality", follow the link, look that page and retrieve the embed code...? (Wow, a double-level lookup??!!)

Otherwise--I guess "only LQ" will do in the end... Youtube is supposed to see whether you can support HQ and send it automatically... (?)

QuoteYoutube + lookups (not always). Something like two days before I left, youtube added this geolocation crap to their website which detects whether you're being served you're localised version.  Unfortunately, it does a 301 redirect  from www. to uk.youtube.com etc
However the lookup functions of smf (which the mod uses), does NOT understand a 301. And will return null/empty.
Yes, interestingly I had the same issue with SMG! When retrieving the dailymotion thumbnail, I would get a 302, and the SMF function I was using didn't support any 30x. I made a bug report about this: http://dev.simplemachines.org/mantis/view.php?id=2699
It has yet to be addressed though, and won't change anything for earlier versions, so I went and rewrote it for SMG... And found a lot of funny annoying issues with direct URL communication for safe-mode servers... I sort of fixed that by using the curl library, as I mentioned in my previous post.

Anyway--where was I?

QuoteThis issue only affected me on my localhost. Not my actual server. It may depend on what geo-locating youtube is using and whether it is accurate, and where your server is.

I'm not sure whether this is still happening. And is not entirely in my your hands.
Just using a 30x-aware version of the functions should work fine... Shouldn't it?
I'm not going to use fetch_web_data forever in any case. I'll rewrite it to my taste ;) Something with support for 30x redirects and curl. Just like in my SMG functions. (Yeah okay I'm pretty fond of my personal MGallery-Embed.php functions. I was even planning to post some of them to php.net as good samples. Well I was too lazy to do it in the end.)

Quote.Core files - Is this still happening?  I thought I'd fixed it in v4, thats why I re-wrote it cos it was pissing me off in v3.
The only users that were affected to my knowledge are ones on php 5.2.6. Any other php version appears to be unaffected.
This one is beyond me.  My only other solution would be to remove protecting of quotes. to stop it happening.
My website is running PHP 5.2.6... And I never met this issue. I tried hard to reproduce. I asked Jade to send me a zipped version of one of the files (still waiting, Jade! :P) I'd like to help, but as far as I know, no one has reported this to me...

Quote(Actually, brainfart, one thing I didn't check is whether a $message that was being protected was too large (thus crashing))
I wonder if splitting messages over 50kb in size and then protecting it in chunks.
You didn't finish your sentence, did you?
Max size in SMF is 65kb, although I think I remember seeing that recent versions tend to simply "upgrade" the text field to a large text version if a longer message is met, so that it can fit... I also remember that the Merge Double Posts mod makes sure to check for post sizes before it even shows an icon to merge them together. Apart from that... A 65kb featuring videos? Where does that happen? On Mars?
And posting a 65kb text to a 64kb field won't crash anything, I think.. It'll just truncate it.

QuoteI think thats everything for now. Nao ONLY, if you have any specific questions, drop me a pm, or to my email (which you already have)

or here, and I'll reply in the next few days if possible.
I thought it would be nicer to answer here, because readers might be interested in the know-how about Aeva, but feel free to answer me by PM or mail, too. (Although my old e-mail address doesn't work anymore so, err... PM it will be... Or PM me to get my new address if you want it.)

QuoteAnyways, I just want to take the opportunity to thank Nao for taking over the mod.
And thank you very much for, well, pretty much everything ;)

QuoteFinally.  Apologies for the length of this post.  I'm sure that you have a headache now.
Nope, but I did spend the better part of my afternoon on it ;)
I hope you won't have to do that just to answer mine! Just throw away everything that doesn't require a reply ;)

And be sure to update us on your life if you feel like talking about it! There's a whole topic of karlbensonmourners waiting for news about you... They probably don't even know you came by... Maybe you don't want them to know ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 02, 2008, 01:49:06 PM
Quote from: Nao 尚 on December 02, 2008, 10:26:54 AM

QuoteAE4 was necessitated (being written from the ground up) to get around some bottlenecks/limitations/bug in AE3 that I'd been unable to get around.
Not to mention it was a heck of alot faster/lighter on memory.
Are you sure it couldn't be any faster...?
It depends on settings.  On average I think it was 0.08 to protect/embed 1 video in 50 posts. (50 videos). (thats matching all the sites).

Quote from: Nao 尚 on December 02, 2008, 10:26:54 AM
My *feeling* is that what Aeva(c) does is turn links to videos at parse_bbc time. I can't say that for sure though, because there's a lot of stuff with the [aeva(c)] tag

Correct. The embedding/matching is done at runtime.
It would be faster to pre-embed them into the post/using bbcode or another reference.

However I didn't want to do that because.
a) the whole intention of the mod was to embed media WITHOUT bbcode.
- I (and others who I spoke to about it), agreed that it would compromise the mod. If I wanted bbcode I would have used the Streaming3 mod.
b) I didn't want the mod to leave a load of dead tags behind when the mod was uninstalled.
(and I didn't want to have to write a removal).  I just wanted them to be straight links.

I believe the vb mod leaves shortcut/reference in the post.  I believe that the reference isn't created by the user, but automatically on posts. That way it only has to find its media reference tags, and not have to do protections and so forth.

Overall, I don't see that it really needs any speed improvements. I've actually not a single complaint about it being slow, or using too much memory. (and its been used heavily on some very big forums inc my old 700k forum).

Aevac is called in parse_bbc AFTER bbcode has been converted.
HOWEVER, in order to protect quotes from being embedded, the script pre-protects quotes BEFORE bbc is converted.
It isn't possible to protect afterwards because in SMF 1.x, quote bbcode gets replaced by a div. And it was impossible to write a regular expression to match divs when other bbcode also use div tags.
(remember its not just matching <div> </div> its can be nested quotes in various shapes).
(NOTE: however late in smf 2.x development, div tags on the quotes were switched to blockquote (if memory serves me correct), which would be easier to protect from being converted).

Eg
calls parse_bbc
-> pre-protects quotes
-> converts bbc
-> pre-protects other bbcodes from being embedded (like code, noembed)
-> embeds
-> undoes protection (aevac:// to http://)

Note: the [aevac] tag is IMPORTANT due to the recursive functions. To avoid an infinite loop when protecting a bbcode that I didn't want to replace.
So (bbcode eg quotes)
[aevac][bbcode]
[aevac][bbcode][/bbcode][/aevac]
[/bbcode][/aevac]
is ran on a recursive loop and becomes
[aevac][bbcode][/bbcode][/aevac]
then
[bbcode][/bbcode]

Note, the recursive expression that I wrote for protection of quotes is actually a god of regexs as it can actually deal with nested bbcode. (It took me 12 months to get one to work/ask around/searching).

Quote from: Nao 尚 on December 02, 2008, 10:26:54 AM
So, if I'm right and if everything is done at parse_bbc time, to me it would be easier to have an actual visible (and editable) aeva tag, that would contain all of the settings needed to run the video, for instance -- [nobbc][aeva type=unembed]... (//http://)[/aeva][nobbc] would simply show the link, followed with an icon that means "this video can't be embedded". Edit--I think you already sort of do this with #noexternalembed, but it would be better off in a "regular" tag. It could also be used in other ways:
#noexternalembed was added late on for YouTube links which cannot be embedded.  I needed some way of informing the user that youtube doesn't allow that link to be embedded. My goal was to avoid bbcode.

Quote from: Nao 尚 on December 02, 2008, 10:26:54 AM
- forcing to show a video thumbnail instead of a video player (as in SMG),
- choosing a specific width/height for instance (if you want the video to be smaller than normal, or larger),
- more "user-friendly", "type" could be "169" or "ws" for a 16/9 view, "43" or "fs" for a 4/3 view (which is why they'd need to be editable, so the poster can change the aspect ratio after posting the video),
- users could choose the playback quality manually,
- etc...
The mods raison d'etre was to make it as user-friendly as possible. That meant no bbcode, no fiddly settings.
For example I hate it when positioning attachments in posts to have to set type/size etc
[attachment type=image height=63 value=filename.png]
(Thats nasty with other forum softwares).

As for aspect ratio and sizes, I prefered to leave that upto the admin. On all but youtube, I think you've only got standard.  If the admin wanted to change the sizes, its very easy to edit the file. (again why I didn't specify the ability to change it in the admin).

Quote from: Nao 尚 on December 02, 2008, 10:26:54 AM
Oh, coding questions:
- why are you using for() loops associated with a count(), instead of simply foreach()-looping through the site list? Is for() supposed to be any faster?
IIRC For loops are faster. In the context I was using them I wasn't always going to use every row, so using for with a count was better.

Quote from: Nao 尚 on December 02, 2008, 10:26:54 AM
- Or in a regexp, you use (i|) instead of (i?), is it faster, too?
Depends on what site.  Remember I re-wrote all 500 or so regexs (sometimes at late hours).
It works. But  yes ? is probably faster.

Quote from: Nao 尚 on December 02, 2008, 10:26:54 AM
- Your lookup code is great, btw. I just wouldn't use fetch_web_data(), as, even though it saves some code, doesn't behave correctly on safe-mode servers, while some of these might have the curl library installed -- which makes for a great replacement, check out my code in MGallery-Embed.php if you're curious (I'll use it in Aeva anyway).
Actually not, I looked at using curl.  Both reading on here somewhere and on the net generally.
It is LESS likely that cUrl will be available when fetch_web_data() won't work. I believe thats why smf developed it.
Particularly for shared servers which disallow the use of the fopen(and similar/related functions) / use safemode/openbase dir. Those same hosts are unlikely to have cUrl aswell.
(p.S I thought it should work even in safe mode. Open base dir it probably won't though).

IMO, it would be a good idea to use cUrl as a backup. if smf's functions don't work, then try searching for cUrl.
(that would be very simple to do, check for return of false/null from fetch_web_data, then check for cUrl).

Quote from: Nao 尚 on December 02, 2008, 10:26:54 AM
QuoteNot really.  It started out as that I would just support the main ones.
However when someone mentioned to me that vbulletin has a similar mod http://www.vbulletin.org/forum/showthread.php?t=175378
and then it became a case of that I wanted it to have more than theirs did.  So any that they supported that mine didn't, I would try to support.
I never heard about that mod... (Of course, I never go to websites about forums that are not SMF, either...)
Is it any good?
It's annoying to me. It is very (very!!) important for me NOT to use external code as much as possible. For instance, although I converted SMF Gallery Pro to SMF2, from the moment I switch to SMG, I never looked back, and never opened these files again. This, I did without too much trouble, because (1) security is ten times more important than any honor code, (2) both phpBB and SMF wrote their code according to security bulletins published online -- I just saved some extra time, which is what I needed (because of the 1st point, again). But site lists? "Cool" features? I don't know what to think...
I'd really appreciate your opinion on this, before I start looking into that vBulletin mod.

I wasn't suggesting employing like for like.  I wouldn't even look at their code.
With an upload a definition function, that would not be too complex to code (especially for someone working on a media gallery).

It would just be the reading of the xml definition
<?xml ?>
<aevac>
<site>
<name></name>
<regex>{cdata'd}<regex>
<pattern></pattern>
</site>
<aevac>
</xml>

Like I said above it would be easy to cheat with this, and use SMF's xml reading functions rather than writing your own. (There is some code floating around from unknown to show an example of this on this forum, or you could copy/alter from smf's package functions aka the code smf's uses to read mod packages. eg I think its Packages.php)

Quote from: Nao 尚 on December 02, 2008, 10:26:54 AM
QuoteNao, yes, in total the filesize of the mod (as a package has gone up) and as more sites were supported, it will obviously increase further.  However AEVAC4 was meant to make it more scaleable.
By the way, I hope you weren't annoyed by my negative thoughts about some of your personal choices. I'm not saying they were wrong -- just that we were in disagreement over them. I tend to be ******y without realizing it, which can hurt when things are said "behind your back". (Of course, I was hoping you would read my posts, but I wasn't expecting it either.)
I'm not bothered, I just wanted to explain the background behind it.  That its scalable to running 1000 sites or 10 sites in a way which means if you've only got 10 sites enabled,your not wasting bandwidth/filesize/processing time by doing work for 990 sites which are disabled.

Quote from: Nao 尚 on December 02, 2008, 10:26:54 AM
QuoteAlthough I changed this later on because, if the user didn't have correct chmod permissions, then it would use the full definitions file, and they would all be enabled.
Incorrect chmod... In the Sources folder, really?
I plan for the worst. In a situation where the GENERATED definitions file could not be loaded or was not generated, it uses the MASTER definitions. 

Quote from: Nao 尚 on December 02, 2008, 10:26:54 AM
BTW I always wanted to ask you whether you would accept that I change the mod's name (while keeping it recognizable), but it seems that I didn't even have to ask, since you're using the new name, thank you :)

You don't have to stick my stupid naming conventions (aka my old Automatically Email Inactive Ordinary Users, which I named AEIOU. I added ordinary, just so that it had every english vowel letter in the acronym)

Quote from: Nao 尚 on December 02, 2008, 10:26:54 AM
QuoteWith AEVA, I would have done too if necessary. However there were very little differences between the two which made it easy to support both.
Yes, indeed it's easy enough to keep support going. This was one of my first ideas, but when I saw everything looked okay, I decided against dropping it (for now).
I'd rather drop support for PHP 4, so that I could use some of PHP 5's features and functions, but well... I'm used to the compatibility crap now, with SMG and everything.
Yeah PHP4 is a pain. But there wasn't anything too hard to provide back-wards compat for Aevac, as there was with some other mods.




P.S Talking of lookups/thumbnails etc.
One link that I had in my browser was
http://www.oembed.com/

it might be useful to get some more information. It wasn't in my immediate plans, but looks like it might be useful for a couple of sites. (and better than pulling a 20kb webpage to pull a little xml).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 02, 2008, 01:59:37 PM
Quotethe whole intention of the mod was to embed media WITHOUT bbcode.

I would prefer this mod not require BBC code as the n00bs won't use it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 02, 2008, 02:27:49 PM
Crazy long post responses :P Part 2

Quote from: Nao 尚 on December 02, 2008, 12:08:06 PM
Hmm, maybe it would be a good idea to implement a management task that will go through every post in the board to check for existing Aeva links and fix them if they need to...

I did sort of write a script for that (which was in that zip) and was available on the mod site at one time or another.
Well it actually replacing old bbcodes with normal links, but I'm sure it could be manipulated.

Quote from: Nao 尚 on December 02, 2008, 12:08:06 PM

Quote from: gmvasco on November 26, 2008, 04:35:17 PM
It's rank 2730 in Alexa so it's definitely worth a shot.  ;)

Seriously, never quote Alexa. Even with recent improvements, its about as accurate as measuring a fart in a windtunnel on full belt. :P

Quote from: Nao 尚 on December 02, 2008, 12:08:06 PM

QuoteI don't see why more people can't provide completed definitions, it isn't really that hard once you look at mine.
Most people are very reluctant to even change a single quote in a SMF file...
Most people don't learn PHP.
Most people who learn PHP, are afraid of manipulating regexps.
Most people are not as crazy as we are.

Nah, its because we are lazy.  If you look at the vbulletin community 90% of their regexs are user-contributed.

Quote from: Nao 尚 on December 02, 2008, 12:08:06 PM
Quotebefore I forget it was also suggested that I could have been looser with the regular expressions.
My expressions were very tight. (this might use up more memory).
I don't know... I just know that my first attempt at a regexp for Aeva (divshare) was very loose -- a simple .* at the end of the URL ;)

Don't use .*  it can lead to pulling more information + eating memory. This was my mistake on early versions.
I tend to use [^"]*?

Quote from: Nao 尚 on December 02, 2008, 12:08:06 PM

Quoteit has been suggested that I could use \d+ \s+ instead of mandating [a-z] and the length {10,20}
Yeah, or \w+? ... I like \w, because it encompasses the underscore character. Not many people are aware of that, though.

I just used a-z because i felt more people would understand it if they were trying to write definitions themselves.

Quote from: Nao 尚 on December 02, 2008, 12:08:06 PM
QuoteI've not really done loose expressions so I never bothered to look into it.
Let's say that loose expressions are less likely to break up in the future, when some websites switch from a digit-based scheme to an alpha-numeric scheme. ("OMG, we've got too many users! Let's change our URLs and break Aeva!!")

Its not the file id/name that is loose, for example. It might be easier to match all subdomains of youtube with [a-z]{1,3} rather than listing each one individually. Or instead of matching the whole directory structure, ignore it and just match the base domain, and the bit we want. Ignoring if the directory structure is incorrect.


Quote
Yeah, I did notice that. (I was starting to change the & to &amp; when I figured it'd be faster to check my website to see if it worked...)
Although I'm not sure about the point of turning & to &amp; if we already know the page isn't going to validate in the first place... (because of the embed tag...)
Moving towards W3c compliance.

Can't see the video tag taking off anytime soon

Swfobject is a pain in the ass, and only masquerades w3c compliance issues. Plus it would mean that it wouldn't embed for the increasing no. of users with javascript disabled.

Quote
BTW, was AME started before or after Aeva? That Aeva idea, this generous concept, was it inspired from some other project, or just came off in a moment of pure genius?
I believe that AME was created before my SMF mod (not 100% sure).  Although I didn't know about it until alot later when a user told me about it.

My idea for the mod came up due to Streaming 3 mod.  I didn't want to have to create bbcodes for 10 different bbcode sites. (like i had my youtube one). And I didn't want to use the Streaming 3 mod for security reasons. (I only wanted video to embed from trusted sources).
The inherent vulnerability/security issue with allowing flash is that it would allow users to embed ANY flash item hosted ANYWHERE.
Plus I wanted to do the embedding without any bbcode.  Bbcode is nasty and so last century.




With regards to &nbsp bug. No it was a v3 bug that should have been fixed in v4 (after I spoke to you about it and my use of $bbcode variable. I went back to use the smf version, and re-modified it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 03, 2008, 05:53:12 AM
Quote from: weightman on December 02, 2008, 01:59:37 PM
Quotethe whole intention of the mod was to embed media WITHOUT bbcode.

I would prefer this mod not require BBC code as the n00bs won't use it.
Same as above, the great thing about this mod is the lack of BBC codes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 03, 2008, 08:08:33 AM
Another busy day -- in real life this time... Haven't had time to work on anything so far.
Just wanted to drop a quick note about bbcode -- I don't see how adding tags afterwards is an issue at all. The whole point is to allow n00bs to post direct links, isn't it? What do n00bs do after that? They don't want to edit their messages. They may not even know they can. Tags are added at posting time, and are there to allow any power user to fine-tune their video/audio presentation to their liking. This is what I have in mind -- among other ideas, of course. I have yet to start my Aeva to-do-list, so I'll really need to make one very soon, so that I can start asking users their opinions, vote on what they prefer, etc...

Also, this one is for you Karl -- I don't see how bbcode is "so 20th century"... Let's have an example: many SMG users asked me to implement the ability to show their gallery pictures inside their posts. I thought of two ways of doing it: either posting the URL to their item page, and embedding it just like Aeva does, or using a [smg] tag with the picture ID. Of course, the [smg] tag has an advantage over a possible [aeva] tag because there's already a sample tag given on every item page, for implementation, and there's even a "?" icon next to it with a full page of help. But the tag really has many advantages. I can control thumbnail position, thumbnail size, embed audio/video/images, add a caption and/or a link under the picture, etc, etc...
I can't do all of this with an [aeva] tag, but I still can offer a small subset of it, and a small subset is better than nothing at all. One of the things that worries me the most in Aeva is that one can't choose to put two Youtube videos next to each other. I want to allow users to do this, just by editing their tags to say [aeva align=left] on both embeds. This should be easy enough... What do you think? Of course, I don't know where I'll put the help page, if there's any at all. But it's better to have ambition than to just do small-time additions. That's why you built Aevac 4.0 in the first place, isn't it?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 03, 2008, 08:52:47 AM
I think if you want to add a lot of options via a BBC code, you should do it this way:
Add  button called AEVA next to the "Inset Image" button (or whatever).
When people click the button, a popup window with settings will open where you can specify width, height, HQ/LQ (for those sites that suopoort it), left align, right align, etc, and of course the embed video.  A huge job for you, but the ultimate solution.
If that is to much, just add the BBC tag [AEVA][/AEVA] but still keep the options (hidden) so that those who know the options can use them, like:

[AEVA height=480;width=640;align=left]somevideolink[/AEVA].... or similar.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 03, 2008, 01:06:20 PM
I'll try to make sure I don't answer EVERYTHING ;)

Quote from: regularexpression on December 02, 2008, 01:49:06 PM
Correct. The embedding/matching is done at runtime.
It would be faster to pre-embed them into the post/using bbcode or another reference.
Sure.
Now that would be even faster... ;)
Either by putting the exact embed url in the code, or by adding an aeva table, storing all references in it (url -> embed url), and doing a match at the end of the page, to turn them into videos... (Okay, have I been hacking PrettyURLs too much??)

Quotea) the whole intention of the mod was to embed media WITHOUT bbcode.
- I (and others who I spoke to about it), agreed that it would compromise the mod. If I wanted bbcode I would have used the Streaming3 mod.
So, do you think I shouldn't use bbc in Aeva?

Quoteb) I didn't want the mod to leave a load of dead tags behind when the mod was uninstalled.
(and I didn't want to have to write a removal).  I just wanted them to be straight links.
That's when you thought it wouldn't be popular... Now, who would think of uninstalling Aeva? ;D

QuoteOverall, I don't see that it really needs any speed improvements.
On a normal board, sure, I totally agree with you. But there are many boards where people only post embedded vids. On these boards, video thumbnails would be welcome (to put even more "visual" links in pages), as well as faster embedding.

QuoteAevac is called in parse_bbc AFTER bbcode has been converted.
HOWEVER, in order to protect quotes from being embedded, the script pre-protects quotes BEFORE bbc is converted.
It isn't possible to protect afterwards because in SMF 1.x, quote bbcode gets replaced by a div. And it was impossible to write a regular expression to match divs when other bbcode also use div tags.
Yes, I also had the same problem, which is why I moved the smg tag code before the parse_bbc array stuff. Although I think now I could solve this by matching with (?!string)... But I had a complicated mess of dealing with both versions (<blockquote> and the div), so I thought it would be faster to just do it before tags are converted.

Quote(remember its not just matching <div> </div> its can be nested quotes in various shapes).
(NOTE: however late in smf 2.x development, div tags on the quotes were switched to blockquote (if memory serves me correct), which would be easier to protect from being converted).
Yes. But I have to deal with SMF 1 too, for now ;)

QuoteNote, the recursive expression that I wrote for protection of quotes is actually a god of regexs
Yes, you actually wrote it several times in your comments eheh ;) And I kept the name. To me, it really "is" the god of all regexps -- it's short and it's still ultra-powerful.

Quoteas it can actually deal with nested bbcode. (It took me 12 months to get one to work/ask around/searching).
I found some variations via Google... They were all made for dealing with nested html tags, which isn't surprising :)

QuoteThe mods raison d'etre was to make it as user-friendly as possible. That meant no bbcode, no fiddly settings.
It could still be the best of both worlds, couldn't it? I mean, powerful software is software that doesn't require any prior experience, and still allows you to hack it when you get to know the song.

QuoteFor example I hate it when positioning attachments in posts to have to set type/size etc
[attachment type=image height=63 value=filename.png]
(Thats nasty with other forum softwares).
I used to do a simple [attach id=1] tag on Noisen.com... I don't remember if it's still enabled though, since it's now replaced with SMG ;)

QuoteIIRC For loops are faster. In the context I was using them I wasn't always going to use every row, so using for with a count was better.
It's just that foreach() is about 10% faster, I'll have a closer look when I have spare time ;)

QuoteIt is LESS likely that cUrl will be available when fetch_web_data() won't work. I believe thats why smf developed it.
Hmm, not on all servers I guess... When I wrote my functions, I had a beta tester for whom it wouldn't work. He gave me access to his ftp, so I made a few tries, and... the curl library was installed. I guess his host wanted to give an alternative to their users after they activated php safe mode...

QuoteIMO, it would be a good idea to use cUrl as a backup. if smf's functions don't work, then try searching for cUrl.
I will reimplement a copy of SMF's function, if only because it doesn't support 30x return codes.

Quote from: Nao 尚 on December 02, 2008, 10:26:54 AM
You don't have to stick my stupid naming conventions (aka my old Automatically Email Inactive Ordinary Users, which I named AEIOU. I added ordinary, just so that it had every english vowel letter in the acronym)
Well, that one is definitely funny ;) But isn't Y a vowel, too?
Automatically Email You Inactive Ordinary Users would have been a good alternative :D

QuoteOne link that I had in my browser was
http://www.oembed.com/
Really nice... :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 03, 2008, 01:19:03 PM
@akyhne> Either [aeva width=500 align=left]embed_url[/aeva] (if only width or height is provided - the other member is found via the default aspect ratio), or [aeva url=embed_url width=500 align=left] (just like the SMG tag... self-closing is cool.)

Quote from: regularexpression on December 02, 2008, 02:27:49 PM
Seriously, never quote Alexa. Even with recent improvements, its about as accurate as measuring a fart in a windtunnel on full belt. :P
Yeah sure (I wouldn't trust it for anything above a million), but I'm sure an Alexa rank of 1,000 makes it very likely the website is popular... It's just a matter of how many users with the Alexa toolbar visit that website...
If you know of any better measuring benchmark, be my guest... ;)

QuoteDon't use .*  it can lead to pulling more information + eating memory.
Well as long as I put the sacred "?" sign after it, it shouldn't be much of an issue...

QuoteThis was my mistake on early versions.
I tend to use [^"]*?
But there aren't double quotes in the strings that are parsed here... Are there?

QuoteIts not the file id/name that is loose, for example. It might be easier to match all subdomains of youtube with [a-z]{1,3} rather than listing each one individually.
Sure, in case they add any countries to the list... I thought of that, too.

QuoteCan't see the video tag taking off anytime soon
Yeah, me neither... :(
I think a recent version of Firefox supports it... Safari also supports it... IIRC Opera will follow suit in v10... But if IE8 doesn't support it, we're screwed. (Oh my...)

QuoteSwfobject is a pain in the ass, and only masquerades w3c compliance issues.
Yeah but it has the benefit of not requiring the user to click on the item... (I know Firefox doesn't require that, and recent IE7 versions neither because MS ended up purchasing the Eolas license, but Opera is still under watch.... And probably Safari, too.)

QuotePlus it would mean that it wouldn't embed for the increasing no. of users with javascript disabled.
I could add a fallback..... Hmm.... Okay, I know where this is going...

QuoteWith regards to &nbsp bug. No it was a v3 bug that should have been fixed in v4 (after I spoke to you about it and my use of $bbcode variable. I went back to use the smf version, and re-modified it.
Hmm... So basically you're telling me I broke Aeva instead of fixing it? ;)
Nah, I just checked -- it really was broken in v4.x... AFAIK!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 03, 2008, 03:16:50 PM
Not going to comment on everything.




I'm not sure whether SMF's bbcode system would be as faster as replacing my tags.
Thats because preg_replace_callback, should be faster than what smf uses.

It was something that I was trying to get smf to switch too.  (IIRC even the subs.php file has a comment about, it could be faster or something).

Personally yes, I would never have added options for centering.
(for the most part, you can't really have two youtube videos side by side due to width constraints).
So for that I couldn't see the point.

But sure for height/width i could see a point. (obviously if you do, remember to set max-min limits, then defaulting if the user exceeds them [like my old youtube mod does] to prevent a user going too large or too big.



I'm not sure what a video thumbnail is.  Is it an image?  If its a flash object I can't see the point of those as they are almost as bad for crashing browsers as full ones are.




Quote
Don't use .*  it can lead to pulling more information + eating memory.
Well as long as I put the sacred "?" sign after it, it shouldn't be much of an issue...

For short-ish strings, using .*? can be useful sometimes. (This probably isn't news to you, but just in case).
However for larger strings (especially messages), AND/OR especially when using the m regex modifier for multiline, even using .*? can lead to unintended behavior. (which could include, using excessive memory, reaching php/preg limits on side/no. of matches, crashing, and potentially a vulnerability.

This was my mistake on early versions of the Aevac mod.

See my example below.

Quote

I tend to use [^"]*?
But there aren't double quotes in the strings that are parsed here... Are there?

Here is why the double quotes bit was necessary. (after parse_bbc is ran, the post might look like).

My post links to <a href="http://www.youtube.com">Youtube.com</a><br />
<br />And here<br />
<br /><a href="http://www.youtube.com/watch?v=1234567911">Youtube.com</a><br />

If you ran the following regex
'~http://(?:www\.)?youtube\.com/(.*?)v=([a-z0-9-_]{11})~imu'
then even with the ?., you would actually match

http://www.youtube.com">Youtube.com</a><br />
<br />And here<br />
<br /><a href="http://www.youtube.com/watch?v=1234567911


The reason I use the double quotes is to PREVENT the regex from going any further than need be.
eg
'~<a href="http://(?:www\.)?youtube\.com/([^"\<\>]*?)v=([a-z0-9-_]{11})"~imu'

That way it will never go past the " in the href.
This is simplied example, aevac itself uses a more complex one which also pulls any other paramters on the url, and then between the <a> to </a>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 03, 2008, 03:59:04 PM
Quote from: regularexpression on December 03, 2008, 03:16:50 PM
I'm not sure whether SMF's bbcode system would be as faster as replacing my tags.
Thats because preg_replace_callback, should be faster than what smf uses.
Yeah, it's rather fast... I use it on my SMG string splitter (I remove entities from the string, then I shorten the string, then I reinsert entities through the callback function. It's probably faster than relying on a foreach and str_replace, although it might not be the case.)

Still, it would require a few benchmarks.
Regarding the aeva tag, I need to point out that the [smg] tag is entirely handled by a function in Subs-MGallery.php -- I don't trust SMF and its many bugs when parsing BBC, so I did it all by myself, which also me to have a self-closing tag with self-validating parameters. (SMF doesn't have this as an option. It can be hacked into their code, but it's ugly and still slower I guess.)

QuoteIt was something that I was trying to get smf to switch too.  (IIRC even the subs.php file has a comment about, it could be faster or something).
Yeah, I think so...

QuotePersonally yes, I would never have added options for centering.
(for the most part, you can't really have two youtube videos side by side due to width constraints).
I beg to differ ;)

QuoteBut sure for height/width i could see a point. (obviously if you do, remember to set max-min limits, then defaulting if the user exceeds them [like my old youtube mod does] to prevent a user going too large or too big.
Don't worry about that :)

QuoteI'm not sure what a video thumbnail is.  Is it an image?  If its a flash object I can't see the point of those as they are almost as bad for crashing browsers as full ones are.
Yes, it's an image. Just these little thumbnails Youtube shows that you click to get to their video items... I think showing them instead of links is quite a good thing. (Also -- this could be a per-user setting -- show thumbnails instead of video player for all videos when available. But this would force me to actually store the thumbnail URLs in the database. Hmm.)

QuoteHowever for larger strings (especially messages), AND/OR especially when using the m regex modifier for multiline, even using .*? can lead to unintended behavior. (which could include, using excessive memory, reaching php/preg limits on side/no. of matches, crashing, and potentially a vulnerability.
I never used the m modifier, which is probably something I should work on eh...

QuoteHere is why the double quotes bit was necessary. (after parse_bbc is ran, the post might look like).
Oh... Thanks for the explanation ;)
Yes, I should probably test what the code looks like after every step. Would help me get it...

QuoteThe reason I use the double quotes is to PREVENT the regex from going any further than need be.
I really thought it didn't preg_match through anything else than the URL itself...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 03, 2008, 04:06:26 PM
QuoteYes, it's an image. Just these little thumbnails Youtube shows that you click to get to their video items... I think showing them instead of links is quite a good thing. (Also -- this could be a per-user setting -- show thumbnails instead of video player for all videos when available. But this would force me to actually store the thumbnail URLs in the database. Hmm.)

Wouldn't using the image defeat most of the purpose of the mod? I mean, you would still have to leave the page you are one and load another site to view the video. I suppose it is more attractive to have an image instead of a link but what I like about this mod is that my viewers don't have to leave my site to see the videos.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 03, 2008, 05:39:35 PM
Nao, the aevac mod doesn't just match a url, it matches the <a> tag with it.
(thats why links need to be active to be embedded).

As for slowness.  Your own bbcode replacement may in fact be faster than smfs. No need to make an apology for that.

IMO, you should want to stay clear of adding any queries from the 'viewing' of the page.
Otherwise you can quickly end up using several queries that puts the no. of queries over 15-20.
I'd take more processing at runtime over queries any day.

A lookup table is a neat idea in theory. But in practice its a pain, unworkable, and adds to many queries.
Thats something I learnt with my EbaumsWorld bbcode mod which did something similar.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 04, 2008, 10:12:06 AM
I won't be upgrading to any Aeva version that adds just a single extra query to page views.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mikeric on December 04, 2008, 10:19:52 AM
www.Streetfire.net stopped working for me, it used to embed  fine now it wont.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 04, 2008, 01:07:59 PM
@mark> Well that's your loss...
@Mikeric> And?

Quote from: regularexpression on December 03, 2008, 05:39:35 PM
Nao, the aevac mod doesn't just match a url, it matches the <a> tag with it.
(thats why links need to be active to be embedded).
I would find it more logical to simply match the URL itself, within [url] tags (so before the rest is handled).

QuoteAs for slowness.  Your own bbcode replacement may in fact be faster than smfs. No need to make an apology for that.
I wasn't apologizing, I think ;)

QuoteIMO, you should want to stay clear of adding any queries from the 'viewing' of the page.
Otherwise you can quickly end up using several queries that puts the no. of queries over 15-20.
I'd take more processing at runtime over queries any day.
I never said I'd do that. I thought about it for a second and then I added that I could do it the way Dannii & I did when I worked on PrettyURLs -- a single query at the end of the page generation, to replace all entries in the page. That would make it a hell of a lot faster than going through parse_bbc and protecting quotes etc etc... I mean, it would be like one giant parse_bbc ;)

QuoteA lookup table is a neat idea in theory. But in practice its a pain, unworkable, and adds to many queries.
Unworkable? I'm sure it isn't. As we say here, "Impossible n'est pas français."
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 04, 2008, 02:11:37 PM
Quote from: Nao 尚 on December 04, 2008, 01:07:59 PM
@mark> Well that's your loss...
Can you at least make any future features that add on queries opional in the CP?

1 extra query for page views can make things tough for really big forums.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ragdoll on December 04, 2008, 04:57:53 PM
I installed 5.0 on my forum and now none of the sub-forums that have pictures, videos, or any other embeded media will open.  Holy crap!

I uninstalled it and reinstalled the 3.12 and still the same thing.  I uninstalled THAT one then, still... junk

Being that it's a forum centralized around photography, I'm pretty much screwed.

H E L P !
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ragdoll on December 04, 2008, 05:02:51 PM
Fatal error: post2() [function.require]: Failed opening required '/home/retar0/public_html/forum/Sources/Subs-AEVAC.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/retar0/public_html/forum/Sources/Post.php on line 1074
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 04, 2008, 05:10:21 PM
Uninstall manually?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ragdoll on December 04, 2008, 05:11:05 PM
So looking at the code I posted above it looks like the 5.0 version removed the Subs-AEVAC.php from that location.  And it looks like, for whatever reason, that file is now REQUIRED in order to veiw any pages/forums with ANY media in them.

So I FTP'd that file back up to that location at my hosting site and it's working again.

Holy cow!  5.0 is dangerous.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RustyBarnacle on December 04, 2008, 05:56:28 PM
All beta code comes with risks.

It works fine for me but I backed up files and db before install just in case.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 04, 2008, 06:03:23 PM
As I said, it sounds to me like the mod didn't fully install or uninstall. There must be leftover code. Did you install other mods between the time you installed this one and uninstalled it?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 04, 2008, 07:41:43 PM
Quote from: mark7144 on December 04, 2008, 02:11:37 PM
Can you at least make any future features that add on queries opional in the CP?

1 extra query for page views can make things tough for really big forums.
Since there'd be first a preg_match_all to retrieve all [aeva] tags, if none is found, no query will take place.

@ragdoll> How do you expect me to help you if you call my work "junk" and "dangerous", eh?
I renamed the mod, so it's only logical that I renamed the files as well... If you have a problem, just reinstall v4. Complain to the mod author who made the file mandatory or something.

Anyway, I don't see where the problem is, really. The error message is self-explained. Just open Post.php, go to line 1074 and replace AEVAC with Aeva -- poof, error gone!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 04, 2008, 10:04:16 PM
Playlists no longer work in V5. The first video in the playlist embeds as a single unit and the navigation tools at the end don't show up.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on December 05, 2008, 12:04:29 AM
Nao, I understand your explanations of BBC and how using an [aeva] tag could allow custom options.

But I have to agree with Karl's philosophy (I'm not trying to put words in his mouth, this is just the basic line that I've gleaned) that forum users are inherently stupid and don't understand when their links won't embed without the tag.

So if you do add the ability to use the [aeva] tag, can you maintain the automatic embedding support? The mod is called Auto-Embed Video & Audio, if the use of a BBC tag were necessary, it wouldn't be automatic anymore.

Anyways, I wish you luck in continuing the development of AEVA[damn, I really want to add a C right here. Why? Why did you change it? Change is bad terrible vicious frustrating. :P]. I'm sure you'll keep it popular.

And I really would like to see the mod support the major sites, with individual developers submitting the code for individual sites if necessary. That would be the easiest on you, as the developer, and for the mod itself.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 05, 2008, 09:27:42 AM
Quote from: Eliana Tamerin on December 05, 2008, 12:04:29 AM
EVA[damn, I really want to add a C right here. Why? Why did you change it? Change is bad terrible vicious frustrating. :P].
Because we voted on it, it clearly sounds and looks better.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on December 05, 2008, 09:31:35 AM
And that's a matter of opinion. Auto-Embed Video & Audio Clips sounds better to me, and makes much more sense. Most of what gets embedded aren't full versions of videos/music, just clipped versions, or clips.

But alas, my point of humor has been turned into a serious discussion.

/me sighs
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RustyBarnacle on December 05, 2008, 09:58:55 AM
Burn the witch!

Sorry, I'll put my inner pilgrim back in his place.  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 05, 2008, 10:40:56 AM
Quote from: Eliana Tamerin on December 05, 2008, 09:31:35 AM
But alas, my point of humor has been turned into a serious discussion.
You were criticising the new name, whether you did it in a jesting way or not is irrelevant hence my response to you.

And yes it is a matter of an opinion which is why we voted before a decision was made.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 05, 2008, 10:47:47 AM
"And that's a matter of opinion. Auto-Embed Video & Audio Clips sounds better to me, and makes much more sense. Most of what gets embedded aren't full versions of videos/music, just clipped versions, or clips."

I have a few full weightlifting competitions and even a documentary embedded using this mod. These aren't clips! So, the name works better than clips since it is all inclusive.

Nao, any hope of a quick fix to the playlist bug?    ;D

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 05, 2008, 12:41:15 PM
Quote from: weightman on December 05, 2008, 10:47:47 AM
and even a documentary embedded using this mod. These aren't clips! So, the name works better than clips since it is all inclusive.
Very good point, I also have a few full documentaries posted up thanks to Google Video.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 05, 2008, 02:47:15 PM
Nao, the reason why my mod embeds from <a> tags only
(thus requiring
on posting, non-active links to be autolinked (so that lookups can be performed for <a> tags))

I would never just run a regex to match urls only in posts. because you could have alot of unintended consequences.  Well thats a lie actually, i did try to write one, however you'd need to write only to match
linked, non-linked, and ones that don't match intended non-linked ones (which is far to complex a regex for me). (other wise you'd end up matching image tags and potentially others added by mods).



Re Clips. IIRC I used the word Clips in the name of the name more for a legal than stylistic one.
When the mod was started there weren't really any sites with LEGIT full length episodes.
I just wanted to make it clear that it was embedding short clips rather than providing a means to embed warez films/tv. The mod was not intended to faciliate copyright infringement.
(these days you have to be really clear with this sort of stuff.  Its only this month that SourceForge is being sued in france for hosting p2p clients).

These days thankfully there are alot more legit content providers/corporations putting their content online.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on December 05, 2008, 04:11:14 PM
A rose by any other name would smell as sweet
Its great to know this mod isn't going to be lost to the archives, and I for one enjoy learning from the posts of our 2 esteemed colleagues.

Great job guys :)


ps.  I got it ET
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 05, 2008, 04:46:33 PM
QuotePlaylists no longer work in V5. The first video in the playlist embeds as a single unit and the navigation tools at the end don't show up.

Woops! My mistake. I was using the wrong link. All is good with playlists. Sorry for the false report.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ragdoll on December 05, 2008, 04:47:54 PM
Quote from: weightman on December 04, 2008, 06:03:23 PM
As I said, it sounds to me like the mod didn't fully install or uninstall. There must be leftover code. Did you install other mods between the time you installed this one and uninstalled it?

Nope
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: p_r_i_m_e on December 05, 2008, 06:09:42 PM
please could you look at supporting embedding videos from http://mpora.com/ (http://mpora.com/) this would be very useful for users of my forum.
Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TeaTephi on December 06, 2008, 10:17:49 AM
HOw do I embed a playlist from www.playlist.com
Here is the html code they suggested:
<div style="text-align: center; margin-left: auto; visibility:visible; margin-right: auto; width:450px;">
<object type="application/x-shockwave-flash" width="435" height="270"
data="http://www.greatprofilemusic.com/mc/mp3player-othersite.swf?config=http://www.greatprofilemusic.com/mc/config/config_green.xml&mywidth=435&myheight=270&playlist_url=http://www.greatprofilemusic.com/loadplaylist.php?playlist=54529479">
<param name="bgcolor" value="#e8e8e8">
<param name="movie"
value="http://www.greatprofilemusic.com/mc/mp3player-othersite.swf?config=http://www.greatprofilemusic.com/mc/config/config_green.xml&mywidth=435&myheight=270&playlist_url=http://www.greatprofilemusic.com/loadplaylist.php?playlist=54529479">
</object>
<BR><a href=http://www.greatprofilemusic.com><img src=http://www.greatprofilemusic.com/mc/images/create_green.jpg border=0></a><a href=http://www.greatprofilemusic.com/standalone/54529479 target=_blank><img src=http://www.greatprofilemusic.com/mc/images/launch_green.jpg border=0></a><a href=http://www.greatprofilemusic.com/download/54529479><img src=http://www.greatprofilemusic.com/mc/images/get_green.jpg border=0></a>
</div>


Which link do I use to embed, as typing all that code didn't work inside the forum.

Thanks for the help
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: linette97 on December 07, 2008, 10:29:01 PM
Great Mod! I installed & it works 100%! Thanks ;D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 08, 2008, 02:19:44 AM
QuoteWhich link do I use to embed, as typing all that code didn't work inside the forum.

It will work, just wrap it inside html tags.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shaitanfr on December 08, 2008, 03:37:13 AM
Hello Nao.

In French:
Merci beaucoup pour avoir continué le développement.
J'ai noté un bug qui était l'un de ceux que provoquaient les anciennes versions de ce Mod.
Je n'ai trouvé qu'un seul sujet impacté sur mon forum pour l'instant.
Une page blanche ici: http://passion-xbmc.org/le-coin-des-developpeurs/xbmcpub-(projet-de-script)/ (http://passion-xbmc.org/le-coin-des-developpeurs/xbmcpub-(projet-de-script)/)
Les pages suivantes sont accessibles: http://passion-xbmc.org/le-coin-des-developpeurs/xbmcpub-(projet-de-script)/15/ (http://passion-xbmc.org/le-coin-des-developpeurs/xbmcpub-(projet-de-script)/15/)
Si je désactive Aeva la première page est à nouveau accessible.

Edit: je viens de voir ce qui est particulier dans cette page. C'est dès que l'on poste un trop long texte très longentre les balises "code" que cela se produit. En fait il est impossible de poster un message dans ce cas. Tu peux faire l'essai sur mon forum, inutile de s'inscrire, les invités sont autorisés partout.


Google Translation:

   
Hello Nao.

Thank you very much for continued development.
I noticed a bug that was the one that caused earlier versions of this Mod.
I have found a single issue impacted on my forum at the moment.
A blank page here: http://passion-xbmc.org/le-coin-des-developpeurs/xbmcpub- (draft-de-script) / (http://passion-xbmc.org/le-coin-des-developpeurs/xbmcpub-%20(draft-de-script)%20/)
The following pages are accessible: http://passion-xbmc.org/le-coin-des-developpeurs/xbmcpub- (draft-de-script) / 15 / (http://passion-xbmc.org/le-coin-des-developpeurs/xbmcpub-%20(draft-de-script)%20/%2015%20/)
If I turn off Aeva the first page is available again.

   
Edit: I just see what is in this particular page. That is when we post too long text between the tags "code" that this happens. In fact it is impossible to post a message in this case. You can try on my forum, needless to register, guests are allowed everywhere.

Merci d'avance.


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dazed on December 08, 2008, 01:17:09 PM
I too have had a problem with this mod. I enjoy the way it works however 2 things happen while installed on our 1.1.7 Board.

The first is that when attempting to use the board search it usually comes back with a 404 error.

The second is that when attempting to post or preview a large forum post it will also error out as a 404. Sounds similar to what the last post is referring too. I have tried version 3.1.2 and also the 5.0 beta but the results are the same.

Our board is quite modded but the package install goes fine. It does generate core files when the error occurs when I check via ftp. Not sure what I can provide that would be of value to help sort this.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TeaTephi on December 08, 2008, 02:12:37 PM
Quote from: weightman on December 08, 2008, 02:19:44 AM
QuoteWhich link do I use to embed, as typing all that code didn't work inside the forum.

It will work, just wrap it inside html tags.

Thanks!  Worked like a charm!  Now I have nice music on my forum :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 08, 2008, 02:36:19 PM
@TeaTephi> using the html tag is not always allowed everywhere, and it might be a security issue... This is one of the reasons why Aeva is there in the first place. I will work on Playlist.com later.

@All> I'm... having... much trouble... keeping up with all the remarks, requests, etc...

This week I'll be trying to do as much work on Aeva as possible. Please help me by posting your messages on http://aeva.noisen.com (one of its child boards, to be specific), instead of here. I do read the messages here, but they're lost in the mountain of backlog I have to read, while I try to make sure I honor every request over at noisen.com (I can leave each and every question in its own tab, for me to study later.)

Also, if you're experiencing a bug, please do specify whether you tried with Aevac 4.x as well, and whether it worked or not. (I don't think I made enough changes to Aeva(c) to consider I added new bugs, though...)

BTW, I added support for the aforementioned mpora.com -- I'm starting to get the hang of it. Yippie. Have to answer Karl's PM, too... W00t.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 08, 2008, 08:01:39 PM
request I had to my email

support for
http://aimini.net/view/?fid=lKNimlv2yt6Efavwykz2
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 09, 2008, 03:56:35 AM
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...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 09, 2008, 08:58:16 AM
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.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 09, 2008, 09:18:52 AM
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.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 09, 2008, 12:53:49 PM
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 &amp; 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?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 09, 2008, 01:11:20 PM
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.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 09, 2008, 01:26:33 PM
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!!)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: tripl3r on December 09, 2008, 03:13:24 PM
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.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 09, 2008, 04:31:55 PM
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.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 09, 2008, 04:42:38 PM
I don't think it's possible to change aspect ratio on the videos as long as you are using Youtubes player.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dannbass on December 09, 2008, 04:54:54 PM
Spanish translation available at Nao 尚's Website & Demo (http://aeva.noisen.com) in the topic here (http://site.noisen.com/aeva-trans/5067/traduccion-al-espanol-spanish-translation/)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 09, 2008, 05:29:44 PM
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.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 10, 2008, 01:54:48 AM
+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 ;))
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: T-Bag on December 10, 2008, 02:37:37 AM
Quote from: dannbass on December 09, 2008, 04:54:54 PM
Spanish translation available at Nao 尚's Website & Demo (http://aeva.noisen.com) in the topic here (http://site.noisen.com/aeva-trans/5067/traduccion-al-espanol-spanish-translation/)

I get internal server error  :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 10, 2008, 09:32:39 AM
Internal server what?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 10, 2008, 09:34:19 AM
When you click on the links to download the file, you get that error.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 10, 2008, 09:41:37 AM
Oh... Indeed. I just checked, and it does that for all attachments on the website. I'll try to fix that ASAP.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 10, 2008, 11:18:19 AM
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.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 10, 2008, 02:11:13 PM
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
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shaitanfr on December 10, 2008, 02:25:13 PM
Superbe, merci Nao.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on December 10, 2008, 06:55:57 PM
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 :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 10, 2008, 08:29:46 PM
wich is the newsest one b1 or .16 and how to i upgrade if .16 is higher cuz i have b1
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 11, 2008, 01:42:39 AM
@Sabre> No, for now I'm trying to fix broken websites instead of removing them (I spent a whole day on fixing a few of them). I think I removed a couple of sites when I got hold of the mod though, I don't remember which (a couple of ugly unprofessional low-traffic sites). I should update the site list about them.

@taha> 5.0.16 is the newest, of course... (Oh well I thought it would be obvious given the title of the topic, sorry.....)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on December 11, 2008, 10:25:11 AM
Thanks Nao.
Yeah I spent a while comparing the files...  you and a few would know how tedious that task is! lol
I noticed the subtle changes you've done to alot of the sites listed, and all I can say is....
GOOD JOB!
I see how much you've dedicated to this project, and there isn't one person here that doesn't appreciate it. :)
Keep doin ya thang bro, and congrats on your "stable" release.

Cheers
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 11, 2008, 10:56:58 AM
I should have known you were going to release this version. Danish language is uploaded to noisen.com.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mikeric on December 11, 2008, 12:45:51 PM
good job on all the work. Do you have a site list? Im still wondering if Streetfire.net is working again. It used to for me and then stopped a while ago.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 11, 2008, 04:11:37 PM
Thanks, Sabre. It isn't THAT hard. It's just that sometimes... Well, let's say when I get started on fixing/adding a website, I never know beforehand if it's going to be easy, average, hard, or just downright impossible. That's a bit annoying.

Mikeric> The site list is pretty much everywhere, including in the mod page. I fixed several websites today (check out the "Video embedding" topic over at aeva.noisen.com), and I used the opportunity to test Streetfire.net -- embedding works fine. Tested on several vids. Can you post a link that won't work?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 11, 2008, 04:12:37 PM
NAO
It sorta was obvious I just was hoping that god would make it so that i didnt have to re-install another mod
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 11, 2008, 04:50:00 PM
Well you'll definitely have to update the mod regularly if you want to have site fixes etc ;)
Of course, I also understand how complicated it can be to update regularly, so I'm trying not to make changes to the install scripts (which means you can simply copy the updated files to your folders and you're done.)
I *will* have to update the xml install files at one point though, because I'm planning to partly rewrite the protection code. (Basically: it just won't work on some setups... While the protection code I wrote for the [smg] tag seems to work fine.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 11, 2008, 05:05:02 PM
is it possible to make a auto update feature for mods integrated into smf so when u upload another version u can select one as the latest. like when ppl upgrade smf without even leaving their own site
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ITA003 on December 11, 2008, 05:21:28 PM
Before this mod I used the YouTube BBCode... now I'd like to uninstal that mode and use only this one... Anyone have already changed the BBCode [youtube] with the full youtube link or I made a php script to replace the code??

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 11, 2008, 06:31:57 PM
@ITA003> Yes, check out Karl's script for easy conversion:
http://www.simplemachines.org/community/index.php?topic=200401.msg1822124#msg1822124
Open the Files.zip file, there's a stand-alone php file which you can execute from your server. :)

@taha116> I'm not much into mod theory (yes, I know, it's curious but I'm learning), so I'll leave it to anyone else to answer your question. It should be noted, though, that any mod can be installed from within your package area without having to leave your site -- but you'll need to navigate the download sites from within your website and, given the number of mods available, it can get pretty complex quickly.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 11, 2008, 07:01:15 PM
Nao,

The new version seems to have broken the embedding disabled notification feature. So, now there is no high quality video AND no notification.

I really like the support for Justin.tv though, thanks. They are streaming some weightlifting competitions on the net so its a good one for my site.  :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 11, 2008, 07:17:30 PM
lol.
Did that notification work in 5.0 beta? I don't think I changed anything in that area... :-/
Does it still say "#noembedding" or something next to the Youtube URL?
Can you provide an example?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Apllicmz on December 11, 2008, 08:32:16 PM
Can update portuguese...

Thank You
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 12, 2008, 02:36:38 AM
There's an Aeva Translations board for that...  O:)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 12, 2008, 05:44:00 AM
Did that notification work in 5.0 beta? I don't think I changed anything in that area... :-/
Does it still say "#noembedding" or something next to the Youtube URL?
Can you provide an example?

Changing the code mentioned a page or two back made the notification work in 5.0 beta but disabled the ability to play high quality video. An example:

http://www.youtube.com/watch?v=TTIViMQQ3IE#noexternalembed

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 12, 2008, 06:21:11 AM
weightman, I have no such problem...
This is your link, in my current test topic:

http://site.noisen.com/aeva-support/5060/video-embedding/msg227553/#msg227553
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 12, 2008, 06:42:00 AM
Nao, that sucks. I uninstalled old beta and installed new beta with no error warnings, no errors in log, etc.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 12, 2008, 07:46:22 AM
This is not a "new beta", it's an official public release now...

Basically, I can't help here. I'm not comfortable enough with the code to be able to tell you what's wrong.

What I know, though, is that I'll be deeply changing the underlying code in the future, to make it closer to what I would have made if I had had to make an Aeva mod from scratch. It may be better -- or worse. I don't know yet!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 12, 2008, 09:04:34 AM
someonepleasestopmefromgoingcrazy...

Re: the ".core" file issue reported by a few users.
http://bugs.php.net/bug.php?id=39349

This is the reason why it doesn't work. (I think.)
It's got a recursive, complex, preg_replace (which Karl titled the "god of all regexps"). If the server's stack isn't large enough, it will generate a segfault and crash the page. (Hence the .core dumps)

I'm not sure I have a solution here...
Any ideas?

Apart from rewriting the system... Which I intend to do at one point...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 12, 2008, 12:46:02 PM
I would appreciate that everyone who ever experienced issues with the "Disallow quote embedding" feature update their install ASAP with this new version. It seems to fix most of the issue, or at least make it harder for PHP to become uncooperative.

And all of this just by changing a single character, as it should be in all programmers' nightmares. (Basically: the longer you spend on fixing the bug, the least impressive the end result will look like.)

Version 5.0.18                                 12th December 2008
-----------------------------------------------------------------
! Replaced "God of all regexps" with new "Goddess of all regexps" which should fix most of the "Disallow quote embedding" crashes (not all, though, these gods aren't all-powerful). (Subs-Aeva.php)
! Fixed Blip.tv
! Fixed Cellfish
! Fixed video.i.ua
! Fixed vidmax
! Fixed Cellfish
! Fixed ABCNews autoplay
! Fixed Yahoo Music Videos needing the link
- Removed all 3 Eyespot websites (dead)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 12, 2008, 04:25:35 PM
LOl I appreciate it But why don't you get a assistant or something so you dont need to work so much to find such a minor flaw.

Just open a thread in the appropriate palce and your set
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 12, 2008, 04:31:48 PM
I'm glad that hopefully the .core issue can be put to bed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 12, 2008, 04:37:21 PM
Shoot!!!!!!!!!!!!!!!! Need help quick i accidentally installed newest version without uninstalling older one.... arrrrrrr

As soon as i did it i realized this and uninstalled the newer one but now im getting this whenever i visit my site


Fatal error: require_once() [function.require]: Failed opening required '/home/playnow/public_html/Sources/Subs-Aeva.php' (include_path='.:/x10hosting/php2/pear/PEAR') in /home/playnow/public_html/Sources/Subs.php on line 2472

Please help me fix this i dont have a backup
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on December 12, 2008, 04:47:29 PM
Now you know why should should make regular backups lol :P

Dont worry buddy, SMF has a small fail safe :)

Go into your packages directory, in there you will see a backup folder.
Download the package that says something along the lines of  before Aeva mod v5.0.18.

Now upload that to the root of your forum, and it will reset your templates back to before this mod was installed.

The root of your forum is where your packages, smileys, sources, themes etc  folders are held.
Incase you werent too sure :)

Good luck :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 12, 2008, 04:58:31 PM
Thanks, Im gona go do it now and see how it truns out. Ill post back in 5
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 12, 2008, 05:02:59 PM
Found it, but it only says avea 5 not the .18 but thats ok (I checked the date..... its 12 december wich is the right one)

Now I upload it to my main and then what extract and let it overwrite?


BY the way there are 2 4 each there is a backup and also a before im suposed to use before right (Just being catious)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 12, 2008, 05:06:53 PM
K will do  (And the after i duble posted i realised that so i edited my post (You will notice a one line gap in my second post thats my proof))


EDIT

Worked like a charm, how do i aplaud you?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on December 12, 2008, 05:08:48 PM
Yep.
You want it to overwrite the changes the mod made.
And yep, the "before" one is the correct file
Start using the edit button if youre posting directly after your previous posts please bud.
It saves clutter etc and keeps the threads from drilling too many pages etc.
Makes searching for answers a lil easier ;)

Good luck :)

EDIT:
Quote from: taha116 on December 12, 2008, 05:06:53 PM
K will do  (And the after i duble posted i realised that so i edited my post (You will notice a one line gap in my second post thats my proof))
haha yeah I did.
Good stuff mate, and thanks :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 12, 2008, 05:19:39 PM
SABRE Worked great, and thanks for the help
OFF Topic: why isnt theyre a Karma system here at SMF community?


NAO
I have a suggestion, this might be a difficult one but try adding the feature of allowing people to embed from links that are not video sites but have embeded a video from a video site... For example if i embed a youtube video onto my site and someone likes it instead of follwing the video to youtube they just copy paste the link to the page on my site that has it and voala!

I am no programer but i do believe it is do-able considering all you have to do is configure it to search for a pattern that matches the pattern of the embed code for sites you've already enabled and and copy that....

But your the expert, Hope you give it a shot

~ Taha
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on December 12, 2008, 05:29:17 PM
My pleasure buddy :)
Remember to make regular backups of your forum, as there is the possibility of losing your site.
Anything is possible.
Regarding Karma, I have no idea mate.
Some sites dont use it as the system can be abused, and some people take things too seriously.

Back on topic.
Good job mate :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 12, 2008, 05:59:17 PM
Quote from: taha116 on December 12, 2008, 05:19:39 PM
I am no programer but i do believe it is do-able considering all you have to do is configure it to search for a pattern that matches the pattern of the embed code for sites you've already enabled and and copy that....
Yeah, sort of...
But:
1/ that would imply every time you post a link, your server would have to do a lookup on the distant website to search for videos,
2/ that would mean if the distant website posts a video after you posted the link, you won't get the direct link, only the video, which may not have been there at the time you posted the link,
3/ maybe you just want to post a link, not a video...
4/ what if there are several videos on the distant website?

That's too much "unknown" and not enough "realism" for me ;)

Apart from that--still haven't heard about the .core bug. Anyone here ever experienced that? With AEVAC 3.x maybe? I found a couple of remarks going that way on the other topic...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 12, 2008, 06:33:14 PM
Quote from: Nao 尚 on December 12, 2008, 05:59:17 PM
Quote from: taha116 on December 12, 2008, 05:19:39 PM
I am no programer but i do believe it is do-able considering all you have to do is configure it to search for a pattern that matches the pattern of the embed code for sites you've already enabled and and copy that....
Yeah, sort of...
But:
1/ that would imply every time you post a link, your server would have to do a lookup on the distant website to search for videos,
2/ that would mean if the distant website posts a video after you posted the link, you won't get the direct link, only the video, which may not have been there at the time you posted the link,
3/ maybe you just want to post a link, not a video...
4/ what if there are several videos on the distant website?

That's too much "unknown" and not enough "realism" for me ;)

Apart from that--still haven't heard about the .core bug. Anyone here ever experienced that? With AEVAC 3.x maybe? I found a couple of remarks going that way on the other topic...

NAO

I thot of # 1,3,4 but was hoping you could somhow pull some magic off

How about trying a tag for linking to videos like the way i suggested.... example

[testtag vid=1]http://yoursite.com/video[/testtag]

were vid is a parameter that defines wich set of acceptable video code... first acceptable pattern found (1) or for the second acceptable one vid=2 and third vid=3 ....
That way you if there were 3 vids if i put in vid=1 i would get the first one and if i put in vid=2 i would get the second one etc

Hows that ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 12, 2008, 06:39:11 PM
Another suggestion that i think will work is allowing people to use non-localy stored files so for example i could use a file stored on youtube or megaupload if i had the link to the video file
I think that would be a great feature. Please troubleshoot and ill trouble shoot your troubles back ok  ;D ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: XRacer101 on December 12, 2008, 07:59:37 PM
Failed opening required '/home/xracer10/public_html/Sources/Subs-Aeva.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xracer10/public_html/Sources/Subs.php on line 2440

Help! This is what it says on the website. http://tez.novahost.org/

Ok, here's what happened. I accidentally upgraded Aeva without uninstalling the previous version first. Then I realized that and uninstalled the previous version and now my site says that.

HELP!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on December 12, 2008, 08:25:08 PM
Look 12 posts up and you will see [THIS] (http://www.simplemachines.org/community/index.php?topic=200401.msg1837450#msg1837450) post.
It is a similar situation, and a solution is in the post directly following it.

Good luck.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: XRacer101 on December 12, 2008, 08:38:12 PM
Quote from: Sabre™ on December 12, 2008, 08:25:08 PM
Look 12 posts up and you will see [THIS] (http://www.simplemachines.org/community/index.php?topic=200401.msg1837450#msg1837450) post.
It is a similar situation, and a solution is in the post directly following it.

Good luck.

It worked perfectly thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: hapuzi on December 13, 2008, 04:05:18 AM
Hello!

When I NoEmbed a multiple sites in one command (example:)

[noembed]
http://youtube.com/v/samplevideo1
http://youtube.com/v/samplevideo2
http://youtube.com/v/samplevideo3

http://video.yahoo.com/samplevideo1
http://video.yahoo.com/samplevideo2
http://video.yahoo.com/samplevideo3
[/noembed]

it shows an error  to that certain page.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 13, 2008, 06:39:27 AM
hapuzi, are you using Aeva 5.0.18? If not, then update...
And PHP 5.2.6, I suppose?

I tried to noembed a hundred links like yours and had no issue on my website.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 13, 2008, 06:43:44 AM
Quote from: taha116 on December 12, 2008, 06:33:14 PM
I thot of # 1,3,4 but was hoping you could somhow pull some magic off
Nope...

QuoteHow about trying a tag for linking to videos like the way i suggested.... example

[testtag vid=1]http://yoursite.com/video[/testtag]
It's too complicated. If you're willing to go such lengths NOT to have the link to the remote site appear, you *can* take a few seconds and follow the Youtube/etc link and post that instead...

Quote from: taha116 on December 12, 2008, 06:39:11 PM
Another suggestion that i think will work is allowing people to use non-localy stored files so for example i could use a file stored on youtube or megaupload if i had the link to the video file
I think that would be a great feature.
.....

That's exactly what Aeva was made for, isn't it....? Embedding links to Youtube?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 13, 2008, 09:23:55 AM
Nao,

Thanks very much. The embedding disabled notice feature is working again with the newest NON-BETA version. Perhaps simply deactivating and reactivating it reset it? Anyway, it works.

Thanks again,
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 13, 2008, 10:51:35 AM
Good to know.... ;) I didn't modify anything about the notice in either rev16 or rev18 so yeah it's probably not due to your updates ^^
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: hapuzi on December 13, 2008, 11:24:14 AM
Quote from: Nao 尚 on December 13, 2008, 06:39:27 AM
hapuzi, are you using Aeva 5.0.18? If not, then update...
And PHP 5.2.6, I suppose?

I tried to noembed a hundred links like yours and had no issue on my website.

I was using your 5.0.1.6 when that error occurs. I updated to 5.0.1.8 with my current php  5.2.5 and did that multiple links with single noembed  command and it works perfectly. thank you so much sir!!! much respect!

* edit
is it possible to add this site? http://www.56.com  (stupid me, didn't read the first post, please ignore this if there's a difficulties on scripts)

* another
is there a possibility to resize videos like in www.break.com ?

* btw this is our site operating since 2004 and relying with video sites:
http://www.freestyleforum.net
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ITA003 on December 13, 2008, 12:36:40 PM
Quote from: Nao 尚 on December 11, 2008, 06:31:57 PM
@ITA003> Yes, check out Karl's script for easy conversion:
http://www.simplemachines.org/community/index.php?topic=200401.msg1822124#msg1822124
Open the Files.zip file, there's a stand-alone php file which you can execute from your server. :)

Thanks!! Works fine!!  ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 13, 2008, 04:20:23 PM
I committed a new release (#19) with an extra fix for the infamous regular expression.
This one finally managed to fix the crashes at noisen.com. I strongly suspect that it will fix everyone's crashes and .core dump files when putting large quantities of text into quotes or code blocks.

Victory :)

Anyway--I'm still looking for people who had the issue and who would be willing to test. The new code works perfectly on my website with complex multiple-level nested quotes. I would be interested in anyone's feedback. It would be nice to test on unmatched quotes/code blocks (not closing a tag, or adding an extra closing tag), to see if the code still works on these.

PS: to download the new svn release, go to aeva.noisen.com, development section, and check out the sticky topic. I'll release a new official version tomorrow at best.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 14, 2008, 06:14:15 AM
Hmm, no feedback so far...
I'll have to rely on my own findings?

Anyway--Just wanted to ask a quick question.
I noticed that Aevac v4.x still is much more downloaded than Aeva v5.0, even though Aeva is not in beta, Aeva fixes several bugs from Aevac, etc, etc. There is really no reason for this.

- Is this because of the name change? In which case I suppose I should simply remove both v3 and v4 of the mod to help users understand they should download v5 instead?
- Is this because of a direct link to the v4 file from somewhere else?
- Are there users here who won't download v5? Can you tell me why?

Thanks :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rad1701 on December 14, 2008, 09:12:24 AM
Loving this mod.  Just wondering when embedding of local video files, like .flv especially, might be working?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xepernas on December 14, 2008, 10:24:00 AM
Quote from: Nao 尚 on December 14, 2008, 06:14:15 AM
- Is this because of the name change? In which case I suppose I should simply remove both v3 and v4 of the mod to help users understand they should download v5 instead?

Well, 2 cts of bold kitchen psychology : it might be related to the name, just because it's AEVAC minus a letter and so might feel like a reduced, lite version.

I see no rational reason to still download AEVAC 4. However, I'm amongst the non-AEVA users, as AEVAC 3 still seems to work better - at least for the limited features I care of. I occasionally drop an eye on noisen to check if those problematic youtube videos work, but till then, the only reasons I'd have to switch to AEVA would be some added functionalities "for our forum", that is, very personally, some very specific details (one bad obscure video site just because it's been used once, one suggested intuitive auto-non-embed feature that I'd find useful in order to not have to faq the local users on [noimbed]). Details that are not important in the grand scheme of AEVA and won't necessarily be implemented at all, ever, at all, ever.

So, mathematically, no new "locally useful" features, minus the most important full youtube compatibility, makes the current version of AEVA a less rational choice than AEVAC 3. This is the 'why' for 1 user who hasn't downloaded v5, but, more importantly, it stresses that retaining AEVAC 3's availability might be important.

But maybe if you remove AEVAC 4, the 3-to-5 jump might compensate the C loss, in terms of "looking more complete". Which brings this post's total amount of bold kitchen psychology to 3 cts. Woot.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 14, 2008, 11:10:01 AM
Xepernas: I'm with you most of the way.

Besides I made some modifications to AEVAC 3 that makes it suits my forum better. Amongst them HQ playback from Youtube.

And I have a (english) forum running with hundrets of Youtube links. I don't intend to screw them up by trying a.. well released but still a release with bugs.

If I should use AEVA 5 in a danish forum, it would have to support videos from the biggest danish sites.. which I know you wouldn't use time on.

So AEVA 5 is really not in any interest to me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 14, 2008, 12:38:06 PM
Quote from: Nao 尚 on December 13, 2008, 06:43:44 AM
Quote from: taha116 on December 12, 2008, 06:33:14 PM
I thot of # 1,3,4 but was hoping you could somhow pull some magic off
Nope...

QuoteHow about trying a tag for linking to videos like the way i suggested.... example

[testtag vid=1]http://yoursite.com/video[/testtag]
It's too complicated. If you're willing to go such lengths NOT to have the link to the remote site appear, you *can* take a few seconds and follow the Youtube/etc link and post that instead...

Quote from: taha116 on December 12, 2008, 06:39:11 PM
Another suggestion that i think will work is allowing people to use non-localy stored files so for example i could use a file stored on youtube or megaupload if i had the link to the video file
I think that would be a great feature.
.....

That's exactly what Aeva was made for, isn't it....? Embedding links to Youtube?

Well the last one i meant instead of the link to the site page i wasgoing for a .flv .mpg .wmv link (The direct file but off server) Ive seent that done with on server things and ive done it manually for off server but that time consuming so that would be a great help... you would also need a player and those can be downloaded 4 free. Like the one used in Media gallery

And i thought the code for Aeve was already complex as hell so i thought it made no diff
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rad1701 on December 14, 2008, 12:44:08 PM
So flash video and other local video won't embed in this latest version - right?  Hope it will soon.  But, now I can't seem to embed .mp3 local files anymore.  This worked in version 4 for me.  I'd get that little mini audio player under the file name.  Seems to be gone now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 14, 2008, 12:49:16 PM
If your talking about local, that does work im talking about off server, external etc
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 14, 2008, 12:50:06 PM
Please even when u make small changes chancge the version number like .19 cuz it confuses people.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rad1701 on December 14, 2008, 12:59:40 PM
Quote from: taha116 on December 14, 2008, 12:49:16 PM
If your talking about local, that does work im talking about off server, external etc

No, local doesn't work in the latest version.  In fact here's a quote from the notes on version 5.0.18

"- Embed local files (excludes Attachments) (Divx/Flash/Real/WindowsMedia/Avi) (This doesn't work as of v5.0. Shall be fixed later.)"
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 14, 2008, 01:03:52 PM
It never worked in V4 (latest version) and I guess NAo didn't have time for that part yet.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rad1701 on December 14, 2008, 01:18:59 PM
Quote from: akyhne on December 14, 2008, 01:03:52 PM
It never worked in V4 (latest version) and I guess NAo didn't have time for that part yet.

Yeah, I know.  I was just curious how hard it was going to be to get it in?  Also, local .mp3's don't seem to embed anymore either.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on December 14, 2008, 01:33:56 PM
Quote from: Nao 尚 on December 14, 2008, 06:14:15 AM
- Are there users here who won't download v5? Can you tell me why?

Mostly because I still haven't seen a complete changelog of what changed from v4 to v5. Once I'm comfortable that the features I desire are still there and there's features that might actually benefit me, I'll upgrade. Until then, I'll stick with the buggy-yet-working AEVAC 4.

And, true, it's partly due to the name change. As my personal opinion, it feels out of place. But that's just me, and it shouldn't affect my downloading of viable software when the above has been satisfied.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mforum on December 14, 2008, 01:44:47 PM
Quote from: Eliana Tamerin on December 14, 2008, 01:33:56 PM
Quote from: Nao 尚 on December 14, 2008, 06:14:15 AM
- Are there users here who won't download v5? Can you tell me why?

Mostly because I still haven't seen a complete changelog of what changed from v4 to v5. Once I'm comfortable that the features I desire are still there and there's features that might actually benefit me, I'll upgrade. Until then, I'll stick with the buggy-yet-working AEVAC 4.

And, true, it's partly due to the name change. As my personal opinion, it feels out of place. But that's just me, and it shouldn't affect my downloading of viable software when the above has been satisfied.

Go to Mods page http://custom.simplemachines.org/mods/index.php?mod=977
at the end you will find the change log

There isn`t something that worked for you in v 4 and wont work in v 5.
At least, nothing that i am aware of  ::)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on December 14, 2008, 03:26:30 PM
Quote from: mforum on December 14, 2008, 01:44:47 PM
Quote from: Eliana Tamerin on December 14, 2008, 01:33:56 PM
Quote from: Nao 尚 on December 14, 2008, 06:14:15 AM
- Are there users here who won't download v5? Can you tell me why?

Mostly because I still haven't seen a complete changelog of what changed from v4 to v5. Once I'm comfortable that the features I desire are still there and there's features that might actually benefit me, I'll upgrade. Until then, I'll stick with the buggy-yet-working AEVAC 4.

And, true, it's partly due to the name change. As my personal opinion, it feels out of place. But that's just me, and it shouldn't affect my downloading of viable software when the above has been satisfied.

Go to Mods page http://custom.simplemachines.org/mods/index.php?mod=977
at the end you will find the change log

There isn`t something that worked for you in v 4 and wont work in v 5.
At least, nothing that i am aware of  ::)

Ahh, there it is. Sorry for missing. You should have a download from me shortly. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 14, 2008, 06:16:56 PM
Oh, lots of posts, for once ;)
- i'll answer everything tomorrow
- about local embedding: i simply never tested the feature. i read about everyone complaining that it doesn't work -- i have done nothing on it yet, but i'll get on it this week. I'm glad i can finally put the quotes/code bug to rest and work on more visible stuff
- about "niche" websites: there are lots of reasons for integrating non-super-popular websites. If a website is popular in a certain country (e.g. it's in Danish only and still has a decent Alexa rating, < 10.000 should be perfect), then of course I'll do my best to add it. Just look at trilulilu.ro: I don't speak Romanian, but I'm thinking about adding lookup support to get audio files to play ;)
- version numbers: 19? eh? what do you mean? revision 19? it's a test release on the svn server... i update the version number every time i do a new release on the smf mod page...
- sorry if i forgot anything else, as i said -- i'll answer tomorrow.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 14, 2008, 06:33:35 PM
I'm glad you didn't write >10.000 as no Danish site would be added then.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 14, 2008, 07:01:04 PM
lol version numbers. I struggle with them too.

I always think version numbers are like real decimals.
so 3.2 is newer than 3.12
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JaGuR on December 15, 2008, 03:19:14 AM
getting this error beside the youtube url (External Embedding Disabled) and the clip is not embedding

:-\

Cheers
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 15, 2008, 04:17:00 AM
akyhne> all in all, you just need to remember that I'll do my best to consider every request, depending on my spare time/priorities, on the website's professional visuals and values, on its popularity (whether global or local, general or niche), and number of requests to do it. I did add recently an extreme sports website, in which I have absolutely no interest -- at all.

Jagur> what error? If it says "external embedding disabled", it's only natural that nothing will embed... Check out the original page on Youtube. If it says "embedding disabled by request" in the embed link, it's a video that can only be viewed on youtube...

Karl> well, 3.2 is definitely higher than 3.12, in any case. Otherwise it would be "3.0.2" against "3.0.12" (see below).

KMJ had such iterative version numbers, in the last versions (2001 and later): 16.00, 16.42, 17.00, 17.01, 17.02, 17.21, 17.24, 18.00, 18.42, 18.75, 19.00, 19.75, 19.80, 19.99, 20.00, 21.00/2006/1.0, 21.20/2006/1.2, 21.21/2006/1.21, 21.42/2006/1.42, and 21.47 (unreleased). I'm absolutely not kidding you. I tried a version number reboot back in 2006 as you can see, but since then I've decided that should I release additional version, they'll be numbered 21.xx and 22.xx again.

Anyway--I always try to be logical with version numbers. The most popular ways of numbering a version are: (1) 1.0, 1.01, 1.02, 1.09, 1.1, 1.11, 1.2, 1.21... (2) 1.0, 1.0.1, 1.0.9, 1.0.10, 1.0.11, 1.1.0, 1.1.21, etc... The second case is the only case where a "3.2" could be less than "3.12", but again, that would need to be 3.x.2 vs 3.x.12.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 15, 2008, 08:54:25 AM
Nao: I've never had a problem uninstalling previous versions but I get an error with Karl's last release. I want to upgrade from 4.0.2 to 5.0.18 but I'm scared of going ahead with the errors.

Please see the screenshot, can you help?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 15, 2008, 09:20:52 AM
I'm not sure... Your install package seems to be corrupted...?
Try to redownload it from the mod page, and upload it to your Packages folder manually. Make sure it has the same filename as the previous one.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 15, 2008, 09:26:05 AM
I just put AEVAC_v4.0.2.zip in the Packages folder, it was the same filename as the previous. I'm still getting that message :(

I did change dimensions of YouTube but I just copied over the default Sites Generated file and it didn't make a difference.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 15, 2008, 10:45:49 AM
Mark, modification parse error is usually down to either

- package dir/temp dir created with insufficient chmod permissions
- compression on the package
- corrupt package

Last two can be tested by
Delete the package, then download new copy of it from mod site, and re-upload (without using package servers).  Then try again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: baijianpeng on December 15, 2008, 10:46:12 AM
I tested this Mod v5.0.18 today on SMF 1.1.7, I tried to play local FLV and AVI format video files. But it can't work.

I read the readme.txt but no instructions for local files.

Where should I upload the local video files to make it embedable for this Mod?

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kleidi on December 15, 2008, 10:52:17 AM
Hello everyone.

I wanna thank the developers for the great work. Is one of the best mods release ;)

I need help to add a new site on it. Can someone help me? Is about www.videoime.com !

Thank you in advance!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 15, 2008, 11:03:14 AM
Quote from: regularexpression on December 15, 2008, 10:45:49 AM
- package dir/temp dir created with insufficient chmod permissions
Weird... even though I set /Packages/ dir, and everything inside it, to 777, the only way that fixed the problem was using the "Cleanup Permissions" feature and clicking "All files are writable.".

Thanks for your help :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 15, 2008, 11:08:01 AM
Hey Karl, thanks for the support :)

I also found out about a possible issue being with PHP Safe Mode enabled. Disabling it might help sometimes.

Kleidi> Site requests are to be made on aeva.noisen.com (cleaner for me to deal with). You can post there without registering. BTW, if it REALLY has 115 videos only, don't count on me to include it for now...

baijian> As it is said mostly everywhere (readme.txt notably): support for local files is not active yet. (I'm not sure why Karl discussed that in his readme file in the first place... ;))
But thanks for reminding me that I should get started on that.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kleidi on December 15, 2008, 11:09:23 AM
Thank you bro ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 15, 2008, 11:29:16 AM
Well, as I said, 115 videos isn't much... It's not even a niche at this point. Is that your website?

Edit--yeah, definitely... You posted 47 out of these. ::)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kleidi on December 15, 2008, 11:36:24 AM
Quote from: Nao 尚 on December 15, 2008, 11:29:16 AM
Well, as I said, 115 videos isn't much... It's not even a niche at this point. Is that your website?

Edit--yeah, definitely... You posted 47 out of these. ::)
Yep, is mine and i wanna put videos from that site in my smf forum ;) ! Is any problem on it ?
Anyway, are many websites that are working with the same script and have the same format. Maybe, someone else will need that code for other websites too, and changes only the domain ;)
Thanks!

P.S. I have tried to post on the link u gived me but seems that have an error:
An Error Has Occurred!
This topic doesn't exist on this board.
I have opened a new thead!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 15, 2008, 11:43:30 AM
Quote from: Kleidi on December 15, 2008, 11:36:24 AM
Yep, is mine and i wanna put videos from that site in my smf forum ;) ! Is any problem on it ?
Err, yes... You can always do the embed pattern yourself -- and then use it on your board and share it with your friends who have a SMF board.
And when it's popular enough, just come back and I'll add the code to the default version. That's how it works *for now*. Karl's policy -- and I'm following it.

QuoteP.S. I have tried to post on the link u gived me but seems that have an error:
An Error Has Occurred!
This topic doesn't exist on this board.
I have opened a new thead!
http://site.noisen.com/aeva-req/ (this is the actual place to post your "new site" requests)
I don't see any topic of yours on any Aeva board though.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kleidi on December 15, 2008, 11:45:33 AM
I wanna make something like u said, but the problem is that i have not many skills on php to do something like this. For this, i want your help. I want to integrate it on your mod. If you can make the script only for that site and not include it on you release, is ok. I want it only for myself ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 15, 2008, 01:25:41 PM
And with this, I think I've put an end to the list of bugs inherited from v4.0 and v3.0... ;)
I will remove the downloads for these older versions soon because they're buggy and v4.0 has a security issue (although it can't be exploited "as is").

I strongly recommend that you all update to v5.0.21!

Auto-Embed Video & Audio (Aeva) v5.0.21

Version 5.0.21                                 15th December 2008
-----------------------------------------------------------------
! Fixed, once and for all, that annoying bug that crashed servers
  with PHP 5.2.6 when posting overlong quotes or code blocks
! Fixed support for local embedded files
! Fixed important security issue in local embedded files
* Separated FLV files from SWF files in local embedding options
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 15, 2008, 01:58:22 PM
Nao,

Nice job! It looks like it is playing high quality version of videos when available now from youtube, even with the formerly problematic videos listed here. However, the " Fix uses of the embed HTML with an embeddable link" feature still does not work for me and I couldn't make the embed local file feature work either, with an .avi. I attached the file and posted a direct link to it in the post with no resulting embed. Something else I need to do?

Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 15, 2008, 02:39:42 PM
Fix uses of the embed HTML with an embeddable link"
It won't work for existing embedded html.
This is only done on POSTING.

If that is the case. What exact code are you trying to embed?



Re .avi:

Have you re-saved the settings in the admin. to re-generate the definitions file?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 15, 2008, 02:53:43 PM
Yes, I tried posting this embed code and it didn't replace it:

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/K60gF3pNwD8&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/K60gF3pNwD8&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>

On the embed local files, I see it is disabled for attachments so I guess that explains why it wouldn't work. Why is it disabled for attachments? Can I enable it for attachments? Haven't tested it by putting a file on my server and linking without adding as attachment yet.

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 15, 2008, 02:56:39 PM
Its disabled for attachments for security reasons.

The primary aim was to limit local files only to those uploaded by the admin.
Allowing users to upload ones which embed is a security issue.

You can never rely on the file extension, NOR the mime type to categorically be sure that its a safe file, nor that its the filetype you expected.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rattler on December 15, 2008, 03:13:18 PM
Great Mod! Thanks!

Rattler
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 15, 2008, 03:20:57 PM
QuoteIts disabled for attachments for security reasons. The primary aim was to limit local files only to those uploaded by the admin.

Gotcha. Thanks for the explanation. Personally, I could embed local files pretty easily without this mod but if I didn't I suppose it would be a handy feature. I'm not going to test it though since I don't need it. ;)

It really would be a fantastic to get the fix uses of the embed html feature working as I frequently have n00bs trying to use embed codes causing confusion for them, others, and wasting my time cleaning up their mess.

Cheers
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 15, 2008, 04:28:06 PM
either that it, or a detection on posting for <object> <embed> tags and return the user back to the posting area informing them that you only need the link to embed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 15, 2008, 05:22:44 PM
Karl,

Yea, that would also do the trick!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 15, 2008, 05:35:23 PM
you've always got to make everything idiot proof :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 15, 2008, 05:48:18 PM
Quote from: regularexpression on December 15, 2008, 04:28:06 PM
either that it, or a detection on posting for <object> <embed> tags and return the user back to the posting area informing them that you only need the link to embed.
What about quick edit?

weightman, you embed code--it's not the same as in the related youtube page. Where did you retrieve it from?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 15, 2008, 06:26:12 PM
YAYAAYAYAYA Wooooooo!!!!! Now please stop updating lol, im getting tired of this ive been updating mods more then paying attention to my site latley
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rad1701 on December 15, 2008, 06:42:34 PM
LOVE IT! LOVE IT! LOVE IT!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: baijianpeng on December 15, 2008, 07:46:00 PM
Great jobs, Nao !

I upgraded to the latest v5.0.21, and my local AVI file was embeded automatically.

However, another local FLV file was not, even the link was hidden.

I am confident you will solve it soon.

Keep going. Thank you all!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 15, 2008, 07:51:25 PM
Quoteweightman, you embed code--it's not the same as in the related youtube page. Where did you retrieve it from?

I just copy and pasted it from the youtube page. I tried this video also, made by me ;), and it doesn't work either:

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/NG9I_S2r2q0&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/NG9I_S2r2q0&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 15, 2008, 08:54:20 PM
lol dude use the perma-link not the embed code
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 15, 2008, 08:58:37 PM
Quotelol dude use the perma-link not the embed code

Huh? I can embed fine. I am trying to deal with n00bs posting the embed code.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dazed on December 15, 2008, 09:35:09 PM
Nao; I can't help but think that
Quote! Fixed, once and for all, that annoying bug that crashed servers
  with PHP 5.2.6 when posting overlong quotes or code blocks
was provided by my whining...  :P

I want to thank you again for your hard work! Our members have used this mod in some fashion since early after it came out. Not sure what version it was at that time and from what I have read Karl created the beginning and you have done well taking over. Thank you again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: hapuzi on December 16, 2008, 11:04:26 AM
I am now using the AEVA-5.0.21 .. I'll update you if there's a problem. we had almost a 1000 nunchaku freesyle videos in our site at freestyleforum.net  this page has a huge amount of video links http://www.freestyleforum.net/index.php?topic=2035.0

so far.. the only problem I had from the previous 5.0.18 is the yahoo video multiple links, only 1 video is appearing inside a topic post pages. It is now fixed with the new version  ;)

I was manually modifying the youtube video size inside the Subs-Aeva-Sites.php to 640 X 505. I guess we need more larger screen of embedding video so we can see more details in freestyle nunchaku exhibitions. I was only hoping if it can be set adjustable in admin panel since youtube itself has embedding sizes available @ their site. It comes in 320X265 / 425X344 / 480X385 / 640X505 sizes. which I know these aren't your priorities but it could be important to others aswell.  :P  anyways, thanks so much for reviving this mod. I'll try to be more active in its testing. Thanks so much  ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LEKO22 on December 16, 2008, 12:47:46 PM
Hi, im trying to uninstall the 4.0.2 version but im getting a error with the sources/modsettings.php the rest of the files says test success.

How can i uninstall the 4.0.2 to install the new 5.0.1?

Unistall bypassing the modsettings.php error and delete the added code to it will work? what are the code to remove from modsettings.php in this case?

Thanks in advance.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: tyhgdgh on December 16, 2008, 06:42:25 PM
huh?

Q: why is there AEVAC 5.0.21 and AEVA 5.0.21, are they different
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 16, 2008, 08:31:27 PM
There is no AEVAC 5.0.21, where did you see that?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: tyhgdgh on December 16, 2008, 08:34:34 PM
link to mod
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Simplemachines Cowboy on December 16, 2008, 09:19:28 PM
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: khokon on December 17, 2008, 12:08:16 AM
i installed 4.0.2
now i want to install AEVA-5.0.21

but when i try to uninstall 4.0.2 it show an error

!!Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Uninstall Actions
Uninstall Actions "Auto Embed Video/Audio Clips":
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/Post.php Test successful
2. Execute Modification ./Sources/ModSettings.php Test failed
3. Execute Modification ./Sources/Load.php Test successful
4. Execute Modification ./Sources/Post.php Test successful
5. Execute Modification ./Sources/Subs.php Test successful
6. Delete File ./Sources/Subs-Aevac.php 
7. Delete File ./Sources/Subs-Aevac-Admin.php 
8. Delete File ./Sources/Subs-Aevac-Sites.php 
9. Delete File ./Sources/Subs-Aevac-Generated-Sites.php 
10. Delete File ./Themes/default/languages/Aevac.english.php 
11. Delete File ./Themes/default/languages/Aevac.english-utf8.php 
12. Delete File ./Themes/default/languages/Aevac.english_british.php 
13. Delete File ./Themes/default/languages/Aevac.english_british-utf8.php
 


What can i do now?
pls help me
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: tyhgdgh on December 17, 2008, 01:49:30 AM
Quote from: khokon on December 17, 2008, 12:08:16 AM
i installed 4.0.2
now i want to install AEVA-5.0.21

but when i try to uninstall 4.0.2 it show an error

!!Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Uninstall Actions
Uninstall Actions "Auto Embed Video/Audio Clips":
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/Post.php Test successful
2. Execute Modification ./Sources/ModSettings.php Test failed
3. Execute Modification ./Sources/Load.php Test successful
4. Execute Modification ./Sources/Post.php Test successful
5. Execute Modification ./Sources/Subs.php Test successful
6. Delete File ./Sources/Subs-Aevac.php 
7. Delete File ./Sources/Subs-Aevac-Admin.php 
8. Delete File ./Sources/Subs-Aevac-Sites.php 
9. Delete File ./Sources/Subs-Aevac-Generated-Sites.php 
10. Delete File ./Themes/default/languages/Aevac.english.php 
11. Delete File ./Themes/default/languages/Aevac.english-utf8.php 
12. Delete File ./Themes/default/languages/Aevac.english_british.php 
13. Delete File ./Themes/default/languages/Aevac.english_british-utf8.php
 


What can i do now?
pls help me

its safe for the modsettings.php failed, just load the new pack and itll replace the object that failed
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JimM on December 17, 2008, 09:04:34 PM
You will need to manually remove the edits that 4.0.2 made to your ./Sources/ModSettings.php before installing 5.0.21.  If you don't more than likely the new version will fail or install some duplication.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: invadermedia on December 18, 2008, 04:42:06 AM
Mod works superb. Thank you! One thing I noticed is that avi files were being embeded even when it was disabled in the admin.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 18, 2008, 05:14:16 AM
@Regarding AEVAC/AEVA 5.0.21: these two packages are absolutely the same. I uploaded the same file with two different filenames, so that I could find out whether people were download AEVAC over AEVA because of the name change. It turns out that it wasn't that (AEVAC 4 is still more download than AEVAC 5). So I think it is simply because the AEVAC 4 download count is so high, that casual users think it is "the" version to download. Another incentive for me to remove the file soon.

@Regarding AEVAC 4 uninstallation: just go with it, just make sure to write down the names of the files where uninstall failed. Then, launch your FTP client, download these files, and edit them manually. You can easily find the sections where Aeva is installed by searching for the word "aeva" in the file. (It will work for both Aevac and Aeva, obviously!) You should find some comments like "// Aeva mod - start" and "// Aeva mod - end" -- just delete them and anything between them... You're done. Reupload. Go back to the Package manager and install the new version.

@invadermedia> I just tried to disable AVI support on noisen.com and it worked as expected (no embedding). Can you give a link to your issue in context?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 18, 2008, 05:28:22 AM
Forgot to answer last page's posts... (Blame the downtime!)

@Everyone> Please, for efficient, clutter-free and faster replies, post your questions over at http://aeva.noisen.com ! Thanks. You can post there (new topic or new message) as a guest, no need to register an account. Just choose whatever sub-forum is best for your question/suggestion.

@rad> Thanks ;)

@taha116> lol... Just remember that usually, you can update your mod simply by copying recently modified files into your Sources folder... Of course, if one of the .xml files belongs to the list, then you need to uninstall/reinstall ;) (or do the edits manually.)

@baijianpeng> I'm afraid I can't help without a proper link to your page...

@weightman> I assure you I'm not getting the same embed code... (?) Please remind me on aeva.noisen.com if you still have problems.

@Dazed> I'm afraid not completely ;) My first goal, when I took over the mod, was to fix a list of bugs that was handed to me by Jade. The &nbsp; bug and the quote bug were the main ones in the list. Although your whining did remind me that I should concentrate on it ;) shaitan, who posted on the same board, same day, also provided me with some code that actually managed to crash noisen.com too, so I'll give him his share of credit, too!

@hapuzi> Yahoo video multiple links? I don't remember changing anything here... The only change I made is showing the link... Also, video dimensions are in my to-do-list for the future. I'm not yet sure whether I'll do it as a per-site or per-user feature (or both).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 18, 2008, 10:45:26 AM
Nao,

I can't post on your forum. I tried to start a new topic and it said "This topic doesn't exist on this board. "

I don't understand your trouble with the embed code I gave. I copied and pasted two different examples directly with no changes. But, NO embed code copy and pasted in a post gets replaced with a link so presumably you could pick any embed code you want to test. Still, here is another example that doesn't get replaced with the link (this is me by the way):

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/zdBDOm2Cx8Q&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/zdBDOm2Cx8Q&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 18, 2008, 02:21:15 PM
Quote from: weightman on December 18, 2008, 10:45:26 AM
Nao,

I can't post on your forum. I tried to start a new topic and it said "This topic doesn't exist on this board. "
My deepest apologies! I owe you (and everyone who tried to post a new topic as guest) a short explanation.
My website has a privacy system that allows you to set your topics to be readable only by your friends. This system sort of implies that the poster's ID is not zero. Which is the case with guests. I didn't even envision this, simply because up to now, I never made it possible for blog/forum creators to enable users to post new topics without being registered.
The only problem is that I was thinking of finding a quick fix for this, but haven't been able to... :( I hope I can find one today.
Be assured though (although meager a compensation), that all of your posts are still in the database. It's just that they won't show up.

QuoteI don't understand your trouble with the embed code I gave. I copied and pasted two different examples directly with no changes. But, NO embed code copy and pasted in a post gets replaced with a link so presumably you could pick any embed code you want to test. Still, here is another example that doesn't get replaced with the link (this is me by the way):
I will look into it right after I'm finished with my current issue ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 18, 2008, 03:05:51 PM
Ok. Thanks Nao!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 18, 2008, 03:29:34 PM
I managed to fix my website issue, I will try to do your stuff tonight. I have to eat, too. (Ooops.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Phat^Trance on December 19, 2008, 03:43:28 AM
i have a problem with this plugin. when posting a youtube video it just paste the link and this text: External Embedding Disabledhow do i activate this?

the video is shown when i "preview" the post before publishing it. im running smf 1.1.
thx
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 19, 2008, 04:30:59 AM
Quote from: Phat^Trance on December 19, 2008, 03:43:28 AM
i have a problem with this plugin. when posting a youtube video it just paste the link and this text: External Embedding Disabledhow do i activate this?

the video is shown when i "preview" the post before publishing it. im running smf 1.1.
thx
That shows when you post a YouTube that is not allowed to be embedded by the author's request. Have you tried posting a different YouTube?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Phat^Trance on December 19, 2008, 04:34:10 AM
Quote from: mark7144 on December 19, 2008, 04:30:59 AM
Quote from: Phat^Trance on December 19, 2008, 03:43:28 AM
i have a problem with this plugin. when posting a youtube video it just paste the link and this text: External Embedding Disabledhow do i activate this?

the video is shown when i "preview" the post before publishing it. im running smf 1.1.
thx
That shows when you post a YouTube that is not allowed to be embedded by the author's request. Have you tried posting a different YouTube?

yes i did, it says so on all videos
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 19, 2008, 06:45:55 AM
Support is over at aeva.noisen.com, thanks..... -_-

And yeah, I guess all of your vids are posted by the same user, right? That would explain why they're ALL unembeddable...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Phat^Trance on December 19, 2008, 06:47:30 AM
Quote from: Nao 尚 on December 19, 2008, 06:45:55 AM
Support is over at aeva.noisen.com, thanks..... -_-

And yeah, I guess all of your vids are posted by the same user, right? That would explain why they're ALL unembeddable...


no they are from different users  ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 19, 2008, 08:06:55 AM
Well, if you can find one single video that says "Embedding disabled" *and* the corresponding Youtube page has some embed code available (instead of the "Embedding disabled by request" message), then post it here and I'll fix Aeva...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Phat^Trance on December 19, 2008, 08:40:28 AM
well here you have an exsample =)

test topic: http://dailymobile.se/forum/samsung/test-60/

and the original post can be found here: http://dailymobile.se/2008/12/19/nokia-handwriting-calculator/

there are a several other sites that use that video on their blog.

Do u know what can be wrong?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 19, 2008, 09:07:33 AM
I can't view your link on your test topic.. (Ahem.)
And I'm not registering for that.

But I posted your Youtube video on Noisen and it works fine:
http://aeva.noisen.com/support/5060/video-embedding/msg227752/#msg227752
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Phat^Trance on December 19, 2008, 09:10:01 AM
all i need is to enter the yourtube url right? and thats what i did. very strange. these are my settings,

(http://img391.imageshack.us/img391/8217/image2oe9.th.jpg) (http://img391.imageshack.us/my.php?image=image2oe9.jpg)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 19, 2008, 09:14:02 AM
Can you show me your link on your test topic, again...?
Yes you need to enter the Youtube page's URL. Even the embed code is fine.
Are you using Aeva 5.0.21?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Phat^Trance on December 19, 2008, 09:17:48 AM
Quote from: Nao 尚 on December 19, 2008, 09:14:02 AM
Can you show me your link on your test topic, again...?
Yes you need to enter the Youtube page's URL. Even the embed code is fine.
Are you using Aeva 5.0.21?

yes, im using that version.  here are the printscreens, the thing is that when i press "preview" before publishing the post i can see the preview, but not after i published it.

(http://img57.imageshack.us/img57/1599/image1ns9.th.jpg) (http://img57.imageshack.us/my.php?image=image1ns9.jpg)

(http://img156.imageshack.us/img156/4169/image2lc7.th.jpg) (http://img156.imageshack.us/my.php?image=image2lc7.jpg)

also check my previous post and printscreen on the settings. thx
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 19, 2008, 09:44:04 AM
Works ok for me also: http://www.youtube.com/watch?v=MU4sPPzuVcw
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Phat^Trance on December 19, 2008, 09:47:48 AM
wtf =)

are these settings right?

(http://img391.imageshack.us/img391/8217/image2oe9.th.jpg) (http://img391.imageshack.us/my.php?image=image2oe9.jpg)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Phat^Trance on December 19, 2008, 09:54:11 AM
heres a printscreen from the preview mod before publishing the post:

(http://img152.imageshack.us/img152/1992/image2cx8.th.jpg) (http://img152.imageshack.us/my.php?image=image2cx8.jpg)

as u can see i can view the view, but NOT after it has ben published  :P

edit: u found another mod that worked so ill guess that im happy :)
thx for the help guys
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 19, 2008, 09:57:08 AM
Requested joost.com: http://site.noisen.com/aeva-req/5097/http-www-joost-com/msg227753/#msg227753
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 19, 2008, 11:33:38 AM
@akyhne> Added
@Phat> These settings are basically the same as mine... And video links work great on noisen.com... And for everyone else, apparently. You must have an issue on your server. What does the message say if you try to re-edit it after it failed to show up correctly?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 19, 2008, 01:53:29 PM
Phat^Trance, in the topic where your posting that,

are there already 12 videos on that page.  If so then that link WON'T embed.

Same if there are more than 12 videos in any one page.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 20, 2008, 07:01:18 AM
New version!

Version 5.1.25                                 20th December 2008
-----------------------------------------------------------------
* Updated to 5.1 after all bug fixes were found to be working fine
* Replaced fetch_web_data calls with an optimized aeva_fetch function
  which should work even better on Safe Mode servers -- hopefully
* Moved some of the code from Subs.php to Subs-Aeva.php
* A couple of minor optimizations in the admin area
* If test lookup in admin area doesn't work, try an external fetch
! Fixed embed code fixer (?) for YouTube
! Reverted BBC News behavio(u)r back to something usable
! TagTele had some question marks on UTF-8 pages
+ Added support for Facebook video
+ Added support for OffUHuge
+ Added support for Joost
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 20, 2008, 07:35:11 AM
5.0.18
Nao, why are links appearing below YouTube videos? I thought those didn't need links because you can click on the video?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 20, 2008, 08:35:48 AM
They shouldn't appear... (?)
Unless you enabled the option in the admin area that allows you to always put the link.
And please use v5.1.25, it has some important bug fixes :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 20, 2008, 08:48:47 AM
Hmm, I have no original link appearing below the videos. I even don't know where to enable it!

If it's the option "Include the Original Link
(for sites that don't have it in the player)"
..then it's not even working for me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 20, 2008, 08:50:56 AM
Besides... when will the languages be added?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 20, 2008, 09:52:04 AM
Nao: Installed latest version and no longer have link issue.

Suggestion: Can I just strongly recommend that for YouTube you have a feature in the admin CP that allows you to choose wide screen or not. At the moment I have to manually change the dimensions to 540x344 every time I upgrade. I'm noticing more and more videos now suiting wide screen much better than the square box.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 20, 2008, 10:18:30 AM
Nao,

The fix uses of the embed html feature still doesn't work.   :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: xkiller213 on December 20, 2008, 10:28:04 AM
someone help me! somehow i can't get FLVs to be embedded... although i have selected the check box beside FLV in Embed Local Files...

unless it does not work? as in... do I need to upload it to my own server or can i just like use a file host like filenanny?

coz my web host only allow files up to 6mb... but the video file is 11mb...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 20, 2008, 10:41:46 AM
@akyhne> Re: links, they only appear if the website's flash player doesn't allow you to visit the original page. Also, links are hidden if a lookup forces the generation of a link that doesn't lead to any web page (such as BBC News and BBC IPlayer).

@akyhne> Re: languages, I'm not including language files in the Aeva package until further notice. My goal is to have a ready-to-use experience when you're installing the new version. For that reason, I can only include language files that I update myself (i.e. English and French). That's the reason why I have a whole board dedicated to translations at Noisen... ;)

@mark1744 and anyone interested in widescreen/HD YouTube> This is planned for the future [aeva] tag, but recently I've been thinking about it and I'm wondering whether I could/couldn't do all (most?) of the features by adding a simple # next to the link, as for the #noexternalembed that Karl devised originally. I have yet to think about it. As for automatic widescreen implementation, it IS definitely possible, as widescreen videos have a "isWidescreen" variable in the code. That will require a lookup, though. But I can do it for Youtube to search for both Widescreen and HD support. I'm currently researching the best way to implement these. (I need to find a way to differentiate normal/high/HD qualities. Youtube currently has a isHD or something, but it doesn't say much more.)

@weightman> Are you sure? The link you provided works fine on Noisen.com....?

@xkiller> please provide us with a link to your topic where you posted the FLV link. I can't help you otherwise.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 20, 2008, 10:47:16 AM
Nao,

Yea, I tried three different youtube embed codes and no luck.

EDIT

Could it have something to do with the "Fix Message Empty Error For Embed Video Mods" mod of Karl's? Is that mod still necessary to avoid that error?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: xkiller213 on December 20, 2008, 10:50:48 AM
http://eschorale.110mb.com/index.php/topic,58.0.html

hmmm... u need to put the [aeva] tag for it to work??

i have 5.1.25 installed... haha
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 20, 2008, 10:55:11 AM
Quote from: Nao 尚 on December 20, 2008, 10:41:46 AMAs for automatic widescreen implementation, it IS definitely possible, as widescreen videos have a "isWidescreen" variable in the code. That will require a lookup, though.
Awesome! I didn't realise you could potentially have it automatically detect wide screen appropriate videos. :D

However, I still think it would be good to have an admin override so that all YouTubes are in wide screen. After all, YouTube.com use wide screen format for everything so there will come a point where normal square embeds feel wrong to the user.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 20, 2008, 11:04:14 AM
Quote from: xkiller213 on December 20, 2008, 10:50:48 AM
http://eschorale.110mb.com/index.php/topic,58.0.html

hmmm... u need to put the [aeva] tag for it to work??

i have 5.1.25 installed... haha
"haha" back to you  ;D

"Local embedding" means what it means--local embedding.
Your website is at
http://eschorale.110mb.com/index.php/topic,58.0.html
Your file should be at
http://eschorale.110mb.com/Angel.FLV
(Or any sub-folders, as long as "eschorale.110mb.com/" is in the URL)

That's what local embedding is. It's more secure because the webmaster has control over what files are posted.
Security is the #1 reason for using Aeva. You don't want to break that, do you? ;)

Maybe in a later version I'll add an option to add "trusted" websites for you to post items from. I don't know. It could be discussed over at noisen.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 20, 2008, 11:11:19 AM
Quote from: weightman on December 20, 2008, 10:47:16 AM
Yea, I tried three different youtube embed codes and no luck.

Could it have something to do with the "Fix Message Empty Error For Embed Video Mods" mod of Karl's? Is that mod still necessary to avoid that error?
I don't have any mod installed (at least related to Aeva), so yes, I suppose you could try and uninstall this one... I've never heard about it before. Must be an old thing?

Quote from: mark7144 on December 20, 2008, 10:55:11 AM
Awesome! I didn't realise you could potentially have it automatically detect wide screen appropriate videos. :D
I didn't either, until earlier today and a careful observation of the Youtube page's source file ;)

QuoteHowever, I still think it would be good to have an admin override so that all YouTubes are in wide screen. After all, YouTube.com use wide screen format for everything so there will come a point where normal square embeds feel wrong to the user.
I beg to differ... I like seeing videos in their original intended box. And I think most users will agree.
Please note though, that since this shall be obtained by a lookup, users *will* have to re-edit their existing messages if they want the widescreen flag to be retrieved (and set).

Shall we move this discussion to the Aeva development board? Maybe with a poll or something...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: xkiller213 on December 20, 2008, 11:20:19 AM
oh haha... it's ok den...

any way to embed that videos then? or use "custom action" wif a freewhere video player?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 20, 2008, 11:27:25 AM
You could always remove the check from within Aeva, but then you're opening yourself to severe abuse. Anyone could have a go at hacking your website while you're sleeping... Have fun :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 20, 2008, 11:28:36 AM
QuoteI don't have any mod installed (at least related to Aeva), so yes, I suppose you could try and uninstall this one... I've never heard about it before. Must be an old thing?

I installed it back a ways. Karl used to link to it from this mod page as it complemented it. I uninstalled it. Nothing changed so while that mod is apparently unnecessary for this one anymore (to avoid the warning message on empty posts), it didn't fix the embed code feature.  :'(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 20, 2008, 11:57:26 AM
You'll need to give me a test account to your board as well as the exact code you're trying to post. (PM if you like) I don't see any other way... I tested more embeds and had no problems.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 20, 2008, 12:45:55 PM
Quote from: Nao 尚 on December 20, 2008, 10:41:46 AM
@akyhne> Re: links, they only appear if the website's flash player doesn't allow you to visit the original page. Also, links are hidden if a lookup forces the generation of a link that doesn't lead to any web page (such as BBC News and BBC IPlayer).
Ok, got that wrong

Quote from: Nao 尚 on December 20, 2008, 10:41:46 AM
@akyhne> Re: languages, I'm not including language files in the Aeva package until further notice. My goal is to have a ready-to-use experience when you're installing the new version. For that reason, I can only include language files that I update myself (i.e. English and French). That's the reason why I have a whole board dedicated to translations at Noisen... ;)
I don't get that. You have several languages translated on aeva.noisen.com. Why can't you include those?

By the way: What options do you have to embed in widescreen?? You can't change aspect ratio on a youtube video, or...? You can... as far as I know... only change the aspect ratio of the embed vindow.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: jayman2 on December 20, 2008, 05:16:29 PM
I just installed firefox to test my smf installation.  I installed the flash plug-in and that works just fine.  But I can't play an avi file that I have on my server using [video][/video].  I click on the play button and it says Locating Media and then Ready.  Media play show up with the black screen but it doesn't play.  It plays just fine in IE. 

Also when I play an avi in IE, it starts automatically when the page opens.  Is there a way to stop this and wait for it to be started by the user? 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 20, 2008, 06:23:28 PM
"video" tag? That's not in Aeva...
Other than that--if you have an Aeva support request, please use the Aeva board. Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 20, 2008, 06:26:01 PM
Quote from: akyhne on December 20, 2008, 12:45:55 PM
Ok, got that wrong
No problem

QuoteI don't get that. You have several languages translated on aeva.noisen.com. Why can't you include those?
Because I don't want to include language files that are outdated, even by a few strings.
And if a language does catch up, I still don't want to include a language in the mod, only to remove it later because it's not up to date.

QuoteBy the way: What options do you have to embed in widescreen?? You can't change aspect ratio on a youtube video, or...? You can... as far as I know... only change the aspect ratio of the embed vindow.
Err... Yes. What is a question actually?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 20, 2008, 06:40:18 PM
Ok, I understand with the language packs now. You are not done with adding strings.

About Youtube videos and aspect ratio:

We are talking about 3 things here...

1) a video that can have differrent aspect ratios, from author have those black top and buttom border. It can be a 16/9, 16/10 or whatever in a 4/3 format. Or vica versa. It can be a true 16/9, a true 4/3 or whatever.

2) A Youtube player that is on Youtubes server and that we have no control over (except quality options via &fmtxx etc.)

3) An embedding browser where we can change dimensions on the the embedded size (not the video).

So my question is really related to #2: Have you found some options to control the Youtube player that can change aspect ratio? In the way that you can force a true 4/3 to stretch to 16/9? I doubt it. Even Youtube has difficulcy detecting the right aspect ratio on peoples uploaded videos.

So all we can do as far as I know is changing quality of the streaming and dimension AND aspect ratio of the embedded object.

About changing aspect ratio, you can look at my video at the frontpage of teamhd.org again. There's a button below the video saying 16/9 or 4/3. It just changes the aspect ratio of the embedded object but not on the video, nothing more. Can you do other things?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Omniverse on December 21, 2008, 01:43:33 AM
I was playing with this on a test site.

We have a sub domain for media files I would love to be able to use this to embed. It doesn't seem to work for 'local' embedding if its a sub domain. Should it? Its still part of our normal domain.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 21, 2008, 05:25:55 AM
I don't know yet it NAO worked on that part, but have a similar issue, except my forum is on a subdomain and the files are in that same subdomain. I just see a circle of dead.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 21, 2008, 05:45:44 AM
Omniverse, akyhne: can you post links to these problematic links, as always? (I already requested this in the last page... I suppose people only read the posts that are about them?)

akyhne> can't you please discuss this on the widescreen topic over at noisen.com?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 21, 2008, 05:49:42 AM
Will do ... both ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Stef001 on December 21, 2008, 07:11:29 AM
Hello,

I have this mods:
1.     Advanced AJAX Shoutbox      1.21
2.    Super Admin    1.4    
3.    SMF Gallery Pro Upgrade    2.0.5    
4.    simplemp    3.2    
5.    Images On Board    1.1    
6.    Aeva ~ Auto-Embed Video & Audio    5.1.25
7.    SMF Gallery Pro    1.4.4    
8.    Welcome Back    1.0
9.    Ad Managment    2.3.4    
10.    SMF Media Gallery    1.0.2    
11.    Color And BgColor BBCode Bar    3.3.1

When i install Aeva, i have problems with posting.
Message`s dont save.

Do you have any solution?

Stef.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 21, 2008, 09:00:06 AM
Well, first of all... Please upgrade SMF Media Gallery to 1.5.1, it's like night and day. Version 1.0.2 is full of security holes and has much fewer features. It won't conflict with SMF Gallery Pro.

Apart from that -- as always: please post the URL to your board and a test account for me to see. Please post it over at aeva.noisen.com if you want me to remember doing this next week otherwise I may miss it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Omniverse on December 21, 2008, 01:29:34 PM
Ahh, ok, well I wasn't sure if sub-domain was considered as being local.

My test is something like testsite.mydomain, the media domain is media.mydomain., then actual site is just mydomain.

Does is not work simply because the test site is a sub domain as well?

Just though I would ask before going farther. If it should work like that, I'll PM you info to the test site, don't want my test site publicly linked.

And sorry, only reference I saw in the thread to this issue was...

Quote from: Nao 尚 on December 20, 2008, 11:04:14 AM
Quote from: xkiller213 on December 20, 2008, 10:50:48 AM
http://eschorale.110mb.com/index.php/topic,58.0.html

hmmm... u need to put the [aeva] tag for it to work??

i have 5.1.25 installed... haha
"haha" back to you

"Local embedding" means what it means--local embedding.
Your website is at
http://eschorale.110mb.com/index.php/topic,58.0.html
Your file should be at
http://eschorale.110mb.com/Angel.FLV
(Or any sub-folders, as long as "eschorale.110mb.com/" is in the URL)

That's what local embedding is. It's more secure because the webmaster has control over what files are posted.
Security is the #1 reason for using Aeva. You don't want to break that, do you?

Maybe in a later version I'll add an option to add "trusted" websites for you to post items from. I don't know. It could be discussed over at noisen.

Which didn't seem to answer my inquiry.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Stef001 on December 21, 2008, 02:52:33 PM
Quote from: Nao 尚 on December 21, 2008, 09:00:06 AM
Well, first of all... Please upgrade SMF Media Gallery to 1.5.1, it's like night and day. Version 1.0.2 is full of security holes and has much fewer features. It won't conflict with SMF Gallery Pro.

Apart from that -- as always: please post the URL to your board and a test account for me to see. Please post it over at aeva.noisen.com if you want me to remember doing this next week otherwise I may miss it.

Throw away  SMF Media Gallery fix the problem.

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 21, 2008, 05:16:55 PM
Quote from: Normally on December 21, 2008, 02:52:33 PM
Throw away  SMF Media Gallery fix the problem.

Thanks.
Using the word "throw away" isn't exactly very nice to me... I've worked really hard, full time, on SMF Media Gallery for over 2 months... That's why I told you it would be best to update, because I know v1.5.1 (I didn't work on v1.0.x) interfaces finely with Aeva (it actually uses Aeva for some of its work).

Oh, well... I guess you're not going to take my word for it anyway :(

@Omniverse> I can post videos from pics.noisen.com to aeva.noisen.com for instance, if you're wondering. I may have to check, though. It was hard for me to decide whether it was best to forbid different subdomains (except for the obvious www.stuff.com versus stuff.com all alone), because it might represent two different websites on two different servers, but usually that wouldn't be the case...... I'll have to look into it... Tomorrow... If I don't forget.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Stef001 on December 21, 2008, 05:35:40 PM
Quote from: Nao 尚 on December 21, 2008, 05:16:55 PM
Quote from: Normally on December 21, 2008, 02:52:33 PM
Throw away  SMF Media Gallery fix the problem.

Thanks.
Using the word "throw away" isn't exactly very nice to me... I've worked really hard, full time, on SMF Media Gallery for over 2 months... That's why I told you it would be best to update, because I know v1.5.1 (I didn't work on v1.0.x) interfaces finely with Aeva (it actually uses Aeva for some of its work).

Oh, well... I guess you're not going to take my word for it anyway :(

I don`t use SMF Media Gallery.
I use SMF Gallery Pro.

But maybe in the futher i go back to SMF Media Gallery.
For now SMF Gallery Pro is more usefull for me.

But thanks for the advise.

Stef.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 22, 2008, 03:42:31 AM
Quote from: Normally on December 21, 2008, 05:35:40 PM
For now SMF Gallery Pro is more usefull for me.
In what way(s) is it more useful for you? Just curious.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: iceburn23 on December 22, 2008, 02:39:22 PM
Hi everyone.

I know this is a dumb question, but how do i ad a site to AEVA?

Need to ad sites like redtube, but don't know how.

What do i edit, and what am i looking for?

Thanks to Nao and anyone that could help.

;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 22, 2008, 05:05:25 PM
Adding sites can be annoying and long. It can also be hard in some cases.
Mostly, it's annoying.
But it can be done. You'll need to learn basic regular expressions and analyze Aeva's source code.
Otherwise, just submit your websites to the Aeva board, following the guidelines of course.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: iceburn23 on December 22, 2008, 09:18:03 PM
Thanks, but the problem is that i need to ad sites like redtube and megaporn.... i can get the code to embedd but i don't know where to put it.... and since you said, that you wouldn't ad porn sites :(

It's just that my forum is of an adult nature..... and i really could use this mod .... please help.

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 23, 2008, 04:05:46 AM
I had a look at redtube... Looked easy enough to implement, so I took a few minutes to do it. Tell me if it works or not.

array(
'id' => 'red',
'title' => 'RedTube',
'website' => 'http://www.iwontlinktothatsite.com',
'type' => 'video',
'added' => '5.1',
'plugin' => 'flash',
'embed-enabled' => true,
'embed-pattern' => 'http://(?:www\.)?redtube\.com/(?:embed/|share/)?([0-9]+)',
'embed-movie' => 'http://embed.redtube.com/player/?id=$2&style=redtube',
'embed-width' => '434',
'embed-height' => '344',
'embed-nolink' => true,
'fix-html-pattern' => '<object height="[0-9]*" width="[0-9]*"><param name="movie" value="http://embed\.redtube\.com/player/"><param name="FlashVars" value="id=([0-9]+)&style=redtube">.*?</object>',
'fix-html-url' => 'http://www.redtube.com/$1',
),


I don't think I'll do youprn and megaprn because they require lookups.
The question is -- should I add RedTube to the Aeva site list or not?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on December 23, 2008, 05:08:34 AM
I wouldn't add porn videos to Aeva, I'm not a religious person at all but I can imagine a few of them feeling uncomfortable downloading the mod if that were the case. I could be wrong but it's probably not worth it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 23, 2008, 05:45:05 AM
Yeah, I'm not religious either and I don't really mind about posting links etc (especially if I don't actually link to the thing, instead putting a dummy URL), but Karl seemed to be very keen on keeping these links away from Aevac, so I'm not sure what to do...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 23, 2008, 06:59:03 AM
I'm pretty sure SMF is not going to like if you add adult sites. What about an adult upgrade package to be downloaded from your own website or from somewhere else?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on December 23, 2008, 07:15:01 AM
Please don't add the adult sites to AEVA. If someone really wants to embed the porn, they'll find someone who knows regex and can implement it as a separate addon. But if you keep it family friendly, you'll have few complaints.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 23, 2008, 07:29:01 AM
Youtube now officially supports HD
http://www.youtube.com/blog?entry=--fMNA_lkPM
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 23, 2008, 08:03:03 AM
Quote from: Eliana Tamerin on December 23, 2008, 07:15:01 AM
Please don't add the adult sites to AEVA. If someone really wants to embed the porn, they'll find someone who knows regex and can implement it as a separate addon. But if you keep it family friendly, you'll have few complaints.
Yeah... How about I keep it disabled and "hidden" inside the code? If anyone requests support for RedTube, we'll just need to tell them to enable the site by modifying the php file and changing a "false" to "true", and re-build the Generated-Sites list after that.
Or is it still too much?
Because I'm really not sure how to do it otherwise... When I'll do my downloadable site list in the future, I'll probably put it for download on SM's Aeva mod page, so if it has an "adult pack" in the entry list, people may be even more angry than if I just silently add the stuff to the normal package...

Hmm I really would have liked to discuss that in a few months time, rather than now...
Oh well it's just one site. I don't have to include it. Which is why I posted the code above.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xepernas on December 23, 2008, 09:26:09 AM
Haha, I adore that porn question. I saw on Noisen that Nao politely refused to provide embedding for some nazi/gore video website, and I find this extremely interesting. As a tool (re-)creator, what freedom can you claim on the usage of your tools, and where is the limit. Nao makes the effort to embed unmotivating sites he has zero interest in, and deliberately rejects sites he probably judges shouldn't exist (sites he'd probably "fight", if there was a mean to). The fun with porn is that it stands exactly in the grey area : uninteresting, unsympathic sites, that there's no real moral, objective reason to reject. While we can assume an objectivity in the benefit of crushing racisms/fascisms and their expression (as those aren't necessarily distinct things), the judgement on porn is subjective, and a personal choice with impact on a multitude of users.

I'm amused as I have no opinion on the question, and zero idea of the choices I'd make (I'm possibly nasty enough to make quite a random choice based on taste, and where "racism" or "fascism" starts to my eyes would probably involve reacting to any national flag gif). So I'm curious about how others deal with that. I wouldn't mind an AEVA(C) to allow for porn sites, as it is non-intrusive (unlike, say, search engines that cluster results with penii when it's allowed). I think that refusing them is a dangerous (not necessarily bad, but dangerous) little step away from the originally intended "objectivity" and "generalism". But once we admitted that some sites deserve to be blocked (typically, nazi ones), we imply there is a line somewhere, splitting the continuum in two : absolute "go" and absolute "no-go". And thus, there's a responsability of drawing that line, which will be, by definition, unfair (as any mental category is, just because imposing discontinuity on natural continuity is always unfair to the borderline cases).

I do hope this will be debated. Not to see it solved, but just because the arguments on both sides will be interesting.

(Also, my tolerance to "porn" is a lot linked to the ambiguity of the notion : Americans asking the classical sculptures to wear bras aboard the Queen Mary 2, some forum censoring Edika and Reiser as "pornographic", and some french considering Hara-Kiri and even the Charlie Hebdo/Mensuel as porn magazines. Plus, it evocates to me the very dangerous and injust attitude of societies and governments toward prostitutes. I don't think we're dealing here with such ambiguities, as I suppose the internet porn video sites go by a very univocal and openly assumed definition of "porn" - and Nao's cultural background probably makes him safely match my sensitivities on those matters. But it's just the cause of the pavlovian shiver that goes down my spine, each time I witness "no porn" policies being put in place.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 23, 2008, 10:06:26 AM
QuoteYeah... How about I keep it disabled and "hidden" inside the code? If anyone requests support for RedTube, we'll just need to tell them to enable the site by modifying the php file and changing a "false" to "true", and re-build the Generated-Sites list after that.

I don't see a problem with that. I definitely don't want porn sites enabled. I run a family friendly forum and the last thing I need is some idiot posting porn videos on my site.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 23, 2008, 10:09:09 AM
First of all it is absolutely up to the author what sites he wants to add. We can't demand anything at that point.

Second there has been requests for site support from sites with only a few hundred videos. What's the point of adding such a site?

Third nazi propoganda is illeagal in a lot of countries. It should never be added and it is absolutely up to NAO wether he wants to add that kind of sites or not.

About porn sites: It's really a question wether you think porn should be in "eyesight" of children. If it is implemented to SMF, kids will soon find out. So if you think a tv station can broadcast porn in the middle of the day just with a warning "for adults only", then I can understand your view, but I don't agree.

Porn sites could be an option, but never in the official AEVA package.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xepernas on December 23, 2008, 11:06:50 AM
Quote from: akyhne on December 23, 2008, 10:09:09 AM
First of all it is absolutely up to the author what sites he wants to add. We can't demand anything at that point.
Indeed, but the interesting thing is a bit beyond this. If the author himself aims at the most "generally useful" tool, what are the limits he'll set. If he has a bit of a passive approach ("so, people, what would you like in it" - and it seems Nao has this open approach), the discussion becomes public, even if it's less demands than suggestions or opinions. To my eyes there's a bit of a dilemma to solve in both cases, and the train of thought around it will be interesting to follow. It'd be even if it's one person's train of thought. It'll be even more if it's a collectivity's. I'm speaking as a spectator (and maybe, an ipsy tiny bit, as an anthropologist).

QuoteAbout porn sites: It's really a question wether you think porn should be in "eyesight" of children. If it is implemented to SMF, kids will soon find out. So if you think a tv station can broadcast porn in the middle of the day just with a warning "for adults only", then I can understand your view, but I don't agree.
I'm not certain the analogy holds. What's fascinating is that porn rules in forums are to the discretion of admins, and that AEVA(C) already allows to selectively toggle videosites on and off. It's even redundant if the forum has a no porn rule (you wouldn't need to specifically toggle porn video off as any porn media would be moderated anyway), and it's even more redundant if you make it a hidden option (you can toggle it off, so why toggle it off in a way that hides something is toggled off ?). Personally I manage a tiny forum where porn would be frowned upon (no "ban/warning" system, just an ideology statement and hopefully some social pressure sufficient to keep the place sufficiently classy), and I don't think I'd actively disable/enable the porn sites in AEVA. It doesn't threaten me, as the porn-filter is at another level (plus, I expect these users to not post porn while having the ability to). If video embedding wasn't based on per-case codes, would you reject a tool that would simply generally "allow video embedding" ? 

Maybe I missed something, but AEVA(C) doesn't "display" anything directly. It won't go fetch porn videos on its own. So I don't see how it can be compared to tv channels, especially as the very list of potentially enablable(1) websites is only visible by the admin himself.

I suspect the reaction is more symbolic than pragmatic. That is : a mere problem of identity (the sites list seeming at some level, implicitely "endorsed" by AEVA/Nao) and contamination (the presence of a porn site in the list being a stain that "pollutes" the mod and the site that uses it). That's a tad irrational, so I don't think it should be debated on a pragmatic level (as I said, unless I missed some point), but I think there's room for valid discussion and arguments at, precisely, a symbolic/representation level. Which I don't mean to be derogative. 

__________
(1) This is now officially my favorite word ever.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 23, 2008, 11:33:46 AM
What sites are supported by this mod does not curtail any freedoms of expressions.
Sites have always been added at "the creators discretion" (whether there are legitimate reasons for excluding it or not).

If the user wants to support any sites that the creator of the mod refuses to support, then providing that they can EASILY write their own definition for those sites.

The "no porn sites" rule which I started was for was TWO separate reasons.
1) I did not want to have to visit those sites to write definitions for them.
- I have no problem with you writing a complete and working definition for them.
2) Aevac at the time had no easy enable/disable in the admin cp. When this was added in aevac4 I was prepared to add them. As long as i did not have to write them.

However this is one reason why I would take the mod down the xml definition route (as I've discussed with Nao), to allow for users to upload their own definitions [which they write themselves].) Of course its Nao's decision on whether to go down that route.
But it would enable the possibility of  a porn site expansion pack (created by a third party)

Obviously Nao, is now in creative charge of the mod, so its his decision on what sites to support and what sites to write definitions for.
FYI, I wouldn't have been willing to support that Nazi/Gore site either.

Either way Xepernas, i would suggest that if you want adult sites to write definitions for them and attach them here for other users who may also want them.  Maybe they will get added, maybe not.
But it is unreasonable to expect a person to visit those sites to write a definition, when they want no part of those sites.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xepernas on December 23, 2008, 11:45:53 AM
Indeed. I think that's the objective element in the "endorsing" feeling (having gone through the effort of coding it - or even, having prioritized it on some other site). I think that's where the coder's "taste" or "ideology" plays a pragmatic role. Upstream.

But the question is a tad different here, as Nao did write a code already, and the question has become "add it to aeva or not". Downstream. And there we face some interesting reactions.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: iceburn23 on December 23, 2008, 11:46:12 AM
Hi Nao. Thanks, but the mod is still not working :(

What can i be doing wrong?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: iceburn23 on December 23, 2008, 11:46:33 AM
on Redtube i mean
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 23, 2008, 12:04:52 PM
Bottom line, if some idiot is determined to show off his IQ and post porn on my family friendly forum, I prefer it only show a link and not a clickable video with perhaps a inappropriate image for kids thumbnail. My objection isn't based on a problem with porn, which I personally enjoy generally. The mod would be potentially inappropriate for my target audience with porn support. If all that those who want those sites supported have to do is uncomment a few lines of code and/or jump through a couple easy hoops, then it seems best for everyone to go that way to me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 23, 2008, 12:27:23 PM
I suppose it's too late to move the debate over to aeva.noisen.com? :P
(I *knew* it would be heated! Just look at my number of posts!! And I'm two posts away from having post #664 in this thread!)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: iceburn23 on December 23, 2008, 09:12:41 PM
Thanks Nao.... Really thanks, just uninstalled the mod and added a new zip with the sites file changed.... it worked.... really thanks :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: iceburn23 on December 23, 2008, 09:29:04 PM
By the way, i got one other question.... if a forum is the soul responsability of its owner, why are there so many people trying to make decisions for them...

I mean, when some of you guys say that porn shouldn't be allowed on forums, are you just thinking of imposing your will on others?

Think of it this way, if i run a forum, it's my choice to make it about what ever i want. It's not your place for forbid me or anyone else.

If on the other hand, some guy posts something that shouldn't be there, it's my place to delete it, since he broke the rules of my forum. That simple!!!!

In conclusion, think free, live free, and let others choose their kind of freedom.

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 23, 2008, 09:40:09 PM
Quote from: iceburn23 on December 23, 2008, 09:29:04 PM
By the way, i got one other question.... if a forum is the soul responsability of its owner, why are there so many people trying to make decisions for them...

I mean, when some of you guys say that porn shouldn't be allowed on forums, are you just thinking of imposing your will on others?

Think of it this way, if i run a forum, it's my choice to make it about what ever i want. It's not your place for forbid me or anyone else.

If on the other hand, some guy posts something that shouldn't be there, it's my place to delete it, since he broke the rules of my forum. That simple!!!!

In conclusion, think free, live free, and let others choose their kind of freedom.

Thanks

Dont know why you said that.... But think a little harder (Dont take it as an offese), if your mother wanted to commit suicide (Wether or not you have a mothet, again not an insult some people are orphans and i dont want to really remind them about the obvious) would you not try to stop her or would you let her go because thats what she wants?

After reading that (If youre reasonable) You would realize that people make their own definitions of freedom, and usually they are very stupid (No offesnse again) Please be careful before you actually believe something, dont just say something, claim you believe it and then realize its stupid and jump to something else. Cuz that measn people would never learn... Not saying to give up...

Ok how the hell did i go sooooo far off topic...?

---

To have interests in unethical behaviors that you do not hold back knowingly is a sign of stupidity... Quote unquote me  :)

Can we start a topic for this somewere else? We should not be going of topic, usually an unethical behavior by the standards of most forum owners
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 23, 2008, 10:38:40 PM
IMO If people want porn videos on their own forum, then thats upto them (providing that its in line with relevant laws)

Even if you don't like it.  We shouldn't be forcing those standards on everyone else. ala the muppets atParents Television Council (http://arstechnica.com/news.ars/post/20081221-ptc-goes-after-youtube-user-comments.html).

This shouldn't be about the use of it on any forum.
Generally those who us it, will use it on a restricted forum.

But
a) someone needs to write a definition of it (if Nao is unwilling).
b) if Nao is willing to add it to the mod it can be disabled (by default)
(If its disabled by default, those who don't want to use it, don't need to activate it.)

If hes not willing then it can be shared as add-on mod, hack, attachment.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 24, 2008, 03:32:50 AM
Hey, I think I've found the way. How about just adding an option in the admin area, that says something along the lines of,

|_| Allow for adult websites/content to be embedded.

Then, if the user checks the box (which would be disabled by default), a new section would appear (Adult), just like Popular/Audio/Video/Various. That way, it would be easier to deal with these. After all, Google Images offers to disable the "adult filter" as well, and I don't remember anyone saying they'll boycott Google (the search engine) because they somehow allow you to enable adult content...

That adult section would be integrated into a file that will only be downloadable on my website, for a standard fee of $500. (We're talking adult sites here... Big money :D)

I'm sure everything will agree. :D

Anyway, Merry Christmas to all, obviously in the next couple of days I won't be much online (if any).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Elijah Bliss on December 24, 2008, 08:49:05 PM
Here's a last.fm link that won't embed:
http://www.last.fm/music/J*Davey

I'm assuming it's because of the asterisk?

Is there a workaround for this?

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on December 24, 2008, 09:14:32 PM
I'm not sure * is valid in urls according to the spec.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on December 24, 2008, 10:42:17 PM
QuoteHey, I think I've found the way.

It sounds good to me.

Merry Christmas!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rayment on December 25, 2008, 07:14:13 PM
Hi everybody!.
The annoying to make a query, as I have the MOD which I refer, which I am working without any problems!, But would like to give another site to view the videos in my forum, this page is derived from megavideo.com (actually called megaporn.com), someone could give me a hand of how to add that site?.

Thank you very much and now I look forward to your comments.

Greetings

www.argtracker.com.ar
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on December 25, 2008, 08:45:33 PM
I'm not judging what  you should do or not mr. ice, but even kids use SMF as forum for games etc.. I think it's in the wrong place to add porn sites to one of the most popular mods for SMF - one that is probably one of the most obvious t0 add for young people.

I really don't give a damn what you use your forum for. But because you want porn sites added, it shouldn't be the case. What if someone wants the nazi sites put in, or some anti-muzlim site, or whatever. What if NAO didn't care what should be added or not. Where's the limit?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Omniverse on December 27, 2008, 01:04:29 PM
Ok, I did some more playing around with the internal linking.

On one of my sites it seems to work fine except .mov (quicktime) movies fail to play. Just get a big ? in the video window.

On another site, I have almost the exact same set up, yet the internal linking would not work at all, couldn't figure out why.

Perhaps add in the admin the allowed domain or just add an option to select a domain to embed from? So we could just select the video dump we have for users.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on December 27, 2008, 01:49:33 PM
Quote from: Nao 尚 on December 24, 2008, 03:32:50 AM
That adult section would be integrated into a file that will only be downloadable on my website, for a standard fee of $500. (We're talking adult sites here... Big money :D)

I'm sure everything will agree. :D

Quite.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 29, 2008, 09:52:41 AM
Back from vacation...

@Omniverse> Direct link, please?

@akyhne> The limit is me. For better or for worse...

@Karl> I don't think it's valid either, but if last.fm wants it, then fine by me, I'm adding it to last.fm...

@rayment> I tried adding your site to my list, but it doesn't work. I can get megavideo vids to work, but not megaprn. It embeds, and offers to play a video, but then it says the video was removed. I think it adds some extra advertisement or something, and embedding doesn't work well.

@All> Regarding the adult debate, currently I'm simply separating the Adult section from the rest, and disabling the sites by default.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 30, 2008, 10:28:03 AM
Just wanted to post a quick update...

I've been working non-stop (okay, maybe not non-stop but...) on rewriting the admin area's internals. I made some of it less complicated (e.g. I removed an entire function), and some of it a bit more complicated, for good measure.
Overall, my goal was to make it easy to enable/disable adult content but I'm still having a few issues with that (also due to some of my rewriting). I'm hoping to commit my changes later today, and hopefully a few courageous users (and/or users who'd like to test the adult section stuff) will install it and give some feedback.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 30, 2008, 01:08:01 PM
Quote from: Nao 尚 on December 30, 2008, 10:28:03 AM
Just wanted to post a quick update...

I've been working non-stop (okay, maybe not non-stop but...) on rewriting the admin area's internals. I made some of it less complicated (e.g. I removed an entire function), and some of it a bit more complicated, for good measure.
Overall, my goal was to make it easy to enable/disable adult content but I'm still having a few issues with that (also due to some of my rewriting). I'm hoping to commit my changes later today, and hopefully a few courageous users (and/or users who'd like to test the adult section stuff) will install it and give some feedback.

Personally im disappointed by your standards for allowing something like that... I just want to discourage the idea... not like i can stop you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gemigene on December 30, 2008, 02:16:57 PM
Quote from: taha116 on December 30, 2008, 01:08:01 PM
Personally im disappointed by your standards for allowing something like that... I just want to discourage the idea... not like i can stop you.

Hey folks, this thread is about AEVA, not moral nor religious issues, let's try to keep this on-topic, shall we?

Nao, thank you and keep up with the excellent work!

Cheers,
Gene
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 30, 2008, 02:26:28 PM
Quote from: taha116Can we start a topic for this somewere else? We should not be going of topic, usually an unethical behavior by the standards of most forum owners
It's up to you to create it over at noisen.com...

Quote from: taha116 on December 30, 2008, 01:08:01 PM
Personally im disappointed by your standards for allowing something like that... I just want to discourage the idea... not like i can stop you.
You might want to boycott Google too. After all, you can actually *disable* their adult filter when searching for a picture.

What's the difference?

Anyway---I've got build 27 ready on my site. You might want to look into it, everyone. It's not going to be an official release though, because it still has a bug (if you uncheck "allow adult sites", it will still allow them until you save the page a second time. The same is valid the other way around.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: taha116 on December 30, 2008, 04:37:06 PM
Quote from: Nao 尚 on December 30, 2008, 02:26:28 PM
Quote from: taha116Can we start a topic for this somewere else? We should not be going of topic, usually an unethical behavior by the standards of most forum owners
It's up to you to create it over at noisen.com...

Quote from: taha116 on December 30, 2008, 01:08:01 PM
Personally im disappointed by your standards for allowing something like that... I just want to discourage the idea... not like i can stop you.
You might want to boycott Google too. After all, you can actually *disable* their adult filter when searching for a picture.

What's the difference?

Anyway---I've got build 27 ready on my site. You might want to look into it, everyone. It's not going to be an official release though, because it still has a bug (if you uncheck "allow adult sites", it will still allow them until you save the page a second time. The same is valid the other way around.)

I am not the one who said to boycott, and I hope we dont go any further off topic then these last sentaces....
I do not think boycott may be the answer, if i could talk to the owner of google they way I can to you now I would. No question about it, if he registered on these forums and I happened to come across him I would ask talk to him about it, Cross my heart... (I dont break promises). But you are here, you are doing something similar, and I thats why I am asking you to stop. (Politely may i remind you O:) )

Dont get me wrong I love your MOD its just that by allowing, in fact leaving others with the ability to do such a thing is as bad as actually encouraging it. So please, for one last time I will ask... Please don't allow such a feature...

Don't do something you may one day realize was a big mistake... & don't give into the demands of others if they are so low as this

Thank you...

I have no problem starting a topic on this if you still are willing to hear more... Just PM me if you want to actually hear my argument at all... Otherwise if I am not PMd I will leave it at that because that means you have no intention of listening...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 31, 2008, 05:53:50 AM
New release! :)

Version 5.1.28                                 31st December 2008
-----------------------------------------------------------------
+ Added a quick hack for users getting issues with the embed fix code
  due to magic quotes being enabled. Disable these at any cost anyway!
+ Added "allow adult websites" option (disabled by default)
* Rewrote and optimized half of the admin area's internal code
* Made it easier to add new site types in the future
* Renamed "special" site type to "local"
* Fixed last.fm when URL uses an asterisk
* Site URLs are no longer mandatory in the definition list
+ Added support for two popular adult websites (disabled by default)
+ Added support for ScreenToaster (screen captures)
+ Added support for Excessif (DVDrama trailers)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: daclina on December 31, 2008, 07:43:17 AM
Hi,

I have moved some of my topics and suddenly all my videos have been converted to links - when I edit thr posts - each url has the URL and /URL tags before and after it - I remeber reading this before somewhere before ages ago but can't remeber where - was there a quick-fix for this?

PS. I'm using a manual entry for 2.1.4 on SMF 1.1.7
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 31, 2008, 08:26:51 AM
What do you mean "2.1.4"?
If you're talking about a version of "Auto Embed Video Clips", I would strongly advise to update to Aeva 5.1.28... I can't support earlier versions that I never even saw myself ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: hansdampf on December 31, 2008, 08:44:09 AM
If you want me to I can provide you with a German translation. However, I'd need some hints regarding some strings I actually don't know what they mean or, in other words, what's the intention behind...

'Fix uses of the embed HTML with an embeddable link'

Include the Original Link
(for sites that don't have it in the player)


Embed Local Files [Excludes attachments] --> what does "exclude attachments" mean? That attachment's won't be shown as actual attachments anymore or that it doesn't work with attachments? Or something else?  ;)

'Therefore unless you manually fish for an embeddable url yourself, embedding will NOT work for these sites.' --> maybe someone could explain this to me and also what 'lookups' means in the context of embedding movies utilizing Aeva.


Of course I could translate it word by word but this probably wouldn't make sense at all...


Cheers and happy new year!  ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on December 31, 2008, 09:34:05 AM
Excellent, thanks for the update!  Keep up the great work!   8)  I support the 'new additions'   ;D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on December 31, 2008, 10:03:16 AM
Quote from: hansdampf on December 31, 2008, 08:44:09 AM
If you want me to I can provide you with a German translation. However, I'd need some hints regarding some strings I actually don't know what they mean or, in other words, what's the intention behind...

'Fix uses of the embed HTML with an embeddable link'
If a user goes to Youtube, copies the "embed link" and pastes it to your board, it will be a complicated mess with <object> and <embed> html tags and lots of stuff in it.
If you allow the use of the [html] tag on your board (which you should), your user will have to include his code inside html tags. Otherwise, simply enable this feature and the html code will be "recognized" by Aeva and turned into its parent page's URL. Which will embed fine, in turn.

QuoteInclude the Original Link
(for sites that don't have it in the player)
Well, for Youtube again, if you click on the video, you're redirected to the video's page.
On some other websites, clicking on the embedded video won't do anything, and there'll be no link to go there, so there's no way to visit the original page. Enable this option so that your users can visit the original site. It's fair practice.

QuoteEmbed Local Files [Excludes attachments] --> what does "exclude attachments" mean? That attachment's won't be shown as actual attachments anymore or that it doesn't work with attachments? Or something else?  ;)
It won't work with attachments.

Quote'Therefore unless you manually fish for an embeddable url yourself, embedding will NOT work for these sites.' --> maybe someone could explain this to me and also what 'lookups' means in the context of embedding movies utilizing Aeva.
Just use the word "lookups"... It's hard to translate. Or use "Remote/distant/external verification".
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gemigene on December 31, 2008, 02:14:04 PM
Quote from: taja116Dont get me wrong I love your MOD its just that by allowing, in fact leaving others with the ability to do such a thing is as bad as actually encouraging it. So please, for one last time I will ask... Please don't allow such a feature...

Don't do something you may one day realize was a big mistake... & don't give into the demands of others if they are so low as this

Hmm, this is why I included this rule in all of my forums:
No Advocacy! Posts or chats of advocacy, proselytizing, campaigning or promotion of such things as politics, law, religion, personal beliefs, environment or other "personal agenda" issues are not permitted.

Cheers,
Gene

p.s.. shall we get back on-topic? Once again, merci beaucoup Nao for sharing this great plugin.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on December 31, 2008, 05:05:28 PM
lol it was until your post! lol
Although I do agree ;)

Nao, this mod is lookin great mate!!
Im still on Karls beta, and manually makin slight changes as you do so, but looks like Its almost time to jump on board.
Most little knots look ironed out, and its only the new features that are needing a second look. ie disable adult content function.
Good enough for me!
But....  lol    I'll wait a lil longer, as stated earlier, I have no problems with what I have atm.

Thank You once again champ :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: jettoh on December 31, 2008, 11:39:47 PM
Can someone please add some additional instructions for installing AEVA-5.1.25 on SMF-1.1.7. This will help many beginners who will otherwise have to go over loops and hoops. I suggest that these instructions  be appended to the end of the page at http://custom.simplemachines.org/mods/index.php?action=parse

Activating AEVA
1.   Log-in as administrator and click on the Admin menu.
2.   In the left column, search for and click on Features and Options.
3.   Locate and click the AEVA tab.
4.   Enable AEVA by clicking on checkbox for Enable Aeva mod (Master Setting).
5.   Now you should be able to see the familiar youtube screen instead of a link.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 01, 2009, 05:21:36 AM
Happy new year everyone :)

Sabre> I'm really sorry that I'm doing little changes to the .xml files, I know I found it annoying myself when I was a simple Aevac user -- even then, changes between 3.x versions were few but I'd had preferred to have none of them ;)
I had to manually uninstall Aevac 3.x entirely so that I could install Aevac 4.x when I "got the job".

Anyway -- I'm afraid there will still be changes to come in the next versions, so you might want to make sure Aeva is among your last installed mods so that you can easily uninstall it later. (Same for SMF Media Gallery, by the way.... :D Although it's been a long time since we made manual changes to the SMF files for it. Eheh.)
My goal with Aeva is to have a "perfect" version at one point, that will change as little SMF code as possible.
In order for this to be possible, I need to move all data over to the Subs-Aeva*.php files and only make distant calls from within the SMF code. I've already done this for a file or so, I'll do this soon for the whole admin area.

jettoh> There's an automatic redirection after installation... Doesn't it happen on SMF 1.1.7 too?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Relyana on January 01, 2009, 07:31:44 AM
Well ... I did it! I uninstalled all the mods, including the YouTube mod, ran the large upgrade and installed the AEVA mod. Much to my surprise it's working now (don't say "I told you so"  :P ). I still have to remove the youtube bbc tags for hundreds of videolinks. :-\

I'm confused about something. Some of the Youtube urls are working, some not. I even checked to see if the authors of those videos allowed external embedding or not. Everything should be fine from that point of view.

Is there something I'm overlooking ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 01, 2009, 07:50:31 AM
I told you so! :D

Anyway -- you don't have to convert the links manually... I thought the mod would behave but apparently it doesn't? Maybe I should remove the "will not conflict with the YT mod" mention from the readme file.

You can however use the attached script to remove all [youtube] tags automatically. (It was written by Karl. He posted it earlier along with other files.)

Regarding your non-working links, please post the direct links to your pages where they don't work. I always try my best to make everything work fine for everyone.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 01, 2009, 07:56:07 AM
A last comment from me on the adult issue: Google has computers scanning the net for images/videos. They also have automatic filters that recognise images as being with naked people. So it's all computerized and as we all know this can fail in recognition. I guess that's one of the reasons you can enable/disable the function. They simply can't guarantee the filter is 100% correct, so they give us the option.
I'm quite sure they would disallow that kind of videos/images if they could.

Personally I don't have anything against porn - after all I live in the most open country in the world about that issue. I just don't think it has it's place in this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 01, 2009, 08:17:58 AM
(This is also for taha116.)

Quote from: akyhne on January 01, 2009, 07:56:07 AM
A last comment from me on the adult issue: Google has computers scanning the net for images/videos. They also have automatic filters that recognise images as being with naked people. So it's all computerized and as we all know this can fail in recognition. I guess that's one of the reasons you can enable/disable the function. They simply can't guarantee the filter is 100% correct, so they give us the option.
I'm quite sure they would disallow that kind of videos/images if they could.
Of course they wouldn't.

QuotePersonally I don't have anything against porn - after all I live in the most open country in the world about that issue. I just don't think it has it's place in this mod.
Again: just disable the feature altogether. What's wrong with that? It's disabled by default. Just don't check the box. You see the checkbox? Don't click on it. Or click on it, but don't save. Oh, naughty boy, you clicked on it? And then you saved? You really want the porn sites, don't you? Ah yes, if you want them, you will still have to click again, and save again, to enable porn sites manually, because they're still disabled even after allowing porn sites. Now they're enabled? Great. Guess what? You'll still have to post porn URLs to your website. They won't post by themselves, out of thin air.

See my point?
Now, here's another important point. Important enough to be shown in bold.

*Whether you enable adult site integration or not*, anyone on your boards can post a link to the adult sites in question. It just won't be embedded.
Also, anyone can post an adult video's embed code under html tags and still get the video to embed, unless you specifically forbid SMF from using the "html" tag (which is not the case by default). (At least this is the case on my websites, from a try I made a couple of weeks ago. And I don't remember doing anything to HTML integration there.)
So, yes, on a fresh install of SMF, without Aeva installed, you can probably get adult videos embedded in your topics. Don't shoot the messenger.

Last time, I thought, "to hell with it. Karl would have added adult site support anyway. Let's go for it and be done with all the requests and debates." So I did it. Now could we please switch to another topic? I'm sure no one will give a damn about this once we're done talking.

If you don't have a problem with adult sites, then don't waste time contesting their integration. If you have a problem with adult sites, then don't check the box. If you have a religious problem regarding the simple fact that the word "adult websites" appears in the mod ("the devil is attempting to lure me into clicking the box, saving, clicking another box, saving, going to these porn sites and posting porn links to my website!"), then you need to see a doctor. Fast.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Relyana on January 01, 2009, 08:53:40 AM
Quote from: Nao 尚 on January 01, 2009, 07:50:31 AM
I told you so! :D

Anyway -- you don't have to convert the links manually... I thought the mod would behave but apparently it doesn't? Maybe I should remove the "will not conflict with the YT mod" mention from the readme file.

You can however use the attached script to remove all [youtube] tags automatically. (It was written by Karl. He posted it earlier along with other files.)

Regarding your non-working links, please post the direct links to your pages where they don't work. I always try my best to make everything work fine for everyone.

Thanks for the script. Things are worse than previously thought. I'll get back to this topic as soon as I'll sort things out.  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: jettoh on January 01, 2009, 10:17:54 AM
>Nao

Automatic redirection? Sad to say, I honestly cannot remember whether an automatic redirection took place for smf-1.1.7. Please bear in mind that if the redirection appears unexpectedly, ordinary users may just think "what is this thing?" and just move on to another step. At least that's what could have happened to me and  some other ppl who have posted the same problem to this and other forums. Anyway, because I am not a savvy coder, I have always found smoother sailing with instructions like Step 1-Do This, ......., Step N-Click Finish. I often wonder why my hair is thinning more whenever I install new softwares!
Please consider my suggestion as an intent to improve aeva further and with no malice.

Big thanks to Nao, Happy New Year and happy decoding.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: erdem86 on January 01, 2009, 11:17:50 AM
Hi Nao,

First of all thank you for such a nice mod, it helps a lot..

I upgraded to your latest version today from some v3. release..

In this version, we can not put videos and other things like images together in the same line.. (Although there is enough space)

Is there any way to rearrenge it? And make it work like it used to be??
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 01, 2009, 04:47:52 PM
@Relyana> Worse? With the script?

@jettoh> Well, if someone else makes another request similar to yours, I'll consider it...

@erdem86> I don't even remember this being possible in v3. I don't think it ever was. Anyone -- that was also one of the things I was planning to address with the new upcoming aeva tag. Since vids will be put inside a table or div that can be none-, left-, right- or center-aligned, you'll be able to left-align vids next to each other.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 01, 2009, 04:56:16 PM
QuoteAlso, anyone can post an adult video's embed code under html tags and still get the video to embed, unless you specifically forbid SMF from using the "html" tag (which is not the case by default). (At least this is the case on my websites, from a try I made a couple of weeks ago. And I don't remember doing anything to HTML integration there.) So, yes, on a fresh install of SMF, without Aeva installed, you can probably get adult videos embedded in your topics. Don't shoot the messenger.

Nao, this is in no way a complaint about the adult thing. But, I believe you are incorrect. Only the forum admin(s) can use the html tag. There is an html permission mod which could be used to achieve that capability for the user and control it somewhat for the admin:

http://custom.simplemachines.org/mods/index.php?mod=411
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Relyana on January 01, 2009, 04:57:22 PM
Quote from: Nao 尚 on January 01, 2009, 04:47:52 PM
@Relyana> Worse? With the script?

No, don't worry :) It has nothing to do with aeva or with that script (I wasn't trying to sound sarcastic ... sorry if I did). I can't even run the script, can't install themes, mods ... anything .... everything comes up with the 99 (nobody) owner. I'll ask my webhost to chown the files again (did it before the upgrade and it worked out) ... if this doesn't help I'll have to wait for smf 1.1.8 to fix the package manager issue.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on January 01, 2009, 05:26:32 PM
Quote from: Nao 尚 on January 01, 2009, 05:21:36 AM
My goal with Aeva is to have a "perfect" version at one point, that will change as little SMF code as possible.

haha  I know mate, thats why I have to read all your posts, to know what and when youre changing something lol
All the best for the new year mate :)

Quote from: weightman on January 01, 2009, 04:56:16 PM
Only the forum admin(s) can use the html tag. There is an html permission mod which could be used to achieve that capability for the user and control it somewhat for the admin:

Yep, by default only the admin should be able to use html tags, I would never give that to any other group.
But thats just me ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 01, 2009, 05:57:21 PM
Quote from: akyhne on January 01, 2009, 07:56:07 AM
I'm quite sure they would disallow that kind of videos/images if they could.
You can't be serious? The moment a search engine does this, they are commiting suicide - sex/porn is one of the most searched for things on the web, there's no way in a billion years Google would ever try and censor it in the way you suggested.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 02, 2009, 01:38:49 AM
@weightman> Thanks for the notice. I was wondering why SMF had this tag enabled by default. Means I can safely let the tag enabled then. Still, that doesn't change anything about the text in bold ;)

@Relyana> Safe Mode, eh...? Oh my, you're in for a lot of pain. Safe Mode is my own personal nemesis when it comes to developing mods.

@Sabre> I think I'll rework the xml files even more today... I really want to make them as short as possible, and do all of the calls from within the Aeva files. I know that in the future I may have to add more custom code in new areas. Here's hoping that the concept I have for the next big updates (aeva tag + page-wide preg_replace on the output buffer) will help reduce the number of internal SMF changes to the minimum. (For instance, with page-wide replacements, I should be able to embed attachments without any changes to the code. Yippie.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 02, 2009, 03:18:32 PM
New release!
Version 5.1.32 has absolutely no new feature that I can think yo! Yay!

So why release this? Because currently there don't seem to be a lot of beta testers around, and I'm anxious to know whether the many changes I made to the install files will work for everyone. These changes are needed for several reasons: (1) be more respectful of the SMF code itself, (2) remove ugly Aeva code and replace it with, guess what, good-looking Aeva code, (3) power to the geeks!, (4) I need to make the install code mine, so that it's easier for me to add new stuff later, in case I need it.

Most notably, I made the Modifications tab (in Admin area) a bit more strict because earlier versions did not respect the "silent" guidelines for that place, so it may not install for you if you already have a mod there that doesn't respect the guidelines either. (Or if you're installing/uninstalling in the wrong order.)

I also moved a lot of data from the install files to the Aeva files, in order to help further installs for users who do a manual installation every time. (Less data in install files = less data to update manually.)

What else..? I don't know. Please test, if you're curious. If you're not, then no need to update. No new sites added today. No new features, as I said earlier.

Also, for users who had issues with YouTube HQ videos, it seems that YouTube recently addressed the issue on their side, so now HQ videos will always work. Good news!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Stef001 on January 02, 2009, 03:46:07 PM
Quote from: Nao 尚 on December 21, 2008, 05:16:55 PM
Quote from: Normally on December 21, 2008, 02:52:33 PM
Throw away  SMF Media Gallery fix the problem.

Thanks.
Using the word "throw away" isn't exactly very nice to me... I've worked really hard, full time, on SMF Media Gallery for over 2 months... That's why I told you it would be best to update, because I know v1.5.1 (I didn't work on v1.0.x) interfaces finely with Aeva (it actually uses Aeva for some of its work).

Oh, well... I guess you're not going to take my word for it anyway :(

Quote from: Nao 尚 on December 22, 2008, 03:42:31 AM
Quote from: Normally on December 21, 2008, 05:35:40 PM
For now SMF Gallery Pro is more usefull for me.
In what way(s) is it more useful for you? Just curious.
Quote from: Nao 尚 on December 22, 2008, 03:42:31 AM
Quote from: Normally on December 21, 2008, 05:35:40 PM
For now SMF Gallery Pro is more usefull for me.
In what way(s) is it more useful for you? Just curious.

What i mean is SMF Gallery Pro have:

- Every member can make his own album.
- Watersign.
- That is all.

Now i read it back its not so much different.

So i try to install SMF Media Gallery and than i get a white screen, some conflict with a other mod.

I installed this mods:
Aeva ~ Auto-Embed Video & Audio     5.1.32     [ Deïnstalleer ]
2.    Separated Birthdays from Events    1.0    [ Deïnstalleer ]
3.    script.js Jump Fix    1.0    [ Deïnstalleer ]
4.    Who_Xrevolution    1.1    [ Deïnstalleer ]
5.    Advanced AJAX Shoutbox    1.22    [ Deïnstalleer ]
6.    Memberlist_Xrevolution    1.2    [ Deïnstalleer ]
7.    simplemp    3.2    [ Deïnstalleer ]
8.    SMF Gallery Pro Upgrade    2.0.5    [ Deïnstalleer ]
9.    Images On Board    1.1    [ Deïnstalleer ]
10.    SMF Gallery Pro    1.4.4    [ Deïnstalleer ]
11.    Ad Managment    2.3.4    [ Deïnstalleer ]
12.    Welcome Back    1.0    [ Deïnstalleer ]
13.    Color And BgColor BBCode Bar    3.3.1

Thanks for all the good work you do.

Stef.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 02, 2009, 04:06:28 PM
Quote from: Normally on January 02, 2009, 03:46:07 PM
What i mean is SMF Gallery Pro have:

- Every member can make his own album.
We also have this in SMF Media Gallery...

Quote- Watersign.
We don't have this. I'm not sure it's in our to-do-list. I personally feel that it's wrong to add watermarking to a picture, generally. It's a state of mind I guess. I think that if you want to watermark something, you'll do it on a per-picture basis, which you will generally do through Photoshop or similar.

Quote- That is all.
We do this, too :D

QuoteSo i try to install SMF Media Gallery and than i get a white screen, some conflict with a other mod.
A white screen is more likely due to something other than a conflict...
Does this happen at install time, or after installation, and if yes -- on what pages? All of them, or only the Gallery pages?
(Hmm we should be discussing this over at the SMG topic really...)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on January 02, 2009, 05:08:10 PM
Thanks for working hard on the update Nao!  The redirect works fine on 1.1.7   8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 02, 2009, 06:32:23 PM
Redirect? It didn't work before? I suppose it did?

Anyway--good to know there are no problems related with the new install files :) Phew!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on January 02, 2009, 06:41:14 PM
Quote from: Nao 尚 on January 02, 2009, 06:32:23 PM
Redirect? It didn't work before? I suppose it did?

Anyway--good to know there are no problems related with the new install files :) Phew!

It worked before too, but I see you were asking about it in the previous posts.   8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Relyana on January 02, 2009, 06:45:01 PM
Quote from: Nao 尚 on January 02, 2009, 01:38:49 AM
@Relyana> Safe Mode, eh...? Oh my, you're in for a lot of pain. Safe Mode is my own personal nemesis when it comes to developing mods.

Nope  :) The only issue I have now is with the package manager. If I upload files via cPanel or via ftp directly the files ownership is the correct one, if I try to do it via the package manager I get the 99 "owner". Same thing happen if I try to upload avatars via the Profile feature. Anyway I'm getting offtopic here  :P

Back on topic ... The conversion script did it all. No need to update all those videolinks. Thanks for saving my time   :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 02, 2009, 07:26:01 PM
@Roarin> Okay :)

@Relyana> This is exactly what safe mode does... It forbids PHP from accessing files created with a process that uses a different ID. In your case, the only way to enable package installation is by specifying your FTP account settings in the package manager when they're asked.

Re: the links, you're welcome. Glad to know it worked. Hopefully you'll like Aeva :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Simplemachines Cowboy on January 02, 2009, 10:20:21 PM
5.1.32 installed fine & works like previous versions with 1.1.7.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 03, 2009, 03:53:55 AM
Okay good :)

For next week, I have several things to implement... I won't be able to do them all in a week, so I'll have to choose. Can anyone give their opinion on which they'd like to see come out first?

- Custom site section (a Subs-Aeva-Custom.php file that you will add yourself, never gets replaced when updating the mod, adds a "Custom" section to the site list with your own sites.)
- Real Admin template + site list separate from settings (self-explained... Requires more install file modifications.)
- Aeva tag - allows to give you greater control over how videos will show; also allows me to do a page-wide replace which should improve overall performance, and enable you to easily add videos in places that are not normally parsed for BBC code, such as directly inside the template, etc. It's the biggest feature of all, and it could turn out to be as annoying to some users than exciting to others. I may need to do a poll on my website for it. (Requires more install file modifications as well.)

What do you think?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: haxial on January 03, 2009, 07:42:20 AM
Hello,

I tried to SAVE SETTING, but get this error:

An Error Has Occurred!
Your session timed out while posting. Please go back and try again.

please help
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 03, 2009, 08:34:43 AM
Err... Try to save again?
Or just log out, log in again and save again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 03, 2009, 08:37:18 AM
Quote from: Nao 尚 on January 03, 2009, 03:53:55 AM
- Aeva tag
I think it would be great if you could allow the admin to choose what the tag is called... [AEVA] means nothing to my users but if I could rename it to [VIDEO] then they would remember to use it in future.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 03, 2009, 08:42:46 AM
Yeah I'm not sure yet about the name...
It could as well be [ae], because it's short and stands for "auto embed"...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 03, 2009, 08:53:34 AM
Quote from: Nao 尚 on January 03, 2009, 08:42:46 AM
Yeah I'm not sure yet about the name...
It could as well be [ae], because it's short and stands for "auto embed"...
Sure but my users still wouldn't figure that out without being told and therefore could struggle to remember it.

I just hope you do allow us to change it, I guess in the end it might just be another edit I'll have to do in a code, that's like 3 edits I have to do on every upgrade now lol
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 03, 2009, 09:06:40 AM
Quote from: mark7144 on January 03, 2009, 08:53:34 AM
Sure but my users still wouldn't figure that out without being told and therefore could struggle to remember it.
Remember it...? They wouldn't have to remember it. Why should they remember it?
It's Aeva, you know. "Auto embed" is the thing. So it will *always* auto-embed videos. It's not one of those crappy things where people have to take out the video ID and use it in a custom tag... Blahhh!! I hate these.
Nah -- it'll be like this:
- User posts a YouTube URL
- Video appears
- User wants to center-align the video
- User quick-edits their message
- User sees: [aeva]youtube link[/aeva]
- User edits this way: [aeva align=center]youtube link[/aeva]
- User saves
- User is happy ever after

Heck, I would have done this tag thing long ago if I wasn't annoyed by the fact that if a user uninstalls Aeva, they will see the tags in plain view... Which can be fixed by using a custom-made script, of course. (Or adding a "Uninstall aeva tags" feature in the admin area, that could be used before uninstalling.)
Simply, it's annoying :P

QuoteI just hope you do allow us to change it, I guess in the end it might just be another edit I'll have to do in a code, that's like 3 edits I have to do on every upgrade now lol
Which kind of edit do you do?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: hapuzi on January 03, 2009, 01:12:44 PM
yeah.. aligning are just minimal thing.. If we could make a feature that we can pull it off the post using ajax.. or make the embed video skewed lol.. kidding  :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 03, 2009, 01:36:54 PM
I vote for naming the tag <video> rather than <aeva>- no offense.  :P

It is just more intuitive for the user.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 03, 2009, 05:00:27 PM
Quote from: weightman on January 03, 2009, 01:36:54 PM
I vote for naming the tag <video> rather than <aeva>- no offense.  :P

It is just more intuitive for the user.
Yes, especially intuitive when they come to embed audio files, eh? ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 03, 2009, 05:35:00 PM
I suppose that is true. I never much use audio embeds so wasn't thinking of it. How about [Embed]?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Highbuzz on January 03, 2009, 06:17:12 PM
What about [media]?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 03, 2009, 07:25:13 PM
Yeah but it's bigger than [ae]... :P

Again: if users don't edit their own posts later, they will never get to see the [ae]/[aeva] tag itself, so... Is this really so important?

I could just as well call it [nao], for my own personal glory :D
Oh, that's one more good idea...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: daclina on January 03, 2009, 08:22:59 PM
Quote from: Nao 尚 on December 31, 2008, 08:26:51 AM
What do you mean "2.1.4"?
If you're talking about a version of "Auto Embed Video Clips", I would strongly advise to update to Aeva 5.1.28... I can't support earlier versions that I never even saw myself ;)

Hey Nao,

I didn't relaise I was so far behind :(  - you are completely right and ofcourse I would love to update to your version. I actually tried to update (uninstall 2.1.4 Auto Embed CLips + install your Avea 5.1.32), but I got an error on the subs.php file - test failed - any ideas (I am not 100% sure if I installed 2.1.4 manually or automatically)?

Any help would be appreciated :).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Omniverse on January 04, 2009, 01:27:06 AM
Sounds like some great features.
Order... IDK, they all sound good hehe. Though I do have an interest in the local embedding. :)

As for a tag name.... only other one that comes to mind is [av], as in audio/video. [ae] works for me though.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 04, 2009, 04:44:39 AM
@daclina> Err... Does this happen when uninstalling, or when installing?
If uninstalling -- I have no idea. Please learn how to uninstall manually, because you'll need that anyway. I suppose v2 doesn't have a lot of edits anyway so it should be fast enough to uninstall.
If installing -- please attach your Subs.php file here.

@Omniverse> I'm not willing to discuss the tag's name... It will be [nao] [aeva] or [ae], whatever I decide in the end. *And* I'm not even sure I'm doing the whole tag thing ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: daclina on January 04, 2009, 07:20:28 AM
Hi Nao,

I meant uninstalling :). I used a mod parser and uninstalled it manually, installed 5.1.32 manually (failed on Load.php, not sure why) - now every old video link works correctly (embedded).

Thanks for your hard work and good luck on future releases.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 04, 2009, 12:00:07 PM
Quote from: Highbuzz on January 03, 2009, 06:17:12 PM
What about [media]?
I vote for the above, it makes perfect sense. When your typical user sees [aeva] or even [ae] they won't understand, what ordinary forum user has any idea of the names of the mods installed? None.

If the tag name isn't user friendly then I'll just have to hack it in the code.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 04, 2009, 02:07:33 PM
@daclina> Good :)

@mark> Again (and again) -- users shouldn't have to use the tag at all so what's the issue....?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 04, 2009, 03:43:58 PM
I prefer av over ae or aeva personally. But I like media or even embed better because many users will edit their post and it will make more sense to them, possibly, and if I understand the point of the potential tags you want them to understand it so they can customize it, if they want. Not really that big a deal to me though  8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 04, 2009, 04:07:21 PM
Oh, well... What I know is that I'll probably end up with a silly thing like http://myurl/myvideo#aevaxxxx where xxxx is the list of options... Nobody will be able to understand what it means but at least the tag thing will be over with :P

No, really... The tag's name is up to me. Thanks for offering your opinions, but if I program it, I get to choose it ;)
Just like I came up with the "SMG" name and tag for what was originally referred to as "SMF Media Gallery" or "SMF MGallery" ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on January 04, 2009, 05:10:25 PM
  Greetings!

I use the youtube-bbcode, which is written by Karl, since some time and refused to install a ,,embedd video from several sites"-code because they are all missing a tag warped around.

I have to admit, that
QuoteHeck, I would have done this tag thing long ago if I wasn't annoyed by the fact that if a user uninstalls Aeva, they will see the tags in plain view
makes sense.
But personally, I like it more, if I can see the code while typing (for this reason I don't be a fan of the wysiwyg solution of smf2).
So I am glad to hear, that you plan to add a [whatevername].

From my point of view, the tag should be added while posting.
I see your point, but make it available after the post, could make the posting process more uncomfortable.
Embedded videos integrate in a nicer way if they are centered (imho) and so I have to change your mod or edit a post directly after sending.
Maybe a user is more interested in sending the link than showing the video and to explain that there is a [ nobbc ] seems to be more complicated than a button which add a [whatevername].
Only my 2 cents and definitely not an offence.

Last point, and the main reason for typing this, is the tag name.
I think, it should be as unique as possible. This way, it would be easy to find and delete it out of the database, if someone decide to quit using the mod.
[aeva] and [nao] (new advanced operation ?) are my favorites. No, this isn't a joke. Both are more unique than media or embed. I'm sure, you will choose wisely.


Anyway, your work is respectable. I think you know that, but I think I is even so nice to read it.

Kind regards
   
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 04, 2009, 05:19:24 PM
Quote from: Nao 尚 on January 04, 2009, 02:07:33 PM
@mark> Again (and again) -- users shouldn't have to use the tag at all so what's the issue....?
Sure, they won't have to remember the tag but they still will use it on occasion when editing their post and I want them to understand the tag rather than think of it as a random bunch of letters.

I can give you a decent argument as to why [media] is a good tag name, can you give an argument for using [ae]?

Quote from: ianus on January 04, 2009, 05:10:25 PM
[aeva] and [nao] (new advanced operation ?) are my favorites. No, this isn't a joke. Both are more unique than media or embed. I'm sure, you will choose wisely.
Your reasoning for what you consider to be a "unique" tag is completely unnecessary as all newly created tags are required to be unique otherwise you would have a conflict. Therefore, regardless of what it is called, it will always be easy to find and remove from the database.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on January 04, 2009, 05:59:47 PM
Regarding the centering of clips, couldnt they just click the center bbcode?
[center ] link here [ /center]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on January 05, 2009, 01:24:55 AM
Greetings!

QuoteYour reasoning for what you consider to be a "unique" tag is completely unnecessary as all newly created tags are required to be unique otherwise you would have a conflict.
Not in any case. Integrate Lightbox (http://custom.simplemachines.org/mods/index.php?mod=1019) works wif [ img] and Table From CSV (http://custom.simplemachines.org/mods/index.php?mod=40) with [ table]. Both isn't nessesary but used anyway.
And it's possible to consider, that a mod author decide to write a mod to [ embed] something, maybe a [ media].

If it's in not neccesary for the user to typ the code, maybe because of a button or an automatic tag in this case, it's not urgent that the tag is obvious.


I think, that [ center] will work, but Nao mentioned something like [somename=center]. Maybe the plan is (or the code makes it neccesary) that the mod bb-code isn't parsed inside some other tags.
I don't know this and I don't think that there is this kind of restriction.
My point ist, that I personally prefer to format while typing and not while editing.


Now I will lay back and wait until I can enjoy this mod.
Have a lot of fun and success with anything and everything
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 05, 2009, 02:08:55 AM
Quote from: mark7144 on January 04, 2009, 05:19:24 PM
I can give you a decent argument as to why [media] is a good tag name, can you give an argument for using [ae]?
Yeah, sure...

- ae is shorter. I like "short". It may not be much, but it saves a few bytes in the database. I know SMF itself isn't much into it, what with the overlong default quotes... My offers to make quote links shorter was quickly dismissed as a "feature" (i.e. not for SMF 2.0 :(...) instead of a "fix": http://dev.simplemachines.org/mantis/view.php?id=1649

- "media" could be used by another mod, you never know. While there's little chance "ae" could be used. I try not to step on whatever mod I could find on my road. I try to avoid overspecific tag names. And seriously, I don't know why no one complained even once about the [smg] tag. It doesn't stand for anything! It says "Gallery" in the menu, why doesn't the tag say [gallery], too...? No, it says [smg], and everyone uses it quite happily.

- I think "media" is too vague anyway... What is it supposed to do?

QuoteYour reasoning for what you consider to be a "unique" tag is completely unnecessary as all newly created tags are required to be unique otherwise you would have a conflict.
Oh... But,
- One, I prefer not to use SMF's default tag handling system. I find it too slow. I may use it for my tag, but I'm not starting with the idea that I will. If you look into SMG's code, you will see that my implementation of the smg tag uses a highly optimized system. I do my own parsing. I made some benchmarks at the time, and it was definitely faster. (Plus, I didn't do it for the speed, but in order to make a non-closing tag with multiple parameters and possible use of double quotes to enclose parameters. SMF doesn't support that -- at least yet.)
- It doesn't really matter... I'd rather work on avoiding conflicts now than later.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 05, 2009, 02:45:29 AM
I concede to your (and ianus') conflict argument. Although I feel it is very very unlikely the conflict would ever happen, I appreciate it's better to be safe than sorry.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 05, 2009, 02:55:58 AM
Quote from: ianus on January 04, 2009, 05:10:25 PM
I use the youtube-bbcode, which is written by Karl, since some time and refused to install a ,,embedd video from several sites"-code because they are all missing a tag warped around.
Lol... You're the polar opposite of most everyone else on that matter I'd say ;)

QuoteI have to admit, that
QuoteHeck, I would have done this tag thing long ago if I wasn't annoyed by the fact that if a user uninstalls Aeva, they will see the tags in plain view
makes sense.
Well, it doesn't make sense to uninstall Aeva once you've tried it, though........  ;D

QuoteBut personally, I like it more, if I can see the code while typing (for this reason I don't be a fan of the wysiwyg solution of smf2).
So I am glad to hear, that you plan to add a [whatevername].
Although technically you could type the aeva tag yourself in the post, I see no reason for doing it.

QuoteFrom my point of view, the tag should be added while posting.
You mean, with a button...?

You know, I'm not very fond of SMF's button bar... I can "understand" having a few buttons for formatting that doesn't require a keyboard, but... an IMG tag? That asks you for a URL? Well that's for forum newbies IMO...
And forum newbies don't want to think about it. They want to paste their URL and be done with. Technically, SMF should be able to check whether a link points to an image, in which case it would turn it to an IMG tag ;) (of course, there's that annoying IE6 security bug that pretty much prevents this... Damn you IE6!!)

QuoteI see your point, but make it available after the post, could make the posting process more uncomfortable.
I want the 99% of users who don't use tags to see no difference from before (pre-tag). I want the remaining 1% (power) users to be able to edit their tags easily. Since I'm not going to ship a manual for editing the aeva tag (where would I put it? It's not SMG, I don't have "item pages"...), I don't see any reason to consider them as n00bs and use a self-descript tag, since anyway the parameters themselves will be non-descript... (Anything that is optional and doesn't appear inside the tag on default use *is* non-descript :P)

Why do I feel like every new feature I add is going to turn into a heated debate? Why can't it be like for SMG? Because SMG isn't very well known? Does it mean that when SMG gets its deserved recognition, Dragooon and I are going to feel the pain just as much as I'm doing for Aeva?

QuoteEmbedded videos integrate in a nicer way if they are centered (imho) and so I have to change your mod or edit a post directly after sending.
I could make it so that vids are centered by default, etc... (per user or per board, dunno.)

QuoteMaybe a user is more interested in sending the link than showing the video and to explain that there is a [ nobbc ] seems to be more complicated than a button which add a [whatevername].
nobbc won't work -- it's noembed.

QuoteLast point, and the main reason for typing this, is the tag name.
I think, it should be as unique as possible. This way, it would be easy to find and delete it out of the database, if someone decide to quit using the mod.
[aeva] and [nao] (new advanced operation ?) are my favorites. No, this isn't a joke.
Lol
I like the idea of a [nao] as much as your average bloke, but I think people will begin to see my attempt at world domination is too visible ;)

@mark> Of course it is possible that none of the 1000 existing mods have a "media" or "embed" tag. Maybe out of the thousands of upcoming mods, only a couple will have a "media" or "embed" tag, and then users will tell authors to change it because it's incompatible with one of the better known SMF mods. Still... I don't like conflict generally ;) I'm even wondering how to deal with not conflicting with SMG ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 05, 2009, 02:59:04 AM
@Sabre> yes, but I'm not too fond of the center tag...

Quote from: ianus on January 05, 2009, 01:24:55 AM
I think, that [ center] will work, but Nao mentioned something like [somename=center]. Maybe the plan is (or the code makes it neccesary) that the mod bb-code isn't parsed inside some other tags.
Yes. I don't like nesting too many tags through bbcode.
[ae align=center] / [aeva align=center] seems cleaner to me. It allows me to style embedded videos so that they can behave with each other. (Although it's not perfect even in SMG... If you use the thumbnail box type, smg tags won't correctly align. It's a known issue. Shouldn't be a problem here.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 05, 2009, 10:32:34 AM
Quote from: Nao 尚 on January 05, 2009, 02:55:58 AM
Why do I feel like every new feature I add is going to turn into a heated debate? Why can't it be like for SMG? Because SMG isn't very well known? Does it mean that when SMG gets its deserved recognition, Dragooon and I are going to feel the pain just as much as I'm doing for Aeva?

Because you're taking a mod that was formerly very non-invasive and straightforward and adding complexity. For whatever reasons, whether for the better or worse, it is going to cause people to input their opinions. Karl had debates about whether videos should be embedded in quotes, and whether to add this site or that. Since you've expanded beyond that, you're going to see more debates, more users up in arms because such-and-such a feature doesn't agree with them.

If you're going to add features, Nao, my suggestion would be to either add them as you are and ask for no input (suffer the users' wrath later) or ask for input and deal with the multitude of suggestions. Ultimately, it's up to you what you do, and it's up to you how you create/add/change features. But just be aware that whatever you do, it's the users who make the mod what it is.

I think you're taking these debates too personally. Who cares how long the tag name is, if users want to use the tag, they'll type out [youtube] if necessary. That's not too awfully long, and yet its longer than [media]. And if users aren't happy you included adult sites, then what? You can certainly ignore debates for a while, but just keep in mind that your users make the mod popular and keep it popular. And while I'm not going to take a stand on one debate or another any longer, just keep in mind, you might stand to listen from time to time. Take a step back, dispense with your pride, and listen to your users. How else can a product grow? How could SMF have come this far without listening to its users? Just keep it in mind.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 05, 2009, 06:40:42 PM
I think [audio] and [video] would be closest to understandable BBC as "ae", "aeva" or even "embed" means nothing to non english speaking people. We are all familiar with "audio" and "video" from our stereos, tv's and other in/output.
Sorry NAO, but I think you should make it usuable for the majority of people and not only the "hard core" users.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on January 05, 2009, 09:37:44 PM
Nao, you're doing a great job mate, one that 0thers were hesitant to take.
Personally I think you're takin everything in quite well, atleast you're willing to talk about such n such a feature, where others would say  "Here it is.......  love it, or leave it!"    specially since you're French!!  Arent you guys supposed to be arrogant!!??  lol ;)

This debate about what the tag should be is gettin ridiculous. I see all sides, and they ALL make sense, but really peeps, its just a tag!!  No matter what you name it, once people learn how to do it(as in anything), what would it matter?
If you really want a good suggestion, name the damn thing  [sabre] (http://www.sofrayt.com/survey/bonus/dancing11.gif)  pmsl
There we go!!   agreed?  (http://www.getsmile.com/emoticons/energizer-smileys-51935/handshake.gif)

(http://www.getsmile.com/emoticons/energizer-smileys-51935/glasses10.gif)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 06, 2009, 03:06:25 AM
@Sabre> Of course I'm arrogant. Don't ever try to say otherwise! Just look at my posts over at SMF Media (http://smf-media.com/community/index.php?topic=461.0). You must understand, I have a reputation to maintain!

Regarding the tag, there's actually nothing that stops me from storing the tag's name in the database, so I'll probably get around to let users rename it if they'd like (and if I can pull it off, which shouldn't be a problem AFAIK, at least if I use my [smg] method). But it'll be [aeva] or [ae] by default. That way, everyone's happy. (And I'll actually get to rename it to [nao] for fun on noisen.com... Nah, just kidding :P)

@akyhne> I'm not doing one tag per media type! That would be silly...

@Eliana> I didn't read the AEVAC topic back when Karl was helming it, so I couldn't know he had debates, too. Now I remember he told me that his "link below video" thing was very "vocally" rejected back in the day, so yes, there must have been debates like that earlier...
Interestingly, the "adult integration" debate was killed as soon as I released the version that featured it. I guess it will be the same with the current one. Oh, and this debate is about what name the tag should have. Which is a bit silly, in my opinion. The debate should have been about whether or not to use a tag at all. I guess it means "yeah, at any rate, use the tag if you'd like, we don't mind". ;)

I'm aware that there are thousands of Aeva users, most of them very happy with the product, and that I shouldn't let a few vocal users influence my choices. However, I find it that once you reach a sample of about 10 users, you get a good idea of the silent majority's opinion. It's not a precise idea, but it's better than nothing.

And finally--regarding my pride and everything. I think everyone deserves a clear (or maybe not so clear?) statement about design choices.

When I took over Aeva, I did it unwillingly. I wasn't interested in maintaining the project itself, I did it for a number of reasons, but it never, never, never was, and will never be, for matters of pride. I actually didn't realize the mod was so popular until I started working on it. I never cared to look at the Mod Stats page. Also, I know that most of my choices are good. When they aren't, there are usually people who care enough to explain their reasons for believing I'm wrong. I try to be fair and decide whether their argument is valid or not. Sometimes both arguments are valid, so it's harder to make a decision -- reason why I'll try to make sure the Aeva tag can be renamed manually, for instance. But all in all, I'm afraid a software's success has never been my goal. I mainly work for myself. I constantly throw myself challenges, and try to outdo myself. It's my drug, you see. It's the reason why I work so much. All I can say is that even if usually, people agree with my choices in the end, the fact that something is widely rejected will never make me back down from a design choice. If I'm the only one happy with it and there's no way to conciliate my "vision" and what users are expecting, then I'll still choose to stay with my own beliefs, and users will probably have to deal with it or go see elsewhere (or use an older version, etc). I try not to look at download numbers. In the end, what matters to me is that I'm happy with my everyday work. Because the day I stop caring, I stop working. And you know what it means -- Aeva will have to find another maintainer.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 06, 2009, 04:56:10 AM
Quote from: Nao 尚 on January 06, 2009, 03:06:25 AM
Regarding the tag, there's actually nothing that stops me from storing the tag's name in the database, so I'll probably get around to let users rename it if they'd like
Yay! :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Succubus Evaligan on January 06, 2009, 06:25:12 AM
I see that the people want more... adult sites... I don't know why but I found another mod for that...
http://www.simplemachines.org/community/index.php?topic=282037.0
I hope that Nao can add these sites too in AEVA. I prefer AEVA because we don't need add BBC code in the post.
The aeva mod updates so fast... I have the 5.1.21 and now I need update to the new 5.1.32 but I like that.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 06, 2009, 09:12:57 AM
I never saw any of this as a debate, just giving feedback. Nao is in charge and that is fine with me at least.

Cheers
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 06, 2009, 09:30:58 AM
@Succubus> Funny that this mod appeared right in the middle of the heated debates about adult websites... Is there any relation between both events?
All I know is that the mod's author didn't try hard... He pretty much went the old-school way, forcing users to retrieve an embed ID... Brrr! Just have a look at his megaporn implementation. He should have looked a bit harder, there wasn't even a need for lookups (which are exclusive to Aeva, AFAIK) -- the extra letters in the ID are only for retrieving the thumbnail. All I had to do was add 32 zeros into the URL and it worked (with the added bonus of not having a thumbnail in the video, which could be a problem if someone went posting adult videos on a general-purpose website...)

Anyway -- the other two sites mentioned there, never heard about them. I only know about redtube and megaporn because they're in the Top 50 at alexa, so I figured they must be the most "popular" of their kind. I'll be adding these sites as they're requested, but you'll have to do it the official way.

@weightman> Yeah... Like I'm in charge, lol! @_@
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on January 07, 2009, 04:27:35 PM
how can i add facebook video support for aevac 3.1.2 ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Elijah Bliss on January 07, 2009, 11:27:20 PM
Just updated.

Links with asterisks still don't embed.
http://www.last.fm/music/J*Davey/_/Everybody+Touch+It?autostart
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Elijah Bliss on January 07, 2009, 11:33:28 PM
Got another one for you, I'm assuming it's the accent in her name:
http://www.last.fm/music/Janelle+Mon%C3%A1e/_/Lettin%27+Go!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 08, 2009, 05:14:46 AM
Quote from: Özgür | ЯocKayseri on January 07, 2009, 04:27:35 PM
how can i add facebook video support for aevac 3.1.2 ?
Uninstall Aevac.
Install Aeva 5.1.32.

There you go ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on January 08, 2009, 05:28:27 AM
I know that, but

aevac 3.1.2 + smg = aevac work fine in smg
aeva 5.1.32 + smg = aeva not working in smg for my site.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 08, 2009, 09:57:55 AM
Regarding accents... Just replace

'embed-pattern' => 'http://(?:www\.)?last\.fm/music/([\w\+\*-]*?)/\+videos/([\w\+\*-]{2,20})',


With

'embed-pattern' => 'http://(?:www\.)?last\.fm/music/([\w\+\*%-]*?)/\+videos/([\w\+\*%-]{2,20})',


Should work, hopefully...

Quote from: Elijah Bliss on January 07, 2009, 11:27:20 PM
Links with asterisks still don't embed.
http://www.last.fm/music/J*Davey/_/Everybody+Touch+It?autostart
Works perfectly fine.
http://aeva.noisen.com/support/5060/video-embedding/msg227998/#msg227998

What you want to do is edit your links to move the [/url] tag to the end of the actual URL. SMF doesn't support asterisks in URLs so the autolink feature will mess it up. Once you fix the URL manually, it works as expected.

Quote from: Özgür | ЯocKayseri on January 08, 2009, 05:28:27 AM
aevac 3.1.2 + smg = aevac work fine in smg
aeva 5.1.32 + smg = aeva not working in smg for my site.
I don't remember you saying this anywhere...? Plus, you know I'm doing my best to make Aeva work everywhere. I think I actually spent a few hours on your site just to make SMG work, right?
Then why wouldn't I do the same for Aeva? What's the problem then?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: zach21uk on January 08, 2009, 10:05:00 AM
Hi There

How can I alter the size of the youtube embeds?  Youtube now embeds in Widescreen and HD, but this mod still embeds the video at the old size.

Thanks
Zach
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 08, 2009, 10:23:15 AM
95% of all YouTube videos are still in 4/3 format so the current embed format is still best for YT... (Wait until I add a feature where Aeva will determine automatically the best format.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Elijah Bliss on January 08, 2009, 11:43:05 AM
Quote from: Nao 尚 on January 08, 2009, 09:57:55 AM
Regarding accents... Just replace

      'embed-pattern' => 'http://(?:www.)?last.fm/music/([w+*-]*?)/+videos/([w+*-]{2,20})',


With

      'embed-pattern' => 'http://(?:www.)?last.fm/music/([w+*%-]*?)/+videos/([w+*%-]{2,20})',


Didn't work...

Quote
Should work, hopefully...

Quote from: Elijah Bliss on January 07, 2009, 11:27:20 PM
Links with asterisks still don't embed.
http://www.last.fm/music/J (http://www.last.fm/music/J)*Davey/_/Everybody+Touch+It?autostart
Works perfectly fine.
http://site.noisen.com/aeva-support/5060/video-embedding/msg227998/#msg227998 (http://site.noisen.com/aeva-support/5060/video-embedding/msg227998/#msg227998)

What you want to do is edit your links to move the  tag to the end of the actual URL. SMF doesn't support asterisks in URLs so the autolink feature will mess it up. Once you fix the URL manually, it works as expected.

This did work, thank you!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on January 08, 2009, 11:57:51 AM
I know that you worked very much. you've work about 12 hours for my webpage.  I dont know why the aeva didnt work,too..

Thanks for everyting. I know  I change my hosting service, (because my previous hosting server harddisk is fire). And i have not file backup, i have db backup and some files..  and i move to backup files to my new hosting service.  so smg  (1.5.2) is work fine (all features, thumbnail etc..).
(if you want,  I can send the code of link in the below)
if i install aeva 5.1.x, avea supported sites not work http://demo.rockayseri.net/index.php?action=mgallery. (http://demo.rockayseri.net/index.php?action=mgallery.) therefore i install 3.1.2

edit: i forget.. aeva work fine in forum. but not gallery.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 08, 2009, 01:37:05 PM
Quote from: Elijah Bliss on January 08, 2009, 11:43:05 AM
Didn't work...
That's because I gave you the video version. For audio files, it's the entry just before that one...
'embed-pattern' => 'http://(?:www\.)?last\.fm/music/([^/]+)/_/([\w\+\*%-]*)',


QuoteThis did work, thank you!
:)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 08, 2009, 01:42:56 PM
Quote from: Özgür | ЯocKayseri on January 08, 2009, 11:57:51 AM
if i install aeva 5.1.x, avea supported sites not work http://demo.rockayseri.net/index.php?action=mgallery. (http://demo.rockayseri.net/index.php?action=mgallery.) therefore i install 3.1.2
You can easily disable Aeva integration within SMG:

Open MGallery.php, and replace

if (!checkEmbedLink($embed_url))

With

if (!checkEmbedLink($embed_url, true))

This will effectively force the use of Aeva's internal server list, which is probably just as relevant as AEVAC 3.1.2's.

If your URLs posted directly in your board aren't embedded, though, then Aeva isn't working correctly. Just as I mentioned earlier today, if it doesn't embed, it was probably not correctly installed. Check whether Subs.php has the Aeva changes in it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on January 08, 2009, 02:18:39 PM
Quote from: Nao 尚 on January 08, 2009, 01:42:56 PM
If your URLs posted directly in your board aren't embedded, though, then Aeva isn't working correctly. Just as I mentioned earlier today, if it doesn't embed, it was probably not correctly installed. Check whether Subs.php has the Aeva changes in it.

If i use url in post (topic, ... etc) avea work fine and embedded.
i try http://www.facebook.com/video/video.php?v=42775623940

Forum http://demo.rockayseri.net/index.php?topic=2.0
Gallery http://demo.rockayseri.net/index.php?action=mgallery;sa=item;id=1
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 08, 2009, 02:50:38 PM
Well now that's curious...
I'd definitely be interested in a FTP account with access to Sources at least.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on January 08, 2009, 02:58:44 PM
I send you in pm.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 08, 2009, 02:59:05 PM
Quote from: Nao 尚 on January 08, 2009, 10:23:15 AM
95% of all YouTube videos are still in 4/3 format so the current embed format is still best for YT... (Wait until I add a feature where Aeva will determine automatically the best format.)
Can't wait!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Elijah Bliss on January 09, 2009, 12:54:10 AM
Quote from: Nao 尚 on January 08, 2009, 01:37:05 PM
Quote from: Elijah Bliss on January 08, 2009, 11:43:05 AM
Didn't work...
That's because I gave you the video version. For audio files, it's the entry just before that one...
      'embed-pattern' => 'http://(?:www.)?last.fm/music/([^/]+)/_/([w+*%-]*)',


Still no go. I even tried the url trick used on the asterisks link, to no avail.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 09, 2009, 02:20:50 AM
@mark> I'm currently busy fixing a few bugs on Noisen.com (my new friend system -- allows you to create as many friend groups as you'd like), so it'll have to wait until next week. And I'll also have to decide whether I do a "quick hack" (i.e. before the aeva tag is implemented), or if I do the aeva tag first, which should then make it faster to implement the widescreen check...

@Elijah> Silly question, but... Didn't you forget to regenerate the site list, by any chance? Also, your quote from my post has the backslashes all gone. I don't know if it's a SMF bug... They absolutely have to be in the string.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 09, 2009, 06:47:21 AM
New version :)
- Overhauls last.fm support
- Adds custom sites file :)

Version 5.1.36                                   9th January 2009
-----------------------------------------------------------------
+ Added "Subs-Aeva-Custom.php" feature (you will need to use & rename
  the Subs-Aeva-Custom-Example.php file), which adds support for your own
  custom site definitions -- they won't get deleted when upgrading Aeva
+ Added fatal error when trying to install Aeva with previously uninstalling it
* All YouTube international links should now be recognized in the future,
  even if they don't exist yet (also for AOL and Yahoo)
+ Added support for Last.fm France (and possibly other countries)
+ Added support for YouTube videos posted through Last.fm
(the old video code was broken for them)
+ Added support for Last.fm Artist pages (playlists)
! Cleaned up and rewrote much of the Last.fm embed code
* Cleaned up some more stuff in Subs-Aeva.php
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on January 09, 2009, 09:14:47 AM
thanks again for the upgrade!   8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 09, 2009, 09:17:07 AM
Nao,

I get this on installing new version:

2.     Execute Modification     ./Sources/Load.php     Test failed

So, I deleted the new one and tried to reinstall the last version, for now. I got the same error. I have never had a test failed for this mod before. What should I do? Wow, and interesting enough, the mod still seems to work totally perfectly when it is completely uninstalled and deleted!

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 09, 2009, 09:49:21 AM
Quote from: weightman on January 09, 2009, 09:17:07 AM
2.     Execute Modification     ./Sources/Load.php     Test failed

So, I deleted the new one and tried to reinstall the last version, for now.
You probably installed it with uninstalling it at one point. You'll have to uninstall everything manually.

QuoteI got the same error. I have never had a test failed for this mod before. What should I do? Wow, and interesting enough, the mod still seems to work totally perfectly when it is completely uninstalled and deleted!
Yeah... That quite gives away the answer, doesn't it?
Double install ;) Delete manually.

Interestingly, this is addressed in the latest release :D
+ Added fatal error when trying to install Aeva with previously uninstalling it

Also, regarding custom sites, if you need more info on how to install them -- download & read the Subs-Aeva-Custom-Examples.php file.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 09, 2009, 10:03:43 AM
QuoteYou probably installed it with uninstalling it at one point. You'll have to uninstall everything manually.

I am 100% sure I didn't. Uninstall manually? What a drag....
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 09, 2009, 10:04:57 AM
Well, I would have had a look myself but you disabled the ftp account so I couldn't know.
Still, I'm 100% sure this is the issue... Otherwise it wouldn't work when uninstalled...!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 09, 2009, 11:18:39 AM
Nao,

Oh yea, I don't leave a lot of admin and ftp accounts active- nothing to do with you of course. If I set it back up, would you have a look? I am dreading having to uninstall this mod manually....
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on January 09, 2009, 11:53:35 AM
@Nao 尚 I know, your busy.. but i just ask. =) just any improvement for my problem ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 09, 2009, 11:55:03 AM
Sorry, forgot you...
Will look into it ASAP.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 09, 2009, 12:12:57 PM
Fixed!
That was an actual bug that would prevent sites that are *not* in the SMG site list to embed through Aeva, because of a missing global. Aevac 3 worked because the only way to find it was to check for the actual file to be there (and it was found, obviously).

Will be in the next SMG update.

I will post a quick fix in the official SMF Media Gallery topic.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on January 09, 2009, 12:17:12 PM
Thank you tooo @Nao!  =)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 09, 2009, 12:20:44 PM
Quote from: weightman on January 09, 2009, 11:18:39 AM
Oh yea, I don't leave a lot of admin and ftp accounts active- nothing to do with you of course. If I set it back up, would you have a look? I am dreading having to uninstall this mod manually....
You know, it's just a matter of opening the xml files (install-both.xml, and the xml file for your own SMF version), browsing through the file names, opening these files and removing anything that's between "Aeva" comments. Just search for "aeva". You can do it in 10 minutes I'd say.
If it still fails after that, then bring on the codes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 09, 2009, 12:38:30 PM
QuoteYou know, it's just a matter of opening the xml files (install-both.xml, and the xml file for your own SMF version),

Where are those files? I don't see them. I am not familiar with this process. I have uninstalled mods manually of course but I used the package parser. Of course, I don't know what version of aeva/aevac is installed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 09, 2009, 12:42:03 PM
The files are at the root of your zipped package...

Oh well okay, send me your codes... :-/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 09, 2009, 12:43:47 PM
There are no aeva/aevac files anywhere that I can see. Perhaps because I uninstalled and deleted it? I will PM you access details. Thanks very much for looking into it for me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: zach21uk on January 09, 2009, 12:55:10 PM
Quote from: Nao 尚 on January 08, 2009, 10:23:15 AM
95% of all YouTube videos are still in 4/3 format so the current embed format is still best for YT... (Wait until I add a feature where Aeva will determine automatically the best format.)

I produce my own youtube content which is in High Quality and High Def Rez.  Any idea when you will add that feature?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 09, 2009, 02:14:14 PM
Quote from: zach21uk on January 09, 2009, 12:55:10 PM
I produce my own youtube content which is in High Quality and High Def Rez.  Any idea when you will add that feature?
I'll try for next week.
I'm really overwhelmed with work -- updating Aeva of course, but also fixing issues for individuals, updating SMG, updating Noisen (there's a lot of work to be done on it currently...), and so on. I don't exactly remember whether I did anything remotely connected to real life in 2009 so far.  :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 09, 2009, 08:03:00 PM
Maybe you should dream of loosing your internet connection for a few weeks as I just did ;)

I found out there's other things in life than computers and internet.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 10, 2009, 04:57:42 AM
Quote from: akyhne on January 09, 2009, 08:03:00 PM
Maybe you should dream of loosing your internet connection for a few weeks as I just did ;)

I found out there's other things in life than computers and internet.
I pretty much ended my Internet activity for a month twice, in late 2001 and mid-2005. Was very happy and everything. So yes I can live without it for some time, but then again on a daily basis I don't see myself doing anything else than working on a computer, eh...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 10, 2009, 05:12:50 AM
Quote from: weightman on January 09, 2009, 12:43:47 PM
There are no aeva/aevac files anywhere that I can see. Perhaps because I uninstalled and deleted it? I will PM you access details. Thanks very much for looking into it for me.
Okay, done...
You had correctly uninstalled recent versions, but there was an older version from Karl's day that had a leftover line (disableautoembed), I just removed it from Load.php and that was all. I tried to uninstall & reinstall automatically and it works.

Actually I would have thought there were more changes in Load.php, but that's just the one. I mixed it up with SMF Media Gallery where there are all sorts of edits everywhere... (Three times as many edits, to be specific.)
The Aeva install process is a piece of cake in comparison.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: phpchris on January 10, 2009, 08:13:37 AM
Hi and first of all thank you for the mod.
One problem for me is that I cannot seemt o get it working.
If I enable debug-mode it gives me parsing times but links are not converted.
Where to start to have a look at?

Thanks in advance!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 10, 2009, 08:37:33 AM
Quote from: phpchris on January 10, 2009, 08:13:37 AM
Hi and first of all thank you for the mod.
One problem for me is that I cannot seemt o get it working.
If I enable debug-mode it gives me parsing times but links are not converted.
Where to start to have a look at?
I dunno.
Start by giving us links to some pages on your site where URLs don't get parsed...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: phpchris on January 10, 2009, 08:42:52 AM
Edit:

Hang on, this mod does not seem to work on pages, guests are not allowed to see.
I made a new post and it worked, with old links it won't.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 10, 2009, 10:04:59 AM
What do the old links say?
Enable guest access and share a couple of pages where we can see both "old" and "new" urls.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: phpchris on January 10, 2009, 10:17:07 AM
Try this link here: http://www.greek-fighters.com/forum/index.php?topic=1775.0

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 10, 2009, 10:24:39 AM
QuoteOkay, done...
You had correctly uninstalled recent versions, but there was an older version from Karl's day that had a leftover line (disableautoembed), I just removed it from Load.php and that was all. I tried to uninstall & reinstall automatically and it works.

Hmmm, if that was the only line of the mod leftover, how did it still work?

Thanks for fixing me up again!!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: phpchris on January 10, 2009, 10:40:38 AM
And here is one where it works: http://www.greek-fighters.com/forum/index.php?topic=1311.msg10568#msg10568
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 10, 2009, 11:24:50 AM
@weightman> Maybe it was a very old Aevac, and there were other lines in other files that got left there as well... I didn't check other files. What matters to me is whether you can uninstall+install automatically. Yes you can, so I'm not going to look further. If you want a clean SMF, just reinstall SMF itself ;)

@phpchris> Regarding the first link... There's a search result. These aren't supported by Aeva. It supports item pages and playlists. The other link isn't highlighted. Aeva only converts links that are highlighted. You used to have the youtube bbcode mod. You need to run the youtube uninstaller script that I posted a few pages earlier (can't remember which, but check out my profile > show contributions > attachments, and look for the latest, or one of the latest files I uploaded). Run the script on your site and you'll get your links to work just fine.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 10, 2009, 11:33:13 AM
Gotcha. I'll hold off at this point on clean install until SMF 2 is fully released.  :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Relyana on January 10, 2009, 01:54:01 PM
Quote from: Nao 尚 on January 08, 2009, 10:23:15 AM
95% of all YouTube videos are still in 4/3 format so the current embed format is still best for YT... (Wait until I add a feature where Aeva will determine automatically the best format.)

Can both the YouTubeBBC mod and the AEVA mod be installed and function well in the same forum? Wouldn't that cause any conflict ? I'm asking because one of my forummembers says that he cannot watch the YouTube videos anymore in my forum but he has no problems watching videos from other videosites. He says that whenever he tries watching YouTube videos he's redirected to the YouTube videosite and gets a "short message inside a  red bar: Invalid parameters". I see no errors in the error logs
More details here (http://www.escvibes.com/index.php/topic,171.msg22269.html#msg22269)

I converted the old youtube tags but shouldn't all YouTube video urls posted there look the same now all over the forum ?
Some of them look like videolink,  some other videolinks look like [url=videolink][/url] and some of them look like [url=videolink]videolink[/url]
Is that normal ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 10, 2009, 04:33:40 PM
Regarding the first problem: I never saw this before... Your videos work fine for me too. I'm not sure what's the issue with this user really. He probably had the same issue before. Can you try enabling or disabling HQ in the admin area (aeva section)? I don't think this will have an influence, but I don't see any other way of changing the URL type for YouTube.

Now with the second request: yes, this is normal. Once a link is posted, SMF parses it, and adds the url tags to it. Aeva will only convert a video if it was first parsed by SMF and turned into the url tag thing. This is one of my concerns by the way -- should I turn [url=videolink]videolink[/url] into [aeva url=videolink] (self-closing tag), or [aeva (options here)][url=videolink]videolink[/url][/aeva]? Yeah I know, I'm probably the only one wondering about these silly things... ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Relyana on January 10, 2009, 05:11:40 PM
Quote from: Nao 尚 on January 10, 2009, 04:33:40 PM
Regarding the first problem: I never saw this before... Your videos work fine for me too. I'm not sure what's the issue with this user really. He probably had the same issue before. Can you try enabling or disabling HQ in the admin area (aeva section)? I don't think this will have an influence, but I don't see any other way of changing the URL type for YouTube.

It doesn't make any difference.

Well it seems that the problem just started ... Romania 2009 (http://www.escvibes.com/index.php/topic,853.msg22308.html#msg22308)
I see nothing wrong with the last 2 videolinks from that thread and yet no videos are displayed there. This is exactly what I noticed soon after I installed aeva ... some of the youtube video urls work out just fine, some of them don't. I understand if it happens when the embeding is disabled or whenever the video is removed from YouTube but why now ? I wish I can see something ... anything in the error logs .... even "Hello World" would be better than nothing.

Quote from: Nao 尚 on January 10, 2009, 04:33:40 PM
Now with the second request: yes, this is normal. Once a link is posted, SMF parses it, and adds the url tags to it. Aeva will only convert a video if it was first parsed by SMF and turned into the url tag thing. This is one of my concerns by the way -- should I turn [url=videolink]videolink[/url] into [aeva url=videolink] (self-closing tag), or [aeva (options here)][url=videolink]videolink[/url][/aeva]? Yeah I know, I'm probably the only one wondering about these silly things... ;)

You're starting to scare me   :o I don't even want to hear about any other audio video related tags.    :P (j/k)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 10, 2009, 05:22:31 PM
It doesn't make any difference--for him or for you?

Quote from: Relyana on January 10, 2009, 05:11:40 PM
I see nothing wrong with the last 2 videolinks from that thread and yet no videos are displayed there.
You probably reached the maximum number of videos per page. Above that, it might crash your browser.

QuoteYou're starting to scare me   :o I don't even want to hear about any other audio video related tags.    :P (j/k)
Well my concept of a tag is to be as silent as possible. ie, you don't even have to know it exists. It is only there for you to fine-tune your videos.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Relyana on January 10, 2009, 05:34:47 PM
Quote from: Nao 尚 on January 10, 2009, 05:22:31 PM
It doesn't make any difference--for him or for you?

For him ... no one else has the issue he's having with the youtube videos.

Quote from: Nao 尚 on January 10, 2009, 05:22:31 PM
You probably reached the maximum number of videos per page. Above that, it might crash your browser.

That's encouraging  :P Seriously now ... you are right (again). I increased the number of videos per page and they all show up now. It didn't even cross my mind that that could be the problem. So simple !

Quote from: Nao 尚 on January 10, 2009, 05:22:31 PM
Well my concept of a tag is to be as silent as possible. ie, you don't even have to know it exists. It is only there for you to fine-tune your videos.
I was kidding. :) Good luck with whatever you're doing 'cause you're doing it well for sure.

Thank you  :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 10, 2009, 06:05:25 PM
Quote from: Relyana on January 10, 2009, 05:34:47 PM
For him ... no one else has the issue he's having with the youtube videos.
Tell him to try with a different browser?
And logging off the board and viewing it as a guest?

QuoteThank you  :D
You're welcome.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: phpchris on January 10, 2009, 06:29:31 PM
You're a star thank you!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 11, 2009, 12:51:25 AM
Quote from: Nao 尚 on January 10, 2009, 04:33:40 PM
This is one of my concerns by the way -- should I turn [url=videolink]videolink[/url] into [aeva url=videolink] (self-closing tag), or [aeva (options here)][url=videolink]videolink[/url][/aeva]? Yeah I know, I'm probably the only one wondering about these silly things... ;)

Not at all!

I like the second option myself, which leaves users the ability to go [aeva option=value otherOption=value]http://youtube.com/watch?v=cRzYviD248[/aeva] and make it feel like many other tags. The [hr] and [br] tags feel weird to me, so that's why I like tags that require closing tags, it becomes habit for me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 11, 2009, 08:17:56 AM
Actually, the self-closing tag is easier for me to handle... It allows me to have 95% of the tag code in my own files, and it would also be easier (I think) to make the tag name customizable.

Well I'm still not ready to implement the tag stuff anyway... Too much work on too many projects... The tag system would require 100% of my attention and today I'd rather keep reading my book. ;) ("The inverted world" by Christopher Priest. Nice one.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 11, 2009, 10:22:52 AM
Quote from: Nao 尚 on January 09, 2009, 06:47:21 AM
New version :)
- Overhauls last.fm support
- Adds custom sites file :)
The stats have been severely going down since I released this update. I don't think there's any loss of interest in Aeva overnight, but when I released the new version, I also reset the download counters for all files, and as a result the download URL for the Aevac 3 & 4 files changed (they had had the same URL for months).

I'm suspecting that some external website was offering direct links to Aevac 4. Is anyone here aware of such a site? Maybe you discovered Aeva through it or something.
It doesn't cost anything to ask :) I just want to contact them (if they exist) and ask them to update their URL to redirect to the mod page, instead of the deleted file (which would now return a 404 error).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 11, 2009, 10:35:53 AM
NAO: You should remember that only a few people here are following the developement of AEVA. Maybe 5-20 people whereof only a few people comments on the developement.
When I discovered AEVAC ½ year ago, I did like most people.. just downloaded the mod and installed it. The only reason I returned was because of the issues with local playback in V4.x
So basically when people hear about a new version like v5, they download and install it and think nothing of it besides if it doesn't work for them.

Besides I think a lot of people, including me, doesn't want to be test pilots if their embed links get screwed by an early testversion.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 11, 2009, 11:44:05 AM
Quote from: akyhne on January 11, 2009, 10:35:53 AM
So basically when people hear about a new version like v5, they download and install it and think nothing of it besides if it doesn't work for them.
It's not about that really -- as I mentioned, I was always worried by the fact that Aevac 4 seemed to have twice the amount of daily downloads that Aeva 5 used to have. Which is why I finally decided to reset the download counters, which was bound to mean a change in file ID as well (ie the direct link for v4 is no longer the same as it used to be). As a result, v4 is no longer downloaded, and only v5 is downloaded. Which is what I wanted (because v4 is buggy, and is only there because it's Karl's last). But instead of seeing all downloads converge to v5, all I could notice was that v5 had the same download numbers as before -- none of the average daily downloads of v4 were redirected to v5. As a result, Aeva is currently downloaded 3 times less than a few days ago.
The download rate is usually very steady, stable -- several hundreds a day. It has been since I first came onboard the project. But most of these downloads were for v4. Considering that the download rates have plummeted exactly on the day I changed the direct links (nothing else was changed really), it occurred to me that it was probably a certain website that drove the traffic to the direct link for v4. That direct link was broken so it's a good opportunity to contact the website (or whatever service it is) to make them change their link to point to the mod page, instead of the direct link (which is always a bad idea, since over at the mod sites, everytime a file is updated, the direct link is changed, even if it retains the same filename).

QuoteBesides I think a lot of people, including me, doesn't want to be test pilots if their embed links get screwed by an early testversion.
Didn't you notice how careful I am when releasing new versions? ;) I always spend a lot of time testing them.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 11, 2009, 11:49:26 AM
You have to remember that the download servers are updated only after 12-24 hours. When did you reset the download status?
Besides especially IE has the flaw that it most of time does load an old page of a specific page, even if there are small changes. People using IE has to press F5 or the update button to be sure to see the latest page.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 11, 2009, 11:55:19 AM
I also believe that if people have been following your "commands" about downloading the newest version.. once to twice a week for the last month, at some point get tired of downloading and installing new versions if they are happy with the version they have. So maybe people are just happy or waiting to see new functions instead of new sites being added.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 11, 2009, 01:18:27 PM
Quote from: akyhne on January 11, 2009, 11:49:26 AM
You have to remember that the download servers are updated only after 12-24 hours.
If you're talking about the popularity index, nah, it's updated several times a day. Probably every hour or so.

QuoteWhen did you reset the download status?
Two days ago. And yesterday, it was already down to #2, and today it is at #5.
The YouTube BBCode mod sucks -- no offence Karl, but I never understood why you kept it alive. That mod does nothing more than Aeva does, and it adds a useless tag (it doesn't have any features, is what I mean). Still, it is now downloaded *more* than Aeva. I don't see the point in working fulltime on something when people will settle for the inferior solution. This might be one of the reasons why I'm a bit down.

Quote from: akyhne on January 11, 2009, 11:55:19 AM
I also believe that if people have been following your "commands" about downloading the newest version..
I never asked anyone to download?
I just released, and released, and released until I was satisfied with a bug-free version... Now it's pretty bug-free and I'm preparing to work on adding new features. And then it occurs to me that maybe no one cares, lol. So why waste my time working on Aeva if everyone's happy with it? I mean, I could simply add support for widescreen YouTube videos and I'd be done with it... Adding a couple of new sites every other month and that's it.

Quoteonce to twice a week for the last month, at some point get tired of downloading and installing new versions if they are happy with the version they have. So maybe people are just happy or waiting to see new functions instead of new sites being added.
That's not a very nice thing to say. :(
I've been on the project for two months only, and already I added these:

- fix for the nbsp bug (had been there since Aevac 3)
- fix for the quote embedding crashes (had been there since Aevac 3 as well) -- this one was really hard to fix
- fix for local embedding (had been there since Aevac 4)
- "popular sites" list (makes it faster to select only the sites most likely to be embedded on any forum), "custom sites" list with your very own list that won't get deleted when upgrading, "adult sites" list (hidden and disabled by default), and support for infinite quantities of site lists...
- wider server support for remote lookups
- support for servers with magic quotes enabled
- protection against double installations

When you mention "new features", what more could I do? People just want to publish video URLs and get to see them embedded immediately, don't they? So that's what I'm struggling to do... Make it is transparent as possible to the end-user.

My current to-do-list is there:

- add admin template + separate site list from settings
- add bbc tag (huge amount of work ahead...)
- add automatic support for widescreen in youtube embeds
- add links to switch between normal/hq/hd qualities in youtube embeds
- add pagewide preg_replace to improve embed speeds
- add the ability not to embed a video when it's in a text link (i.e. the hyperlink is a description, not something with http:// in it)
- make a module to download updated site lists without having to update Aeva

Apart from the bbc tag, there's no actual "new notable feature" in that list. Because it should remain hidden from the end-user. That's the point. I'm trying to respect that. What more can I do...?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Relyana on January 11, 2009, 03:41:55 PM
Quote from: Nao 尚 on January 11, 2009, 01:18:27 PM
And yesterday, it was already down to #2, and today it is at #5.

AEVA and SMG will always be on top of users' preferences for smf mods, simply because they are complex mods that help beautify this virtual world. On the other hand popularity is relative and you shouldn't get too attached to it.  :)

Quote from: Nao 尚 on January 11, 2009, 01:18:27 PM
The YouTube BBCode mod sucks -- no offence Karl, but I never understood why you kept it alive. That mod does nothing more than Aeva does, and it adds a useless tag (it doesn't have any features, is what I mean). Still, it is now downloaded *more* than Aeva. I don't see the point in working fulltime on something when people will settle for the inferior solution. This might be one of the reasons why I'm a bit down.

..maybe because YouTube is THE most popular videosite ? I understand it perfectly. When you have so many things to do in real life and you want to please your forummembers but still you can't or simply don't want to focus on enhacing the forum features only, the YouTube BBCode mod is the compromise that one can live with. Maybe someone should mention on the mod page that it is no longer supported.

Quote from: Nao 尚 on January 11, 2009, 01:18:27 PM
I just released, and released, and released until I was satisfied with a bug-free version... Now it's pretty bug-free and I'm preparing to work on adding new features. And then it occurs to me that maybe no one cares, lol. So why waste my time working on Aeva if everyone's happy with it? I mean, I could simply add support for widescreen YouTube videos and I'd be done with it... Adding a couple of new sites every other month and that's it.

"So why waste my time installing the aeva mod when the YouTube BBCode mod works just fine and everyone's happy with it ? " Does it sound familiar ? :-[
...because good people see beyond preconseptions, accept when they're wrong and always try (at least) to do the right thing. And you are doing the right thing simply because you care ... just don't take it so personal.     

Quote from: akyhneonce to twice a week for the last month, at some point get tired of downloading and installing new versions if they are happy with the version they have. So maybe people are just happy or waiting to see new functions instead of new sites being added.
People do that and that's not such a bad thing. They don't rush into uninstalling and installing mods because they trust that previous versions aren't bad either and they also know that the aeva mod won't vanish over night. It's all a matter of "do I really have to get into geek thingies again .... can't I just leave it for tomorrow ?"  :P It's sad if you look into it from the developer point of view but it is also human nature to do only what you feel that should be done at that particular moment.

Quote from: Nao 尚 on January 11, 2009, 01:18:27 PM
My current to-do-list is there:
- make a module to download updated site lists without having to update Aeva

This one would please the ones mentioned above.  ;)

Quote from: Nao 尚 on January 11, 2009, 01:18:27 PM
Apart from the bbc tag, there's no actual "new notable feature" in that list. Because it should remain hidden from the end-user. That's the point. I'm trying to respect that. What more can I do...?

Just don't take things so personal. Your work should be a win-win situation for both the end-user and the developer. And again ... you are doing the right thing and people do appreciate it even if they're not saying it out loud.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 11, 2009, 03:51:14 PM
Nao,

I am looking forward to the new version, even though I am not excited about the whole tag thing. Keep your head up. This mod rocks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 11, 2009, 04:46:31 PM
Nao, like I've said before, don't take it so personally. Look at the stats, Aeva is among the 5 most popular mods. And while the position of that list fluctuates greatly from week to week, Aeva has stayed there for a while.

To be honest with you, I haven't downloaded any of your releases, I'm still on Karl's legacy v4 release. Why? Because it works for what I need and I haven't experienced any of the annoying bugs. If I were to make a new site right now, I'd add your newest version, but upgrading the current version on my sites isn't a top priority for me. Once better features are released, such as the youtube widescreen and hq/hd features are implemented, I'll probably switch. Youtube is by far the most embedded site on my site, and the mod is rarely used anyway.

But even though I'm not downloading, I'm still here, supporting you. Don't take the numbers too personally, it's not a reflection of your work or any lack of work, it's because the users are lazy asses (like me) who don't bother to upgrade if it's not entirely practical. But then again, I'm not the best example, the mod is rarely used on my site, so don't take my word for the generic sample. Just one person's viewpoint.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Andre N on January 11, 2009, 05:11:15 PM
Hi,

How can I embed Slideshow Pro (swf)? Here is an example of it not working:
http://www.xtremelean.us/forum/index.php?topic=21.0
When you follow the link it works fine. It also works fine on the main page (index.php)

Also, how can I embed an .mp4 video?
Here is a link of it not working:
http://www.xtremelean.us/forum/index.php?topic=22.0

Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 11, 2009, 05:40:58 PM
Will answer everything tomorrow.

@Eliana> sorry, I've had a bad day pretty much... I got a bit carried away by Aeva because I got carried by other stuff as well. You know, these days when you feel like everything's going against you at the same time? Anyway, about Aeva being in the top 5 -- it's actually #6 now, and is steadily headed to drop from the top 10 in just a few hours. As I said: the download rates were divided by 3 in a single day. Even if they had been reduced by only 50%, it would out of the top 10 very quickly. YouTube BBCode, on the other hand, has now risen to #2 and has about twice more downloads than Aeva currently. Don't ask me why! lol

@Tina's man> slideshows aren't supported. Read the readme file. mp4 vids are supported but some of the codecs aren't. Just make sure you upload a compatible file. I think iPhone mp4's aren't supported or something. Can't remember. It's a problem with all Flash players (they depend upon Flash's internal codecs).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 11, 2009, 06:07:06 PM
The SMF mirror servers are updated every 8th hour. I know from people of SMF. Still eg. IE6 and 7 aren't reliable to show the newest page to the users. If people get a dead link, maybe they tend to think AEVA has gone dead and are now downloading Youtube BBC.

I didn't spend time on downloading and installing all your releases for the past two months, but I guess some did. And I'm pretty sure they eventually get tired of doing it because of bugs and recommendations from you to do so. No offence, but I think you should have kept the beta or RC name until you were closer to a non buggy version. And don't take it personally. The only version I tried was 5.31 (I guess). It seems to work fine but as what I have now with version 3 embedding HQ youtube and some other fixes I did to embed local files, I have no need to upgrade to 5.xx until you get close to a final version 5.xx.

Lighten up man. Don't take things so personal. You are doing a great job. I'm just trying to make a picture for you on how some people may see things. Personally I'm of the carefull type who'd better wait than screw things up with an early version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Andre N on January 11, 2009, 06:43:53 PM
Quote from: Nao 尚 on January 11, 2009, 05:40:58 PM
@Tina's man> slideshows aren't supported. Read the readme file. mp4 vids are supported but some of the codecs aren't. Just make sure you upload a compatible file. I think iPhone mp4's aren't supported or something. Can't remember. It's a problem with all Flash players (they depend upon Flash's internal codecs).
Thank you for responding so quickly. When the people downloading the Youtube BBC code mod realize they want more functionality and the ability to embed video from other sites they will find this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kizer on January 11, 2009, 10:29:55 PM
As long as when I type in a video URL it automatically embeds I can really careless about the tag names. ;) With the edits as long as when a member edits his/her post and they can add additional options the code works in a way that if they don't edit the video it doesn't break the auto embed code I'ml completely happy. Anything else is gravy.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: QueenTiye on January 11, 2009, 11:13:07 PM
Nao: I'm new to this so forgive me if this is a dumb question - but do I have to download the update directly?  My package manager mentions that I have 5.1.32, but isn't prompting me for an upgrade.

QT
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 12, 2009, 01:05:42 AM
Download the upgrade. Then uninstall your current version (and pay attention to errors) then install the new one.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 12, 2009, 01:23:42 AM
Aeva is not buggy!
Aevac 4 was buggy, and it was in beta. Aeva 5 never was buggy. I worked very hard on fixing all Aevac bugs very quickly. Any version 5.1.xx is free of any bugs.

Oh crap, you're telling me I've done nothing, and then you only tried one version, and it's v5.1.32? You're kidding me? I implemented Joost.com for you in v5.1.25! I was going to get started on your Danish sites! Is that how you thank me for my work? By not even trying out the version in which I spent time for you?

I'm not paid for the job. And I've still been choosing to spend time on it, and do as much work on it as possible because it could use so many improvements and I'm not happy with the current version. It's not in beta, it just can be improved upon more.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 12, 2009, 02:01:09 AM
I can't read your mind NAO. You asked for popular sites... I provided a few for you. I don't need them at all, even the Danish ones. But if the AEVA should be popular in the way you want with a lot of sites, you have to add those.
You asked for comments on name of the mod and other stuff and you are having a laugh on peoples suggestions. That's rude! You are also having a laugh of Karls great work (whom I have no relation to). That's rude too!! you even got the mans help on some Q's.
And I asked you a lot of questions the last few months, you didn't answer half of them. So if i can't get my Q's and comments answered, I can't use the mod as it is. I don't tend to install the mod on my primary forum if things (links) get screwed.

Nobody said you didn't do a great job. Version 4.0.2 was buggy and unusable for a lot of people. Why are you taking things so personal? I didn't complain at any point. I even translated the mod for you in a split second. You didn't use it yet and I respect your explenation on why. But basically you have been rude to just about every person who tried help you, and you are wondering why people are not responding to the mod anymore!!?!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 12, 2009, 04:17:51 AM
Quote from: Nao 尚 on January 10, 2009, 05:22:31 PM
Well my concept of a tag is to be as silent as possible. ie, you don't even have to know it exists. It is only there for you to fine-tune your videos.
My main problem with a tag is that when people see a post with a video embed and are curious how that user was able to do it, they will quote the post and see the aeva tag and assume they must use tags to post up videos. Currently when a user quotes a video embed post, all they see is the URL which is good as the newbie then understands that all they need is to post a URL.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 12, 2009, 06:00:52 AM
I would need a few testers please...

rev 39 adds this:

* Split Aeva admin page into two separate pages (Settings and Site List), to allow more breathing space in both section (Subs-Aeva-Admin.php, language files, install files)

If you're interested in testing this new feature (the site list is definitely slow to load, right?), you will find the download link here:
http://aeva.noisen.com/dev/5044/where-can-i-get-the-latest-goodies/

Thanks.

PS: this is tested to work well on my site (SMF 2.0 RC1). I would need to know whether install works fine on SMF 2.0 b4 and SMF 1.1.7.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 12, 2009, 07:24:46 AM
The rev 39 works fine in 1.1.7 but not in 2.0  beta 4. I don't get the "Aeva" link, only the "Aeva Sites" link in 2.0, but I can call it manually in the link. Still there's an issue as I don't see texts in the "Aeva" page in SMF 2.0 b4
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 12, 2009, 07:50:53 AM
That's strange. The troublesome forum is a SMF 2.0 beta 3 testforum that has been upgraded to beta 4 a while ago.
I tried to install rev. 39 in another SMF 2.0 beta 4 test forum I have, and have no issues there.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 12, 2009, 08:20:36 AM
Maybe a language issue? I added three strings. I don't think it would have any influence but still, worth checking out. If adding the strings makes it work, then I forgot to do something somewhere.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 12, 2009, 08:23:22 AM
The forums are all running English-UTF8, so that could not be the issue.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 12, 2009, 08:44:19 AM
Hmm...
Installed mods list, please?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 12, 2009, 08:47:10 AM
This is really freaky!! I discovered that the two forums are NOT both running UTF-8. The forum that works ok is running english and the one with the error is running UTF-8. So I checked the Aeva.english-utf8.php file via Dreamweaver and it's completely empty. But in the Aeva_rev-39.tgz file, the text is there.
So I guess there's an error somehow in the .tgz file.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 12, 2009, 08:51:31 AM
I unzipped the package and opened Aeva.english-utf8.php with Notepad++, the saved it as UTF-8 (without bom). Then zipped the files with Winzip and uploaded it. Now there's no error.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 12, 2009, 08:55:40 AM
Oh yes, I forgot about that... Dragooon's SVN server is buggy.

Do it this way:

- Redownload the package from the svn site
- Unzip somewhere
- Rezip manually
- Reupload to your site

Should work now :)

I'm currently working on a "latest version" feature which should allow me to separate site list downloads from Aeva updates. (i.e., you'll no longer need to update Aeva if you just want to update your site list. This is for the future, when Aeva will have all of the features I'm looking into adding, and all I'll do is udpate the site list.)

Edit: ah, I see you thought of it before, eheh. Although... Was the BOM part really necessary?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 12, 2009, 08:56:40 AM
Ok, it is an zip error. I also tried to extract the original files without making any changes to any file and zipped the whole thing with Winzip. Then uploaded the .zip package and installed it. No errors now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 12, 2009, 08:58:50 AM
UTF-8 files should always be made as UTF-8 (without BOM). But at least the Aeva.english-utf8.php is just saved as ANSI.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 12, 2009, 09:06:27 AM
Here's the original buggy .tgz file I downloaded from your server if you need it for any purpose:

BUGGY FILE - DON'T USE THIS ATTACHMENT!!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 12, 2009, 09:25:36 AM
Nao,

Glad to see you settled down about things. I saw you were very upset last night. Hey, the vast majority of aeva users aren't going to take time to get you your props- that is just life. So, if that is really important, and I understand why it could be, then maybe you should devote less time to this mod so you don't feel you are being taken advantage of or wasting your time. On the other hand, I think you have made tremendous improvements to it, look forward to the rest of your plans, and am 100% confident the downloads for this mod will grow back to #1 in due course.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 12, 2009, 10:11:25 AM
@akyhne> I don't need it... as I told you earlier, I had forgotten that Dragooon's svn server had that bug. So we'd already met it previously ;)

@weightman> yes I was upset last night... (Personal issues.) Today I figured I'd just dive into work and not think of annoying things.

No, I don't think the mod will go back to #1... And really, I couldn't care less. What's the point with fighting against mods that are totally unrelated? I just want to make sure SMF users are aware of the best possible solutions for what they're looking for.
SMF Gallery (SGL) is a successful mod -- SMF Media Gallery (SMG) barely gets 1/10th of its download rates. Both are free. SMG is clearly the better one (basically, it is on par with SMF Gallery Pro, valued $50, in terms of features), but it's still relatively ignored on the mod site. Why? I don't know, but I suppose it may change in the future. Aeva used to be #1 because people would download it from external sources and now have a 404 error or something. That's a #1 position I don't really care about. I'd rather have accurate statistics, you know? But then again -- now, Aeva has half the download rate of the YouTube BBCode mod. It's a bit annoying to imagine that users are going to install this mod on their board when they could be using Aeva in the first place. They'll get the [youtube] tags everywhere, it won't work well, they'll complain about the lack of features, and when they find out about Aeva, they'll have to run an uninstall script, and I'll have to explain everyone how to do that.

I think at this point, I'd appreciate if Karl could ask the mod site team to remove the YouTube mod from the list, as it's outdated now that there's a need to swich between widescreen and fullscreen modes. (And, yes, I'll be working on that this week.)

BTW, and I'm going to put it in bold so everyone is aware of the current situation, I've pretty much decided not to implement the [aeva] tag at all. Maybe in a distant future, I don't know, but right now, most of the features I'd like to implement through this tag can already be done through the current system (only, slower). At least I'll get to avoid all of the backlash related to adding a tag instead of making the mod even simpler. Also, it should allow me to implement widescreen support much faster. Widescreen videos will be identified by the #ws anchor next to the video URL. That way, you'll also be able to "force" widescreen or fullscreen mode even if your server doesn't support lookups.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 12, 2009, 10:16:06 AM
Sounds good Nao. Regarding SMF gellery, I have Pro installed. Since upgrades are free, it works well, and doesn't even get tremendous use on my site, I saw no need to change. But, I have examined your alternative and it looks very good. If I was starting over adding a gallery, I would use it.

Have a good day.  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 12, 2009, 10:42:02 AM
Good choice on the tag, Nao. I'm looking forward to the ability to switch from widescreen to fullscreen.

Just a question, do you plan to be able to switch to HD? There are a small number of HD movies on youtube currently, but the number is growing. The picture quality is so much better (like it rivals the late Stage 6 site), it would be nice to be able to embed HD movies sometimes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 12, 2009, 11:18:39 AM
(I finished implementing the latest version test... Now I'm going for the latest sitelist test, which is gonna be harder because I'll have to write the code to download it, eheh.)

The problem with HD is that it takes long to load. What if a video (like that lovely dancing video) has normal, hq and hd resolutions available? Should Aeva use hq, or hd?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 12, 2009, 12:24:14 PM
Is it possible to put an indicator there for AEVA users to use? Something that would be for power users, but not as complex as a tag. You mentioned using something like #ws at the end of a url to switch, perhaps the same could be used for HD? Use #hd to select HD quality? It'd be a pain for dialup users, but so is HQ.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dazed on January 12, 2009, 01:17:32 PM
Quote from: Nao 尚 on January 12, 2009, 06:00:52 AM
I would need a few testers please...

rev 39 adds this:

* Split Aeva admin page into two separate pages (Settings and Site List), to allow more breathing space in both section (Subs-Aeva-Admin.php, language files, install files)

If you're interested in testing this new feature (the site list is definitely slow to load, right?), you will find the download link here:
http://site.noisen.com/aeva-dev/5044/where-can-i-get-the-latest-goodies/

Thanks.

PS: this is tested to work well on my site (SMF 2.0 RC1). I would need to know whether install works fine on SMF 2.0 b4 and SMF 1.1.7.

Nao; I will be happy to run this on my test site to see what happens. I am truly sorry you are having a difficult time in other areas these days. As for the mod; the previous version that I used has worked great except a few kinks that came early on. Those have been long since fixed and I have not had any further issues even after upgrading to 2.0.4 Beta and running Simple Portal.

Thanks for your efforts and I will see how this new version goes.   

:)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kizer on January 12, 2009, 01:43:26 PM
Maybe a "Click here here for HD" URL of course If it exists.

On my site there are several broadband users and maybe a small handful of dialup users.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 12, 2009, 02:06:35 PM
(Okay, I'm nearly done with the site list downloading and stuff... I should have a beta ready for download tomorrow... Maybe it'll even be an official non-beta release... Should work perfectly on non-safe mode servers. As for the rest, I dunno.)

Quote from: Eliana Tamerin on January 12, 2009, 12:24:14 PM
Is it possible to put an indicator there for AEVA users to use? Something that would be for power users, but not as complex as a tag. You mentioned using something like #ws at the end of a url to switch, perhaps the same could be used for HD? Use #hd to select HD quality? It'd be a pain for dialup users, but so is HQ.
Well that was pretty much the plan when we used to have the HQ link issues... Remember? Sometimes the vids just wouldn't appear, when there was only a HQ version available and no normal version. Then YouTube fixed that recently...
I think somehow it'll be a combination of two-letter keywords.
#fsnq = normal quality fullscreen, #wshd = HD quality widescreen, etc.

Oh, yes... One of the issues with the non-tag route... I still don't have a solution for lookup sites when it comes to publishing a link to them. Hmm... Maybe I could make it so it links like this: [ a href=http://originallink]http://lookuplink[/a]. Aeva would just need to retrieve both URLs and make sure one of them is the lookup link. Then we'd be able to embed, and show the original link.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 12, 2009, 05:11:57 PM
Phew... Managed to overhaul the admin area in less than one day :)

Committed revision 40, which you can download from the link above.

+ Added automatic sitelist updates (just go to the Aeva admin area from time to time and you're done)
+ Added automatic new version checks (you'll still have to download/uninstall/install yourself, though.)

This will best work when build 40 is online at the mod site (I'll upload it tomorrow if no errors are found).
Basically, if you go to the admin area, Aeva will check the mod site by itself and analyze the latest available versions of the Aeva mod (if it's newer than yours, it'll tell you to upgrade), and the site list (if it's newer than yours, it'll directly download it and replace your current site list with it).

There may be a few issues left, I don't know. I tested and it works. It's all I'm asking for, eh :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 12, 2009, 07:33:53 PM
Nao, will the new widescreen support you plan to add very soon automatically detect the most appropriate format rather than having to manually choose?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 13, 2009, 01:14:01 AM
Yes.

Re: revision 40: no problems recorded? Did anyone try it at all?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 13, 2009, 05:11:33 AM
Everyone interested--please vote on the BBC tag poll here:
http://site.noisen.com/aeva-dev/5122/poll-the-bbc-tag-problem/

(Guest votes are enabled.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Qayyom Ashraf on January 13, 2009, 05:28:11 AM
Any Advantage(s) or Disadvantage(s) for enabling these option?

related to HOST or ...?

Enable Lookups
This feature WILL work on your server
   
Check whether Youtube videos are embeddable
This feature WILL work on your server

Please help me, I am not a programmer or PHP professional

Please Help me
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Qayyom Ashraf on January 13, 2009, 05:39:49 AM
I've a problem after Installing the Mode

after Installing all Videos are showing twice

in between both (duplicated videos) this sign Appears ">"

Please check here:
http://www.jangforum.com/index.php/topic,720.msg1227/topicseen.html#new

How can i solve the Problem
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 13, 2009, 05:58:19 AM
Options> Enable them both. If they're available, you should.

Bug> What does your code look like normally? Can you disable Aeva so I can see what it looks like in the first place?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Qayyom Ashraf on January 13, 2009, 06:26:50 AM
1- Actually i've installed and Uninstalled Old version of the Mod before some time...
2- during uninstallation there was not showed any Error(s)
3- the mode also removed from Mods List.
4- Even after this, Video Embedding was enabled, and working
5- But in IE videos shows twice, and in FireFox single/one (mean in FF working fine and not in IE)

Therefor i waited for a long time to get an improved version of the Mod

OK now it is disabled and right now the status is as 5-
check in FF and IE too

I can Give you Admin ID Pswd or provide you related files if required

Thanks for your Support
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 13, 2009, 07:20:44 AM
I didn't ask to uninstall, I simply asked you to disable the Aeva mod (go to admin area, aeva section, and uncheck the master setting then save.)
Just so I could see what the original source code says.

PS: videos are embedded twice in Opera as well, so it's got nothing to do with the extra use of the <object> tag for IE.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Qayyom Ashraf on January 13, 2009, 07:26:52 AM
OK now it is Installed and Disabled from Admin Panel
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Dazed on January 13, 2009, 07:51:18 AM
Quote from: Nao 尚 on January 13, 2009, 01:14:01 AM
Yes.

Re: revision 40: no problems recorded? Did anyone try it at all?

Have not been able to use r40 yet... I will try it after work unless this is changed by then.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on January 13, 2009, 08:01:56 AM
Greetings!

QuoteDid anyone try it at all?
Yes, but you are coding and changing much faster than I can test things ;-)

Environment is a test-setup with a new SMF2b4. Only one small mod installed (edit files manually).

First tested #39
As reported, manual unzip rezip is necessary
Then the packetmanager work without problems.
Add some Videos from different sources.

Notes:
If a video is not free to share on other sites, only the link is displayed.
(For YouTube it shows (External Embedding Disabled) but only if this feature is enabled before the link is posted.)
Both behaviors are intended as far as I know.

If I embed code like <embed src="http://
and use the html-tag to embed it, the video is shown twice.
Without the html-tag warped around the "Fix HTML objects" feature is working well.
Only to drop a note, not really a problem since only admins should (could) use the html-tag.


This morning:
Uninstall #39 with the packet manager, without problems.
New install of #40 directly afterwards.
Have to unzip & rezip (no miracle anymore) and the packet manager works without problems.
Enabled the Aeva again and found my #39 threads working well.
Add some music from lastfm and can't stop my beatific smile.
(http://www.lastfm.de/music/ is working / http://www.lastfm.de/listen/user/ isn't working


TodoA little comment about the [sometag] discussion. (No need to read this)
QuoteI'm still a fan of tags (by force of habit).
While playing around with Aeva a little bit, I try to argue the pro and cons (with myself).
I see the benefits for users if no tag is used.

  • Very easy to add some media even for the noobished posters
  • and the still intact link if somebody decide to uninstall the mod or if your decide to stop supporting this mod without somebody who overtakes it.
On the other hand, the basic (old school) intension of a message board is to post text – plain text.
Then there are basic formatting options to offer the possibility to make the text a little bit more structured.
Any of this formatting possibilities uses a tag to divide "code-text" from "normal-text".
If  I want to have a headline I use [b]bold[/b] or [u]underline[/u] something to point out.
If I want post an url, I expect an url shown in the post.
If I want post a link, I have to warp url-tags around and expect a link shown in the post.
So, everything that isn't plain text should have a tag to make clear "this is code".
(Do not mix it up with "This is Sparta!")  :-X

In my opinion, this is one of the reasons why the YouTube BBCode (http://custom.simplemachines.org/mods/index.php?mod=936) is so popular. It's a question of users who like to have their post in their own hands.
Press a button makes a clear statement: "Now I want to embed something". A [tag] is shown which tells the user: "Here you are, feel free to add something at this place".
A [tag] is something like a "poor mans preview".
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 13, 2009, 08:50:57 AM
@qayyom> What is the list of your installed mods? You say you disabled Aeva but your video is still being embedded... Also, the embedding code has nothing to do with Aeva's.

Quote from: ianus on January 13, 2009, 08:01:56 AM
Yes, but you are coding and changing much faster than I can test things ;-)
Oh, it was a rhethorical question really...

Also, my request for #40 was simply to test the new addition: automatic file updates.
The problem is -- the mod is still being installed as 5.1.36, while the remote file is only for 40 and above, so it's simply rejected by Aeva... (lol)
Of course, this will be fixed as soon as I release an official version with updated changelog etc etc...

QuoteNotes:
If a video is not free to share on other sites, only the link is displayed.
(For YouTube it shows (External Embedding Disabled) but only if this feature is enabled before the link is posted.)
Both behaviors are intended as far as I know.
Yep.
AFAIK, only YouTube has this enabled, though. This could be done for more sites (e.g. Flickr video when I'll add support for it.)

QuoteIf I embed code like <embed src="http://
and use the html-tag to embed it, the video is shown twice.
Code included in [html] tags is protected from being processed by Aeva. If you want to enable processing (which will rewrite the embed code to something Aeva can deal with), you'll have the remove the 'html'-related code in Aeva. I'm not sure why Karl did it that way, but I'm keeping that for now. No big deal.

Regarding rev 39 and 40, if you installed rev 39 before, you don't need to reinstall rev 40 (just copy the modified files -- there aren't a lot).

QuoteI'm still a fan of tags (by force of habit).
While playing around with Aeva a little bit, I try to argue the pro and cons (with myself).
How about arguing about it on the tag poll topic over at noisen? The poll is definitely in need of voters.... ;)

QuoteIn my opinion, this is one of the reasons why the YouTube BBCode (http://custom.simplemachines.org/mods/index.php?mod=936) is so popular.
I don't think it's due to that.

QuoteIt's a question of users who like to have their post in their own hands.
...which they can do easily through Aeva too.
[noembed]videolink[/noembed]

QuotePress a button makes a clear statement: "Now I want to embed something".
I also remember getting complaints from users when a video wouldn't embed automatically because they were so used to it ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on January 13, 2009, 12:20:58 PM
im trying to update it but when i do i get a test failed here

./Sources/Load.php

never had that problem before

also to update a mod do you just download the same mod over the top of it ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 13, 2009, 12:36:37 PM
Please attach your Load.php file here.

To update a mod, uninstall it, download the new version and install it.
New versions of Aeva will send a fatal error anyway if you try to install it over a pre-existing Aeva.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on January 13, 2009, 12:46:53 PM
Quote from: Nao 尚 on January 13, 2009, 12:36:37 PM
Please attach your Load.php file here.

To update a mod, uninstall it, download the new version and install it.
New versions of Aeva will send a fatal error anyway if you try to install it over a pre-existing Aeva.

did the latest version have justin.tv on it is that one of the new places you can place clips from if so i already have it and didnt realise it
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 13, 2009, 01:00:02 PM
I added support for justin.tv a few weeks ago already.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on January 13, 2009, 01:14:24 PM
Quote from: Nao 尚 on January 13, 2009, 01:00:02 PM
I added support for justin.tv a few weeks ago already.

here's my load.php
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 13, 2009, 02:37:04 PM
Quote from: Nao 尚 on January 13, 2009, 01:00:02 PM
I added support for justin.tv a few weeks ago already.
Glad you did, it's being used a lot on my website as it's great source for live tennis matches.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 13, 2009, 05:17:46 PM
Quote from: kingkingston on January 13, 2009, 01:14:24 PM
Quote from: Nao 尚 on January 13, 2009, 01:00:02 PM
I added support for justin.tv a few weeks ago already.

here's my load.php
Try with this one. It has the Aeva code removed from it. You'll probably still get the error message but you can proceed safely.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on January 13, 2009, 05:41:41 PM
Quote from: Nao 尚 on January 13, 2009, 05:17:46 PM
Quote from: kingkingston on January 13, 2009, 01:14:24 PM
Quote from: Nao 尚 on January 13, 2009, 01:00:02 PM
I added support for justin.tv a few weeks ago already.

here's my load.php
Try with this one. It has the Aeva code removed from it. You'll probably still get the error message but you can proceed safely.

thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Qayyom Ashraf on January 14, 2009, 12:34:45 AM
here is my Mod list attached as txt file.

Please check
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 14, 2009, 02:26:35 AM
55 mods? Wow... It's surprising you don't have problems when installing/uninstalling new stuff.

What I'm looking for is a mod that will try to turn your links into embed code. I can't seem to find this in your list. Again, the code in your page does not belong to Aeva. Are you sure you pasted an actual link to the original video? And again-again, can you try to disable Aeva (not uninstall it, just disable it through its Admin area)? Just see if it keeps embedding... If it does, then it really isn't Aeva's fault... Aeva needs to see links in the first place.

Also, and forgive me because I know I'm not in the worse possible position to say this since I'm a co-author... It really hurts my eyes to see SMF Gallery Lite in your list. Please use SMF Media Gallery (check out my signature), it has twice as many features. And there's a converter for SMF Gallery -- you can keep both galleries online at the same time to compare them until you choose to uninstall either of them. It will only take a few minutes of your time ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Qayyom Ashraf on January 14, 2009, 02:41:25 AM
thanks Buddy

it is true that i've disabled AEVA Mod from Admin Panel

I've also offered you my Admin ID to check it out.

- May be during Uninstaltion some related codes were not removed completely / mean Clean Unistallation of AEVA was not done perfectly (but did not show any Error that time)

- I'll Install/ Convert SMF Media Gallery in near future
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 14, 2009, 05:46:15 AM
I don't need your admin password for now... If I were to fix everyone's issues by using ftp/admin every time, no one would learn how to fix their own problems, they'd always rely on me... ;)
In this case, it's not an issue with Aeva. It's a problem with what is already installed on your board. Given the number of mods you have, I'm not surprised at all. You have to find the board that stops Aeva from working correctly.

Your code (with Aeva disabled) says this:

<embed type="application/x-shockwave-flash" src="http://www.youtube.com/v/Suc1P0H-1Lw&rel=1" width="425px" height="350px" wmode="transparent" quality="high" allowFullScreen="true" allowScriptAccess="never" pluginspage="http://www.macromedia.com/go/getflashplayer" /><noembed><object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"  type="application/x-shockwave-flash" data="http://www.youtube.com/v/Suc1P0H-1Lw" width="425px" height="350px"><param name="movie" value="http://www.youtube.com/v/Suc1P0H-1Lw" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="never" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer"></object></noembed><br /><br />

With Aeva enabled, it should say something like this:

<div><embed type="application/x-shockwave-flash" src="http://www.youtube.com/v/Suc1P0H-1Lw&amp;rel=1" width="425px" height="344px" wmode="transparent" quality="high" allowFullScreen="true" allowScriptAccess="never" pluginspage="http://www.macromedia.com/go/getflashplayer" autoplay="false" autostart="false" /><noembed><a href="http://www.youtube.com/v/Suc1P0H-1Lw&amp;rel=1" target="_blank">http://www.youtube.com/v/Suc1P0H-1Lw&amp;rel=1</a></noembed></div>

As you can see -- no relation between the two... Maybe you're using a very old version of Aeva and you forgot to uninstall it, I don't know. That's probably that. You'll have to attach your Subs.php file here for me to see.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Qayyom Ashraf on January 14, 2009, 05:59:26 AM
OK here is my Subs.php, Renamed as Subs.php.txt
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 14, 2009, 06:20:11 AM
Yeah, I was right.

Look at line 2469. You have a whole AEVAC section. It's obviously a version < 3.0 so it's quite old.
The Subs file for AEVAC at that time was called:
Subs-AutoEmbedVideoClips.php
Then it got renamed to Subs-AEVAC.php, then Subs-Aevac.php, then Subs-Aeva.php... Lol.
I didn't even remember it had another name...

Anyway -- early versions are easy to uninstall. In Subs.php, remove lines 2469 to 2494. In Load.php, remove the line that says "$context['disableautoembedvideo'] = 1 ;". Finally, remove the Subs-AutoEmbedVideoClips.php file (you won't need it anymore). That's all...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 14, 2009, 10:25:58 AM
It's been a long time since I first mentioned my desire to add options through an aeva tag...
In the end I decided to drop the idea. Additionally, it was slowing me down -- I knew this tag thing would be a lot of work (several days at least), so I was reluctant to start working on it, especially with the community not being sure about the best solution.

So, a couple of hours ago, I started making some tries with the lookup feature. I added the ability to specify several strings to look up (inside an array of strings), which automatically turns the lookup feature into an "option lookup". Instead of retrieving an updated URL, it will retrieve specific settings for the video.

I'm hereby announcing that I've managed to do my first video embed with a specific width/height lookup using anchors to store the final data :) Yaha!
I didn't choose the easier one, lol. I took a Facebook video. Facebook has custom video dimensions, so I thought it was be a good experience. Unfortunately the freaking website doesn't accept requests from empty user agents, so I had to make one up*, and use ini_set to enable it (which is not so cool, because if your server doesn't support ini_set for user_agent, you won't be able to make a lookup on Facebook).

Anyway-- after a few hours of refining, it finally works! Yaha again.
Now, off to YouTube :) I heard I was supposed to implement something... What was it called already? "Widescreen?" Okay... lol :)

For those interested, my video URL looks like this:
http://www.facebook.com/video/video.php?v=48687475089#w756-h567

Of course, it will work perfectly even if Aeva is uninstalled (no leftover tags). I'll try to refine it so that the options don't show up when Aeva is disabled or uninstalled.

* Opera/9.21 (PHP/SMF/Aeva; U; fr) which means: Aeva from SMF using PHP, French because I'm French et puis voilà, Opera 9.21 because I used that one for months and months and months... If you have a better idea, feel free to suggest it :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 14, 2009, 10:59:59 AM
Great work, looking forward to the YouTube detection! :D

Considering YouTube.com widescreen all their videos, some of us may just want all our videos widescreen as well... would that be a possible option?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 14, 2009, 11:28:55 AM
Nope... Cuz I'm a bastard :D
And what a waste of screenspace!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: micky_2556 on January 14, 2009, 11:34:16 AM
hello

is there any way to embad from my site
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 14, 2009, 11:49:01 AM
That's good news, Nao. I think that's the perfect solution, using arguments on the end of URLs  to give options to AEVA, instead of tags. It saves your brain and our breath. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 14, 2009, 12:39:45 PM
If you want to see how it looks:
http://site.noisen.com/aeva-dev/5060/tests-video-embedding/new/#new
(Sorry, the width isn't large enough to see full videos, lol... Maybe I should add a "max-width" setting to the admin area?)

I've committed revision 41 for all geeks to see. (And revision 42, of course, will be a public release. Can't skip that one, lol!) You know where to download it (SVN server). As usual, unpack and rezip after, before you try to install it.

Changelog:

Remember, this specific version is not for the general public.

+ Added support for per-video non-intrusive settings, including widescreen mode and video dimensions
  for now (Subs-Aeva.php)
+ Added support for arrays of lookup patterns, which allows to set these settings automatically at
  lookup time: YouTube widescreen mode and Facebook video dimensions (Subs-Aeva.php, Subs-Aeva-Sites.php)
* Added a fake user agent when doing lookups, otherwise Facebook would refuse working with us
  (Subs-Aeva.php)
* Try to enable lookups and youtube embedding check by default on first installs, if they can be done
  (Subs-Aeva-Admin.php)
! lookup-enabled variable from Subs-Aeva-Sites.php was never used (Subs-Aeva.php)

!! Known issues !!
- When changing settings in admin area, after saving them you still need to go to the Site list section and hit
  "Save" to update the generated list (sorry about that!)
- Descriptions, as in description (http://videolink), get erased at lookup time
- YouTube videos will always have a "fs" or "ws" (fullscreen/widescreen) setting next to them now -- is this
  the desired behavior?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 14, 2009, 02:01:46 PM
Oh, just to be clear ;) Anyone interested in trying out the new stuff, please test it! I'm planning to release an official version tomorrow, hopefully with all the small issues fixed in the meantime. If you see anything that's not in the known issues list, you know what to do!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: scenerip2k on January 14, 2009, 02:35:24 PM
i installed the mod and when i try to post a link from youtube example:
http://www.youtube.com/watch?v=ZPBvFXf9Q2U

nothing happens, im using smf 2.0 beta 4
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on January 14, 2009, 02:49:44 PM
Quote from: scenerip2k on January 14, 2009, 02:35:24 PM
i installed the mod and when i try to post a link from youtube example:
http://www.youtube.com/watch?v=ZPBvFXf9Q2U

nothing happens, im using smf 2.0 beta 4

What are you using aeva version? if 5.1.x ,
go to admin panel = > modifications and packages => avea and enable aeva.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 14, 2009, 03:09:51 PM
Quote from: Nao 尚 on January 14, 2009, 12:39:45 PMMaybe I should add a "max-width" setting to the admin area?)
Yes please!!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 14, 2009, 03:12:43 PM
QuoteMaybe I should add a "max-width" setting to the admin area?

That sounds like it might be wise. My forum, for instance, is wrapped inside a CMS so I have less width available for the forum than normal. A video that is too wide would get cut off I assume.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 14, 2009, 03:14:23 PM
Quote from: Nao 尚 on January 14, 2009, 12:39:45 PMMaybe I should add a "max-width" setting to the admin area?)

As long as 0 disables it. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 14, 2009, 03:34:15 PM
Quote from: Nao 尚 on January 14, 2009, 02:01:46 PM
Oh, just to be clear ;) Anyone interested in trying out the new stuff, please test it! I'm planning to release an official version tomorrow, hopefully with all the small issues fixed in the meantime. If you see anything that's not in the known issues list, you know what to do!
I would like to test, but I also would like to know what I'm testing for. The link http://site.noisen.com/aeva-dev/5060/tests-video-embedding/msg228115/#msg228115 is basically the same as the original, just without the black top and buttom bar. Is that what the modchanges does?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on January 14, 2009, 04:02:09 PM
Quote from: Nao 尚 on January 14, 2009, 11:28:55 AM
Nope... Cuz I'm a bastard :D
And what a waste of screenspace!

hahaha that's hilarious
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wallac3 on January 14, 2009, 06:41:29 PM
Hi Nao 尚

Guys......I´ve tried everything, believe me, and i cant get it to work.
I did it through the admin panel in the forum.... it uploads, but when i click on Install..it says sth like:  "Sorry sesion expired, couldn´t install" I tried the two versions you have there, n nothing .

Then I did it manually, very carefully modified the code and it didnt work either.

PLease help me, actually if i can get youtube videos (at least) to work in my forum, i´ll be more than happy.

(i m using smf 1.1.7)

thanks a lot and regards from Colombia !
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: scenerip2k on January 14, 2009, 09:00:53 PM
Quote from: Özgür | ЯocKayseri on January 14, 2009, 02:49:44 PM
Quote from: scenerip2k on January 14, 2009, 02:35:24 PM
i installed the mod and when i try to post a link from youtube example:
http://www.youtube.com/watch?v=ZPBvFXf9Q2U

nothing happens, im using smf 2.0 beta 4

What are you using aeva version? if 5.1.x ,
go to admin panel = > modifications and packages => avea and enable aeva.

thanks a lot boss, works great now!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 15, 2009, 02:11:47 AM
@mark & Eliana> Okay. I'll try to remember implementing that.

@wallac3> it's a SMF issue, not an Aeva issue...

Quote from: akyhne on January 14, 2009, 03:34:15 PM
I would like to test, but I also would like to know what I'm testing for. The link http://aeva.noisen.com/dev/5060/tests-video-embedding/msg228115/#msg228115 is basically the same as the original, just without the black top and buttom bar. Is that what the modchanges does?
...............................

What else did you expect? Yes it's the same as the original, but with a larger width, so that it doesn't show black bars. You can also disable this manually per-video by replacing "ws" with "fs" in the resulting URL.

The mod change does a lot of things. This is only the very visible part. Read the changelog...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 15, 2009, 02:51:27 AM
Regarding max-width...
I would like to point out that I applied it to my website without any changes to Aeva.
Open style.css
Add the end, add this:
embed { max-width: 600px }
As you can see on my test topic, it works just fine...

Should I still proceed and implement it?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 15, 2009, 07:06:13 AM
I found an error in version 40. I tried to post this message:

It's very simple to insert an Youtube video in any post on xxx.

Just visit [url=http://www.youtube.com]Youtubes homepage[/url] and copy the address. Then just paste the link into your post.

Ex:
[code]

http://www.youtube.com/watch?v=zlfKdbWwruY



Result:
http://www.youtube.com/watch?v=zlfKdbWwruY (http://www.youtube.com/watch?v=zlfKdbWwruY)[/code]

The strange thing is that preview of the message works ok, but the result looks like this:

It's very simple to insert an Youtube video in any post on xxx.

Just visit [url=http://www.youtube.com/watch?v=zlfKdbWwruY]http://www.youtube.com/watch?v=zlfKdbWwruY[/url]


Edit: Hmm, SMF screws up my code. See the attached file for the code I tried to post
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 15, 2009, 08:12:43 AM
Thanks, it's related to the 3rd known issue in the latest changelog actually ;)
I'll start working on fixing this ASAP...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 15, 2009, 08:42:07 AM
The code seems to work on in AEVAC 3.

Another issue: The video http://www.youtube.com/watch?v=zlfKdbWwruY which was used in my post seems to be embedded in LQ in rev. 40. But other videos I tried, seems to be embedded in HQ as they should. It's a brand new SMF 2.0 beta 4 forum with no mods except AEVA rev. 40 (and soon SMG)

And the video also embed in HQ in my own modded version of AEVAC 3
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 15, 2009, 10:01:25 AM
Quote from: akyhne on January 15, 2009, 08:42:07 AM
The code seems to work on in AEVAC 3.
Well of course it does...
What you pointed out is a bug that I mentioned in my "known issues", as I said.
It WILL be fixed, and I won't release v42 before it's fixed, of course.

QuoteAnother issue: The video http://www.youtube.com/watch?v=zlfKdbWwruY which was used in my post seems to be embedded in LQ in rev. 40. But other videos I tried, seems to be embedded in HQ as they should. It's a brand new SMF 2.0 beta 4 forum with no mods except AEVA rev. 40 (and soon SMG)
The problem with Where the hell is Matt, is that it has lots of versions available on YouTube, so I'm kinda lost... ;) This version here has a LQ and a HD (please note: HD, not HQ!) version. Usually they have either LQ or HQ.
Try removing the "isHDAvailable" mention in Subs-Aeva-Generated-Sites.php, and re-type the URL in your post. Tell me if it works ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 15, 2009, 11:50:14 AM
Quote from: Nao 尚 on January 15, 2009, 10:01:25 AM
The problem with Where the hell is Matt, is that it has lots of versions available on YouTube, so I'm kinda lost... ;) This version here has a LQ and a HD (please note: HD, not HQ!) version. Usually they have either LQ or HQ.
Try removing the "isHDAvailable" mention in Subs-Aeva-Generated-Sites.php, and re-type the URL in your post. Tell me if it works ;)

I will try that, but the actually same link work with hq in my modded AEVAC3.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 15, 2009, 11:56:10 AM
Quote from: akyhne on January 15, 2009, 07:06:13 AM
I found an error in version 40.
I lost some time uselessly, trying to find out what extra code I had added that triggered the error...
Actually, I just found out that it was in a pre-existing function (the one that checks whether YT videos can be embedded!)
Shouldn't be long before it's fixed, now...

I'm a bit surprised the error didn't show up in previous versions.
Could anyone try to copy Akyhne's code.txt contents into a post on their board with an official release installed? (Any release will do.) Just out of curiosity.

As for HQ, I'm afraid I don't have any problem on my own website with the Matt video...?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 15, 2009, 12:12:43 PM
It's the same issue in SMF 1.1.7 with rev. 25 and rev. 36, so I guess the error was always there.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 15, 2009, 12:36:27 PM
Phew...Fixed!!

http://aeva.noisen.com/dev/5060/tests-video-embedding/msg228125/#msg228125

It was all about adding an extra slash in the youtube pattern... lol. It's always the same-- you spend hours on a bug, and then it only takes a single character to fix them.

Just so you know-- search Subs-Aeva.php and Subs-Aeva-Sites.php for "youtube\.com" and replace with "youtube\.com/"... And it's gone away!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 15, 2009, 01:09:40 PM
Yeah it works in rev. 39. Rev. 40 though doesn't work with SMF 1.1.7. Hang on...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 15, 2009, 01:13:01 PM
When installing rev. 40 in two different SMF 1.1.7 forums, I get the same error:

Table 'xxx_smf_translation.smf_log_packages' doesn't exist
Fil: /home/www/xxx.yyy.dk/Sources/Subs-Aeva-Admin.php
Linie: 92

I don't get the same error with rev. 25 and rev. 39 in the same forums.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 15, 2009, 01:17:00 PM
Seems prefix_log_packages table isn't part of SMF 1.1.x. I can't find it in 3 different 1.1.7 forums.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 15, 2009, 01:50:27 PM
Hmm... I was hoping to use it to retrieve the current version of Aeva.
I guess I'll have to make my own variable :)

Edit -- Nah... Good news: there's a ready-made function in both SMF1 and SMF2 that retrieves a package's installed state. Exactly what I needed. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on January 15, 2009, 03:51:16 PM
Greetings!

The ability to set Max-width is a nice idea. If this setting could be done via css, it will fit my needs. But for an "normal" user who don't want do edit files manually, a setting inside the admin menu will prevent a lot of questions.

For akyhne posts and links.
His first one (with attached code.txt)
http://www.simplemachines.org/community/index.php?topic=200401.msg1879312#msg1879312
First test-post only with the given youtube link, second test-post with the contend of the code.txt. Both times the video is shown (as normal video screen not with hq or something).
(SMF 2b4, Aeva#40, no other mods – test-board only will be deleted: akyhne links (http://resmedia.info/smf2/index.php?topic=8.0))

Just decided to vote for an [aeva-sometag] and noticed that you seem to miss some patience with your polls.
;-)
I think, we will see if your decision is save for the future and can resist Mr.&Mrs. Stupid.
Your decision and I respect it.
Personally I believe that it's more easy to use a [tag], maybe not easy to code but easy to explain.
"If you want to add something to a post, you have to add a [tag] around".
Expect a link if you give an url, expect a named link if you use [url=http]named[/url].
Expect a link if you give a videosource, expect a embed player if you use [nao=http]videosource[/nao].
That's the way a message board works.
Your way is easy to use but uncommon (which is not bad, maybe visionary, but must be explained because only a few people know that there is something like [noembed].

Kind regards
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JimM on January 15, 2009, 04:02:31 PM
Quote from: akyhne on January 15, 2009, 01:17:00 PM
Seems prefix_log_packages table isn't part of SMF 1.1.x. I can't find it in 3 different 1.1.7 forums.

You are correct.  This table does not exist in SMF 1.1.x, but does in 2.0.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 15, 2009, 04:25:48 PM
My last update for today...

- I just finished integrating the "noexternalembedding" setting into the new option system. As a result, all of the YouTube-specific code in Subs-Aeva.php is gone. The aeva_youtube setting in the admin area is gone, too. I figured that if you're enabling the YouTube external embedding tests, you will enable all lookups anyway... Right?

- The noexternalembed code is now universal. Meaning, I should be able to add it for sites other than YouTube. Apart from Flickr Video, do you know of any site that allows video uploaders to enable/disable external embedding? Can anyone point me to a Flickr video that actually disallows embedding? (So that I can add support for it...)

- And, yes, Flickr Video is now supported.

- I fixed the package version code not being compatible with SMF 1.x. It should work fine, now, and it's shorter.

- As I mentioned above, the youtube homepage link bug is now solved.
- Related bug: sometimes (and that was way before I took over), link descriptions would be erased. They are now correctly kept (hopefully). Which means you should see them again if you disable Aeva.

- I'd like to take the opportunity to ask: should I "cancel" video embedding when it's given though a descriptive link? e.g. Where the hell is Matt? (http://www.youtube.com/watch?v=zlfKdbWwruY) -> should I embed the video and make the text invisible, or embed the video and show the description below it, or not embed the video at all? Should I make it an admin setting?

@ianus> I'm not sure yet about max-width... I'll have to think about it. Won't be in the next release because I'm already adding enough new stuff as I am ;)
>as you can see, akyhne's code doesn't work on your board (the first part of his post is deleted). This is fixed in my local code.
>aeva tag: yeah, I know you're the main aeva tag fan :) Thanks. However, the tag's purpose was to be able to add settings, and that's all. Fact is, Karl already had a solution going on, the #noexternalembed thing, and I decided it would be best to be retro-compatible with earlier Aevac versions. The only way to do it is to keep the same system and put settings into the anchor. The result is very interesting, though. I'm quite surprised that I managed to pull it off in less than a couple of days (along with the rest of my recent changes).

Yeah, been busy!
Now if you could all download the new version when it's released... lol :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 15, 2009, 10:38:33 PM
Nao,

Simply unbelievable. Fantastic work. Thank you very much!

Quote- I'd like to take the opportunity to ask: should I "cancel" video embedding when it's given though a descriptive link? e.g. Where the hell is Matt? -> should I embed the video and make the text invisible, or embed the video and show the description below it, or not embed the video at all? Should I make it an admin setting?

I vote for embedding the video with the description text below it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on January 16, 2009, 01:39:28 AM
Greetings!

I like to second weightman s post. You are doing a outstanding job.

Then.
Quote from: Nao 尚 on January 15, 2009, 02:51:27 AM
Regarding max-width...
I would like to point out that I applied it to my website without any changes to Aeva.
Open style.css
Add the end, add this:
embed { max-width: 600px }
As you can see on my test topic, it works just fine...

Should I still proceed and implement it?
I gave you only an quick answer. No need to hurry or to add this at all.

Have a nice weekend.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 16, 2009, 09:11:47 AM
One of my other challenges, hmm hmm...
My own concept of lookup fixes for videos that don't have the actual video ID in the URL, is to put the actual video ID in the anchor, such as: http://originavideosite.com/fakevideo/af7bc680/#correctID123456789
The cool thing in this, is that it allows you to keep visiting the video link, and you get to have the correct ID to embed it.
But -- most of Karl's lookup-based video sites don't work that way, unfortunately. He only checks for a modified correct ID video link (http://originalvideosite.com/correctlink.swf?id=123456789), and if it's not there, it just won't embed, until you edit the post to "fix" the original link.

My question would then have to be... Should I:
- leave it the way it is and learn to deal with it (older videos won't be able to follow their associated links, such as BBC News videos)
- add a few "new" site arrays to the database, fixing the most important sites, such as BBC News (BBC News would then have two site arrays... "BBC News (old)" and "BBC News (new)"...)
- replace progressively all site arrays in the database with the new system

Whaddayathink?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 16, 2009, 12:07:40 PM
Quote from: Nao 尚 on January 16, 2009, 09:11:47 AM
- add a few "new" site arrays to the database, fixing the most important sites, such as BBC News (BBC News would then have two site arrays... "BBC News (old)" and "BBC News (new)"...)
Either do that or somehow come up with a script that finds all the XML based links and figures out the standard URL to that video and replaces it. No idea if that is possible.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 16, 2009, 12:32:39 PM
Hmm... No, not possible.
Interestingly, although XML files can't be turned into STM files for BBC News, the other way around is possible -- what I mean is, lookups were only used to find out whether there were videos in the page in the first place. There was no need for retrieving the actual URL, which could be computed with an extra line. Karl's solution is okay (saves the cost of computing etc.), but it prevents us from getting clickable URLs. I don't know what would be best.
It's always a bit hard to maintain compatibility with previously posted links ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 16, 2009, 01:33:26 PM
Converter time? Or perhaps just accept that old links will remain old, and new links will have the newer features? There's something to be said for the cost outweighing the benefit, and if the cost of making a converter script or maintaining an older method does indeed outweigh the benefit, then don't do it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 16, 2009, 01:42:47 PM
Nao: A converter script should be possible as the XML pages contain the original URL:

<link rel="alternate" href="http://news.bbc.co.uk/sport1/hi/tennis/7832696.stm"/>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 16, 2009, 01:49:35 PM
Mark, that's cool, but that still won't show the old links... You'll have to edit all posts manually to run a lookup. And it still forces me to do an extra entry for BBC News.

Well, I'm putting the finishing touches to the admin area (buggy saving, etc.), then I'll be able to release a public version... I don't know if I'll have time to do it before tomorrow. Fingers crossed. Today was a "day without". Didn't do much I'm afraid... >_<
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 16, 2009, 01:58:18 PM
I know it might require a lot of time but I don't see why technically you cannot create a separate script that searches for XML links in the database, follows each of those links, grabs the alternative URL and replaces the XML with the alternative (correct) link.

Totally understand if you do not consider worth your while but to my mind, it seems possible.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 16, 2009, 02:33:45 PM
Oh... An external script... Right... Well I dunno... Maybe one day.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 16, 2009, 02:51:11 PM
Okay, here we go... Fellow beta testers, please... beta test! ;)
The usual SVN address. Unpack, repack, upload to package manager and install.

! Site list wasn't saving correctly when changing settings in admin area
- Removed YouTube external embedding test, as it is now a regular lookup check
! Replaced "#fs" for 4/3 YouTube videos with a simple "#" (to denote lookup doesn't need to be launched again)
+ Added support for Flickr Video (requires lookups), along with custom width/height
! Package version test wasn't compatible with SMF 1.x (Subs-Aeva-Admin.php)
! Fixed a bug where putting a link to the YouTube homepage might break the page contents
! Fixed link descriptions getting erased when a lookup was required
! JujuNation had lookups enabled while they weren't needed
@ Tentative public release 5.1.42 (will just need to update the changelog and quickly test it)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 16, 2009, 03:07:20 PM
Is Aeva automatically detecting widescreen yet? And is there max-width?

I haven't upgraded for a while, just waiting for a few things.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 16, 2009, 03:50:35 PM
Quote from: mark7144 on January 16, 2009, 03:07:20 PM
Is Aeva automatically detecting widescreen yet?
Yes.

QuoteAnd is there max-width?
No. As I said earlier -- css is the best solution because you can put several max-widths according to the container/parent div.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 16, 2009, 04:28:45 PM
One of the things to test for-- the site list! Please make sure the admin area tells you it updated it. It should only do the check once a day. Normally, it will do it as soon as you install v42 and go to the admin area.
Also make sure it doesn't ask you to update Aeva itself. (It should do it as soon as I release a new update after v42.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: unformatted_ on January 16, 2009, 06:15:00 PM
Hi!

I've just installed this mod on smf 1.1.6 and i'm lving it.
I'm using for player mp3 files.
It's possible to change de mp3 player (swf) to something much bigger and more pretty? And where is the .swf player?

thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nibogo on January 16, 2009, 07:13:29 PM
Nao can you give us a little idea of how to add our SMG sites to the aeva sites , I try but I dont know how to get the embed-pattern??

'id' => 'mse',
        'title' => 'Galeria MUNDO-SE',
        'website' => 'http://www.mundo-se.com',
        'type' => 'video',
        'plugin' => 'flash',
        'embed-enabled' => true,
        'embed-movie' => 'http://www.mundo-se.com/index.php?action=mgallery;sa=item;id=$2',
        'embed-width' => '450',
        'embed-height' => '372',
        'embed-nolink' => false,
        'fix-html-pattern' => '<embed src="$1" width="720" height="522" type="video/x-ms-wmv" controller="true" autoplay="false" loop="false" />',
        'fix-html-url' => 'http://www.mundo-se.com/index.php?action=mgallery;sa=item;id=$2',


I know of I can use the SMG BBCODE , but the AEVA Style is so cool :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 16, 2009, 07:21:33 PM
Quote from: Nao 尚 on January 16, 2009, 03:50:35 PM
because you can put several max-widths according to the container/parent div.
Can you explain in a little more detail? Why would you have "several" when you can just use a percentage as the value making it appropriate for all containers.

Also, I thought max-width didn't work for IE6 and below which is pretty bad!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Succubus Evaligan on January 16, 2009, 08:50:50 PM
I have a liitle problem using Simple Portal with the AEVA mod 5.36 and the SMF Media Gallery 1.5.2... :'(
I update both and all works fine until... I try to add a new album... after many test I see some relation conflict between mods.

I test in a Fresh Install 1.1.7 Only with 3 mods installed.
Quote
Browse Packages
Modification Packages
   Mod Name    Version    
1.    SimplePortal    2.1.1    [ Uninstall ] [ List Files ] [ Delete ]
2.    SMF Media Gallery    1.5.2    [ Uninstall ] [ List Files ] [ Delete ]
3.    Aeva ~ Auto-Embed Video & Audio    5.1.36    [ Uninstall ] [ List Files ] [ Delete ]
When I go to add a new album I get this error...
Quote
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 393216 bytes) in C:\AppServ\www\smf\Sources\Load.php(1744) : eval()'d code on line 719
Why I get this error?
If I uninstall AEVA 5.1.36 I can add again new albums... but I don't want uninstall AEVA because I love this mod and I use both the gallery and the aeva in my site.

Also If I try to delete an album....  get this error too...
Quote
Fatal error: require_once() [function.require]: Failed opening required '/Subs-Package.php' (include_path='.;C:\php5\pear') in C:\AppServ\www\smf\Sources\MGallery-Admin.php on line 607
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: DEK24 on January 17, 2009, 01:58:36 AM
Does Aeva have conflicts with simple portal?

Because my aeva hasn't been working properly. Facebook and ESPN videos that used to work aren't working anymore.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 17, 2009, 03:21:40 AM
Okay, did anyone test v5.1.42 here? Hello?

@dek24> URL? And what version of Aeva is this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: unformatted_ on January 17, 2009, 03:53:44 AM
How can I change the width / height of the local mp3 player?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 17, 2009, 06:04:48 AM
Follow the instructions of the Subs-Aeva-Custom-Example.php file and put this at the end of your Subs-Aeva-Custom.php file (before the "?>", of course):

foreach ($sites as $si => $te)
if ($te['id'] == 'local_mp3')
$sites[$si]['embed-width'] = '300';


This is untested, but it should work... Just save, go to Aeva admin, save the site list and it should work.
You can also change the mp3 player's url that way (good luck though, it's harder than simply changing the width!)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 17, 2009, 06:13:36 AM
@Nigobo> This should be in the Aeva boards, not here (quick fixes etc.)

@mark> Percentage width? Brr... I try to avoid these as much as I can. What should it say? "100%"? As for IE6, yeah. But do you really think that IE6 users care about videos that they can't see entirely etc? Try to browse the web with IE6, it's become harder and harder to find a site that's 100% compatible. These users barely know what a "website" is. Otherwise they'd have switched to a better browser long ago. (And I'm not talking about IE7, lol.)

@Succubus> This is a SMG issue, not an Aeva issue... Shouldn't this be on the SMG topic? Is your SMF correctly installed anyway? Do you have Safe Mode disabled? (As it should be for best behavior?)
I never tried any Portal software so I wouldn't know if it's related, btw... I don't like the very concept of portals. (Not as long as they're going to be about blocks, blocks and blocks.)

@Everyone> Ah, I guess the fact that no one tried v42 means that you all trust it'll work flawlessly out of the box? ::) Okay then, I'll release it... With prior testing. We're gonna have fun lol!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 17, 2009, 06:46:14 AM
Quote from: Nao 尚 on January 17, 2009, 06:13:36 AM
@mark> Percentage width? Brr... I try to avoid these as much as I can. What should it say? "100%"? As for IE6, yeah. But do you really think that IE6 users care about videos that they can't see entirely etc? Try to browse the web with IE6, it's become harder and harder to find a site that's 100% compatible. These users barely know what a "website" is. Otherwise they'd have switched to a better browser long ago. (And I'm not talking about IE7, lol.)
The problem is there are many people who still use IE6 and those people will consider a website to be unprofessional if the videos get cut in half. If you are not bothered then fine... it's only an issue on one of my SSI pages but I can force the videos to be standard format for that page.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 17, 2009, 06:48:54 AM
I did try rev 42, but I got some errors in the log. Unfortunately I deleted them
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 17, 2009, 06:52:25 AM
I get these two errors when saving the AEVA sitelist (SMF 2 Beta 4)

xxx/index.php?action=admin;area=modsettings;sa=aevasites;save 
8: Undefined variable: config_vars
Fil: /xxx/Sources/Subs-Aeva-Admin.php
Linie: 287 

xxx/index.php?action=admin;area=modsettings;sa=aevasites;save 
2: Invalid argument supplied for foreach()
Fil: /xxx/Sources/ManageServer.php
Linie: 1759
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 17, 2009, 06:58:34 AM
@mark> I'll have to think about it later. For now, I'd just like to be done with the new release ;)

@akyhne> (Edit) yes, this is the error I fixed about 10 minutes ago. The unfixed v5.1.42 was downloaded by 3 users. If you're one of the lucky guys, please redownload the package, and simply copy the updated Subs-Aeva-Admin.php file to your Sources folder :) (no need to reinstall)

@Everyone>

Auto-Embed Video & Audio (Aeva) v5.1.42
+ Added automatic sitelist updates, when you visit the Aeva admin area (once a day at most)
+ Added automatic new version checks (you'll still have to download them yourself, though)
+ Added support for per-video non-intrusive settings, including widescreen mode and width/height
+ Added support for arrays of lookup patterns, which enables setting these
  automatically at lookup time: YouTube widescreen mode and Facebook video dimensions
* Moved site list creation help comments from Subs-Aeva-Sites.php to Subs-Aeva-Custom-Example.php,
  where it fits best, and added help on adding custom settings at the end of the file
* Split Aeva admin page into two separate pages (Settings and Site List),
  to allow for more breathing space in both sections
* Added a fake user agent when doing lookups, otherwise Facebook wouldn't work
* Try to enable lookups by default on first installs, if available
! lookup-enabled variable from Subs-Aeva-Sites.php was never used
- Removed YouTube external embedding test, as it is now a regular lookup check
+ Added support for Flickr Video (requires lookups), along with custom width/height
! Fixed a bug where putting a link to the YouTube homepage might break the page contents
! Fixed link descriptions getting erased when a lookup was required
* Cleaned up much more code than usual, fixed minor issues, etc...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 17, 2009, 07:03:22 AM
"No need to reinstall"??

Well package 36 to 42 all says version 36. I really didn't add a lot of videos, so I will just reinstall AEVA with the new one.

Only manual change I did was to chang edimensions of Youtube videos.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 17, 2009, 07:26:41 AM
Quote from: akyhne on January 17, 2009, 07:03:22 AM
"No need to reinstall"??
No need to reinstall if you're one of the 3 users who downloaded and installed v5.1.42 from the mod site before I uploaded the fixed version.

QuoteWell package 36 to 42 all says version 36.
? Then you didn't install v5.1.42... Since it updates the version number... I think you didn't install rev42 either because it really had the updated version number. Oh, who cares anyway.

QuoteI really didn't add a lot of videos, so I will just reinstall AEVA with the new one.
? What do you mean?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mraza on January 17, 2009, 07:41:31 AM
i am really big fan of yours for this mod.. i am just making a local website with smf1.1.7 forum and some custom theme... i love this mod when i tried it. congratulation for this mod. i have 2 questions i hope you can give me any answer.. is it possible that if i will link a video for example to youtube so if it will play in my web but is not clickable i mean if i will put put my mouse over it will not show any hyperlink and the other thing is i know one very best of playing movies and dramas etc site but i think its not possible to link to there videos have a look on this site and tell me your suggestions please. the site is www.ninjavideo.net.. and again thank you very much for your great work...keep it up  ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 17, 2009, 07:42:54 AM
Sorry, my mistake. Unreleashed rev 42 says 42. But the previous version just said 36.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 17, 2009, 08:44:52 AM
Quote from: Nao 尚 on January 17, 2009, 06:58:34 AM
@akyhne> (Edit) yes, this is the error I fixed about 10 minutes ago. The unfixed v5.1.42 was downloaded by 3 users. If you're one of the lucky guys, please redownload the package, and simply copy the updated Subs-Aeva-Admin.php file to your Sources folder :) (no need to reinstall)

Hmm, no the error is still there... clean install (SMF 2.0 Beta 4) of the new package from the official mod site.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 17, 2009, 08:53:38 AM
SMF 1.1.7:

I get this error 3 times when saving AEVA settings:

http://xxx/index.php?action=featuresettings;sa=aeva 
8: Uninitialized string offset: 1
Fil: /xxx/Sources/Subs-Aeva-Admin.php
Linie: 567

Also when saving the embed list I get these errors:

http://xxx/index.php?action=featuresettings2;save;sa=aevasites 
8: Undefined variable: setArray
Fil: /xxx/Sources/ManageServer.php
Linie: 489


http://xxx/index.php?action=featuresettings2;save;sa=aevasites 
2: Invalid argument supplied for foreach()
Fil: /xxx/Sources/ManageServer.php
Linie: 461

http://xxx/index.php?action=featuresettings2;save;sa=aevasites 
8: Undefined variable: config_vars
Fil: /xxx/Sources/Subs-Aeva-Admin.php
Linie: 287


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 17, 2009, 08:56:50 AM
@akyhne> My mistake, too ;) I had re-uploaded the file, but it was the unmodified version, lol...

So, please everyone who downloaded v5.1.42 until now (12 users): just re-download the package and extract the Subs-Aeva-Admin.php file to your Sources folder. You don't need to reinstall it (unless you're not confident in using FTP and such.)

@mraza> I didn't understand a single word of your request, sorry...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 17, 2009, 09:00:24 AM
Lol, that's the second time today you're posting while I'm posting ;)

Quote from: akyhne on January 17, 2009, 08:53:38 AM
SMF 1.1.7:

I get this error 3 times when saving AEVA settings:

http://xxx/index.php?action=featuresettings;sa=aeva 
8: Uninitialized string offset: 1
Fil: /xxx/Sources/Subs-Aeva-Admin.php
Linie: 567
I think this error (which I never had) should also be fixed with the silent update...

Really, it was all about the fact that in the site list, Aeva attempted to return an array of SMF variables for SMF to deal it, while the only SMF variables are in the settings tab, not in the site list. So it returned a non-existent array (hence, an empty variable, not an array per-se), which caused a few errors afterwards.
Splitting the two settings sections into two different tabs proved to be a lot more complicated than I first hoped for, really. But now it should be working fine, and as a bonus you get to load the settings tab much faster than before. (Which is the first reason why I split the sections in the first place.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 17, 2009, 09:14:11 AM
The Subs-Aeva-Admin.php from the official mod site is stamped today 12:52. It still has the same error in 2.0 beta 4...

Edit: Hmmm, after uninstalling completely and reuploading the newest package, the error finally seems to have gone (SMF2.0 B4)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 17, 2009, 09:17:22 AM
I still get these errors:

8: Undefined variable: setArray
File: /home/xxxxxx/public_html/smf/Sources/ManageServer.php
Line: 489

8: Uninitialized string offset: 1
File: /home/xxxxxx/public_html/smf/Sources/Subs-Aeva-Admin.php
Line: 567

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 17, 2009, 09:17:54 AM
SMF 1.1.7 - clean new install of AEVA rev. 42:

Still get the error 3 times when saving AEVA settings:

http://xxx/index.php?action=featuresettings;sa=aeva 
8: Uninitialized string offset: 1
Fil: /xxx/Sources/Subs-Aeva-Admin.php
Linie: 567


When saving playlist:
http://xxx/index.php?action=featuresettings2;save;sa=aevasites 
8: Undefined variable: setArray
Fil: /xxx/Sources/ManageServer.php
Linie: 489

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mraza on January 17, 2009, 09:20:51 AM
Quote from: Nao 尚 on January 17, 2009, 08:56:50 AM

@mraza> I didn't understand a single word of your request, sorry...

Lolz ... sorry for bad explaination... i have 2 things to ask.

1st. when i will make a link of any youtube video on my site. it will show there and i can play in my web. and if i will click on the video it will take me to the youtube website where the originally video is and will play there. is it possible to get rid of it i mean not clickable links.

2nd. can you make this mod compatible with ninjavideo.net ...

thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 17, 2009, 09:32:06 AM
I also tried to find a widescreen video to test. Don't know if this is one but it is getting squished upon embedding:

http://www.youtube.com/watch?v=kd_zkTD64MI#ws&feature=dir

I did add this line to the css but it made no change:

embed { max-width: 600px }
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 17, 2009, 09:58:11 AM
@weightman> "this video is not available in your country". Also, you had the "&feature=dir" thingie in the URL. It's probably what made your video fail? Although I don't understand what your problem was. Anyway-- I didn't consider the "&" stuff... I've fixed it in the new update (see below as well). HOPEFULLY it should be working without issues. Just make sure your video works fine now.

@akyhne & weightman> I think these are SMF 1.x specific bugs...

Open Subs-Aeva-Admin.php

Go to line 567

Replace with:

if (isset($a['subtext']) && isset($a[1]) && isset($txt[$a[1]]))

Should fix the offset 1 error.

A few lines earlier, replace

saveDBSettings($config_vars);

With

if (!empty($config_vars))
saveDBSettings($config_vars);


Hopefully, it should fix the other bug...

Please confirm :)
I've also reuploaded (again!) the fixed 5.1.42 package, if you don't want to do the edits. Just get the updated files from it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 17, 2009, 10:39:51 AM
I just returned to the forum and now gets this error on all pages:
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /xxx/cache/data_e293056650bb63b4800f4d1861518512-SMF-modSettings.php

Parse error: syntax error, unexpected ':' in /xxx/cache/data_e293056650bb63b4800f4d1861518512-SMF-modSettings.php on line 1

How do I get my forum back?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 17, 2009, 11:04:00 AM
Solved it by deleting the cached files.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on January 17, 2009, 11:41:40 AM
Thanks for the update!  Works for me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ed Jorge on January 17, 2009, 11:50:56 AM
I tried manually to install it since I cant load mods in 1.1.7 due to session thing. When I try to run the install.php it says its already installed. What have I done wrong? Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mraza on January 17, 2009, 12:05:23 PM
Quote from: Ed Jorge on January 17, 2009, 11:50:56 AM
I tried manually to install it since I cant load mods in 1.1.7 due to session thing. When I try to run the install.php it says its already installed. What have I done wrong? Thanks

check in your package manager if it already exist there remove it and try again..
and Nao i don't know if it was good to do i was not able to install this mod in the begining then i just remove from a file package-info.xml where it says "install for= "and some versions here" & uninstall for="some version here" ...i just removed the version detail and it installed perfectly and working fine on my 1.7.7 version of smf

and Nao did you check my post above please if u can give any answer about that...thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ed Jorge on January 17, 2009, 12:11:57 PM
I tried that, thanks. Does it matter where I put the install.php....i ran it from my root forum folder? Thanks for the help.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 17, 2009, 12:21:36 PM
@Ed> root folder is the place to go, normally. I never tried the manual install for that file though... You're talking about aeva_install.php, right? Not install.php...

@mzara> site requests are to be made on my website. As for your other question, no, it's not possible... The YouTube player is owned by YouTube and they build it as they like. I personally like how it stops the video and redirects to the original page when you click on it. It feels natural to me.

@Everyone else> So... I'm a little lost on all the issues that have been posted/fixed in the last couple of hours... Is everything okay for everyone then? No more problems? No more errors in the log? :) I've been trying to release v5.1.42 ASAP so I could have at least a day off for family stuff this weekend. I'd love to make sure I won't need to work on Aeva tomorrow. I'll go back on it monday, implement some minor improvements, work on improving support for some sites, etc... And will release v5.2.x to reflect all of the changes made in the last version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 17, 2009, 12:29:35 PM
With newest fixed version, I still get this error in log, but not the other one:

8: Uninitialized string offset: 1
File: /home/xxxxxx/public_html/smf/Sources/Subs-Aeva-Admin.php
Line: 567

And, removing the "&feature=dir" from the widescreen video link did make it display wide screen and it did in fact respect the max-width I set in the css. Rockin! But, I guess I found a bug then for links from the featured videos section on youtube and maybe other & links...

Great work Nao!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 17, 2009, 01:00:49 PM
I'm sure everyone can live with a few errors in the log for a few days :)

Take a break tomorrow. You did a huge job.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 17, 2009, 01:27:32 PM
@akyhne> you.... you mean you still have the error? :-/

Quote from: weightman on January 17, 2009, 12:29:35 PM
With newest fixed version, I still get this error in log, but not the other one:

8: Uninitialized string offset: 1
File: /home/xxxxxx/public_html/smf/Sources/Subs-Aeva-Admin.php
Line: 567
The $a[1] line (which triggered the error) is at line 569 in the newest version. Can you confirm this is also the case for you?

QuoteAnd, removing the "&feature=dir" from the widescreen video link did make it display wide screen and it did in fact respect the max-width I set in the css. Rockin!
Leaving the &feature=dir part also works fine in the fixed version... (latest files are dated from 15:52)

QuoteBut, I guess I found a bug then for links from the featured videos section on youtube and maybe other & links...
That's why I needed to fix it ASAP. The & part is always added when you browse from video to video in YouTube. ie, there's a large chance you'll be posting a link with it... Hopefully it won't break any other site. (This is only for sites that require a lookup.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 17, 2009, 01:33:31 PM
No errors in SMF 2. I didn't have time to test your suggestion in 1.1.7
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 17, 2009, 01:38:31 PM
Uh... I fired up my leftover copy of SMF 1.1.7 and installed 5.1.42 on it...
I'm not getting any error in the log. So that's the good point.
The bad point is, I don't know why, but the lookup feature for YT isn't working... I'm surprised because it doesn't seem to be a problem for other 1.1.7 users. I'll look into it (again).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 17, 2009, 01:43:32 PM
Nao, this is line 569 from Subs-Aeva-Admin:

if (isset($a['subtext']) && isset($a[1]) && isset($txt[$a[1]]))

The error is triggered upon saving the site list, which we have to do upon install, correct?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 17, 2009, 01:48:07 PM
The errors occur to me in two quite different 1.1.7 forums on two quite different servers. One in DK and one in the US. Both forums are running Danish UTF-8. Just if it helps you anything.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 17, 2009, 01:48:53 PM
OK, I forgot that once lookups are enabled, I have to save the site list again ;)

I obviously failed in enabling lookups by default when they're supported. It'll be what I work on in the next version, I guess...

@weightman> Yes. But the error is no longer triggered. It first tests whether $a has something at index 1, so it can't say "undefined index: 1"...

@akyhne> what error? And did you update your language files?

(wow, I have the same digits in my number of posts, as in the current version ;))
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 17, 2009, 01:53:31 PM
Nao,

I saved the site list again and do not get the error. And, I confirmed the & links do work with newest version.

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 17, 2009, 02:24:43 PM
Quote from: Nao 尚 on January 17, 2009, 01:48:53 PM
(wow, I have the same digits in my number of posts, as in the current version ;))

Yes, but in the wrong order. ;)

As a note: Nao尚's postcount was 1542 at the quoted post.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 17, 2009, 02:26:23 PM
In case anyone is using the pdf tag mod, make sure your width for pdf embeds doesn't exceed the max-width in your css or else Adobe Acrobat will fail to launch in firefox.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Andree on January 17, 2009, 02:43:54 PM
a strange request (in log file):
9*.*0.91.142 - - [17/Jan/2009:21:50:40 +0300] "GET /Themes/default/images/helptopics.gif HTTP/1.0" 200 466 "-" "Opera/9.21 (PHP/SMF/Aeva; U; fr)",

9*.*0.91.142- site IP
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 17, 2009, 03:57:48 PM
@Andree> Aeva is trying to download remotely a small file (I chose this one because it seems to be in all installs and one of the smaller files), to test for the availability of the lookup feature. It's a perfectly normal request. It should only happen once -- if the server can handle lookups, there's no reason to believe it won't be able to do them in the future, so the request is no longer made.

@Ed Jorge> I tried the aeva_install.php file and indeed it doesn't work anymore when launched as stand-alone. This is an easy fix, just remove the code block between lines 21 and 27. The next update will have a proper fix. (I'll commit it ASAP, it's easy really.)

@Everyone> Fixed the issue with lookup changes not being reflected immediately in the site list. The same bug happened for HQ and Fix HTML options as well. Sorry that I missed these in the first place... I'll probably released an official update tomorrow (5.1.47?)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ed Jorge on January 17, 2009, 04:17:30 PM
Thanks for looking into that. It said...databases changes are complete. But I dont see any options for it in the admin panel...does it have a separate admin page?
Thanks again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Succubus Evaligan on January 17, 2009, 04:28:18 PM
This is my translation into Spanish of the AEVA 5.1.42
Aeva.spanish_es

<?php

$txt
['aeva'] = 'Aeva';
$txt['aeva_title'] = 'Aeva (Auto-Insertar Audio &amp; V&iacute;deo)';
$txt['aeva_enable'] = 'Habilitar Aeva mod (Configuraci&oacute;n Maestra)';
$txt['aeva_lookups'] = 'Habilitar b&uacute;squedas';
$txt['aeva_lookup_success'] = 'Esta caracter&iacute;stica funciona en tu servidor';
$txt['aeva_lookup_fail'] = 'Esta caracter&iacute;stica NO funciona en tu servidor';
$txt['aeva_max_per_post'] = 'M&aacute;ximas inserciones por mensaje';
$txt['aeva_max_per_page'] = 'M&aacute;ximas inserciones por p&aacute;gina';
$txt['aeva_max_warning'] = 'Demasiado flash es malo para la salud de su navegador';
$txt['aeva_nolimit'] = 'Usar 0 para no limitar (no recomendado)';
$txt['aeva_quotes'] = 'Activar la inserci&oacute;n en las citas';
$txt['aeva_mov'] = 'Archivos de Quicktime (.mov)';
$txt['aeva_real'] = 'Archivos de Real Media (.rm/.ram)';
$txt['aeva_wmp'] = 'Archivos de Windows Media (.wmv/.wma)';
$txt['aeva_swf'] = 'Animaciones en Flash (.swf)';
$txt['aeva_flv'] = 'V&iacute;deos en Flash (.flv)';
$txt['aeva_divx'] = 'Archivos DivX (.divx)';
$txt['aeva_avi'] = 'Archivos Avi (.avi) (con reproductor DivX)';
$txt['aeva_mp3'] = 'Archivos Mp3 (con reproductor Flash)';
$txt['aeva_fix_html'] = 'Reparar el uso del HTML insertado substituyendolo por un enlace insertado';
$txt['aeva_hq'] = 'Usar calidad superior en v&iacute;deos de YouTube';
$txt['aeva_hq_desc'] = '(cuando sea disponible)';
$txt['aeva_noexternalembedding'] = '(Inserción externa desactivada)';
$txt['aeva_includeurl'] = 'Incluir el enlace original';
$txt['aeva_includeurl_desc'] = '(para los sitios que no lo tienen en el reproductor)';
$txt['aeva_debug'] = 'Aiva modo depuraci&oacute;n (S&oacute;lo Administradoras)';
$txt['aeva_debug_took'] = 'Aiva depuraci&oacute;n:';
$txt['aeva_debug_seconds'] = ' segundos.';
$txt['aeva_debug_desc'] = 'Tiempo necesario para adjuntar el auto-insertar en cada mensaje.';
$txt['aeva_local'] = 'Insertar archivos locales [Excluye archivos adjuntos]';
$txt['aeva_local_desc'] = 'Multimedia local en el mismo servidor. Pero esto no permite que cualquier archivo de este tipo sea incorporado desde cualquier lugar.';
$txt['aeva_denotes'] = '(Sitios marcados con * requieren b&uacute;squedas)';
$txt['aeva_fish'] = '(Sitios marcados con * requieren b&uacute;squedas, sin embargo, las b&uacute;squedas no funcionan en tu servidor.<br /> Por lo tanto, a menos que manualmente pesque una ruta incrustable, la inserci&oacute;n no funciona para estos sitios.)';
$txt['aeva_pop'] = 'Sitios Populares';
$txt['aeva_video'] = 'Sitios de V&iacute;deos';
$txt['aeva_audio'] = 'Sitios de Audio';
$txt['aeva_other'] = 'Otros Sitios';
$txt['aeva_adult'] = 'Sitios Adultos';
$txt['aeva_custom'] = 'Sitios Personalizados';
$txt['aeva_select'] = 'Seleccionar todo';
$txt['aeva_reset'] = 'Restablecer valores predeterminados';
$txt['aeva_disable'] = 'Deshabilitar Insertar';
$txt['aeva_desc'] = 'Bienvenida al panel de administraci&oacute;n para la Aiva Mod. Aqu&iacute; puedes cambiar los ajustes';
$txt['aeva_allow_adult'] = 'Permitir sitios web adultos';
$txt['aeva_admin_aeva'] = 'Aeva Administraci&oacute;n - Configuraci&oacute;n';
$txt['aeva_admin_aevasites'] = 'Aeva Administraci&oacute;n - Lista de Sitios';
$txt['aeva_sites'] = 'Sitos Aeva';
$txt['aeva_new_version'] = 'Una nueva versi&oacute;n (<a href="%s">%s</a>) est&aacute; disponible!';
$txt['aeva_current_version'] = 'Versi&oacute;n actual: %s';
$txt['aeva_sitelist_updated'] = 'La lista de sitios se ha actualizado a la versi&oacute;n m&aacute;s reciente!';

?>



@Nao: Sorry I go to the support thread of the SMF Media Gallery. All mods were installed without problems. This is very confusing for me because I check both codes of the SMF Media Gallery and AEVA in Load.php and Subs.php and I don't fine any line that causes that error. I am unsure... but maybe the problem with the SMG is some code of the Simple Portal. Unfortunately I don't know much of PHP.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 17, 2009, 04:33:01 PM
@Succubus> There's already an official Spanish version here:
http://aeva.noisen.com/trans/5067/traduccion-al-espanol-spanish-translation-v-5-1-32/
Although dannbass hasn't been seen on the site for a few weeks now... So I guess you could update his version or something. Just post your file there.
About your problem -- can you remind exactly what's going on?

@Ed Jorge> Well, if you're installing manually, I suppose you did the SMF file changes, right...? Because it's not going to work simply by uploading the existing files to your Sources folder... There are several changes that need to be done. In SMF 1.1.7, the Aeva tab is in "Feature and settings". In SMF 2.x, it's in "Modifications".

@Everyone> I've managed to save a whopping 5KB of code in Subs-Aeva-Sites.php, simply by removing unneeded code from fixhtml strings. Very interesting... I've tested a few -- it should work without a problem. But it's kinda boring to modify all strings like that. I hope I didn't break anything. I don't think I did. I'll keep trying to save more space in the future. I think I can save about 20KB more, maybe 30KB.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ed Jorge on January 17, 2009, 05:49:47 PM
Actually I forgot I reverted the files back after it didnt work the first time.....so now I can see AVEA and AVEA Sites tabs but in that page nothing comes up other than a checkbox labelled SAVE. I gues I screwed something up and will check my edits again. Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 17, 2009, 06:25:26 PM
Please can someone link me to the script that removes/converts the old YouTube BBC mod?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 17, 2009, 06:35:04 PM
Quote from: Nao 尚 on January 17, 2009, 04:33:01 PM
@Everyone> I've managed to save a whopping 5KB of code in Subs-Aeva-Sites.php, simply by removing unneeded code from fixhtml strings. Very interesting... I've tested a few -- it should work without a problem. But it's kinda boring to modify all strings like that. I hope I didn't break anything. I don't think I did. I'll keep trying to save more space in the future. I think I can save about 20KB more, maybe 30KB.

Why, how very Old School coding of you. ;)

P.S. That was meant as a compliment
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Relyana on January 17, 2009, 06:50:15 PM
Quote from: mark7144 on January 17, 2009, 06:25:26 PM
Please can someone link me to the script that removes/converts the old YouTube BBC mod?


If you want to remove the old YouTube BBCode mod you should first uninstall it.
If you only want to remove the old
tags here (http://www.simplemachines.org/community/index.php?topic=200401.msg1860439#msg1860439) is the script you need.  :)

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 17, 2009, 08:00:08 PM
Quote from: Relyana on January 17, 2009, 06:50:15 PM
If you want to remove the old YouTube BBCode mod you should first uninstall it.
If you only want to remove the old
tags here (http://www.simplemachines.org/community/index.php?topic=200401.msg1860439#msg1860439) is the script you need.  :)
Thanks :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Legrand on January 17, 2009, 09:45:55 PM
Hi. Trying to use the manual install route for 2.04beta and the ./Sources/Admin.php instructions seem a bit screwed up. The select box is too small to select anything from... Or is it just me?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ed Jorge on January 18, 2009, 01:14:18 AM
I checked all my edits again...but this is all I get...any ideas? Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: aw06 on January 18, 2009, 03:18:52 AM
where do i change the size of the embed player.. i need to make it like the wide format thats on youtube now
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 18, 2009, 03:28:01 AM
@aw06> I suppose you must be joking...? The new version does it automatically... As long as you enable lookups, of course! If you want to have the player always in widescreen, let me just ask... Why?
@Ed Jorge> You forgot to copy the Aeva language files...
@Legrand> What select box?
@Eliana> Thanks, I got that eheh ;) Well I love optimizing stuff.

For the record (skip this paragraph if you're not interested in geek thingies). Probably my best and shortest piece of code ever was a 512-byte bootsector in 68k assembler. It would search any floppy disk that came by for viruses (heuristic method IIRC but there were even some protections built-in), flashed if there was one, and offered to copy itself to the floppy disk to protect it. It even had enough space left to show some credits, lol. The first version of KMJ was zipping to less than 50KB, including a 65KB or so executable and the tileset. Each time the program grew, I tried to make sure it was worth it. I never switched to DirectX 9 because it forced me to use (and package) a huge dll just for it. Things like that.

Optimizing the html fixer can actually help Aeva. The current clipfish embed code is no longer valid. Since nobody uses it, nobody reported that it was broken. Still, it's one of the longer embed codes in the file, so I shortened it, and now it works. Because clipfish changed a few internal things in their embed code, but the beginning and the end where still basically the same. All I need is the beginning and the end. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 18, 2009, 07:31:34 AM
Quote from: aw06 on January 18, 2009, 03:18:52 AM
where do i change the size of the embed player.. i need to make it like the wide format thats on youtube now

You need to edit the Subs-Aeva-Sites.php, then upload it again, go to the admin of AEVA and save the "AEVA SITES" to generate a new file.

Ex: If you want to edit dimensions for Youtube, go to line 144-145 and edit to the dimensions you want like
      'embed-width' => '640',
      'embed-height' => '480',
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Legrand on January 18, 2009, 07:48:18 AM
Select Avea 5.1.42 and look at the manual install for 2.04 Beta, scroll down to the ./Sources/Admin.php portion. Look at the Find: [Select] box. For me, there is nothing in that box because it is too small to scroll through so there is nothing to select.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 18, 2009, 07:58:32 AM
It's a .css error in this Simple Machines forum that has been there for a long time. I wonder when they are going to fix that as it is pretty annoying.
Though if you don't maximize your browser, but makes the size narrow, you can see the text.


Narrowing your browser, will make you able to see the code:
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: aw06 on January 18, 2009, 08:46:35 AM
Quote from: akyhne on January 18, 2009, 07:31:34 AM
Quote from: aw06 on January 18, 2009, 03:18:52 AM
where do i change the size of the embed player.. i need to make it like the wide format thats on youtube now

You need to edit the Subs-Aeva-Sites.php, then upload it again, go to the admin of AEVA and save the "AEVA SITES" to generate a new file.

Ex: If you want to edit dimensions for Youtube, go to line 144-145 and edit to the dimensions you want like
      'embed-width' => '640',
      'embed-height' => '480',

thanks for this ... i relised im using older version of this mod which have all the setting in a php file.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: DEK24 on January 18, 2009, 08:46:59 AM
Quote from: Nao 尚 on January 17, 2009, 03:21:40 AM
Okay, did anyone test v5.1.42 here? Hello?

@dek24> URL? And what version of Aeva is this?

www.johnnyjungle.com/forum

Aeva 5.125


my original post...

QuoteDoes Aeva have conflicts with simple portal?

Because my aeva hasn't been working properly. Facebook and ESPN videos that used to work aren't working anymore.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Legrand on January 18, 2009, 09:17:19 AM
Quote from: akyhne on January 18, 2009, 07:58:32 AM
It's a .css error in this Simple Machines forum that has been there for a long time. I wonder when they are going to fix that as it is pretty annoying.
Though if you don't maximize your browser, but makes the size narrow, you can see the text.


Narrowing your browser, will make you able to see the code:

Thanks. Finished the install and it's working again!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ed Jorge on January 18, 2009, 10:32:18 AM
Awesome....works now....thanks..I forgot the aeva.english.php file
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Relyana on January 18, 2009, 10:44:01 AM
When I first installed aeva I've noticed that some of the posts containing videolinks were trimmed (the description of the videos) and some of the diacritics (not all of them) were messed up. I wasn't sure that it was an aeva related issue, I manually fixed some posts, removed some other broken posts and moved on.

Now after the latest aeva update the existing song titles containing diacritics were again broken.

Instead of ....lets say "A holnap már nem lesz szomorú" ("Sadness will be over tomorrow") I've got "A Holnap Már Nem Lesz Szomorú"

I see no errors in the error logs but I'll run a database repair just in case ....

MySQL charset:  UTF-8 Unicode (utf8)
MySQL connection collation: ut8_unicode_ci

As far as I noticed non-related video posts were not affected. I'll fix them manually but I need to know if this issue has anything to do with aeva considering that I'll have to update the mod every now and then.  :)

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: unformatted_ on January 18, 2009, 11:07:42 AM
My Subs-Aeva-Custom.php is like this:
<?php

if (!defined('SMF'))
   die('Hacking attempt...');

global $sites;
foreach ($sites as $si => $te)
   if ($te['id'] == 'local_mp3')
      $sites[$si]['embed-width'] = '600';
?>

But the player is the same widht. Any idea?
In AEVA section, can't find "custom sites", only "Other sites".


Quote from: Nao 尚 on January 17, 2009, 06:04:48 AM
Follow the instructions of the Subs-Aeva-Custom-Example.php file and put this at the end of your Subs-Aeva-Custom.php file (before the "?>", of course):

foreach ($sites as $si => $te)
if ($te['id'] == 'local_mp3')
$sites[$si]['embed-width'] = '300';


This is untested, but it should work... Just save, go to Aeva admin, save the site list and it should work.
You can also change the mp3 player's url that way (good luck though, it's harder than simply changing the width!)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 18, 2009, 03:44:09 PM
Okay, I'll try to do everything in order...

First of all, I've uploaded the latest Subs-Aeva-Sites.php to the mod site (the one that fixed the clipfish.de embed code, among other minor things).
I would be interested in having a few users simply go to their Admin area in their website, and see if the Aeva tab will automatically download the updated file for them.

Quote from: akyhne on January 18, 2009, 07:31:34 AM
You need to edit the Subs-Aeva-Sites.php, then upload it again, go to the admin of AEVA and save the "AEVA SITES" to generate a new file.

Ex: If you want to edit dimensions for Youtube, go to line 144-145 and edit to the dimensions you want like
      'embed-width' => '640',
      'embed-height' => '480',
Actually, this is no longer the recommended way... Please read through the Subs-Aeva-Custom-Example.php file to see how to change settings definitively for a site. Otherwise, they will be erased everytime Aeva downloads an updated site list (like I mentioned above).

Also, just so you know -- the next version should no longer erase your Generated site list, which means that you'll never have to redo your site list again if you update.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 18, 2009, 04:18:19 PM
@akyhne (re: mod parser) I have no problem with the stylesheet on my browser (Opera 9.63). What browser are you using?

@aw06> lol... Then you should update :) I'll be releasing v5.1.47 in a few. It should fix all of the little issues in the admin area.

@Ed> good to know :)

@Relyana> Yeah it's probably an Aeva issue... Could you post a few links at aeva.noisen.com so I can study them? I made a lot of changes in the preg_replace code so I may have missed something (I'm not using UTF8 on my board). Hopefully I can fix this easily?

@vasco> Check out your page's html code. Does it say the embed object's width is 600? If yes, then the local player doesn't want to be resized and I should use a different example, lol. If not, then you probably forgot to save the site list. (You don't need to visit the site list, you need to press the "Save" button.)

@Everyone> Okay I'm finished with compiling v5.1.47 so I'll post it in a couple of minutes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 18, 2009, 04:23:35 PM
Okay, fingers crossed...! This one should work out of the box :D

Auto-Embed Video & Audio (Aeva) v5.1.47
Version 5.1.47                                  18th January 2009
-----------------------------------------------------------------
! Changing lookup, HQ and embed fix options didn't immediately refresh the site list
! aeva_install.php no longer worked when run as a stand-alone script
* Started simplifying many fix-html-pattern strings, to save space in
  Subs-Aeva-Sites.php and make them less prone to break over time
! Fixed support for clipfish.de embed code
@ (Everything below was actually fixed in the 5.1.42 re-release)
! Lookups sort of failed in YouTube when the URL had a "&" after the video ID
! Removed Generated file from the package installer file, so it should
  no longer erase your customized site list when upgrading
! Added French UTF8 translation to SMF2 install process
! Slightly rewrote latest site list version test
! Fixed config_vars bug when saving site list
! Fixed admin warnings in SMF 1.1.x versions
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 18, 2009, 04:35:11 PM
Forgot you...

Quote from: DEK24 on January 18, 2009, 08:46:59 AM
my original post...

QuoteDoes Aeva have conflicts with simple portal?

Because my aeva hasn't been working properly. Facebook and ESPN videos that used to work aren't working anymore.
Can you try with the newest version?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Michael Kopka on January 18, 2009, 05:03:49 PM
for me it does not work.

the second video should be in widescreen but was not so detected.

http://www.autotrac.org/index.php/topic,258.msg1892.html#msg1892


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 18, 2009, 05:16:03 PM
http://aeva.noisen.com/dev/5060/tests-video-embedding/msg228220/#msg228220

Try again... You must have done something wrong.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 18, 2009, 05:43:15 PM
Nao,

The fix uses of the html embed code does not work again for youtube, or at least with the first youtube video I tied:

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/z1PGrhzb9-I&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/z1PGrhzb9-I&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 18, 2009, 06:31:54 PM
Quote from: Nao 尚 on January 18, 2009, 04:18:19 PM
@akyhne (re: mod parser) I have no problem with the stylesheet on my browser (Opera 9.63). What browser are you using?
IE7 and FF 3.xx. It's been the same all over the Simple Machines forum for a long time. See attachment.

Quote from: Michael Kopka on January 18, 2009, 05:03:49 PM
for me it does not work.

the second video should be in widescreen but was not so detected.

http://www.autotrac.org/index.php/topic,258.msg1892.html#msg1892
http://www.youtube.com/watch?v=jLFiLSqbsbg is not in widescreen. It's a 4/3 video in 16/9 format. It will always embed as 4/3 (just if you are unsure).

But I also have some troubles with widescreen. I can't exactly point out what goes wrong. It's the same video I'm trying with, and sometimes it comes out in 4/3 and sometimes it comes out in 16/9.

This seems to be for sure though:
I changed dimensions for Youtube in Subs-Aeva-Custom.php:
foreach ($sites as $si => $te)
{
if ($te['id'] == 'ytb') {
$sites[$si]['embed-width'] = '800';
$sites[$si]['embed-height'] = '600';
}
if ($te['id'] == 'ytp') {
$sites[$si]['embed-width'] = '800';
$sites[$si]['embed-height'] = '600';
}
}

If I insert the same video twice in the same post with #ws on one of them, the result is this:
The #ws movie is embedded in 640*360 widescreen without no borders
The video without is embedded in 800*600 but not in widescreeen.

Edit: I kept trying to insert the same video again and again (before that I changed dimensions to 640*480) and the result was the same. If the video was posted with the #ws, it got in wide format 640*something. Without the £ws, it was just a regular 4/3 640 wide.
Then I posted another video and then posted the original file again without the #ws. then it was suddently autodetected!!!
I always resave the AEVA site list and also clears the filecache when changing some settings to be sure that is not the cause.
So basically it seems the auto-widescreen detection works on and off for me. Not that I really care. The video is still the same and in the same dimensions, just without black borders.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on January 18, 2009, 06:48:57 PM
SimplePortal should not conflict with AEVA in any way.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 19, 2009, 01:17:37 AM
@weigtman> go to your admin area and save the updated site list :) should work now... Seems like YT changed (again!) their embed code. Shouldn't be too much of an issue in the future now.

@akyhne> what video are you talking about?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Succubus Evaligan on January 19, 2009, 02:44:18 AM
Wow another update. Aeva is so fast  ;D
thanks aeva staff for working hard. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 19, 2009, 02:55:26 AM
Quote from: Succubus Evaligan on January 19, 2009, 02:44:18 AM
Wow another update. Aeva is so fast  ;D
I try not to update the file more than once a week, but this really was needed... No show-stoppers or anything, but first-time users would have been annoyed with the fact that changing the lookup setting required to save the site list afterwards.

Quotethanks aeva staff for working hard. :)
Well I'm the only staff so thanks ;D
(You may be mixing Aeva up with SMG, where indeed we're a staff of two ;))
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 19, 2009, 06:28:46 AM
http://www.youtube.com/watch?v=VXR4ZzYbR1o

Matts own video didn't embed automatic in widescreen for me when inserted, until today with rev. 47:
http://www.youtube.com/watch?v=zlfKdbWwruY
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 19, 2009, 08:17:48 AM
Nao, the fix uses of the embed code feature still doesn't work with youtube.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on January 19, 2009, 08:21:47 AM
Quote from: Nao 尚 on January 19, 2009, 02:55:26 AM
Quote from: Succubus Evaligan on January 19, 2009, 02:44:18 AM
Wow another update. Aeva is so fast  ;D
I try not to update the file more than once a week, but this really was needed... No show-stoppers or anything, but first-time users would have been annoyed with the fact that changing the lookup setting required to save the site list afterwards.

Quotethanks aeva staff for working hard. :)
Well I'm the only staff so thanks ;D
(You may be mixing Aeva up with SMG, where indeed we're a staff of two ;))

But Nao  we know you have 8 arms
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 19, 2009, 08:28:00 AM
@akyhne> I have absolutely no problem with your links. HQ and Widescreen.

@weightman> Any examples? Because everything works fine for me... Are you sure you saved the site list?

@kingkingston> I currently have barely one and a half arm... :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 19, 2009, 08:29:56 AM
I tried three different randomly chosen embed codes. How do I save the site list? Just go to aeva site list and click save at bottom, right?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 19, 2009, 09:14:21 AM
Quote from: Nao 尚 on January 19, 2009, 08:28:00 AM
@akyhne> I have absolutely no problem with your links. HQ and Widescreen.

Me neither. The only issue I have is that I once more tried to change from 640*480 to 800*600 in Subs-Aeva-Custom.php with the code:

foreach ($sites as $si => $te)
{
if ($te['id'] == 'ytb') {
$sites[$si]['embed-width'] = '800';
$sites[$si]['embed-height'] = '600';
}
if ($te['id'] == 'ytp') {
$sites[$si]['embed-width'] = '800';
$sites[$si]['embed-height'] = '600';
}
}


After 20 tries, saving the "Aeva", "Aeva Sites", clearing the forum cache, clearing the browser cache, I still only get new added videos shown in 640 width.
In Subs-Aeva-Sites.php, the original values are there:
      'embed-width' => '425',
      'embed-height' => '344',

I changed to FF and it's the same. It's like it's stuck to the resolution.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 19, 2009, 09:21:18 AM
Even tried to delete Subs-Aeva-Custom.php on the server, then tried everything again. Still stuck to 640 in width.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 19, 2009, 09:53:04 AM
weightman, yes, just click on Save. Either in the Aeva tab or Aeva Sites tab, it has the same results. (It regenerates the cached site list.)

akyhne, YT widescreen dimensions are hardcoded into the source file. Subs-Aeva.php, line 433... I suppose it's not okay with you, eh? ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 19, 2009, 10:00:43 AM
Then the fix embed feature isn't working. All the access stuff is the same if you want to take a peek at things.

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 19, 2009, 10:01:29 AM
Well, that explains why I yesterday had a 4/3 shown in 800 width and a 16/9 shown in 600 width and why all my ws files now are shown in 640 width.

But the error I have now is for all videos. Widescreen or not, they all show in 640 width. As mentioned, I deleted Subs-Aeva-Custom.php and Subs-Aeva-Sites.php says
      'embed-width' => '425',
      'embed-height' => '344',
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on January 19, 2009, 10:07:51 AM
Quote from: Nao 尚 on January 19, 2009, 08:28:00 AM
@akyhne> I have absolutely no problem with your links. HQ and Widescreen.

@weightman> Any examples? Because everything works fine for me... Are you sure you saved the site list?

@kingkingston> I currently have barely one and a half arm... :(

I think you are doing a fantastic job anyway,definitely one of the top 3 mods on smf for sure
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wrbex on January 19, 2009, 11:14:21 AM
Hi, I'm trying to install this mod,
I uploded zip file, then I click Aply mod, afther that I get msg

"Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager.
but I get this error"

then i cliked procced but i got msg

"Session verification failed. Please try logging out and back in again, and then try again."

After that in field ftp server i typed ftp.domain.org (first time it was localhost) and again i got sam error msg..
In forum log it say's this

Admin       Today at 04:53:07 PM 83.xxx.xxx.95  7c3507ac8e481cb92531a23a138befe0
Apply Filter: Only show the error messages of this URL http://www.domain.org/smf/index.php?action=packages;sa=install;package=Aeva-5.1.47.zip;sesc
Apply Filter: Only show the errors with the same message
2: fclose(): supplied argument is not a valid stream resource
File: /home/darijo1/public_html/smf/Sources/Subs-Package.php
Line: 1908
   
Apply Filter: Only show the error messages of this member Admin    Today at 04:53:07 PM
Apply Filter: Only show the error messages of this IP address 83.xxx.xxx.95      Apply Filter: Only show the error messages of this session 7c3507ac8e481cb92531a23a138befe0
Apply Filter: Only show the error messages of this URL http://www.domain.org/smf/index.php?action=packages;sa=install;package=Aeva-5.1.47.zip;sesc
Apply Filter: Only show the errors with the same message
2: fopen(/home/darijo1/public_html/smf/Sources/ModSettings.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
File: /home/darijo1/public_html/smf/Sources/Subs-Package.php
Line: 1901

help please...and this is my first mod
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 19, 2009, 11:51:37 AM
Can you upload other mods?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wrbex on January 19, 2009, 11:57:38 AM
Quote from: akyhne on January 19, 2009, 11:51:37 AM
Can you upload other mods?

I can upload on my hosting via ftp/cpanel and in forum ACP...but did not tried to install any other mod

EDIT: now i tried to install few other mods and I have same err msg  :-[ tried to chmod /public_html/smf to 755 and 777 and I get same error msg.
Any idea?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 19, 2009, 12:39:53 PM
@wrbex> you clearly have Safe Mode enabled on your server. Although it is technically possible to install any mod on these, it's recommended that you ask your host to disable it. It's a pointless "feature" really, there are better ways to improve server security.

@akyhne> the 640 width will only be used if there's a #ws in your URL... Make sure it isn't there. If you still have the problem, then, well...? Is the height set to 385px as well?

Quote from: weightman on January 19, 2009, 10:00:43 AM
Then the fix embed feature isn't working. All the access stuff is the same if you want to take a peek at things.

Thanks
Okay... First of all, you didn't update the site list... lol. Actually this is because I'm being conservative with the delays in between, I guess.
You can force an update (if you know there's one available, it's helpful) by adding ";fvt" (force version test) at the end of the URL (you must already by in the Aeva admin section of course. Settings or Site List, it doesn't matter.)

Second of all, your server is crappy, or you installed a crappier mod.

It isn't using the dreaded magic quotes, but it's still returning addslashed texts! That's just plain awful. I have no idea why this is happening.
I gave up with the magic quotes test, since it can happen even on servers without this. Instead I've written a few more lines of code to test whether there are backslashes before double quotes. It should be enough to determine whether the string needs to be stripslashed.

(And of course, it worked. Just go see.)
It will be in the next update.
If anyone here has the same problem, I can post the modified file here if you'd like.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 19, 2009, 12:46:31 PM
The mod is running with standard settings - no edits by me - still I have 640 in width on all videos - 16/9 or 4/3.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wrbex on January 19, 2009, 01:17:03 PM
Quote from: Nao 尚 on January 19, 2009, 12:39:53 PM
@wrbex> you clearly have Safe Mode enabled on your server. Although it is technically possible to install any mod on these, it's recommended that you ask your host to disable it. It's a pointless "feature" really, there are better ways to improve server security.


hm..I send mail to my hosting, and they say that server is not in safe mode


server@XXX01 [~]# php -i|grep safe
safe_mode => Off => Off
safe_mode_exec_dir => no value => no value
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 19, 2009, 01:34:06 PM
Nao,

Okay, my error log is being flooded with these (about 2500 pages so far):

8: Undefined variable: strippred
File: /home/xxxxxx/public_html/smf/Sources/Subs-Aeva.php
Line: 848

8: Undefined index: fix-html-url
File: /home/xxxxxx/public_html/smf/Sources/Subs-Aeva.php
Line: 863
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MMarko on January 19, 2009, 01:56:14 PM
The problem was fixed by applying this http://www.simplemachines.org/community/index.php?topic=278824.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 19, 2009, 02:06:33 PM
Nao, could this be true? (http://www.simplemachines.org/community/index.php?topic=274250.msg1885690#msg1885690)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wrbex on January 19, 2009, 02:44:53 PM
Quote from: MMarko on January 19, 2009, 01:56:14 PM
The problem was fixed by applying this http://www.simplemachines.org/community/index.php?topic=278824.0

thnx for that!  :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 19, 2009, 03:14:24 PM
@everyone> I uploaded an updated version of the site list. It only has changes in the YouTube code. It fixes a very specific bug: if you have two YT links in a post, the first one being already looked up/parsed (has an # in it) and the second one not being parsed, the second link will never be looked up correctly. It may also fix other bugs anyone might have experienced since the release of v5.1.42, although I don't think so.

@akyhne> You're the only one with this problem, you must have done something...
Did you regenerate the site list?

@mark> trouble is, I don't have this problem... I don't think it has anything to do with Aeva. Here's the xml file SMF receives:

<?xml version="1.0" encoding="UTF-8"?>
<smf>
<quote>[quote author=Jeanie link=topic=12839.msg386647#msg386647 date=1226615363]
Hi Charlie,

I work from home as I have a Bed & Breakfast so from the mundane jobs to the administration et
c. I am always very busy - never a dull moment!!  All stops for Wimbledon of course!!!

Jean[
[/quote]</quote>
</smf>

The error indeed happens at "&". I would say -- the safest way to include html code inside xml tags is to use the CDATA parsing method. I'm not sure why SMF isn't using it by default...?
You may want to ask over at your other topic. With the code above, maybe someone will have an idea. I don't have time myself right now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 19, 2009, 03:46:35 PM
Thanks Nao, I've quoted you on my thread as you suggested.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 19, 2009, 06:00:59 PM
Quote from: Nao 尚 on January 19, 2009, 03:14:24 PM
@akyhne> You're the only one with this problem, you must have done something...
Did you regenerate the site list?

A lot of times.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 20, 2009, 12:41:51 AM
Do I have an access to your website? I don't remember...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: CueBurn on January 20, 2009, 04:52:44 AM
AMAZING.  Cheers Nao, my site wouldn't be the same without this mod.  Thanks a million!  :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 20, 2009, 07:10:15 AM
Quote from: Nao 尚 on January 20, 2009, 12:41:51 AM
Do I have an access to your website? I don't remember...
No you don't. And it seems it setteled down now. Working as expected.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 20, 2009, 07:31:26 AM
Quite curious... ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 20, 2009, 07:57:13 AM
I have no idea why. It suddently just worked. Uploaded all files yesterday evening, and today it works.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: unformatted_ on January 20, 2009, 11:48:10 AM
Quote from: Nao 尚 on January 18, 2009, 04:18:19 PM

@vasco> Check out your page's html code. Does it say the embed object's width is 600? If yes, then the local player doesn't want to be resized and I should use a different example, lol. If not, then you probably forgot to save the site list. (You don't need to visit the site list, you need to press the "Save" button.)



Yes, it says 600.
Do you know other mp3 players that can ne used? It's possible to upload to server a flash player and use it?

manythanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 20, 2009, 12:26:50 PM
@vasco> I don't know... I never looked into it.

@Everyone> I uploaded a new Subs-Aeva-Sites.php file. Adds support for Cityvox.fr, and simplifies even more embed fix patterns. Saved another 3KB. Also, I noticed that gofish.com is no longer active. Should I remove support, and add support for betawave.com when it goes public? I don't even get text at betawave.com... What a crappy company, to do that! I can't believe they brag about funding $22M...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SoulPleX on January 20, 2009, 07:08:49 PM
Can someone point me to a working package parser. i am trying to uninstall ver. 4.0.2
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: endiZ on January 20, 2009, 07:15:03 PM
Hey, great addon. Much appreciate.

It seems like the lookup function is not working for me. I have a server hosted on godaddy and youtube HQ embed & mp3tube are not embedding. Any help would be appreciated.


Thanks again!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 21, 2009, 12:47:15 AM
Quote from: SoulPleX on January 20, 2009, 07:08:49 PM
Can someone point me to a working package parser. i am trying to uninstall ver. 4.0.2
Just go through the xml files for the package and figure it out by yourself...?
There are only a few files to edit, and you can find most of the data to remove by searching for "aevac", "auto-embed" or "auto embed" in them.

@endiZ> Well, it would be cool to have your URL, for starters...... I'm not a magician, eh. Also, YouTube HQ doesn't require lookups. Is that a clean install you're talking about, or a Russian roulette sort of server install?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 21, 2009, 10:36:14 AM
I'm currently in the process of redoing a lot of stuff in the Subs-Aeva-Sites.php structure...
You might as well want to know what I'm doing, so here's my progress to this point...

- embed-width and embed-height have been dropped, in favor of a shorter version: 'embed-size' => array(400, 300); where 400 is width and 300 is height. This should allow me to set different sizes according to settings, in the feature. e.g. array(400, 300, 450, 300) to switch between 400x300 and 450x300.

- embed-nolink was turned into embed-link (and its meaning was obviously inverted as well). This is more logical to me. Also, if set to false, it doesn't appear at all.

- lookup-enabled was removed, because it's always enabled when lookup-url is present anyway...

- embed-enabled was renamed to enabled. I'm actually contemplating renaming it to "disabled", so that I can simply hide it when it's enabled (the default crap).

- plugin is hidden in generated sites list, if it's set to "flash" (except for local embeds).

This is your chance to tell me what you'd like to see added or removed from the site list. I'm not talking about sites (although I'm all open as well but this is not the right board for this), but settings inside the site list.

PS: Of course, all of these changes will require that you upgrade Aeva if you want to keep being able to download site lists automatically. This shouldn't be an issue though -- I'm not doing any changes to the xml files, so you can simply copy the files from the new package to your Sources folder (and theme language folder).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 21, 2009, 10:55:32 AM
Money... Yeah i want money! I want a red button in the Aeva Sites list, that when I press it, I get money comming out of my color lazer printer.

It's more easy for me to tell you what I would like of functions, than to decide where they should be enabled - "aeva" or "aeva sites".
It could be nice to be able to edit Youtube dimensions directly in "aeva sites". Maybe for all the popular sites.
I still need the Youtube title above of benieth the video. Did you do that part yet?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 21, 2009, 10:57:22 AM
Nao, how close are we to having websites like the BBC retain their original URL? Is that low priority for you?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 21, 2009, 11:14:59 AM
@akyhne> in what currency? I can only implement one at a time. Also, again -- you can edit YT dimensions in your Custom file. That's all I can do to make sure your edits don't get erased when upgrading the mod... No, I didn't do the title part. It's actually unlikely I'm going to do it, now, because the anchor system used to store settings won't allow for so many characters, that apart from base64-encoding the title (which will make its size grow by something like 30%), I don't see how I can do it... Oh well, crap, I just found the solution didn't I? base64 stuff... I hate myself. Why don't I just say no to feature requests? :P Ah, yes, found it: "I can't do it, it would force me to add an option in the settings, and I don't want to for now." (lol)

@mark> Believe it or not, but the whole "I'm rewriting the site list structure" idea was because of your request... Ahah. Although in the end it doesn't change anything, I guess. It doesn't make it easier really. But it's an easy implementation. I'll try to do it this week.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 21, 2009, 11:24:25 AM
It's not bothering me that I have to make a script to change dimensions. I even mean it should be a "per user profile" option... but let's not go there ;)
But a lot of people don't know about scripts, even with description on how to do it. And a lot of people don't have a clue about dimensions; "how much is 800px in width on my screen?". So it would be easier for newbies to change settings. And that's also why I would concider a drop-down for newbies (meaning.. don't remove the custom way we have now) like 640*480, 800*600 etc.

The changes I want and that you don't make, I will make for myself, so it's only suggestions for the masses I give you ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 21, 2009, 12:00:15 PM
Quote from: mark7144 on January 21, 2009, 10:57:22 AM
Nao, how close are we to having websites like the BBC retain their original URL? Is that low priority for you?
http://aeva.noisen.com/req/5046/done-bug-bbc-news/msg228303/#msg228303

8) 8) 8)

- Retains original URL
- Adapts size accordingly

@akyhne> well, it is not in my plans for now...  :-[
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: aw06 on January 21, 2009, 12:03:46 PM
Im somewhat scared of updating the the current version  :P the OLD version i have works flawlessly and error free...

If it aint broke dont fix it  O:)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 21, 2009, 12:27:01 PM
The OLD versions were broken... Otherwise they wouldn't be "old" by now ;D

Updates to the site list => Subs-Aeva-Sites.php
Updates to functionalities (bug fixes, new features, etc.) => Aeva packages (5.x.x)

The main point with the latest version is that you can update your site list just by going to the admin area...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 21, 2009, 01:13:19 PM
Awesome, thanks Nao :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on January 21, 2009, 01:32:40 PM
I can't open AEVA and AEVA SITES pages in modification part of admin panel.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 21, 2009, 01:37:42 PM
Similar problem... uploaded latest Aeva Sites php and now it shows blank page when I go there via admin panel.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: endiZ on January 21, 2009, 01:56:00 PM
Quote from: Nao 尚 on January 21, 2009, 12:47:15 AM
@endiZ> Well, it would be cool to have your URL, for starters...... I'm not a magician, eh. Also, YouTube HQ doesn't require lookups. Is that a clean install you're talking about, or a Russian roulette sort of server install?

It is a "clean" install. Any link that requires a lookup does not work. (FYI, other links are successfully embedded. ex. youtube)

Packages currently installed:
Aeva ~ Auto-Embed Video & Audio 
SMFChess
SMF 1.0.14 / 1.1.6 Update
SMF 1.0.15 / 1.1.7 Update
Karma Description Mod
View Single PM
Remove SMF Logo
Favicon



Sample Link location:
http://www.mp3tube.net/br/musics/ragga-jungle-show-us-the-way/94867/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 21, 2009, 03:19:16 PM
@Alens> did you install the mod manually by any chance?

Quote from: mark7144 on January 21, 2009, 01:37:42 PM
Similar problem... uploaded latest Aeva Sites php and now it shows blank page when I go there via admin panel.
Could you attach here a copy of your Subs-Aeva-Sites.php file? (Download it from your web server... I need the exact copy that crashes your site.)

btw after you download the copy for me, you can upload a clean copy in its place. It will still be considered as "updated" so it won't be erased a second time.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 21, 2009, 03:24:31 PM
endiZ, open your subs-aeva-sites.php list, locate the mp3tube array, and replace the lookup-url string with this one:

'lookup-url' => 'http://(?:www\.)?mp3tube\.net/(?:[^/]*/)?musics/(?:[\w-]*?)/(?:[0-9]{1,6})/',

It should work. (Doesn't for me, as the lookup seems to stall, but you might wanna try.)

Don't forget to regenerate your site list before retrying.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on January 21, 2009, 03:25:25 PM
Quote from: Nao 尚 on January 21, 2009, 03:19:16 PM
@Alens> did you install the mod manually by any chance?

Quote from: mark7144 on January 21, 2009, 01:37:42 PM
Similar problem... uploaded latest Aeva Sites php and now it shows blank page when I go there via admin panel.
Could you attach here a copy of your Subs-Aeva-Sites.php file? (Download it from your web server... I need the exact copy that crashes your site.)

btw after you download the copy for me, you can upload a clean copy in its place. It will still be considered as "updated" so it won't be erased a second time.
No, I didn't. I've installed via package manager. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 21, 2009, 03:38:16 PM
Quote from: Nao 尚 on January 21, 2009, 03:19:16 PM
@Alens> did you install the mod manually by any chance?

Quote from: mark7144 on January 21, 2009, 01:37:42 PM
Similar problem... uploaded latest Aeva Sites php and now it shows blank page when I go there via admin panel.
Could you attach here a copy of your Subs-Aeva-Sites.php file? (Download it from your web server... I need the exact copy that crashes your site.)

btw after you download the copy for me, you can upload a clean copy in its place. It will still be considered as "updated" so it won't be erased a second time.
Here...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 21, 2009, 03:42:30 PM
I've downloaded a new copy, uploaded it and it's still showing blank. Also, new BBC posts are not embedding, just showing as a link.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: endiZ on January 21, 2009, 03:51:38 PM
Quote from: Nao 尚 on January 21, 2009, 03:24:31 PM
endiZ, open your subs-aeva-sites.php list, locate the mp3tube array, and replace the lookup-url string with this one:

'lookup-url' => 'http://(?:www\.)?mp3tube\.net/(?:[^/]*/)?musics/(?:[\w-]*?)/(?:[0-9]{1,6})/',

It should work. (Doesn't for me, as the lookup seems to stall, but you might wanna try.)

Don't forget to regenerate your site list before retrying.

Great, that worked.

Thanks

EDIT: Quick recommendation, when the mod links back to the site, it links to the .swf file, not the original link. The player plays fine though.

Example:
http://www.mp3tube.net/br/musics/ragga-jungle-show-us-the-way/94867/

is

http://www.mp3tube.net/play.swf?id=ebe079a303fdfd293b44f2bda979e64f
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RobotiX on January 22, 2009, 12:46:12 AM
ustream.tv

stickam.com
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 22, 2009, 02:14:49 AM
Okay everyone... SM.org is buggy or something. I downloaded the site list from the website myself, and it was cut off. So I tried reuploading it (my full working version, eh!), and it still got cut off, at pretty much the same position.
I'm not too sure what to do now. So I've deleted the site list from the mod site, so that at least no one else gets the white page issue. I'll have to think of something.

@endiZ> this is a known issue due to the architecture in Aevac's lookup system. The new lookup system in Aeva no longer "forgets" the original URL, but it forces me to rewrite the queries...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on January 22, 2009, 02:42:56 AM
Hmmm.... installed without error and took me to the configuration screen.

I clicked the checkbox to enable the AEVA mod, and now the admin screen for the AEVA configuration screens indicates
The database value you're trying to insert does not exist: value
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 22, 2009, 05:20:33 AM
@Everyone> Okay, I've reuploaded the Subs file to the mod site... I've simply stripped the GoFish site out (it is inactive now) and removed all comments to lower its filesize to 158KB. Hopefully, we shouldn't have any of these file lengths issues for now.
- If you have a white screen on your Aeva admin area: please upload this file to your Sources folder.
- Please download the file manually as well (http://custom.simplemachines.org/mods/index.php?action=download;mod=977;id=83317) and tell me if the file ends with "?>" (as for a normal php file ending). If it doesn't, definitely tell me, because I will need to remove the file again.

@Kindred> Does it do that once, or always...?
This is caused by an error when updating the smf_settings table. I don't know why... I don't have this on my side. Never had. I'll try to be stricter when inserting this data now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 22, 2009, 05:28:47 AM
Kindred, found the bug... I was assuming that the Subs-Aeva-Sites.php file was always on the website, which wasn't the case when you installed -- so it crashed. Sorry again. Ahhh, my! Doing user-friendly interfaces/updates is definitely complicated ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 22, 2009, 06:33:09 AM
Nao: The new BBC functionality is still not showing... it still converts everything to XML.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 22, 2009, 08:11:14 AM
Mark, the latest official site list is still the old one. I took it from the official package and stripped the comments out of it to make sure it won't reach the 175KB limit.

The "under progress" site list is not even committed yet. I'm still working on it. I need to make it as short as possible, in order to avoid future issues for some time.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 22, 2009, 08:34:01 AM
Ah fair enough, look forward to it then.

What will happen with the old XML links, will they just show as links? I'm not too bothered as I can manually fix them but just curious.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 22, 2009, 08:48:17 AM
Nah, as I told you -- I added a "bbc news (new)" link... The old link doesn't take too much space, that's okay.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 22, 2009, 08:53:28 AM
Fantastic :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 22, 2009, 09:37:22 AM
Quote from: RobotiX on January 22, 2009, 12:46:12 AM
ustream.tv

stickam.com
Wrong thread, go here: http://www.simplemachines.org/community/index.php?topic=200401.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 22, 2009, 09:55:19 AM
I think this should be merged with the Aeva topic... It can be confusing to still have this thread here, while Aeva 3.x (which had its share of bugs) is no longer available and was replaced with Aeva 5.x.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 22, 2009, 10:04:36 AM
They should just close this topic for new posts, then make a final post that the mod has been moved to AEVA 5.xx
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on January 22, 2009, 10:19:32 AM
Nao, I still can't open it. :(

(http://i42.tinypic.com/eipbn5.jpg)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 22, 2009, 11:06:55 AM
I'd rather see it merged.
The original topic split was only because Aevac 4.x was in beta at that time, and Aevac 3.x was still the "official" version around. It is no longer the case.

(Plus, Aeva got thrown out of the popular mod list, I'd at least like to see it come back to the popular topic list, lol.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 22, 2009, 11:07:31 AM
Did you replace the site list with the file you downloaded manually, as I asked?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 22, 2009, 11:12:42 AM
Quote from: Nao 尚 on January 22, 2009, 11:06:55 AM
(Plus, Aeva got thrown out of the popular mod list, I'd at least like to see it come back to the popular topic list, lol.)

I think you are worrying to much, NAO. It's one of the absolutely greatest mods out there. Poeple are probably just waiting for the "final" release.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SamuelBryan on January 22, 2009, 11:50:57 AM
Hello, i got a problem, i keep getting a fatal error when i try and access the aeva section on the admin.

Fatal error: Cannot redeclare modifyaevasettings() (previously declared in /home/foreigna/public_html/forums/Sources/ModSettings.php:360) in /home/foreigna/public_html/forums/Sources/ModSettings.php on line 373

Anyone know how to correct it, cos i can't use Aeva until that is resolved.

Thanks Sam
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: moonjo on January 22, 2009, 11:56:49 AM
Quote- Embed local files (except for attachments) (DivX, Avi, Flash Swf, Flash Flv, Real Media, Windows Media, Quicktime)

I'm having a bit of trouble understanding the above statement.
So attachment files cannot be embedded but local files can? What does it mean by 'local files'? Local on the server?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 22, 2009, 12:02:02 PM
@SamuelBryan> You upgraded Aeva without uninstalling it first. Uninstall it and then clean your files manually. Then reinstall it.

@moonjo> Yes. http://yourwebsite.com/yourfile.mp3
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 22, 2009, 12:07:14 PM
It's not a matter of determining whether Aeva is good or not. It's a matter of visibility. If it's invisible, people won't download it, that's all. Granted, not many people read through the SM.org stats page, but there still are enough to justify it. Aeva+Aevac have a total of about 140 pages together. At least one of the topics should be in the Top 10, that's what I say ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SamuelBryan on January 22, 2009, 02:18:32 PM
Hey Nao...

I have uninstalled it, whats the easiest way of cleaning it? cos im a bit confused on what you mean here..

Thankss
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on January 22, 2009, 03:42:56 PM
Quote from: Nao 尚 on January 22, 2009, 11:07:31 AM
Did you replace the site list with the file you downloaded manually, as I asked?
I did.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 22, 2009, 04:55:38 PM
@AlenNS> It shouldn't happen, then. Send me an FTP access to your Sources folder.
@Samuel> Edit all of the modified files (in the Sources folder) and remove all remnants of the Aeva code. (Just look for "aeva" and "autoembed")

@Everyone> I just committed a non-public version -- 5.2.48 -- it is working fine for me, but I need some testing on it. I guess only the usual testers will be interested (Mark, akyhne, weightman...), but still, I need their advice ;)
You know the usual place.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 22, 2009, 05:34:00 PM
Just tested 5.2.48... BBC embeds do not work, instead they just convert to an XML link and that shows as a link, not a video. Existing BBC embeds just show as XML links as well.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 22, 2009, 06:24:53 PM
Did you enable both sites (bbc news old and bbc news new) in the site list? (They have to be so that older links show up as expected.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 22, 2009, 06:31:43 PM
Thanks, works great :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 22, 2009, 06:33:31 PM
Lol... I thought it would be harder to fix ;)
Which one was disabled?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 22, 2009, 06:53:19 PM
I think I had BBC New disabled and BBC Old enabled and yet the old links did not embed. I just tried to reproduce this trivial bug but couldn't... maybe I imagined it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ysNoi on January 22, 2009, 11:32:54 PM
Hi..! I have just installed Aeva 5.1.47 yesterday and works fine with me.

My Settings :

(http://i249.photobucket.com/albums/gg226/ysnoi_lacroxste/pHF/Aeva_1.png)

(http://i249.photobucket.com/albums/gg226/ysnoi_lacroxste/pHF/Aeva_2.png)

Note : My default settings on Embed Local Files was all disabled but I noticed there is a check on Windows Media File (.wmv/.wma) after attaching .wma file on the Additional Options shown below.

(http://i249.photobucket.com/albums/gg226/ysnoi_lacroxste/pHF/Aeva_4.png)

My apologies, I was not aware I could not attached such file on this option.

When I try to remove the check on Embed Local Files and then save, the output is totally blank page as in like this image below. So far, I got the same output when I click Aeva Sites via Admin --> Features and Options --> Aeva Sites.

(http://i249.photobucket.com/albums/gg226/ysnoi_lacroxste/pHF/Aeva_3.png)

Can anybody teach me how to fix this one..?

Thanks in advanced...!

BTW, I used SMF 1.1.7 & TP v0.9.8.


Added Subs-Aeva-Sites.zip file...!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 23, 2009, 01:36:36 AM
- Launch your ftp client, go to your Sources folder, download the Subs-Aeva-Sites.php file (please attach it on this topic, because I thought this problem was fixed), and then delete the file from your website.
- Go to the Aeva Admin area, it should work now. You can force the re-download of a proper Subs-Aeva-Sites.php file by putting ";fvt" at the end of the URL.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 23, 2009, 04:21:51 AM
Quote from: AlenNS on January 22, 2009, 10:19:32 AM
Nao, I still can't open it. :(

(http://i42.tinypic.com/eipbn5.jpg)
Fixed...
This was due to your server not allowing its own scripts to fetch data on itself.
This is the second time it happens to me. First time, I fixed it by adding a secondary fetch (to my own site this time). Now, your server doesn't even give an answer -- as if a firewall was very uncooperative somewhere. Bad host.

Starting from next version, I'll be querying google.com/robots.txt instead. I think Google won't mind that a robot script retrieves a file meant only for robots. Of course, applying this to your site made it work immediately... But you should ask your host to check their firewall and DNS settings as well. You may experience failed lookups on some websites, for the same reasons (bad configuration). I don't know.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 23, 2009, 04:32:35 AM
Nao: Why does giving a CSS class to urls stop your mod from working?

The addition of "class=postlink" made all embeds show as links:
array(
'tag' => 'url',
'type' => 'unparsed_content',
'content' => '<a class="postlink" href="$1" target="_blank">$2</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
),
array(
'tag' => 'url',
'type' => 'unparsed_equals',
'before' => '<a class="postlink" href="$1" target="_blank">',
'after' => '</a>',
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => ' ($1)',
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 23, 2009, 04:36:43 AM
Quote from: mark7144 on January 23, 2009, 04:32:35 AM
Nao: Why does giving a CSS class to urls stop your mod from working?
Because it's not the default SMF behavior.

Try to put the class="post" mention AFTER the href="$1" mention, though. It should work, because Aeva only looks for <a href="". Not sure about the autolinking code though.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 23, 2009, 04:53:57 AM
That worked, thanks :)

I notice the links produced by your mod have unique CSS classes depending on the video source... does that mean if I want to give a class to all links produced by your mod, I have to create a class for every video website I have enabled?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 23, 2009, 05:52:01 AM
BUG: Original link is not showing for Google Video and BrightCove, possibly more but I have not checked others.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 23, 2009, 06:46:36 AM
- links: indeed, Google Video didn't have a 'nolink' entry at all in earlier versions. It's the only site not to have it, so it should be good now. As for BrightCove -- do you have example links? I do see that the link showing is disabled, but isn't this because the original link can be reached through clicking in the embedded video?

- class: I'm not sure what you mean... Where do you see custom classes?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on January 23, 2009, 07:28:01 AM
Quote from: Nao 尚 on January 23, 2009, 04:21:51 AM
Quote from: AlenNS on January 22, 2009, 10:19:32 AM
Nao, I still can't open it. :(

(http://i42.tinypic.com/eipbn5.jpg)
Fixed...
This was due to your server not allowing its own scripts to fetch data on itself.
This is the second time it happens to me. First time, I fixed it by adding a secondary fetch (to my own site this time). Now, your server doesn't even give an answer -- as if a firewall was very uncooperative somewhere. Bad host.

Starting from next version, I'll be querying google.com/robots.txt instead. I think Google won't mind that a robot script retrieves a file meant only for robots. Of course, applying this to your site made it work immediately... But you should ask your host to check their firewall and DNS settings as well. You may experience failed lookups on some websites, for the same reasons (bad configuration). I don't know.
Nao, thank you very much for your help.
Now I can enter. :)))
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 23, 2009, 07:31:28 AM
Quote from: Nao 尚 on January 23, 2009, 06:46:36 AM
but isn't this because the original link can be reached through clicking in the embedded video?
No that is not the case, clicking the video does nothing. Example video on my forum (http://www.murraysworld.com/talk/main-content/video/msg399545/#msg399545).

Quote from: Nao 尚 on January 23, 2009, 06:46:36 AM
- class: I'm not sure what you mean... Where do you see custom classes?
For example, the class for the original BBC link is "bbc_link new_win".

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 23, 2009, 08:11:49 AM
Quote from: mark7144 on January 23, 2009, 07:31:28 AM
No that is not the case, clicking the video does nothing. Example video on my forum (http://www.murraysworld.com/talk/main-content/video/msg399545/#msg399545).
Yeah, but it's not always about clicking the video, it's about being able to find the original URL... Fact is, if you click the "get link" button on that video, you get the exact same link as what's being treated. And if you go to that link -- guess what? Just the video, nothing else. So, what's the point in linking to exactly the same thing as what's already embedded? I can understand that Karl didn't link to it. And I won't do it either.

QuoteFor example, the class for the original BBC link is "bbc_link new_win".
But... These are classes added by SMF. What do you mean? Do you mean they're changed? Where? Can you please paste some code here...?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 23, 2009, 08:19:25 AM
Okay I'm writing a separate post because I need to have as many users as possible read it.

About YouTube changes & HD

- Yes, I implemented (http://site.noisen.com/aeva-dev/5060/tests-video-embedding/msg228131/#msg228131) HD today :)

- It would seem that YT made some changes recently to their player. Namely, they show an "HQ" icon in the bottom right corner. If you go close to it, it opens the arrow button. So it's only a way to catch our attention on the fact that they added a HQ button to switch on/off the HQ mode. Unfortunately, it's doesn't work very well... Most notably when viewing the video in HD mode, clicking that button will only reset the video and not change anything. What do you think I should do? I couldn't find a way to disable that button.

- Regarding HD, the video I linked above is in 854x504 (that's approximately the size of an HD embed in YouTube, couldn't find the exact dimensions). Unfortunately, my website, being limited in width, doesn't show the whole width, so it shows black bars. This doesn't bother me at all, but since the official YouTube embed code for HD video is in 640x385 (i.e. exactly the same size as HQ video), maybe I should keep it... Also, it would make my life easier when it comes to implementing HQ size selection (I'm not sure how to do this for now).

Any opinions...?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 23, 2009, 08:29:44 AM
Nao,

It seems like it might not be a good idea to default to playing HD versions of videos when available because of those with slow internet connections. So, maybe a button to view it in HD after it opens in normal or HQ mode?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 23, 2009, 08:36:05 AM
Quote from: weightman on January 23, 2009, 08:29:44 AM
Nao,

It seems like it might not be a good idea to default to playing HD versions of videos when available because of those with slow internet connections. So, maybe a button to view it in HD after it opens in normal or HQ mode?
There's no way to view a video in HD via the YT buttons, I believe... Or at least it's not easy to control, I don't know...
Slow connections, I agree, it's not cool and everything, but you can still disable the aeva_hq setting if your users aren't happy with it... Can't you?
Hopefully I'll be able to include this as a per-user setting in the future. (I don't know when I'll be able to do that. Main problem is that it requires more edits to the SMF files, and I promised myself not to do any more edits for some time. Because I hate doing package installations as much as you all do.)
What about the embed size?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 23, 2009, 08:40:24 AM
"- Regarding HD, the video I linked above is in 854x504" - I get it to be 854*480

I don't have black bars on your link to AEVA (http://link%20to%20aeva)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 23, 2009, 08:47:20 AM
Quote from: Nao 尚 on January 23, 2009, 08:11:49 AM
Yeah, but it's not always about clicking the video, it's about being able to find the original URL... Fact is, if you click the "get link" button on that video, you get the exact same link as what's being treated. And if you go to that link -- guess what? Just the video, nothing else. So, what's the point in linking to exactly the same thing as what's already embedded?
Because someone might want to post the video on another forum and not have to send people to a forum to see it but instead the direct location.


Quote from: Nao 尚 on January 23, 2009, 08:11:49 AM
But... These are classes added by SMF. What do you mean? Do you mean they're changed? Where? Can you please paste some code here...?
Sorry if I'm not being very clear on this but I simply want to assign a class to all links produced by your mod, is that possible?

Currently on my website the link that is generated for the BBC embed has "bbc_link new_win" but on your website all video links seem to have the class of "xt".

Example post where bbc class is added (http://www.murraysworld.com/talk/chit-chat/news-thread/msg402550/#msg402550)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 23, 2009, 08:59:55 AM
Nao,

What exactly is HD anyway according to youtube? Is it just a higher bitrate? How different is it from the HQ? Enough to worry about given that probably a low % of population has super fast connections to handle true HD? As for embed width, seems like that is not a problem since we can put a max on it in the css.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ysNoi on January 23, 2009, 09:01:40 AM
Hi Nao 尚, good day...!

I've already followed your instructions siR...!

I got this result after doing so...!
(http://i249.photobucket.com/albums/gg226/ysnoi_lacroxste/pHF/Aeva_5.png)

I've already attached Subs-Aeva-Sites.php file on my post above...!

Quote from: Nao 尚 on January 23, 2009, 01:36:36 AM
You can force the re-download of a proper Subs-Aeva-Sites.php file by putting ";fvt" at the end of the URL.

What do you mean siR, I'm sorry but I just can't get what you say.

BTW, is it okey to replace those deleted file from my previous download? I mean I will get that file from the extracted Aeva-5.1.47.zip (SMF Mod Site) and upload it via my ftp..?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 23, 2009, 09:06:10 AM
@akyhne> 480 without counting the interface itself. It's 504px overall. What do you mean you don't have black bars? Screenshot please?

@mark> but then they can simply click on "get link"... What's wrong with "get link"? It's large enough to be obvious...
>again: what links are produced by my mods? You're talking about the links below the videos? I could add an extra class to them, yeah.. Something like "aeva_link"... It wouldn't be defined anywhere, but it could help you style it.

@weightman> HD is higher bitrate, higher resolution, x264 encoding (I think -- so it's a more efficient codec than flv), and better sound quality (CD-like?). I don't think HQ is half as good as HD in that respect. Embed width *is* an issue because of the black bars on site layouts that don't accept such large widths. Don't forget -- half of the web community is still browsing in 1024x768. So, take a 850px-wide video, add two 200px-wide columns around, and you get the infamous horizontal scrollbar. Or, if you have a completely fixed column width for where you're posting your video, you'll get a video that is needlessly too tall.

@ysNoi> err... That's a strange thing. I'll need admin access + FTP access if you're still having the issue. Can you get the site list to show up normally if wmv embedding is enabled?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 23, 2009, 09:15:32 AM
No black bars:
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 23, 2009, 09:18:55 AM
That's strange... black bar in Firefox 3.xx and Opera 9.xx, but not in IE7.

Maybe it's time to change to IE ;)

It seems your layout works different for different browsers  :-\
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 23, 2009, 09:19:24 AM
Quote from: Nao 尚 on January 23, 2009, 09:06:10 AM
@mark> but then they can simply click on "get link"... What's wrong with "get link"?
What about Google Video, will those links return in a future version?

Quote from: Nao 尚 on January 23, 2009, 09:06:10 AM
Something like "aeva_link"... It wouldn't be defined anywhere, but it could help you style it.
Yes, that's exactly what I need :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 23, 2009, 09:23:23 AM
Nao, flv is a container not a codec. But, I see what you mean with the HD format being encoded in h264 as a mp4 rather than on2vp6 as a flv. It is more efficient though far from a home studio would consider HD of course. I am on the lower speed cable broadband roughly the equivalent of DSL speed I believe and I get smooth playback. So, I think you could default to HD. Perhaps the thing to do is provide a "watch in normal quality" link under the either default HD/HQ embed?

I don't know what to suggest with the width though. I am on a fixed width for now though I will probably go to a fluid width when I upgrade to SMF2.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 23, 2009, 09:26:00 AM
Hmm, seems it's the width of the video that spoils the layout in IE:
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ysNoi on January 23, 2009, 09:32:30 AM
@ siR Nao 尚, finally I've made it..! After I uploaded via my ftp the new Subs-Aeva-Sites.php file to the /sources directory..! After that, I selected all the site listed on Aeva Administration - Site List...

Thanks so much...! I'll update you soon...!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 23, 2009, 09:40:13 AM
Nao: I'm interested in one of your updates, can you elaborate on "Aeva now fetches test data (for lookups) over at google.com, instead of your own website."
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 23, 2009, 09:52:58 AM
@akhyne> crap... I can't believe IE7 is breaking my layout, even after I tell browsers to respect a max-width of 640px on embed tags! To hell with IE! Maybe it's the <object> tag that causes a problem... Can you try reloading that page? I updated the style.css file with object.

@mark> Google Video will always show the link now. (This will be in my next commit. As well as aeva_link, obviously.)

Quote from: weightman on January 23, 2009, 09:23:23 AM
Nao, flv is a container not a codec.
Yeah, flash video I know, but I don't remember the name of the codec... Sorenson? Sorensen, maybe? Anyway, saying "Sorensen" won't help much users... Who knows about this one?

QuoteBut, I see what you mean with the HD format being encoded in h264 as a mp4 rather than on2vp6 as a flv. It is more efficient though far from a home studio would consider HD of course. I am on the lower speed cable broadband roughly the equivalent of DSL speed I believe and I get smooth playback.
I get relatively smooth playback over a 5mbps DSL line. From time to time the video freezes for a second and then restarts (the audio is fine). Not sure why but I don't mind, as long as audio/video are sync'ed.

QuoteSo, I think you could default to HD. Perhaps the thing to do is provide a "watch in normal quality" link under the either default HD/HQ embed?
Nah, because it would force me to add Javascript. Aeva doesn't use any Javascript and I'm not sure it would be a welcome addition. Doing JS on SMG is okay because it's a full-featured software and people expect usability. When it comes to Aeva, people expect it to be non-intrusive (i.e. make sure no one ever knows the magic behind the implementation).

QuoteI don't know what to suggest with the width though. I am on a fixed width for now though I will probably go to a fluid width when I upgrade to SMF2.
Yeah, I'm not sure what to say...
I probably should simply implement the max-width variable... But then again, my max width varies depending on what div the video is in... :-/

@ysNoi> Err, that was what I recommended... I thought you'd already done it?

@mark> Previous page... Conversation with AlenNS.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 23, 2009, 09:59:59 AM
The layout is still the same.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 23, 2009, 10:27:02 AM
Uh... :-/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ysNoi on January 23, 2009, 01:57:10 PM
Quote from: Nao 尚 on January 23, 2009, 09:52:58 AM
@ysNoi> Err, that was what I recommended... I thought you'd already done it?

My apology siR Nao 尚, I just don't understand what you mean to say at the first glance..! I'm just too much young as a forum admin...!

One more thing I want to ask is this  Aeva Debug Mode (Admin Only) settings.

What does it do when enabled..?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 23, 2009, 03:03:07 PM
It just tells you, in each post, how much time was spent inside Aeva code (preparing the embedding stuff).
It's of no use to everyday users. Even I don't use it. And I'm the developer ;)
I should probably hide it or something...

Oh, and stop calling me siR ;) "Nao" will do fine.

@Everyone> http://smf-media.com/community/index.php?action=svn;rep=3
Revision 50 is available for download. This may, or may not become, v5.2.50, if all goes well. In any case, I will release a new version tomorrow. I think there are well enough changes to justify switching to the 5.2 branch (actually, v5.1.47 should have been called 5.2, and this one might justify a 6.0, lol...). If you wrote custom site implementations, you WILL have to rewrite them. Oh, and you absolutely need to regenerate the site list after installing the files. See below.

How to install? (the ONLY way to make sure it installs correctly)
- Make sure v5.1.47 is installed (5.1.42 should be okay too.)
- Download from the link above
- Unzip to your PC
- Take the four Subs-*.php files and upload them to your Sources folder. You do not need to upload anything else. Delete the Subs-Aeva-Generated-Sites.php file (not required but would be better).
- Go to Admin area > Aeva Sites > Click on Save (you may want to check the new sites added to the list)
- Please *test* and report your feelings about this version. Is it stable enough for you? Does it succeed in doing what you want? Etc.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on January 23, 2009, 03:09:43 PM
Nao, should I do it to?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 23, 2009, 03:26:46 PM
As you like. I don't think it'll crash anything, as long as you follow my installation walkthrough...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 23, 2009, 07:54:17 PM
Nao: This is a big ask but I'm curious as to whether it is plausible. Would you consider implementing alternative content for those that do not have Flash enabled? Like have a message where the video is telling people to download Flash.

I fully expect you to completely reject this request but thought it's worth a mention.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 24, 2009, 05:02:59 AM
Mark, we're already discussing this on noisen... Aren't we? Yes I'll do something at some point, but it'll probably be more in the lines of "add optional support for SWFObject".
You're always asking for a lot of things... You should starting paying me at some point, lol. Or maybe I should start paying you. Someone has to pay somebody, definitely.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 24, 2009, 07:35:01 AM
Nao, I never ask for anything!

Anyway, I have a request... ah bummer.

I post up videos on pretty much every news article on my home page and now I'm realising there are going to be a lot of external links. Can you add "rel=nofollow" to the original links produced by your mod? If not, can you tell me where I can do it myself?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 24, 2009, 09:32:56 AM
Nah...
I think that if you're going to use the bandwidth of a video site, you can at least give it some Pagerank in exchange. It doesn't cost you anything...
nofollow is mainly there to prevent board spamming.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 24, 2009, 11:08:12 AM
Quote from: Nao 尚 on January 24, 2009, 09:32:56 AM
Nah...
I think that if you're going to use the bandwidth of a video site, you can at least give it some Pagerank in exchange. It doesn't cost you anything...
nofollow is mainly there to prevent board spamming.
I completely respect that opinion but I'll sleep at night knowing that I'm preventing YouTube and the BBC from getting some PR from my website.

Would you be kind enough to tell me what file I need to edit?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: tridirk on January 24, 2009, 11:24:03 AM
I just installed 5.1.47

I uninstalled the previous version, and now my forum doesn't work?

I get a blank white page?

What happened?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 24, 2009, 01:47:42 PM
@tridirk> Did you try to reinstall...?

Quote from: mark7144 on January 24, 2009, 11:08:12 AM
I completely respect that opinion but I'll sleep at night knowing that I'm preventing YouTube and the BBC from getting some PR from my website.
I don't get you. You're saying BBC is worthy of being in the Popular list, but it's not worthy of getting PR thanks to you?
What does it cost you? It's not like giving them PR will steal PR from you...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 24, 2009, 02:05:53 PM
Auto-Embed Video & Audio (Aeva) v5.2.50

Version 5.2.50                                  24th January 2009
-----------------------------------------------------------------
* Site list went from 180kb to 142kb by:
  - renaming all array variables to simpler, more logical names
  - reducing the size of countless fix-html patterns, fixing lots of sites in the process,
    and possibly breaking a couple as well (please send a report if you find any!)
+ Added support for HD in YouTube
+ Added aeva_link class to links below videos, in case you want to style them
! Removed magic quotes fix and added a more generic fix for extra addslashes
* Changed noexternalembed test to something in line with other lookup tests
+ Added support for noexternalembed in BBC News (in case your lookup server isn't in the UK)
+ Added support for audio in BBC News, and updated lookups to retain the original URLs
+ Added support for audio in Trilulilu.ro
+ Added support for Scribd.com (online e-books)
+ Added support for Cityvox.fr (French video site)
+ Added support for Wat.tv (another French video site, and we're not done yet!)
+ Added support for Allocine.fr (mainly movie trailers, like Excessif.com)
+ Added support for Culturepub.fr (couldn't get the shows to embed, so I just included
  support for the commercials -- with HD, but autoplay can't be set to false, sucks!)
* Moved a few sites into the Popular section (maybe it was a bit too empty)
* MySpaceTv is now just MySpace, and links were changed accordingly
! Fixed mp3tube.com lookups (they changed their URL format)
- Removed both GoFish.com entries (closed without warning)
- Removed AOL Uncut (they who try to clone YT are doomed to die)
* Added show-link to Google Video, which doesn't link to its vids
* Changed hq-movie system for YouTube videos, to make it easier
  to switch to different movie types for all sites
* Many, many more small changes...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 24, 2009, 02:28:35 PM
Just so you know -- I uploaded the latest site list to the mod site, and even at 144kb, it came back as truncated. So I removed all comments, as for last time... It came back as truncated -- again. So now I've replaced it with a 2kb empty file which will tell Aeva to keep its current site list. I'll try to find a solution. You can follow the bug report here:
http://dev.simplemachines.org/mantis/view.php?id=2967
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: InsaneneSs on January 24, 2009, 03:18:11 PM
Nao, when i put a link it says this : http://www.youtube.com/watch?v=jQZeAKbFfic (External Embedding Disabled) "

Where do i activate External Embedding ?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 24, 2009, 03:31:30 PM
Nao, flawless upgrade from what I can tell! What size are the HD embeds? Does it respect the max-width adjustment in the css?

Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 24, 2009, 05:05:52 PM
@Became> I don't have a problem with this video... Does it always say that, even when retrying? You can force the video to embed by removing "noexternalembed" from the link (make sure to keep the # otherwise it'll try to lookup again and it might say "noexternalembed" again...). Are you using the latest version? I made a change to the embedding test in v5.2.50 (using a negative look-behind regex pattern, which is super-geeky and thus plenty cool), it's always been working for me...

@weightman> Phew! I'm always a bit fearful when it comes to releasing such a large update... And that's certainly the biggest update I've released so far. Very busy week...!
The HD embeds are 854x504, just like on YouTube (normally, their own embed code forces them to 640x385). You can force them to show at widescreen HQ (640x385) size by commenting out the example code in the Custom-Example file. Yes, it respects the max-width adjustement, unfortunately IE doesn't seem to give a damn about limiting max-width for Flash objects, the only way you can limit their size under IE is to set width: 640px (or whatever you like), but it will force *all* embeds to that width, which is even sillier... Adding a "real" max-width limitation will be one of my priorities in the upcoming releases.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 24, 2009, 05:38:44 PM
QuoteAdding a "real" max-width limitation will be one of my priorities in the upcoming releases.

Yea, that will be cool.

Thanks again!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 24, 2009, 05:58:35 PM
I still have so many things to add, lol...

Who's in for making a to-do-list?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on January 24, 2009, 06:11:22 PM
ok installed but when i go to go to feature and option settings the page does not load it goes to a white 500 internal service error in the forum error log it says that it was "Unable to load the 'Aeva.english' language file" help please
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 24, 2009, 06:27:47 PM
Uh... Dunno.
Does it do that for both Aeva tabs?
Try to uninstall and reinstall.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on January 24, 2009, 06:46:32 PM
Quote from: Nao 尚 on January 24, 2009, 06:27:47 PM
Uh... Dunno.
Does it do that for both Aeva tabs?
Try to uninstall and reinstall.
When i click the features and options button just a blank screen comes up saying internal error,after i install it the aeva site lists are still there even though if you click it,it goes to a white page again and i have unistalled Aeva
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 24, 2009, 07:10:09 PM
Nao: Latest versions says it is 5.2.48 in the Package Manager.

Quote from: Nao 尚 on January 24, 2009, 01:47:42 PM
I don't get you. You're saying BBC is worthy of being in the Popular list, but it's not worthy of getting PR thanks to you?
Oh they completely deserve it, not that it matters to them, but I won't feel guilty about not giving it to such a massive organisation.

Quote from: Nao 尚 on January 24, 2009, 01:47:42 PM
What does it cost you? It's not like giving them PR will steal PR from you...
I just don't feel comfortable with my home page having loads of external links.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on January 24, 2009, 11:18:11 PM
So no help at all ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on January 25, 2009, 03:13:31 AM
i got this "Fatal error: Cannot redeclare modifyaevasettings() (previously declared in /home/wewantsp/public_html/Sources/ModSettings.php:466) in /home/wewantsp/public_html/Sources/ModSettings.php on line 479"

when i try to go to aeva settings,i never use to get that with previous aeva installments when upgrading
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 25, 2009, 04:02:23 AM
Quote from: mark7144 on January 24, 2009, 07:10:09 PM
Nao: Latest versions says it is 5.2.48 in the Package Manager.
Oops... That's the problem when you have so many files to update eheh. package-info.xml (version number in package manager), changelog.txt, readme.txt (in the title), Subs-Aeva-Admin.php (version number in admin area)...
I uploaded an updated version with the correct package-info.xml file.

Quote from: Nao 尚 on January 24, 2009, 01:47:42 PM
Oh they completely deserve it, not that it matters to them, but I won't feel guilty about not giving it to such a massive organisation.
I don't get it.

*Why* don't you want to give PR to YouTube and BBC?
Can you explain a reason? Have they been naughty?

QuoteI just don't feel comfortable with my home page having loads of external links.
Then, disable links...

QuoteFor people who want rel="nofollow"
NO, I'm never going to add this to Aeva! That's completely crazy. You'll have to settle with re-editing your own files every time. And realize how stupid this is.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 25, 2009, 04:13:12 AM
Quote from: kingkingston on January 24, 2009, 11:18:11 PM
So no help at all ?
<tact-free mode>
Ah, you quickly get used to this, eh? And then you complain because people who usually answer you are sleeping and you WANT them to wake up and freaking help you. And next time, you'll be expecting me to bring you breakfast in bed, too?
</tact-free mode>

I remember fixing already a badly installed mod for you before (Load.php stuff)... If you don't know how to install packages correctly, don't install them!

And I say this on every other freaking page of the topic... If I can't determine what doesn't work, then I can only help if you're willing to give admin access + ftp access... I don't even know what your URL is.
PS: And the support board is over at aeva.noisen.com, not here.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on January 25, 2009, 04:25:13 AM
Quote from: Nao 尚 on January 25, 2009, 04:13:12 AM
Quote from: kingkingston on January 24, 2009, 11:18:11 PM
So no help at all ?
<tact-free mode>
Ah, you quickly get used to this, eh? And then you complain because people who usually answer you are sleeping and you WANT them to wake up and freaking help you. And next time, you'll be expecting me to bring you breakfast in bed, too?
</tact-free mode>

I remember fixing already a badly installed mod for you before (Load.php stuff)... If you don't know how to install packages correctly, don't install them!

And I say this on every other freaking page of the topic... If I can't determine what doesn't work, then I can only help if you're willing to give admin access + ftp access... I don't even know what your URL is.
PS: And the support board is over at aeva.noisen.com, not here.

sorry was just a bit steamed up,i install packages fine,well when i install them everything seems to work.Every aeva addon has worked a treat except this one for some reason,you do a great job and ill give you my ftp access and admin access for sure :),sorry again
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 25, 2009, 05:00:32 AM
Err... Yes?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 25, 2009, 07:07:43 AM
Quote from: Nao 尚 on January 25, 2009, 04:02:23 AM
*Why* don't you want to give PR to YouTube and BBC?
This has nothing directly to do with YouTube or BBC they just happened to be involved. I actually never said anything about PR, you are the one that brought all that into this conversation. I simply don't want a load of external links on my home page which gives me two choices, disable original links or do rel=nofollow... one of those choices negatively impacts my users and one of them doesn't.

Will having loads of external links have any effect on my ranking? Maybe, maybe not but there is no harm in being safe when it doesn't hurt anyone... and it doesn't in this case.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Karlsm on January 25, 2009, 07:55:28 AM
Thanks for the great mod btw :)

I have installed the new version and working but i still can't embed the BBC url into posts?

Any help greatly appreciated.

SMF 1.1.7 i'm using and new version of Aeva 5.2.50
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on January 25, 2009, 08:37:31 AM
Mark,

How would having the media links pointing back to the SOURCE of the media adversely affect YOUR ranking? The link-backs just give another incoming link in the list to the original source.  Honestly, if I were the search engines, I would "ding" people who do exactly what you just did.... and I would recommend against anyone else actually doing that.

It is only polite (and sometimes, it is required) to give the original source an attribution and link-back since you are using their content.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Relyana on January 25, 2009, 08:45:06 AM
Quote from: Nao 尚 on January 24, 2009, 02:05:53 PM
+ Added support for audio in Trilulilu.ro

OMG !!! You have no idea how happy I am right now ! Thank you so much ! :D

later edit:
I uninstalled the previous aeva version, installed the current one and nothing works out anymore .. no video, no audio ...only links the way they were posted  :(

later edit:
Fixed : uninstalled again, noticed that the aeva files from the Sources directory were not removed, manually removed them and installed the mod again .. now it works.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 25, 2009, 11:43:26 AM
Quote from: Kindred on January 25, 2009, 08:37:31 AM
How would having the media links pointing back to the SOURCE of the media adversely affect YOUR ranking?
It wouldn't, that's not the issue and neither is PR. My concern is with the number of external links on my page, I don't want an excessive number of external links on my home page as it's possible such a thing could trigger something with Google. I admit it probably won't but that doesn't change the fact it's understandable that I want to play it safe.. it doesn't harm my website and it doesn't harm anyone else.

Quote from: Kindred on January 25, 2009, 08:37:31 AMHonestly, if I were the search engines, I would "ding" people who do exactly what you just did....
I'm an avid reader of Matt Cutt's blog and regularly post on the Google forums, I know what I'm doing is safe.

Quote from: Kindred on January 25, 2009, 08:37:31 AMIt is only polite (and sometimes, it is required) to give the original source an attribution and link-back since you are using their content.
I'm giving a link back and websites like the BBC will not care in the slightest whether those links have rel=nofollow.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 25, 2009, 12:17:50 PM
Quote from: Relyana on January 25, 2009, 08:45:06 AM
OMG !!! You have no idea how happy I am right now ! Thank you so much ! :D
Well it was requested over at my site... ;)

Quotelater edit:
Fixed : uninstalled again, noticed that the aeva files from the Sources directory were not removed, manually removed them and installed the mod again .. now it works.
I'm sorry in advance, but I need to put this in a large font so that everyone can see it:

Aeva 5.2.50 changes a lot of things in the site list. If you have Aeva 5.1.47 installed, it will stop working (previous versions are fine). Once you install it, go to the Aeva admin area and just click on "Save". Aeva will not work until you do this.

After you do it, you should never again have to go to the admin area, even after upgrading. (Previously, Aeva would always remove your generated site list when upgrading. Someone requested that it would not be erased, so I did it, but this is only for v5.1.47, so if you upgraded from an earlier version, you'll be fine.)

Quote from: mark7144 on January 25, 2009, 11:43:26 AM
It wouldn't, that's not the issue and neither is PR. My concern is with the number of external links on my page, I don't want an excessive number of external links on my home page as it's possible such a thing could trigger something with Google.
No... It couldn't.

QuoteI admit it probably won't but that doesn't change the fact it's understandable that I want to play it safe.. it doesn't harm my website and it doesn't harm anyone else.
Yes, it harms the website which you link to. They have bandwidth to pay for, it's not free. Helping them build up their PR will/might help them get better advertisement rates or something, and everyone's happy. If everyone did it like you do, no video-sharing websites would allow external embedding for their videos.

QuoteI'm an avid reader of Matt Cutt's blog and regularly post on the Google forums, I know what I'm doing is safe.
So, doing something selfish is absolutely 100% safe, but doing something selfless "might not be on Google's side"? That's a strange way of seeing things...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: InsaneneSs on January 25, 2009, 12:46:03 PM
Nao it was an old version, i try to upgrade to last but modsettings gives an error cuz the other onde didn't uninstall sussesfully

Sorry my inglês is very bad xD
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 25, 2009, 12:50:30 PM
Quote from: Nao 尚 on January 25, 2009, 12:17:50 PMYes, it harms the website which you link to. They have bandwidth to pay for, it's not free. Helping them build up their PR will/might help them get better advertisement rates or something, and everyone's happy. If everyone did it like you do, no video-sharing websites would allow external embedding for their videos.
I'm only referring to the BBC and I assure you they do not care whether my links to their website are counted in Google. I pay for the BBC website to exist with my TV license. If they had advertising at all then I would expect some of that to be given to me. Really, they don't care about my small website passing on PR... I'm not harming anyone.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kimmie on January 25, 2009, 05:01:29 PM
I am still using Karls version of this mod (ver 3.1.2). What are the main differences between his version and your latest version? Is there an upgrade option so I dont have to uninstall the one I have and risk messing up/losing all the vid's that have been posted on my site?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 26, 2009, 01:38:51 AM
Quote from: mark7144 on January 25, 2009, 12:50:30 PM
I'm only referring to the BBC and I assure you they do not care whether my links to their website are counted in Google. I pay for the BBC website to exist with my TV license. If they had advertising at all then I would expect some of that to be given to me. Really, they don't care about my small website passing on PR... I'm not harming anyone.
It doesn't justify any better the fact that you actually shared your code to remove nofollow stuff. Again: if everyone does what you do, video sharing sites will no longer accept external embedding. (I'm actually considering putting the link below all videos, sometimes using the video's title as the link text.)

Quote from: Kimmie on January 25, 2009, 05:01:29 PM
I am still using Karls version of this mod (ver 3.1.2). What are the main differences between his version and your latest version?
A whole world.

QuoteIs there an upgrade option so I dont have to uninstall the one I have and risk messing up/losing all the vid's that have been posted on my site?
You don't risk losing anything. A great care has been put into making Aeva 5.x better than Aevac 3.x in every respect. So you won't lose anything, it's like you're the casino this time ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: FUBAR on January 26, 2009, 05:04:54 AM
Quote from: Nao 尚 on January 24, 2009, 05:05:52 PM
@weightman> Phew! I'm always a bit fearful when it comes to releasing such a large update... And that's certainly the biggest update I've released so far. Very busy week...!
The HD embeds are 854x504, just like on YouTube (normally, their own embed code forces them to 640x385). You can force them to show at widescreen HQ (640x385) size by commenting out the example code in the Custom-Example file. Yes, it respects the max-width adjustement, unfortunately IE doesn't seem to give a damn about limiting max-width for Flash objects, the only way you can limit their size under IE is to set width: 640px (or whatever you like), but it will force *all* embeds to that width, which is even sillier... Adding a "real" max-width limitation will be one of my priorities in the upcoming releases.

Could you give an example of this?

"You can force them to show at widescreen HQ (640x385) size by commenting out the example code in the Custom-Example file."

I'm not exactly sure what to comment out but I would like the HD versions of Youtube videos to be a smaller size. 

Thanks in advance,
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 26, 2009, 06:02:36 AM
Quote from: Nao 尚 on January 26, 2009, 01:38:51 AM
It doesn't justify any better the fact that you actually shared your code to remove nofollow stuff.
It does if I only intend for people to use it in a situation where it harms no one, like mine. I cannot be blamed if people choose to use it in a way that prevents websites that actually care about incoming link strength from small websites from getting it.

99% of videos posted on my home page are BBC and considering I pay for the BBC to exist I don't think it's immoral for me to 'nofollow' those links with the intent of being safe in regards to a subject that is mostly speculative.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 26, 2009, 06:11:46 AM
@Funar> Obviously, this: (I'm changing the code to make it cater to the HD thingy.)

foreach ($sites as $si => $te)
{
if ($te['id'] == 'ytb')
unset($sites[$si]['size']['hd']);
}


@mark> Even if it doesn't harm anyone, it is still bad practice to do this. Why won't you edit your message and remove that?
And I don't care about the BBC website. Their videos won't work anymore for me, so I'm not working on their crap anymore. It's NOT the issue. You could be adding nofollow to porn sites, I don't care. It's a matter of philosophy here. nofollow was only made to help prevent post spamming. Aeva is NOT related to post spamming, since you can disable the target sites.
And you might as well want to edit the url tag to disable nofollow for all external links, eh! Why not! You're only halfway through it... See what I mean?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 26, 2009, 06:44:32 AM
Nao: I have now removed the code as I don't want you to feel annoyed about it being there if it doesn't cause me much discomfort to have it removed.

I understand that rel=nofollow was created to stop link spamming but like so many things, it evolved into being useful for other purposes. Google often advise that you nofollow legitimate links for link pages if there are lots of them as otherwise it can cause your website to trigger something in Google. So Google themselves officially promote the use of rel=nofollow for purposes beyond that of what it was created for. Google have also officially said that it doesn't mind people nofollowing their own internal links for the sake of 'PR sculpting'.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 26, 2009, 08:04:48 AM
Quote from: mark7144 on January 26, 2009, 06:44:32 AM
Nao: I have now removed the code as I don't want you to feel annoyed about it being there if it doesn't cause me much discomfort to have it removed.
Thanks.

QuoteI understand that rel=nofollow was created to stop link spamming but like so many things, it evolved into being useful for other purposes. Google often advise that you nofollow legitimate links for link pages if there are lots of them as otherwise it can cause your website to trigger something in Google.
If you can find me some link to that... ;) (you won't even have to nofollow it, lol)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 26, 2009, 09:02:19 AM
Quote from: Nao 尚 on January 26, 2009, 08:04:48 AM
If you can find me some link to that... ;) (you won't even have to nofollow it, lol)
Examples where nofollow is promoted for use beyond its original purpose.

1) Google happy with nofollow for 'PR sculpting'. (http://www.seomoz.org/blog/questions-answers-with-googles-spam-guru)
"The nofollow attribute is just a mechanism that gives webmasters the ability to modify PageRank flow at link-level granularity. Plenty of other mechanisms would also work (e.g. a link through a page that is robot.txt'ed out), but nofollow on individual links is simpler for some folks to use. There's no stigma to using nofollow, even on your own internal links..." - Matt Cutts, Head of Google's Webspam team

2) Google advises nofollow for paid links (http://groups.google.com/group/Google_Webmaster_Help/search?group=Google_Webmaster_Help&q=too+many+links+penalty&qt_g=Search+this+group)
"In order to prevent paid links from influencing search results and negatively impacting users, we urge webmasters use nofollow on such links." - Google Guidelines

3) Google happy with nofollow for crawl prioritisation (http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=96569)
"Search engine robots can't sign in or register as a member on your forum, so there's no reason to invite Googlebot to follow "register here" or "sign in" links. Using nofollow on these links enables Googlebot to crawl other pages you'd prefer to see in Google's index." - Google Guidelines

4) Google advises nofollow for links pages that breach the '100 links per page' guideline
Sorry, can't find a link for this but I don't think it's that important considering the other links provided.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: FUBAR on January 26, 2009, 01:42:24 PM
With respect to reducing the size of the HD video in Youtube....

Quote from: Nao 尚 on January 26, 2009, 06:11:46 AM
@Funar> Obviously, this: (I'm changing the code to make it cater to the HD thingy.)

foreach ($sites as $si => $te)
{
if ($te['id'] == 'ytb')
unset($sites[$si]['size']['hd']);
}



I tried to do this last night but didn't see any changes and I'm not really sure if I did it right.  I removed the // just before each line in the example file and re-uploaded it. 

Am I supposed to move the code or comment out any other lines? 

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 26, 2009, 02:08:16 PM
Did you remember to regenerate the site list in the admin area?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: FUBAR on January 26, 2009, 02:15:27 PM
I didn't know that needed to be done, I will try that and let you know how it goes.

If it will help I can post the example file with the edits I've made. 

Thanks again Nao.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 26, 2009, 02:36:24 PM
@Everyone> A tentative release of Aeva 5.2.52 is available over at my website (link in my sig).

It adds support for two new networks of video sharing sites (i.e. not two new sites, but potentially hundreds of new sites).
If you can find any other network I may have missed, please share with us...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 26, 2009, 03:33:13 PM
Nao, I can't get the YT HD videos to show at HQ size. I tried making the changes to Subs-Aeva-Custom-Example.php and saved the AEVA site  list again but no luck. Here is the code after I made the changes:

foreach ($sites as $si => $te)
{
// // Always hide local mp3 player's URL
// if ($te['id'] == 'local_mp3')
// $sites[$si]['show-link'] = false;

// Set YouTube's HD videos to the same size as normal widescreen - you can also do: unset($sites[$si]['size']['hd']);
if ($te['id'] == 'ytb')
$sites[$si]['size']['hd'] = array(640, 385);
}

?>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: FUBAR on January 26, 2009, 04:04:40 PM
Quote from: Nao 尚 on January 26, 2009, 02:08:16 PM
Did you remember to regenerate the site list in the admin area?

I just took a look in the admin area and didn't notice an option to regenerate the site list. 

I looked under the Maintenance area but there's just options for the thumbnails and to look for error's or prune comments; nothing about the site list.

I made the same edits as weightman.

I'm sorry, this should be straight forward but I'm having some difficulty.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fmofmpls on January 26, 2009, 05:03:32 PM
Does this mod support the Internet Moving Image Archive? I know it's been requested in the past.

Link - http://www.archive.org/details/movies
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 26, 2009, 05:23:05 PM
Nao: What are the disadvantages of having all the websites enabled?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 26, 2009, 06:38:18 PM
@weightman & Fubar> Do we agree that you DID rename your custom-example file to Subs-Aeva-Custom.php?

@fmofmpls> it used to be supported... I just tried. Apparently, the embed code & lookup code were both changed heavily. I'll have to rewrite this. Since I like archive.org (they host videos from speeddemosarchive, I like these, plus the Wayback Machine is so cool), I'll try to do it for the 5.2.52 official release.

@mark> none that I can think of. Apart from the obvious one: lookups, fix-html & matching will be a bit slower. But it never takes THAT much time anyway...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: FUBAR on January 26, 2009, 07:22:08 PM
I finally got it after changing the file name and regenerating the site list.

Thanks for the help Nao, excellent mod! 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 26, 2009, 08:33:50 PM
Yea, I hadn't renamed the file.

Thanks again!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 27, 2009, 03:37:35 AM
Guys, you really should read the comments when you modify a file, ehhh... O:)

I'll make them a bit clearer in the next release. With big titles. Lol.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 27, 2009, 11:34:16 AM
ESPN doesn't work...

Try this: http://espn.go.com/video/clip?id=3863178
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 27, 2009, 12:36:00 PM
Try with this pattern...

'pattern' => 'http://(?:sports\.)?espn\.go\.com/(?:broadband/)?(?:player\.swf\?mediaId=|video/videopage\?(?:[^"]*?)?videoId=|video/clip\?(?:[^"]*?)id=)([0-9]{1,10})',

Edit--tested and it works.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 27, 2009, 01:02:16 PM
Thanks and you need to include an original link for it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 27, 2009, 04:04:30 PM
Yeah, already done :)
I'm in the process of releasing v52 official, btw.
I also fixed support for sportlines/cbssports which was broken... (I'm not sure why I'm bothering to fix things that no one notices are broken, though...)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 27, 2009, 04:10:57 PM
Version 5.2.52 is released!
Adds support for litterally hundreds of new websites! (Well... Hundreds of places to embed from, at least!)

Version 5.2.52                                  27th January 2009
-----------------------------------------------------------------
* The Popular Sites list has grown a bit, to around 25 sites. To be included in it,
  a website must not be "niche" or limited to a single country, it must have an English
  version available, and have a ranking below 1,000 at Alexa (probably not the best ranking
  index, but if you find something better, feel free to share.)
+ Added support for ALL Kewego-powered sites, including: Kewego (all countries),
  MyKewego, eBay, Lycos, CityVox, LeFigaro, L'Equipe, Metro, M6, Tom's Guide, LeMatin.ch,
  jeuxvideopc.com, Voila and *hundreds* of other sites! Most of them are in French, though.
+ Added support for most Kaltura-powered sites, including Wikipedia (although I couldn't find
  any example). If the video you want to embed doesn't provide embed code, just paste the
  URL to its parent page, and add "#kaltura" (without quotes) next to the URL. Should work!
  Support is only tentative, because I'm not sure whether it is desired by Kaltura itself.
+ Added support for MyTaratata.com (live songs), actually powered by Kewego but
  it uses different URLs so it's going to be separate from Kewego either way.
- Removed Brightcove.tv (site was discontinued on December 2008)
- Removed CityVox and Jubii, as they are part of the Kewego network...
! BBC News links would try to embed even when there weren't any videos in them
! Fixed support for Archive.org, added support for mp4 files. Wasted hours working on
  fixing the Flash player when it actually worked. Grmpf... What? You don't care?!
! Fixed support for ESPN (now, see, *I* don't care about sports, but I'm doing it. Ha!)
! Fixed support for CBS Sports, added support for embed code fix (hmm, see below...)
* Added lookup-skip-empty parameter (see Custom-Example file for more details)
* Added fix-html-urldecode (same) (only used for CBS Sports, not sure if I'll keep it)
- Removed lookup-check and lookup-predecode parameters (apparently no longer needed)
* Re-organized help section in Example file (you NEED to read it if you plan to customize!)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 27, 2009, 04:19:23 PM
Nao,

Brightcove embeds are still functional but don't work in AEVA:

http://link.brightcove.com/services/player/bcpid1480107488
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 27, 2009, 04:32:20 PM
Installed new version and then got this error in the log. Anything to worry about? Do I need to do anything about it? The YT HD embed size is being correctly downsized as desired.

http://weightliftingexchange.com/smf/index.php?option=com_smf&amp;Itemid=39&amp;action=packages;sa=uninstall2;package=Aeva-5.2.50.zip

2: unlink(/home/xxxxxx/public_html/smf/Sources/Subs-Aeva-Custom-Example.php) [<a href='function.unlink'>function.unlink</a>]: No such file or directory
File: /home/xxxxxx/public_html/smf/Sources/Subs-Package.php
Line: 1047
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 27, 2009, 04:34:18 PM
- What page does this come from? Because I don't remember seeing a brightcove link without a bctid setting...

- unlink? You meant unset, right?

- latest version is 52, not 50...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 27, 2009, 04:37:27 PM
QuoteWhat page does this come from? Because I don't remember seeing a brightcove link without a bctid setting...

It is just a link to a video player I made before Brightcove ended one aspect of their business. It actually is supposed to not work but all my embeds from them still do. I have moved all the others but this one I will only set up on my own server after it is removed from Brightcove because its a lot of disc space so no reason to do it until I have to.

Quote- unlink? You meant unset, right?

That is the error as it appears in the log. Looks like it tried to remove the file when I uninstalled the last version but since I changed the name to remove example....

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 27, 2009, 05:06:33 PM
weightman: I had the same error last time i upgraded (or was it SMG) a few days ago. That was caused because the versions were not correct in the files. Because I didn't remove the old package (just uninstalled it), they were suddently both showing as installed.
Got the same error, but just uninstalled again and removed the old package. Then installed the new one.

Is this perhaps the same issue?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 27, 2009, 05:33:05 PM
QuoteIs this perhaps the same issue?

I don't think so. It seems logical to me that this error was caused from the renaming of Subs-Aeva-Custom-Example.php so that the file is then not there upon uninstall.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 27, 2009, 05:39:03 PM
Not if you could uninstall without errors, I guess. It's an uninstallation error as I see it. To me it had no effect at all, but of course it shouldn't be there.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 27, 2009, 05:40:48 PM
The error is obviously harmless but I know Nao is a perfectionist and as a beta tester I report everything. :p
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 27, 2009, 05:46:07 PM
Sure the right thing to do. I'm pretty sure it was in SMG I had the error, but I saw no effect of it and Dragoon quickly corrected the new package.
However I didn't have time to try the new SMG package.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 27, 2009, 06:05:06 PM
Quote from: weightman on January 27, 2009, 04:37:27 PM
It is just a link to a video player I made before Brightcove ended one aspect of their business. It actually is supposed to not work but all my embeds from them still do.
But Aeva has always been using this url format for brightcove, so it's not like it stopped working overnight... Right?

QuoteThat is the error as it appears in the log. Looks like it tried to remove the file when I uninstalled the last version but since I changed the name to remove example....
My mistake, I thought you were talking about an issue with the Example file (for which I provided an example with "unset"), hence the confusion.
Your problem is that you renamed the Example file to Subs-Aeva-Custom.php, which is cool and harmless of course. The error you received is most likely a SMF bug (not Aeva), because from what I see in the source code, SMF always checks whether the file exists before it attempts to remove it, so it's not like I forgot some "error=skip" setting in the xml file.

All in all, I don't think I can do anything about that... I personally would rename the file on my local copy, so that it has both -Custom and -Custom-Example in the remote folder when I upload my finished file.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 27, 2009, 06:33:51 PM
Looks like the majority of my Brightcove embeds predate this mod and are embed codes. Here is an example:

<embed src="http://services.brightcove.com/services/viewer/federated_f8/1480107488" bgcolor="#FFFFFF" flashVars="playerId=1480107488&viewerSecureGatewayURL=https://services.brightcove.com/services/amfgateway&servicesURL=http://services.brightcove.com/services&cdnURL=http://admin.brightcove.com&domain=embed&autoStart=false&" base="http://admin.brightcove.com" name="flashObj" width="790" height="620" seamlesstabbing="false" type="application/x-shockwave-flash" swLiveConnect="true" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></embed>

While investigating, I found that this google video is doubling up: http://weightliftingexchange.com/index.php?option=com_smf&Itemid=39&topic=2904.msg9104#msg9104

Gotcha on the uninstall error.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 27, 2009, 06:56:30 PM
Quote from: weightman on January 27, 2009, 06:33:51 PM
While investigating, I found that this google video is doubling up: http://weightliftingexchange.com/index.php?option=com_smf&Itemid=39&topic=2904.msg9104#msg9104

You have to edit your .css script somewhere so the videos show besides each other. Then you can watch in 3D ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Relyana on January 27, 2009, 07:36:47 PM
QuoteMod Update Notificaiton for Aeva (video/audio auto-embedder)

Just a typo ... sorry for being offtopic now.  :-\
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ryangruhn on January 27, 2009, 10:31:20 PM
None of my videos in the following form are being auto posted:

http://www.mysite.com/forum/videos/myvideo.wmv 

Any idea of why?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 01:07:28 AM
@Nao

Is there a way to force load of HQ Youtube automatically, as well as setting it WideScreen (like on Youtube) `?

I see you have mentioned it being added to latest release, but I dont see how it works...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: goldenboy48 on January 28, 2009, 01:32:28 AM
How do I change the size of videos in the latest version?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: - danny on January 28, 2009, 02:02:10 AM
Quote- Embed local files (except for attachments) (DivX, Avi, Flash Swf, Flash Flv, Real Media, Windows Media, Quicktime)

i was under the impression that this mod didn't support divx...

...can someone tell me which divx sites are supported? stagevu, freestreamtube, supernovatube?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 28, 2009, 02:52:26 AM
@runeberg> Are lookups available on your server?
@weightman> this Google Video doubling stuff is strange... I'll investigate. BTW what is it with your strange videos??!
@Alex> If you need support for a specific site, just ask in the "Aeva and Websites" board (check out my signature). As for your quote, it relates to local files, not remote files. You're mixing it up. But Aeva *can* support websites that only provide Divx. It did support Stage6 fine (and I was using it) until they closed their doors... Why were you under the impression that it didn't support divx?
@ryang> Well what's your URL?
@Panesarv> read the example php file.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kimmie on January 28, 2009, 03:39:34 AM
Quote from: Nao 尚 on January 26, 2009, 01:38:51 AM

Quote from: Kimmie on January 25, 2009, 05:01:29 PM
I am still using Karls version of this mod (ver 3.1.2). What are the main differences between his version and your latest version?
A whole world.

That doesnt really answer my question..lol. I need to know what the differences are. If I dont care for them, or if they will not benefit my site, then I 'm not going to go through all the headache of changing to a newer version since this one does not have any bugs in it and there is absolutely nothing wrong with it. I cannot compare the differences myself because you removed all his versions and the changelogs that were on the mod page. :)

QuoteIs there an upgrade option so I dont have to uninstall the one I have and risk messing up/losing all the vid's that have been posted on my site?

You don't risk losing anything. A great care has been put into making Aeva 5.x better than Aevac 3.x in every respect. So you won't lose anything, it's like you're the casino this time ;)

While I can understand that "great care" has gone into making the changes you have made, a simple "no, there is no upgrade option" - would have been sufficient  - no need for the dramatics. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 28, 2009, 05:11:37 AM
@ryang> I can't PM you right now -- I have reach the maximum PM limit per hour, lol... So, I just wanted to say: I'm still waiting for some admin access to your board, so I can see what's going on ;)

Quote from: Kimmie on January 28, 2009, 03:39:34 AM
That doesnt really answer my question..lol. I need to know what the differences are. If I dont care for them, or if they will not benefit my site, then I 'm not going to go through all the headache of changing to a newer version since this one does not have any bugs in it and there is absolutely nothing wrong with it.
Oh yes Aevac 3.x does have its share of bugs... The nbsp bug, the No embedding in quotes bug (500 error crash galore on PHP 5.2.x), lots of minor sites are no longer working because they closed down or changed their embedding code (I'm fixing them as I find them), and probably some other things I can't think of right now...

QuoteI cannot compare the differences myself because you removed all his versions and the changelogs that were on the mod page. :)
I removed them because he asked me to do it ;)
The changelog is still there... Download v5.2 and open the changelog.txt file. You'll see a full changelog starting from v4.0.

QuoteIs there an upgrade option so I dont have to uninstall the one I have and risk messing up/losing all the vid's that have been posted on my site?
Nope. But you can uninstall yours, install the new one, and if it doesn't work, uninstall it, then reinstall v3... As long as you don't click on "Delete" next to v3, you can reinstall it as much as you like.

QuoteWhile I can understand that "great care" has gone into making the changes you have made, a simple "no, there is no upgrade option" - would have been sufficient  - no need for the dramatics. ;)
Yeah... But generally speaking, I have a hard time understanding the reason for me to convince people to upgrade. I mean, if you're happy with v3, keep using it. Then one day you'll stumble upon a site that uses v5, and you'll think, "how is he doing that? It's cool!", and then you'll install v5. You might just want to do it now. But it's none of my business really. I myself keep using a lot of outdated programs that I like better than their more recent versions (Paint Shop Pro 7 has all of the features I need, and it loads in less than a second, as opposed to PSP X and up.) It's free in every sense. You're free to keep it, free to upgrade, and it's free to keep. I have nothing to sell.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 05:18:05 AM
Quote from: Nao 尚 on January 28, 2009, 05:11:37 AM
@ryang> I can't PM you right now -- I have reach the maximum PM limit per hour, lol... So, I just wanted to say: I'm still waiting for some admin access to your board, so I can see what's going on ;)

Quote from: Kimmie on January 28, 2009, 03:39:34 AM
That doesnt really answer my question..lol. I need to know what the differences are. If I dont care for them, or if they will not benefit my site, then I 'm not going to go through all the headache of changing to a newer version since this one does not have any bugs in it and there is absolutely nothing wrong with it.
Oh yes Aevac 3.x does have its share of bugs... The nbsp bug, the No embedding in quotes bug (500 error crash galore on PHP 5.2.x), lots of minor sites are no longer working because they closed down or changed their embedding code (I'm fixing them as I find them), and probably some other things I can't think of right now...

The major improvements must be HQ video (who wants to look at LQ!!), and for some the ability to use HD and widescreen as well.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 28, 2009, 05:21:45 AM
Quote from: akyhne on January 28, 2009, 05:18:05 AM
The major improvements must be HQ video (who wants to look at LQ!!), and for some the ability to use HD and widescreen as well.
I wasn't mentioning what I added, but what was *fixed* between v3 and v5 ;)
All I could think of was the bugs I fixed when I started working on Aeva. I don't remember what Karl fixed by himself between v3 and v4.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 06:13:24 AM
I think Kimmie is asking what his users will get out of an upgrade. The HQ playback of Youtube is reason enough to upgrade. Then for his own sake: A complete admin part where he can easily adjust a lot of settings and parameters without having to code in the files to change this and that.

It should also be mentioned that NAO rewrote a huge amount of code to make it more stable, easier to change things, smaller files/code to speed things up.

I know some people are wondering why NAO is using time on saving 20kb here and there. But even with todays high speed internet connections, you can still feel the difference. The bottleneck is not only your connection speed, but also the browsers speed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 06:21:44 AM
Quote from: runebergen on January 28, 2009, 01:07:28 AM
@Nao

Is there a way to force load of HQ Youtube automatically, as well as setting it WideScreen (like on Youtube) `?

I see you have mentioned it being added to latest release, but I dont see how it works...

Quote from: Nao 尚 on January 28, 2009, 02:52:26 AM
@runeberg> Are lookups available on your server?


Yeah, think so...

Added a screenshow...


But the Youtubes arent HQ, nor widescreen...

Is there a place to set that ?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 28, 2009, 07:07:15 AM
Are you sure you're actually trying to embed HD (or HQ) widescreen stuff...? Because if they aren't HD/HQ/WS on the YouTube page, they won't be either on your site... Aeva is not a magic trick, really.
Test with more videos.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 07:30:30 AM

Yeah, you might be onto something.. I installed this plugin last nite :)

Well, at youtube, some/most new videos have the option, to watch normal or HQ.

So, I was thinking your code would then embed the HQ version of it...  (usually has &fmt=18 or something, if one manually want to watch)

The embed code from youtube itself, or the link without any "&fmt=18" is not HQ.

And neither is acually any youtube video in itself when embedded, only on youtube page I've seen it work, both HQ and widescreen

For example :
http://www.youtube.com/watch?v=Hr0Wv5DJhuk&fmt=18

That link shows you HQ video, as well as widescreen...


But if you embed it on your own webpage (using youtube code), its not shown in HQ or widescreen...But rather the old dull square player :)

So, I was wondering if your code would allow it to be embedded AS SHOWN on the youtube page itself :)

Hope that makes sense




Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 28, 2009, 07:41:29 AM
It *does* show in HQ for me...
http://aeva.noisen.com/dev/5060/tests-video-embedding/msg228594/#msg228594
I tried with and without the &fmt=18 link in the video.

Of course it won't appear in widescreen, because it's not in widescreen in the first place.
See the black bars on the right and left of the video? That's 4/3. Just view the source code and search for "isWidescreen". If it says "true", then it's widescreen. Otherwise it's not. Pretty simple... I told you, Aeva's not a magician. It just does what YouTube tells it to do.
You can force the video to show up in a widescreen embed by adding #ws at the end, but it'll only add black bars, nothing interesting.
You can force *all* videos to show up in widescreen*, but I don't see the point. YouTube is forcing all videos in widescreen mainly to encourage users to upload widescreen content, I think. And/or to have a similar layout on all pages. Aeva only embeds videos in your posts -- you don't need a similar layout on all pages?

* See Subs-Aeva-Custom-Example.php and just use 'normal' instead of 'ws' in the example...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 07:43:42 AM
I never saw a Youtube video that can't be embedded in HQ on Youtubes own site.

Did you enable HQ option in AEVA admin center?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 28, 2009, 07:49:02 AM
Quote from: akyhne on January 28, 2009, 07:43:42 AM
I never saw a Youtube video that can't be embedded in HQ on Youtubes own site.
Well you must have been incredibly lucky...
I'd say about 75% of all current YT videos are only available in LQ.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 07:53:16 AM
runebergen: The guy who did the http://www.youtube.com/watch?v=Hr0Wv5DJhuk&fmt=18
video, made a 16/9 video  in 4/3 format (with black bars in top/buttom. Because Youtube now shows all videos in a widescreen embedding, you suddently also have black bars on the right and left side of the video. So the right/left black areas are really not part of the video you linked, just some black embedding space, whereas the black in top/buttom of the video IS a part of the video.

So you will have to blame the author for not making the video correct.

In version: 5.1.42 it embeds as expected - in HQ.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 07:54:28 AM
Quote from: Nao 尚 on January 28, 2009, 07:49:02 AM
Quote from: akyhne on January 28, 2009, 07:43:42 AM
I never saw a Youtube video that can't be embedded in HQ on Youtubes own site.
Well you must have been incredibly lucky...
I'd say about 75% of all current YT videos are only available in LQ.

Can you give me a link that doesn't?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SergeantAsh on January 28, 2009, 07:59:56 AM
Can I query what this setting exactly does? Does it relate to file/reference specified within the theme?

QuoteEmbed Local Files

Also, is there any way using this mod to get a video such as this one to embed...

http://www.channel4.com/programmes/shipwrecked/video/series-5/episode-1/hollies-profile

Thanks,
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 08:02:31 AM
Quote from: @sh on January 28, 2009, 07:59:56 AM
Can I query what this setting exactly does? Does it relate to file/reference specified within the theme?

QuoteEmbed Local Files
It embeds local files on your domain. So if you upload a .flv video to a folder, you can embed it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SergeantAsh on January 28, 2009, 08:21:13 AM
Ah, ok so if I put a static link within a post to one of the include 'local file types', it'll automatically embed it right?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 08:23:08 AM
Yeah, the link I showed was a VERY BAD example of a widescreen video ;) hehe..  the point wasnt if it was REALLY widescreen or not ;) 

But rather, the possibility to be shown AS on the Youtube page... widescreen (and yes, as mentioned, they most likely do because they want to encourage people to upload real widescreen content)

So my question was the player (widescreen) , and not the content really...   If its possible to have such a player as default, regardless of the content is really widescreen or not...


But I learned something too, that there actually is something like "isWidescreen" ... interesting :)
How does that actually work?? Does it check if the content have TRUE widescreen content?


Quote from: Nao 尚 on January 28, 2009, 07:41:29 AM
It *does* show in HQ for me...
http://site.noisen.com/aeva-dev/5060/tests-video-embedding/msg228594/#msg228594
I tried with and without the &fmt=18 link in the video.


I dont think it does actually...  I know this particular video is pretty good in LQ too, but if you check your post there again, and choose the small menu at the far right bottom of the player, you have to manually CHOOSE to show it HQ. (This menu first show after you have started to PLAY the video)


And here is a photo where first video at top is your default embed, and second at bottom, is where I have manually pressed the "show HQ" in the Youtube player, giving a better image..

So the question (as originally posted), is if there is a way to force play HQ version of the video



(You gotta look VERY closely, to see the lower image is better, because this video have good LQ visual too)

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 08:29:30 AM


Here is a far better video to use for testing:

http://www.youtube.com/watch?v=ZjJJwnfHyYc

The LQ version have artifacts (mpeg compression), where the HQ does not
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 08:57:11 AM
Ok, I'm currently running rev. 52. When I disable HQ playback, it still embeds in HQ!!! But if you check your singing video on youtubes own site, you will see the video in LQ.
If you then also copies the embed code from Youtubes site and put it in a html file, you still have LQ playback which is clearly in a bad quality.

So what I'm trying to say is that both your snapshots are in HQ.

Image attached:
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 09:25:54 AM
Quote from: akyhne on January 28, 2009, 08:57:11 AM
Ok, I'm currently running rev. 52. When I disable HQ playback, it still embeds in HQ!!! But if you check your singing video on youtubes own site, you will see the video in LQ.
If you then also copies the embed code from Youtubes site and put it in a html file, you still have LQ playback which is clearly in a bad quality.

So what I'm trying to say is that both your snapshots are in HQ.

Image attached:



Hum, I'm loosing my mind here.. 

Because if I embed the video, and start playing it (with this mod), it WILL show a "HQ" button at the far right bottom corner (after video has started to play), and when turned on MANUALLY in the player, it will show the video better than what this mods auto embed does...

Here is a far better video to use for testing:
http://www.youtube.com/watch?v=ZjJJwnfHyYc

The LQ version have artifacts (mpeg compression), where the HQ does not

Does it show in HQ when you embed it using this mod? Not at my end
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 09:28:19 AM
Sorry, I wrote wrong. What I ment was that I was running 5.2.42.

So I uninstalled 5.2.42 and installed 5.2.52 in that forum (SMF1.1.7), and now I can't get Youtube to embed HQ at all!!!

It seems to be a returning issue for me.

I then copied the embed code from my post and put it in a html file and uploaded it. And now my (NAO's) code is embedding in HQ!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 09:31:20 AM
runebergen: Youtube is not expecting us to break their code and embed in HQ, so you should pay no attension to the "HQ" button.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 09:33:27 AM
Quote from: akyhne on January 28, 2009, 09:31:20 AM
runebergen: Youtube is not expecting us to break their code and embed in HQ, so you should pay no attension to the "HQ" button.

Well, that was what I was hoping for :) BUT, unless I'm missing something, or doing something wrong, it matters a whole lot that button ... when using this mod.

(maybe I'm missing something, on HOW to make it show HQ)

Look at the images below... 

First one is the default embedded video (using this mod) and the standard YouTube adress (auto embedded)

Last one, is when I manually press the HQ button, resulting in a far better image


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 09:40:07 AM


Will add to that, that even the SOUND is better when  that small HQ button is pressed (FAR better).
Than compared to the default embedded video.

:-[ maybe its not working at my site  :'(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 09:43:59 AM


OK, I found the problem

I tested this embed code at my sites profile pages (got Ultimate Profile running, a "myspace clone") where my forum users post videos all the time at profile comments... 

Here the auto embed code WILL embed LQ version...


But here is the strange thing...

I tried for testing purpose, to post a video as a regular forum post, and ... voila... High quality sound and video by default...


Hum...  Any ideas to why ?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 28, 2009, 09:53:00 AM
Quote from: akyhne on January 28, 2009, 07:54:28 AM
Quote from: Nao 尚 on January 28, 2009, 07:49:02 AM
Well you must have been incredibly lucky...
I'd say about 75% of all current YT videos are only available in LQ.
Can you give me a link that doesn't?
These two are among the thousands of videos that don't have a HQ version (check out how there's no "high quality" link below them):
http://www.youtube.com/watch?v=sp_PJrPgpk8
http://www.youtube.com/watch?v=nBeULyq8u6Q
These are videos that will get the "#hq" treatment from Aeva, but that only means asking for HQ won't break the video. It used to. This is a recent change to YouTube and I'm not letting go before I know it's there for good ;)

@Everyone> I'm late... I was working on fixing a bug (custom width & height were broken recently, don't know when exactly, I know they're not used much but they'll be fixed in next release. If you're in a hurry, you can download revision 54 from the usual SVN server.)
I'll read & answer everything later. Need a cigarette!

@sh> Just go away >:(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 09:55:36 AM
Yeah I have an idea.. There seems to be an error in 5.2.52

When I install 5.2.52 with HQ enabled, my forum is generating one code for the object of Youtube embedding.
When I install 5.2.42 with HQ enabled, my forum is generating a different code for the object of Youtube embedding.

The difference is this to the end of the videolink:
&amp;ap=%2526fmt%3D18
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 09:57:37 AM
Quote from: runebergen on January 28, 2009, 09:43:59 AM


OK, I found the problem

I tested this embed code at my sites profile pages (got Ultimate Profile running, a "myspace clone") where my forum users post videos all the time at profile comments... 

Here the auto embed code WILL embed LQ version...


But here is the strange thing...

I tried for testing purpose, to post a video as a regular forum post, and ... voila... High quality sound and video by default...


Hum...  Any ideas to why ?




Just to post up the image of the difference...  and wow, its a  HUGE difference, specially in sound

If anyone knows why, I'd be super happy, because at my site, 99% of the videos posted are at profile comments..  O:)


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 10:02:20 AM
Could it be something in how its parsed ?

Profile comments are parsed like this :


parse_bbc(un_htmlspecialchars ($comment['body']))


This to allow BOTH html and BB code


Edit : Nope, tried removing this feature, but it still embed LQ :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 10:11:20 AM
Quote from: akyhne on January 28, 2009, 09:55:36 AM
Yeah I have an idea.. There seems to be an error in 5.2.52

When I install 5.2.52 with HQ enabled, my forum is generating one code for the object of Youtube embedding.
When I install 5.2.42 with HQ enabled, my forum is generating a different code for the object of Youtube embedding.

The difference is this to the end of the videolink:
&amp;ap=%2526fmt%3D18


Think you are on to something   :P


Here is the HTML on how its embeded in a FORUM POST


<embed height="344" width="425" autostart="false" autoplay="false" pluginspage="http://www.macromedia.com/go/getflashplayer" allowscriptaccess="never" allowfullscreen="true" quality="high" wmode="transparent" src="http://www.youtube.com/v/ZjJJwnfHyYc&amp;ap=%2526fmt%3D18&amp;rel=0&amp;fs=1" type="application/x-shockwave-flash"/>


Here is the HTML on how its embeded in a PROFILE COMMENT


<embed height="344" width="425" autostart="false" autoplay="false" pluginspage="http://www.macromedia.com/go/getflashplayer" allowscriptaccess="never" allowfullscreen="true" quality="high" wmode="transparent" src="http://www.youtube.com/v/ZjJJwnfHyYc&amp;rel=0" type="application/x-shockwave-flash"/>



HUGE difference

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 10:11:48 AM
I have no idea.

I still only got LQ when using 5.2.52
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 10:17:01 AM
"Ultimate Profile"??? that's not a SMF mod, is it? So if it isn't and it's not part of SMF, AEVA will have no effect on the video and it will be mebedded in normal quality.

Edit: Ok, I think it's this one you are using: http://www.simplemachines.org/community/index.php?topic=183574.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 10:21:26 AM
Quote from: akyhne on January 28, 2009, 10:17:01 AM
"Ultimate Profile"??? that's not a SMF mod, is it? So if it isn't and it's not part of SMF, AEVA will have no effect on the video and it will be mebedded in normal quality.

Ultimate Profile is a SMS mod yes...  a very good one if I may add :) Makes profile pages like Myspace-ish, add friends, comments etc.  http://www.simplemachines.org/community/index.php?topic=183574.0

And AEVA sure has an effect, without the mod, the profile comments will only show a Youtube LINK.. .:)

It auto embeds the video, but in LQ...  unlike in forum posts, where its HQ... (because of the difference you pointed out earlier)


&amp;ap=%2526fmt%3D18&amp;rel=0&amp;fs=1


This part of the embed code does NOT show up in profile comments for some reason
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 10:24:21 AM
http://www.simplemachines.org/community/index.php?topic=183574.msg1746462#msg1746462

The mod takes no effect to AEVA or the Youtube mod.

With AEVA, you only post the Youtube link, not the embed link.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 10:31:14 AM

Yes.. :)

In the comment part, all that is posted is a YouTube LINK... correct..

And without Aeva it doesnt get embedded at all (only shows a link)

So its Aeva that auto embeds it at the profile comments, just very differently from a forum post (where it will be HQ)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 10:37:39 AM
No, AEVA adds the embed code to Youtube links in posts, not in profile comments.

The guy of the mod is not afraid of peoples servers if he allows to add html code. What if you write <h1>Hello World</h1> in a profile comment? Will it then be a H1 heading of "Hello World"?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 10:39:13 AM

Ok, I've found it

When you post a NORMAL youtube link at the FORUM POST, it somehow gets rewritten to this AUTOMATICALLY, one can see it if one press "Modify Post"


[url=http://www.youtube.com/watch?v=ZjJJwnfHyYc#hq]http://www.youtube.com/watch?v=ZjJJwnfHyYc#hq[/url]


Notice the end there :


#hq


This I did NOT add when posting it at forum, it got added automatically...

And this part does NOT get added at a profile comment post...

If I post a YouTube video at profile comment WITH that part  (notice the end)

http://www.youtube.com/watch?v=ZjJJwnfHyYc#hq


It WILL show in HQ at profile comment too :)

So the question is, how to one get that part AUTO added to profile comment Youtube links posted too ?


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 10:41:07 AM
Quote from: akyhne on January 28, 2009, 10:37:39 AM
No, AEVA adds the embed code to Youtube links in posts, not in profile comments.

What you mean by that?
If I disable AEVA, the profile comments does NOT auto embed YouTube URLs posted... Not at all. Only shows a link

As soon as I enable AEVA , the profile comment urls will be auto embeded as a YouTube player...

So sure it works, just not in HQ '

At least using Ultimate Profile

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 28, 2009, 10:52:04 AM
Quote@weightman> this Google Video doubling stuff is strange... I'll investigate. BTW what is it with your strange videos??!

What do you mean? The content of the videos in question or the link structures? The brightcove ones are not a big deal. They aren't even supposed to work anymore but apparently Brightcove forgot to delete them. I have backups of everything and can set them up on my own server when necessary. In the meantime, I don't need to embed them anywhere so you can just not worry about it if you want. But, Brightcove, when free, provided numerous types of video players for embeds, each with different codes and links.


On the google video doubling up, I have no idea. I didn't make the video....
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 28, 2009, 10:54:44 AM
QuoteAt least using Ultimate Profile

That is a beta mod with numerous bugs and with no author support in a long time, right? I played with it for a while but it has far too many problems. My guess is the problem is within that mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 10:55:36 AM
runebergen: Can you use BBC code and/or html code in a post?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 10:57:20 AM
Quote from: akyhne on January 28, 2009, 10:55:36 AM
runebergen: Can you use BBC code and/or html code in a post?

yes
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 28, 2009, 11:10:24 AM
Re: Ultimate Profile showing LQ links...
Okay, I see what you mean. I'll have to go through all of the posts I missed here, but this is something I didn't think of when I reworked the YouTube embed to include HD.

Basically, what Aeva used to do was:
- whether # is found or not, go with the admin's favorite way of showing YT vids (LQ/HD)

What it does now is:
- when posting the link, look it up, and make sure HQ is supported.
- if yes, then add #hq after the link. Also add "ws" and "hd" if supported.
- if not, then just add # without anything.
- Aeva will then review the link, see that "hq" is not there, and send non-HQ embed code.

Okay, now, on to Ultimate Profile. If you post a comment (and it's the same pretty much on every mod that allows you to post data, even my very own SMG when you post a YT link to embed or a comment), aeva_onposting() is not called. So, no # is added. YT has a "raw" link. Thus, when embedding the video, Aeva thinks that either lookups are disabled (and it stays on the safe side, i.e. no HQ, no WS), or that HQ is not supported at all. ---> LQ embed FTW.

What can be done about this...?

- I don't know.
- I really don't.
- Okay, maybe I can do something...
- You can do it yourself, though. You can simply add #hq-ws next to your link ;)
- That would be the quick solution.
- Otherwise, hmm... I don't know... Maybe I could simply make a page-wide preg_match to find unmodified YT URLs (i.e. URLs without the "#" sign), and attempt to look them up. That would be the best solution, because it also means that all links will be embedded correctly as soon as you reload the page.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 28, 2009, 11:16:51 AM
Quote from: Nao 尚 on January 28, 2009, 11:10:24 AM
- Otherwise, hmm... I don't know... Maybe I could simply make a page-wide preg_match to find unmodified YT URLs (i.e. URLs without the "#" sign), and attempt to look them up. That would be the best solution, because it also means that all links will be embedded correctly as soon as you reload the page.
I should stop it with my fantasies over doing some page-wide preg_match... Crap. It's faster and geeky and everything, but I can't really afford to look up every link, including non-video links...

What I should do, instead, is to check links right before embedding them. If they don't have a # in them BUT they have a 'lookup' value associated to them, it MEANS that the onposting process should be called again. Oh, that's a much more efficient method... I'll start work on it right now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 11:27:49 AM
NAO: What can be the issue with no HQ in 5.2.52 that I have?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 11:32:29 AM
Quote from: Nao 尚 on January 28, 2009, 11:16:51 AM

I should stop it with my fantasies over doing some page-wide preg_match... Crap. It's faster and geeky and everything, but I can't really afford to look up every link, including non-video links...

What I should do, instead, is to check links right before embedding them. If they don't have a # in them BUT they have a 'lookup' value associated to them, it MEANS that the onposting process should be called again. Oh, that's a much more efficient method... I'll start work on it right now.

hehehehe :D :D :D

Sounds good ;)

"You can do it yourself, though. You can simply add #hq-ws next to your link" could be done with some preg stuff..

But if you're working on a fix, it would be quite better ;) For any mods that allow post.

But I see what is happening now, and thanks for the good explaination
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 11:42:06 AM

Would also like to post a GREAT GRATITUDE for your mod!

Embedding all these sites automatically is just fantastic...  And for my own forum, being music oriented, its heaven sent.

And god damn those HQ youtube videos rules!!  ;)) Far better sound...

Thanks a lot for doing this mod
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 11:47:19 AM
Btw, hope I dont get killed for all the posts here...  lol..

On the widescreen thing..  Could it be possible to implement a feature for that?

"Force Show Youtube WideScreen" Yes/No option... so to speak, in admin

(I mean regardless of the content... as a player. It just looks better and more "modern")

This code will do what I mean (although there might be some switch for zoom, that I dont know, for filling the screen)


[url=http://www.youtube.com/watch?v=ZjJJwnfHyYc#hq-ws]http://www.youtube.com/watch?v=ZjJJwnfHyYc#hq-ws[/url]


This code inside the URL tag makes the player go wide..
#hq-ws
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 28, 2009, 11:48:53 AM
Quote from: runebergen on January 28, 2009, 11:32:29 AM
But if you're working on a fix, it would be quite better ;) For any mods that allow post.
Well, I just have a tiny little problem...

There's no way I can know where the original message is stored. (Ouch!)
So, in the end, there are only four solutions:

- either add the embed options by yourself,
- or ask the mod's author to add a call to aeva_posting after a test to see whether Aeva is enabled* (that would be the best solution -- I'll make sure to do it everywhere in SMG),
- or do the modification on these custom mods yourself -- we'll have to work together and compile a list of all mods that require the change, then we'll post the actual changes somewhere over at aeva.noisen.com.
- or have Aeva look the URLs up *every time* you actually VIEW the page... (Ah, ah! Funny one!)

Well, I wasted half an hour on such a stupid idea. Sorry for bringing you some hope where there wasn't any in the first place.......  :-[ Oh, at least I fixed something else in the process, which I wouldn't have noticed otherwise. (The "src" parameter for QuickTime videos was not at the right place. Did anyone ever try to embed a local MOV video? I guess it didn't work...?)

* This call obviously only needs to be made on content that will later be parsed through parse_bbc().
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 28, 2009, 11:52:06 AM
Quote from: runebergen on January 28, 2009, 11:47:19 AM
Btw, hope I dont get killed for all the posts here...  lol..

On the widescreen thing..  Could it be possible to implement a feature for that?

"Force Show Youtube WideScreen" Yes/No option... so to speak, in admin
No, because I find it silly (sorry). But since it has also been requested several times, it can be done in the Custom file. Just do $sites[$si]['size']['normal'] = $sites[$si]['size']['ws']; when the id is "ytb" (YouTube). Save, regenerate, and you're done.

Quote(I mean regardless of the content... as a player. It just looks better and more "modern")
I don't see why. People have been complaining for years about black bars on the top and bottom of widescreen videos on 4/3 TV sets... Now they're complaining that they don't have useless black bars on their widescreen sets? ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 28, 2009, 12:11:21 PM
Brightcove just sent me an email saying all embeds from their free service will be disabled on 1.31. So, no point in wasting your time with them although Brightcove will still have embeds from corporations and stuff (very expensive service now).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 12:17:25 PM
Quote from: Nao 尚 on January 28, 2009, 11:52:06 AM

No, because I find it silly (sorry). But since it has also been requested several times, it can be done in the Custom file. Just do $sites[$si]['size']['normal'] = $sites[$si]['size']['ws']; when the id is "ytb" (YouTube). Save, regenerate, and you're done.


hehe.. yeah, no problem at all :D

But your custom file, its supposed to override right?

Made a Subs-Aeva-Custom.php with this code... but doenst change anything


foreach ($sites as $si => $te)
{

if ($te['id'] == 'ytb')

$sites[$si]['size']['normal'] = $sites[$si]['size']['ws'];

$sites[$si]['size']['hq'] = $sites[$si]['size']['ws'];

$sites[$si]['size']['hd'] = $sites[$si]['size']['ws'];


}

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 28, 2009, 12:33:10 PM
@weightman> wow... They suck!
@rune> you forgot enclosing the $sites lines in a {} block. As it is now, it will add a 'hq' size to all sites and it'll break it. Also, you don't need to set a size for 'hq', because it's got nothing to do with being widescreen or not. (Technically, I think neither has 'hd', but it's not today's topic.)
Did you regenerate the site list after that?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 12:36:38 PM
Embedding code from 5.2.42:
<object classid="CLSID:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0" type="application/x-shockwave-flash" width="425px" height="344px"><param name="movie" value="http://www.youtube.com/v/ZjJJwnfHyYc&amp;ap=%2526fmt%3D18&amp;rel=0" /><param name="wmode" value="transparent" /><param name="quality" value="high" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="never" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" /><param name="autoplay" value="false" /><param name="autostart" value="false" /><embed type="application/x-shockwave-flash" src="http://www.youtube.com/v/ZjJJwnfHyYc&amp;ap=%2526fmt%3D18&amp;rel=0" width="425px" height="344px" wmode="transparent" quality="high" allowFullScreen="true" allowScriptAccess="never" pluginspage="http://www.macromedia.com/go/getflashplayer" autoplay="false" autostart="false" /><noembed><a href="http://www.youtube.com/v/ZjJJwnfHyYc&amp;ap=%2526fmt%3D18&amp;rel=0" target="_blank">http://www.youtube.com/v/ZjJJwnfHyYc&amp;ap=%2526fmt%3D18&amp;rel=0</a></noembed></object>

Embed code from 5.2.52:
<object classid="CLSID:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0" type="application/x-shockwave-flash" width="425px" height="344px"><param name="movie" value="http://www.youtube.com/v/ZjJJwnfHyYc&amp;rel=0" /><param name="wmode" value="transparent" /><param name="quality" value="high" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="never" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" /><param name="autoplay" value="false" /><param name="autostart" value="false" /><embed type="application/x-shockwave-flash" src="http://www.youtube.com/v/ZjJJwnfHyYc&amp;rel=0" width="425px" height="344px" wmode="transparent" quality="high" allowFullScreen="true" allowScriptAccess="never" pluginspage="http://www.macromedia.com/go/getflashplayer" autoplay="false" autostart="false" /><noembed><a href="http://www.youtube.com/v/ZjJJwnfHyYc&amp;rel=0" target="_blank">http://www.youtube.com/v/ZjJJwnfHyYc&amp;rel=0</a></noembed></object>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 28, 2009, 12:37:55 PM
It does suck that Brightcove has gone pay for service, but they were by far the best video hosting service until now. You could host your flv files with them so that they didn't re-encode, you could set your own bitrates, you could combine multiple videos into some really nice players, etc.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 28, 2009, 12:43:43 PM
Fix for lookups in SMF Media Gallery:

Open Subs-MGallery.php
Find
function smg_utf2entities($source, $is_file = true, $limit = 255)
{
global $context, $mgalSettings;

Replace with
function smg_utf2entities($source, $is_file = true, $limit = 255)
{
global $context, $mgalSettings, $modSettings;

if (isset($modSettings['aeva_enable']) && function_exists('aeva_onposting'))
$source = aeva_onposting($source);


Tested, it works on my site.

@akyhne> What is it for?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 12:48:29 PM
Quote from: Nao 尚 on January 28, 2009, 12:43:43 PM
@akyhne> What is it for?
That embeding in 5.2.52 doesn't work: http://www.simplemachines.org/community/index.php?topic=200401.msg1900359#msg1900359
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 28, 2009, 01:07:11 PM
Fix for Ultimate Profile's comments:

Open Profile.php (if under SMF1) or Profile-Modify.php (if under SMF2, but I guess you aren't, because I never released my SMF2 version of the mod, lol), find:

if (isset ($_GET['add'])) {
if (!$_POST['comment'])
fatal_error ($txt['profile_comment_field'], false);

Replace with:
if (isset ($_GET['add'])) {
if (!$_POST['comment'])
fatal_error ($txt['profile_comment_field'], false);
global $modSettings;
if (isset($modSettings['aeva_enable']) && function_exists('aeva_onposting'))
$_POST['comment'] = aeva_onposting($_POST['comment']);


This one is UNTESTED... This is because I just realized profile comments are broken on noisen.com (lol, again). I don't have time to fix this right now.

Quote from: akyhne on January 28, 2009, 12:48:29 PM
Quote from: Nao 尚 on January 28, 2009, 12:43:43 PM
@akyhne> What is it for?
That embeding in 5.2.52 doesn't work: http://www.simplemachines.org/community/index.php?topic=200401.msg1900359#msg1900359
I don't understand. Please state exactly what your problem is and how to reproduce.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 01:34:15 PM

:P :P :P :P thank you!

You almost had it, but missed the include part...

This code will POST hq videos from Youtube at Ultimate Profile


if (isset ($_GET['add'])) {
      if (!$_POST['comment'])
         fatal_error ($txt['profile_comment_field'], false);
      global $modSettings, $sourcedir; // added sourdir
@include_once($sourcedir . '/Subs-Aeva.php');  // ADDED
      if (isset($modSettings['aeva_enable']) && function_exists('aeva_onposting'))
         $_POST['comment'] = aeva_onposting($_POST['comment']);




What about all the videos posted PRIOR to such a fix?
Any way to get them right? Or maybe a preg_replace adding #hq-ws to them on the fly?




Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 28, 2009, 01:43:55 PM
Quote from: runebergen on January 28, 2009, 01:34:15 PM

:P :P :P :P thank you!

You almost had it, but missed the include part...

This code will POST hq videos from Youtube at Ultimate Profile
Cool.
However, it's still missing a few things -- if the Subs-Aeva.php file isn't found, etc...
I edited my post above to fix it all, and it came up as unmodified after I submitted... Lol. I'm not doing a second time in a row! I'll post an updated version later.
Oh crap, in the end I'm simply updating your own changes:


global $modSettings, $sourcedir;
if (isset($modSettings['aeva_enable']) && @file_exists($sourcedir . '/Subs-Aeva.php'))
{
@include_once($sourcedir . '/Subs-Aeva.php');
if (function_exists('aeva_onposting'))
$_POST['comment'] = aeva_onposting($_POST['comment']);
}


QuoteWhat about all the videos posted PRIOR to such a fix?
I'm afraid you'll have to edit them...!
There is no way to fix this automatically, unless you write a script to submit all comments to aeva_onposting in a loop and save them.

QuoteAny way to get them right? Or maybe a preg_replace adding #hq-ws to them on the fly?
No... If I only had YouTube to modify...! But most of the sites in the site list use lookups. If they're disabled, then these sites won't work. The preg_replace would need to deal with them, too.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 01:59:27 PM
Quote from: akyhne on January 28, 2009, 12:48:29 PM
Quote from: Nao 尚 on January 28, 2009, 12:43:43 PM
@akyhne> What is it for?
That embeding in 5.2.52 doesn't work: http://www.simplemachines.org/community/index.php?topic=200401.msg1900359#msg1900359

Tried in a SMF 2.0 beta4 forum where 5.1.47 is installed. HQ Youtube worked ok. Then I uploaded 5.2.52 and now I have no HQ videos anymore.
I can't be the only one with this issue! The code &amp;ap=%2526fmt%3D18 is missing in AEVA 5.2.52
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ryangruhn on January 28, 2009, 02:01:13 PM
Neo,

You should be set up!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 28, 2009, 02:07:35 PM
Thanks, Morpheus.

@akyhne> Okay, you mean viewing videos posted BEFORE the upgrade?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 28, 2009, 02:09:41 PM
Quote from: Nao 尚 on January 28, 2009, 01:43:55 PM

There is no way to fix this automatically, unless you write a script to submit all comments to aeva_onposting in a loop and save them.

No... If I only had YouTube to modify...! But most of the sites in the site list use lookups. If they're disabled, then these sites won't work. The preg_replace would need to deal with them, too.

No worries ;)

Its AWESOME for new postings comming, and the HD youtube is such a great thing, far better sound and image...


Thanks a lot for this great mod, and for the help on the Ultimate Profile fix...

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 02:15:12 PM
Quote from: Nao 尚 on January 28, 2009, 02:07:35 PM
Thanks, Morpheus.

@akyhne> Okay, you mean viewing videos posted BEFORE the upgrade?
Of course I have tried EVERYTHING before posting here ;)

But then again I just tried to repost the video in the SMF 2 forum. Now it embeds in HQ, but in the SMF 1.1.7 it doesn't help to repost.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: bear21211 on January 28, 2009, 02:31:06 PM
Hi
I am running  SMF 1.1.7
I install this mod and get no errors. When someone trys to upload a link from photobucket for a video is Shows the video. If you click on the video to view it gives error that object has been removed. It seems to me it is linking to a .jpg and not the video.
If i just put the direct link in it shows the link as text and works fine. It just will not work while showing thumbnail of video. What am I doing wrong?

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 02:35:49 PM
Was it a video about a fish ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: bear21211 on January 28, 2009, 02:40:58 PM
no is a video of pouring a fish bait
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ryangruhn on January 28, 2009, 02:41:20 PM
Neo,

I think that's it.  The URL is www.currentsite.mysite.com rather than www.currentsite.com.  I need to figure out how to change this.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 02:45:17 PM
Quote from: bear21211 on January 28, 2009, 02:40:58 PM
no is a video of pouring a fish bait

What I was asking btw. the lines... do you have a link - the link the guy posted. Or else it's impossible to help you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: bear21211 on January 28, 2009, 02:47:29 PM
excuse my ignorance I apologize. I am trying to learn this as I go.
here is the link he posted

(http://i101.photobucket.com/albums/m60/davehu/th_59bf3b52.jpg) (http://s101.photobucket.com/albums/m60/davehu/?action=view&current=59bf3b52.pbr)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: bear21211 on January 28, 2009, 02:49:25 PM
well it works here but will not work on my forum.

   URL=http://s101.photobucket.com/albums/m60/davehu/?action=view&current=59bf3b52.pbr][/IMG]http://i101.photobucket.com/albums/m60/davehu/th_59bf3b52.jpg[/IMG][/URL 

I removed the Brackets [ so the link does not work so you could see what was posted

this is where it sends me on my forum
http://i101.photobucket.com/albums/m60/davehu/59bf3b52.jpg
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ryangruhn on January 28, 2009, 04:05:55 PM
Quote from: ryangruhn on January 28, 2009, 02:41:20 PM
Neo,

I think that's it.  The URL is www.currentsite.mysite.com rather than www.currentsite.com.  I need to figure out how to change this.

Neo,

I think I'm right on this however I'm running into an issue.  If I change it back to www.mysite.com either in the admin section or in the settings.php it gives me a blank page when I go to the forum after it's changed. 

Also, when I look at the current installations of SMF I have two:

mysite.com/forum (1.1.7)    Visit site   Remove
currentsite.mysite.com/forum (1.1.7)    Visit site   Remove

I think this is one of the reasons it is going blank but I'm not sure which one I should remove!?!?

Thoughts?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 04:23:06 PM
Quote from: bear21211 on January 28, 2009, 02:49:25 PM
well it works here but will not work on my forum.

   URL=http://s101.photobucket.com/albums/m60/davehu/?action=view&current=59bf3b52.pbr][/IMG]http://i101.photobucket.com/albums/m60/davehu/th_59bf3b52.jpg[/IMG][/URL 

I removed the Brackets [ so the link does not work so you could see what was posted

this is where it sends me on my forum
http://i101.photobucket.com/albums/m60/davehu/59bf3b52.jpg

That code is impossible to read. Use the code button when posting.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: bear21211 on January 28, 2009, 05:13:00 PM
I am sorry I am learning. Thanks for your patience.


[URL=http://s101.photobucket.com/albums/m60/davehu/?action=view&current=59bf3b52.pbr][IMG]http://i101.photobucket.com/albums/m60/davehu/th_59bf3b52.jpg[/IMG][/URL]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 05:41:47 PM
AEVA does only support .flv video on Photobucket as far as I can see. NAO will probably have to work on that format, if possible.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 28, 2009, 06:04:52 PM
Never used photobucket, wouldn't know. I'm a bit busy right now.

Akyhne, I'm Nao, not NAO. Ryangrhun, I'm Nao, not Neo. Everyone, I'm Nao, not God. Can't solve every problem out there. Doing my best, but today's been hectic... What's this? There's been like 4 pages worth of talk, and I've barely been able to scratch the surface... I don't even remember who got what problem etc. I'm not sure whether people have real problems due to bugs in the new Aeva, or problems due to their servers, or problems that have been there since earlier Aeva's. I've got plenty of PMs and I don't remember who's who and what I should do for whom.

w00t!

So let's make it simple:

If you currently have an issue with Aeva, please open a new topic (you don't have to register an account) over at http://site.noisen.com/aeva-support/ --> this will be WAY easier for me to deal with every problem individually. Okay? I'm not forcing anyone to do it, it's just -- well, it'll make my life easier.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 06:11:14 PM
Are we in a bad mood today..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 28, 2009, 06:14:35 PM
?
I'm not in a bad mood... I'm just overwhelmed with the high number of posts. I need to have these sorted. How should I ask for it?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 28, 2009, 06:19:31 PM
It's not your request, but your name. Does it really matter if I write NAO or Nao. If you knew how many writes akhyne, akyne etc..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RustyBarnacle on January 28, 2009, 06:38:30 PM
Quote from: Nao 尚 on January 28, 2009, 06:04:52 PM

If you currently have an issue with Aeva, please open a new topic (you don't have to register an account) over at http://site.noisen.com/aeva-support/ --> this will be WAY easier for me to deal with every problem individually. Okay? I'm not forcing anyone to do it, it's just -- well, it'll make my life easier.

Best suggestion yet.  Ticketing systems, even if they are just forums, make things much simpler.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 29, 2009, 02:49:34 AM
Quote from: akyhne on January 28, 2009, 06:19:31 PM
It's not your request, but your name. Does it really matter if I write NAO or Nao. If you knew how many writes akhyne, akyne etc..
I don't care that your call me Nao or NAO... I just say it's how I write it. My real name is René-Gilles Deberdt. Sometimes I see people spell it René Gille Debert or something. I'm used to spelling it out lol... But Nao, that should be simpler to spell, right? ;)
I just wanted to make a joke with NAO/Neo/God... Oh well!

@Everyone> I'll have a look at all the new topics today, of course.... ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 29, 2009, 02:56:49 AM
Well, NAO is kind of shouting your nick, and I got your attension, right ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 29, 2009, 04:58:01 AM
Quote from: weightman on January 28, 2009, 10:52:04 AM
On the google video doubling up, I have no idea. I didn't make the video....
Found it... You still had an AEVAC 3.x leftover installed in your Subs.php. It triggered AFTER Aeva's embedding process, and turned the raw link (which is supplied below the embedded video) into yet another video.
I removed the leftover code and it works now.

Please everyone -- uninstall your older versions when you install a new one...

Also, weightman, regarding your opinion on Ultimate Profile: no, it's not the "culprit" here. Although I'm not too fond of how it's laid out (as a coder, I like clean and well-indented code), it's still a very nice mod, and it shouldn't be accused of everything and anything.
Aeva is a complicated mod that requires some attention when it comes to compatibility with other mods. As you may have noticed, I posted patches for SMG and UP. Obviously the SMG patch will be available in the following release. As for UP, I can't force JovanT to update his mod with it. Users will have to be vocal about it over at the official UP topic.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on January 29, 2009, 06:55:39 AM
Quote from: Nao 尚 on January 29, 2009, 02:49:34 AM
I just wanted to make a joke with NAO/Neo/God... Oh well!
I liked your joke :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 29, 2009, 06:57:53 AM
Thanks :D

@To Ultimate Profile users:
http://www.simplemachines.org/community/index.php?topic=183574.msg1901757#msg1901757

I posted my "official" code for embedding Aeva lookups into comments.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on January 29, 2009, 08:41:47 AM
Quote from: Nao 尚 on January 29, 2009, 04:58:01 AM


Also, weightman, regarding your opinion on Ultimate Profile: no, it's not the "culprit" here. Although I'm not too fond of how it's laid out (as a coder, I like clean and well-indented code), it's still a very nice mod,

Its an extremely nice mod, and huge part of the success we have had at our website.
Users LOVE the myspace ish profile, where one can comment, add buddies, post more info etc etc.. ;)

And thanks for adding Avea to it :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 29, 2009, 09:00:21 AM
(Completely OT)

All in all, yeah it's a great mod because it was the first, and it's still the only one. There was a real need for this.
But...
I don't like their buddy system -- it could be improved upon.
Basically, it could have several "buddy levels", as well as not requiring to have both members agree on being buddies before they show up as linked. For instance, if I'm a fan of someone, why should they need to add me to their buddies? And why should I wait for them to "accept" me? I'm just a fan! I don't need acceptance. I just want to say I'm a fan of said user. See? Things like that. It's one of the reasons why I'm currently changing my website to use a more elaborate buddy system.
The media box, to me, is an incentive to add stupid videos. I'm not sure this is the right place for that.
And the whole CSS stuff -- well, it's really nice to give freedom to users. But you've already browsed MySpace, haven't you? You know how it ends up... Everyone takes a flashy background and no one can read the actual text in the profile. In the end, I added css rules for MySpace to disable their custom backgrounds. Of course, it's always hard to determine what level of freedom you want to give your users. And I'm probably too conservative on this. But have a look at Facebook: they don't need the custom css stuff to be popular. People just need to be in power. Having the ability to redecorate is just one part of it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 29, 2009, 09:25:29 AM
QuoteFound it... You still had an AEVAC 3.x leftover installed in your Subs.php. It triggered AFTER Aeva's embedding process, and turned the raw link (which is supplied below the embedded video) into yet another video.
I removed the leftover code and it works now. Please everyone -- uninstall your older versions when you install a new one...

Nao, thank you for that very much. But, I am 95% sure I never installed a new version of AEVA without uninstalling the old version. Isn't it possible that installing other mods in between the install and uninstall caused the code to be left behind?

QuoteAlso, weightman, regarding your opinion on Ultimate Profile: no, it's not the "culprit" here. Although I'm not too fond of how it's laid out (as a coder, I like clean and well-indented code), it's still a very nice mod, and it shouldn't be accused of everything and anything.

In no way was I attacking the mod. I tried to use it but ran into problems pretty quickly (crashed my site). It is good but has problems and the mod author wasn't around for a long, long time last I checked. I hope it matures to the point where it is safe and secure.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 29, 2009, 10:31:39 AM
Quote from: weightman on January 29, 2009, 09:25:29 AM
Nao, thank you for that very much. But, I am 95% sure I never installed a new version of AEVA without uninstalling the old version. Isn't it possible that installing other mods in between the install and uninstall caused the code to be left behind?
I don't think so. Do you remember getting any warning before uninstalling?
Anyway, it wasn't a big deal. Just some very old leftover. It was certainly already there when I did some work on your website a couple of months ago. I just didn't notice it.

QuoteIn no way was I attacking the mod. I tried to use it but ran into problems pretty quickly (crashed my site). It is good but has problems and the mod author wasn't around for a long, long time last I checked. I hope it matures to the point where it is safe and secure.
I still don't know if he's around. He certainly hasn't released a new version for a long time. I couldn't blame him for that, though -- sometimes you just want to share your work, not get all of the support work that comes with it. You don't expect it.
I knew what I got into when I started work on Aeva. I've always been assuming my role here, and I hope to be able to keep doing -- if not here, at least over at aeva.noisen.com, where I'll always be available to help. But I know that the support work for SMG was very, very unexpected to me. I didn't "sign up" for that. So, all my sympathies to JovanT ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jazhawk on January 29, 2009, 12:46:56 PM
Excellent mod.  Good job.

-Jazhawk
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 29, 2009, 12:49:12 PM
QuoteI don't think so. Do you remember getting any warning before uninstalling?

It was a long time ago.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 29, 2009, 07:03:49 PM
WE are in danger of losing Nao as the developer of this mod. I posted a message about it here and would ask those that want this mod and the others that Nao develops to take a look:

http://www.simplemachines.org/community/index.php?topic=289263.new#new
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Succubus Evaligan on January 30, 2009, 04:39:06 AM
Quote from: weightman on January 29, 2009, 07:03:49 PM
WE are in danger of losing Nao as the developer of this mod. I posted a message about it here and would ask those that want this mod and the others that Nao develops to take a look:

http://www.simplemachines.org/community/index.php?topic=289263.new#new
what is the real problem with Nao? ??? :-\
I see that he do a excellent work with AEVA and SMF Media Gallery.
As far as I know. He take the Karl Benson mod and do a very good work. Also I like their work in SMF Media Gallery too.
Quote
Mod Name:    Aeva (video/audio auto-embedder)
Created By:    Nao 尚
Type:    New Feature
First Created:    octubre 08, 2007, 10:10:17
Last Modified:    enero 27, 2009, 04:09:23
Latest Version:     5.2.52
Compatible With:     1.1.4, 1.1.5, 1.1.6, 1.1.7, 2.0 Beta 3 Public, 2.0 Beta 3.1 Public, 2.0 Beta 4
Total Downloads:     64538
For now he is the only that is working on this mod for several versions ago. He is the official owner of this mod now. If somebody, continue bothering to Nao. We lose the support of this mod. Personally I'm happy with Nao as developer of this mod.

Perhaps he is a bit sarcastic. But Nao is Nao and while he made a good job, I don't care. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 30, 2009, 03:54:20 PM
@weightman> thanks for your concern. But, actually, I never said I'd stop working on Aeva overnight ;)
Until I can find a solution that satisfies both myself and the SMF team, I decided to focus on getting out a new release with some of the stuff that was requested recently.

It's not available on the mod site yet, but you can download it from here:
http://aeva.noisen.com/dev/5143/test-svn-releases/msg228695/#new
I'd appreciate if some of you could test it. The new features seem to work fine btw.

Also, I'd need all of the translators to release an update to their language files, because there are some changes.
Specifically, aeva_hq and aeva_hq_desc were removed and replaced with 6 new lines. Also, the aeva_youtube_noexternalembedding stuff is now just aeva_noexternalembedding. (It's not new, but I removed the compatibility code to encourage translators to get to work, lol.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RustyBarnacle on January 30, 2009, 03:55:41 PM
I'm glad you're still around.  Nice avatar btw.  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 30, 2009, 07:44:42 PM
In case I can't come again for some time -- I haven't had the ability to post v5.2.56 on the mod site, so you'll find it only on my website for now. Sorry about this, I got a bit carried away with the length of my latest post. Typical me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 31, 2009, 02:45:17 AM
Quote@weightman> thanks for your concern.

Loyalty is probably the greatest human quality IMO only potentially rivaled by honesty.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Robin1989 on January 31, 2009, 03:45:21 PM
hey - does this mod work with rc1 as im getting this when i try to install it - or is it a deeper problem with my forum

Installing this package will perform the following actions:
Type   Action   Description
1.   Execute Code   aeva_install.php   
2.   Execute Modification   ./.\Sources/Load.php                                        File not found
3.   Execute Modification   ./.\Sources/Post.php                                         File not found
4.   Execute Modification   ./.\Sources/Subs.php                                        File not found
5.   Execute Modification   ./.\Sources/Subs-Editor.php                          File not found
6.   Execute Modification   ./.\Sources/ManageSettings.php                         File not found
7.   Execute Modification   ./.\Sources/Admin.php                                  File not found
8.   Extract File   .\Sources/Subs-Aeva.php   
9.   Extract File   .\Sources/Subs-Aeva-Admin.php   
10.   Extract File   .\Sources/Subs-Aeva-Sites.php   
11.   Extract File   .\Sources/Subs-Aeva-Custom-Example.php   
12.   Extract File   .\Themes\default/languages/Aeva.english.php   
13.   Extract File   .\Themes\default/languages/Aeva.french.php   
14.   Extract File   .\Themes\default/languages/Aeva.french-utf8.php   
15.   Extract File   .\Themes\default/languages/Aeva.english-utf8.php   
16.   Extract File   .\Themes\default/languages/Aeva.english_british.php   
17.   Extract File   .\Themes\default/languages/Aeva.english_british-utf8.php   

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 31, 2009, 03:50:50 PM
It's a problem with your SMF install. Are the folder variable set correctly? (Settings.php)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Robin1989 on January 31, 2009, 06:00:59 PM
########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir = '\\\\boswinfs01\\home\\users\\web\\b1170\\ez.cyber\\Forum';      # The absolute path to the forum's folder. (not just '.'!)
$sourcedir = '\\\\boswinfs01\\home\\users\\web\\b1170\\ez.cyber\\Forum\\Sources';      # Path to the Sources directory.

thats the folder variebles i have set the only thing im not sure about is all the \ that are there
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on January 31, 2009, 06:54:56 PM
Yeah, it's completely screwed up... Use slashes for starters, not backslashes ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: drhamad on January 31, 2009, 07:24:05 PM
So, I have this running on a dev site now... am I missing something, or does it not actually have  buttons for inserting video (unlike the older YouTube 2.4 mod)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 31, 2009, 07:27:01 PM
What do you need a button for? You just paste the Youtube link. Like this http://www.youtube.com/watch?v=jWUrj22pRD0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: drhamad on January 31, 2009, 07:27:53 PM
Quote from: akyhne on January 31, 2009, 07:27:01 PM
What do you need a button for? You just paste the Youtube link.

Well, 2 reasons:
1) As far as I can tell there's no way to make it NOT embed, if people don't want it embedded
2) There's no way for people to know what they can actually do.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 31, 2009, 07:31:46 PM
1) put the text in a [ code ][ /code ]
2) Just tell them. It's easier to explain "Just paste the Youtube link in a post" than to tell them "Click a button to insert unnessescary BBC code".
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: drhamad on January 31, 2009, 07:35:15 PM
Quote from: akyhne on January 31, 2009, 07:31:46 PM
1) put the text in a [ code ][ /code ]
It isn't code.

Quote
2) Just tell them. It's easier to explain "Just paste the Youtube link in a post" than to tell them "Click a button to insert unnessescary BBC code".

Telling them in some sticky or readme somewhere is much less obvious than a button in every post.  And the code is necessary for exactly the reason #1 above.


Anyway, the question has been answered: this mod doesn't do it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 31, 2009, 07:38:57 PM
QuoteIt isn't code.

You can also wrap the link in [noembed][/noembed].
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 31, 2009, 07:41:20 PM
But why use BBC when it's not nessescary? A BBC code always has a reason to be used, like changing [ b ] to <b> in the code.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: drhamad on January 31, 2009, 07:41:33 PM
Quote from: weightman on January 31, 2009, 07:38:57 PM
QuoteIt isn't code.

You can also wrap the link in [noembed][/noembed].

Ahh now that's a better option. 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: drhamad on January 31, 2009, 07:43:01 PM
Quote from: akyhne on January 31, 2009, 07:41:20 PM
But why use BBC when it's not nessescary? A BBC code always has a reason to be used, like changing [ b ] to <b> in the code.

Correct.  In this case it's changing a link (such as: http://www.youtube.com/v/xQhz7lSdUxo&hl=en&fs=1) into (random video chosen here):
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/xQhz7lSdUxo&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/xQhz7lSdUxo&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>

The only difference here is it's doing it by default rather than when told.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 31, 2009, 07:44:12 PM
Quote from: weightman on January 31, 2009, 07:38:57 PM
QuoteIt isn't code.

You can also wrap the link in [noembed][/noembed].
Forgot about that one...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 31, 2009, 07:47:58 PM
I never had to paste a Youtube link that I didn't want to embed to people. What you are asking is that the very few times you have to paste a Youtube link where you DON'T want it embed, you just paste the link. And all the other 99,7% times you have to click a button to embed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 31, 2009, 07:48:27 PM
QuoteAhh now that's a better option. 

You could also use the "Custom BBC code" mod to create a youtube BBC noembed button if you want:

http://custom.simplemachines.org/mods/index.php?mod=621
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 31, 2009, 07:49:33 PM
weightman: What he/she wants is a button to EMBED!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on January 31, 2009, 07:52:07 PM
Quoteweightman: What he/she wants is a button to EMBED!

I understand, though I can't see the point personally. I bet the custom BB code mod could do that as well, but Nao would have to tell drhamad how.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Robin1989 on January 31, 2009, 09:06:48 PM
Quote from: Nao 尚 on January 31, 2009, 06:54:56 PM
Yeah, it's completely screwed up... Use slashes for starters, not backslashes ;)
ok so it should be like this instead

########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir = '/boswinfs01/home/users/web/b1170/ez.cyber/Forum';      # The absolute path to the forum's folder. (not just '.'!)
$sourcedir = /boswinfs01/home/users/web/b1170/ez.cyber/Forum/Sources';      # Path to the Sources directory.


the site is www.acidmods.com/forum/[ (http://www.acidmods.com/forum/[) btw
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on January 31, 2009, 10:07:00 PM
That's the way it should be written. To find the right path if You are unsure, upload a .php file with the code

<?php
echo $_SERVER['DOCUMENT_ROOT'];
?>

See what it says.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Robin1989 on February 01, 2009, 12:01:04 AM
Quote from: akyhne on January 31, 2009, 10:07:00 PM
That's the way it should be written. To find the right path if You are unsure, upload a .php file with the code

<?php
echo $_SERVER['DOCUMENT_ROOT'];
?>

See what it says.
its says nothing
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on February 01, 2009, 01:11:41 AM
Greetings!

@drhamad
We have had a discussion about a button & a special tag some days/weeks ago (Started in this thread on 37 or so). Nao 尚 even put a poll onto his support site to ask users about this feature and force a discussion about the pros & cons.

He called me "biggest fan of button & tag" and he is right.
But finally his arguments against a special bbcode tag were better than mine.
There are a lot of reasons. Some depend on the mod-code others on functionality and usability.

In the end (and after playing around with this mod) I must say, that he is right.
I'm still a code-tag fanboy (and use the same arguments than you) but I'm relative sure that the chosen solution will be better (in this special case and in the long term).

The discussion is over and done since he made his final decision.


@Robin1989
If your settings.php look like the one you have posted (the first time), you seem to have some mayor problems with your SMF.
I recommend to start with What is repair_settings.php? (http://docs.simplemachines.org/index.php?P=b8e8c4ca0bb3e700edba5da9f3735d7c&topic=663.0) and than you have to investigate why your settings.php is screwed up.
Imho this is not Aeva related.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: apadong.net on February 01, 2009, 01:27:12 AM
i've made translation for Bahasa Indonesia. please add to the next update. thx ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 01, 2009, 06:15:21 AM
Quote from: apadong.net on February 01, 2009, 01:27:12 AM
i've made translation for Bahasa Indonesia. please add to the next update. thx ;)
Nao wants them here: http://site.noisen.com/aeva-trans/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 01, 2009, 01:08:27 PM
Apparently flawless upgrade to 5.26. I notice that when YT videos have external embedding disabled that the video player thumbnail doesn't appear anymore and it is just a link now with the "external embedding disabled" message. I think this is an improvement.

Thanks again!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 01, 2009, 01:28:54 PM
Quote from: weightman on February 01, 2009, 01:08:27 PM
Apparently flawless upgrade to 5.26. I notice that when YT videos have external embedding disabled that the video player thumbnail doesn't appear anymore and it is just a link now with the "external embedding disabled" message. I think this is an improvement.
You had an issue or something, before. Glad that it was fixed, but I don't remember changing anything on that side.
Except of course that Aeva 5.2 is way, way better than v5.1 in terms of functionality and flexibility.
(You should all update, in case you still haven't. This is probably going to be the last update in a long time anyway. I have nothing further to add, your Honor.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: discjocke on February 01, 2009, 07:47:35 PM
I'm a novice at this and not sure what's happening. I've been updating the Aeva (Auto-Embed Video & Audio) file with no problem till now. Now I get this error:
Quote
Fatal error: Cannot redeclare modifyaevasettings() (previously declared in /home/ukrainee/public_html/forum/Sources/ModSettings.php:412) in /home/ukrainee/public_html/forum/Sources/ModSettings.php on line 420

Can someone tell me what's going on and how can I fix it? I haven't gone into my file manager for anything, so I don't know why this all of a sudden happened. I tried older versions of the Aeva mod but still happens. I delete the old version as told, before I try to load the latest version which is, 5.2.56.

I just also read that "that when YT videos have external embedding disabled"? I noticed that and thought it was because of the error message that I got while updating to the latest version 5.2.56.

We use video's quite often, so this is important to my forum. Thank you for your time.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: apadong.net on February 01, 2009, 07:53:52 PM
Quote from: akyhne on February 01, 2009, 06:15:21 AM
Nao wants them here: http://site.noisen.com/aeva-trans/ (http://site.noisen.com/aeva-trans/)
allright then, thanks ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 01, 2009, 08:05:56 PM
I'm quite sure modifyaevasettings() is not part of the older AEVAC versions, since Nao changed the name. So my guess is you installed the latest version before uninstalling old versions, right?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: discjocke on February 01, 2009, 08:16:56 PM
I've been updating the files for some time and have made sure every time to remove (uninstall) the old version, both in the "Browse packages" and the "Installed packages" sections before updating. Never had issues like this.

Is this what's causing the video thumbnails not to show in posts? Remember, I'm a novice at this.

Any suggestions on how I can correct this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 01, 2009, 08:22:08 PM
Try look in your Modsettings.php file. It seems you have the function ModifyAevaSettings() two times in there.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: discjocke on February 01, 2009, 08:33:18 PM
Thanks, I'll check it out.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: discjocke on February 01, 2009, 08:55:21 PM
I did a file search on Modsettings.php but nothing found. I do see the folder for: Aeva-5.2.56 zip, but nothing else on Aeva. I know I applied the mod.

I did find this. I was wondering if I should delete all these from the backup folder and try to install it again? Remember, I don't know if this will work. I'm not a pro at this.

/public_html/forum/Packages/backups/2008-12-28_before_AEVA-5.tar.gz
/public_html/forum/Packages/backups/2008-12-28_before_smf_patch_1.tar.gz
/public_html/forum/Packages/backups/2008-12-28_before_smf_patch_1_2.tar.gz
/public_html/forum/Packages/backups/2009-01-01_backup_AEVA-5.tar.gz
/public_html/forum/Packages/backups/2009-01-01_before_AEVA-5.tar.gz
/public_html/forum/Packages/backups/2009-01-10_backup_AEVA-5.tar.gz
/public_html/forum/Packages/backups/2009-01-10_backup_AEVA-5_2.tar.gz
/public_html/forum/Packages/backups/2009-01-10_before_Aeva-5.tar.gz
/public_html/forum/Packages/backups/2009-01-18_backup_Aeva-5.tar.gz
/public_html/forum/Packages/backups/2009-01-18_before_Aeva-5.tar.gz
/public_html/forum/Packages/backups/2009-01-25_backup_Aeva-5.tar.gz
/public_html/forum/Packages/backups/2009-01-25_backup_Aeva-5_2.tar.gz
/public_html/forum/Packages/backups/2009-01-25_backup_Aeva-5_3.tar.gz
/public_html/forum/Packages/backups/2009-01-25_backup_Aeva-5_4.tar.gz
/public_html/forum/Packages/backups/2009-01-25_before_Aeva-5.tar.gz
/public_html/forum/Packages/backups/2009-01-25_before_Aeva-5_2.tar.gz
/public_html/forum/Packages/backups/2009-01-25_before_Aeva-5_3.tar.gz
/public_html/forum/Packages/backups/2009-01-31_backup_Aeva-5.tar.gz
/public_html/forum/Packages/backups/2009-01-31_backup_Aeva-5_10.tar.gz
/public_html/forum/Packages/backups/2009-01-31_backup_Aeva-5_2.tar.gz
/public_html/forum/Packages/backups/2009-01-31_backup_Aeva-5_3.tar.gz
/public_html/forum/Packages/backups/2009-01-31_backup_Aeva-5_4.tar.gz
/public_html/forum/Packages/backups/2009-01-31_backup_Aeva-5_5.tar.gz
/public_html/forum/Packages/backups/2009-01-31_backup_Aeva-5_6.tar.gz
/public_html/forum/Packages/backups/2009-01-31_backup_Aeva-5_7.tar.gz
/public_html/forum/Packages/backups/2009-01-31_backup_Aeva-5_8.tar.gz
/public_html/forum/Packages/backups/2009-01-31_backup_Aeva-5_9.tar.gz
/public_html/forum/Packages/backups/2009-01-31_before_Aeva-5.tar.gz
/public_html/forum/Packages/backups/2009-01-31_before_Aeva-5_10.tar.gz
/public_html/forum/Packages/backups/2009-01-31_before_Aeva-5_11.tar.gz
/public_html/forum/Packages/backups/2009-01-31_before_Aeva-5_2.tar.gz
/public_html/forum/Packages/backups/2009-01-31_before_Aeva-5_3.tar.gz
/public_html/forum/Packages/backups/2009-01-31_before_Aeva-5_4.tar.gz
/public_html/forum/Packages/backups/2009-01-31_before_Aeva-5_5.tar.gz
/public_html/forum/Packages/backups/2009-01-31_before_Aeva-5_6.tar.gz
/public_html/forum/Packages/backups/2009-01-31_before_Aeva-5_7.tar.gz
/public_html/forum/Packages/backups/2009-01-31_before_Aeva-5_8.tar.gz
/public_html/forum/Packages/backups/2009-01-31_before_Aeva-5_9.tar.gz
/public_html/forum/Packages/backups/2009-02-01_before_Aeva-5.tar.gz
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 01, 2009, 09:10:25 PM
Your error says that the function is declared on line 412 and then again on line 420 in modsettings.php, so it should be there.

Are you sure you are checking the online version and not the offline version?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: discjocke on February 01, 2009, 09:18:08 PM
Don't know if its online or offline. I'm in my CPanel in file manager. I don't know much of this part of files.

On each one of the backup files above, I found Modsettings.php, but I can't find the Modsettings.php file itself listed with other php files. I'm lost in the woods, when it comes to this. I did an entire search in my file manager for Modsettings.php.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 01, 2009, 09:21:10 PM
As you upload files, you also download files. So what you need to do is to download ModSettings.php. It has been changed on your server by the AEVA mod. You then need to check the file offline, edit it and upload it again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: discjocke on February 01, 2009, 10:16:53 PM
I'll try it. I have someone that might be able to let me know how to edit it. I want to make sure I don't mess it up.  Thank you very much for your assistance.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 02, 2009, 02:01:20 AM
Quote from: akyhne on February 01, 2009, 08:05:56 PM
I'm quite sure modifyaevasettings() is not part of the older AEVAC versions, since Nao changed the name.
I didn't. I just changed its contents to avoid having to uninstall/reinstall the mod in the future. (And it's been working for several weeks now...)

And yes discjocke it's a double install. (How come it doesn't crash on you when double-installing?)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shortchange on February 02, 2009, 09:23:53 AM
I am getting this error

8: Undefined index: aeva_admin_
Apply Filter: Only show the errors from this file
File: /homepages/5/d271589599/htdocs/gg/forum/Sources/Subs-Aeva-Admin.php
Line: 530


Please advise me. Thank you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: joshposh on February 02, 2009, 09:51:22 AM
I'd love to see support for XTube :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 02, 2009, 09:59:24 AM
Quote from: Nao 尚 on February 01, 2009, 01:28:54 PM
(You should all update, in case you still haven't. This is probably going to be the last update in a long time anyway. I have nothing further to add, your Honor.)
Nice to get to that point ;) No beta testing for a while! So what about translations? How will they be available for people? I think you missed a few sites I requested a while ago.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 02, 2009, 10:01:34 AM
Quote from: joshposh on February 02, 2009, 09:51:22 AM
I'd love to see support for XTube :)
Most of the porn on that website is horrible :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 02, 2009, 10:11:21 AM
joshposh> Not the right place to ask.

akyhne> What sites?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: joshposh on February 02, 2009, 10:36:33 AM
So, where is the right place then? I thought this is the thread about Aeva  :o
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 02, 2009, 12:21:47 PM
Yeah but not the thread for site requests.

Anyway, don't sweat it, I'm not adding sites myself until further notice. You'll have to integrate it yourself.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on February 02, 2009, 02:23:13 PM
Just curious if hulu.com is supported?  I see it in the list of supported sites (US), but it's not embedding?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on February 02, 2009, 02:28:44 PM
Ah, it's just the Superbowl commercials I'm having trouble with.  Probably blocked somehow.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on February 02, 2009, 02:36:15 PM
All you have to do is act like you're going to embed the video and just get the URL like:

http://www.hulu.com/embed/4Xf72U-TlvyeTazhJ1dNKA
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 02, 2009, 03:50:12 PM
I couldn't say, I don't have access to hulu.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xaneth on February 02, 2009, 03:57:03 PM
The embed link works as posted above.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Polymath on February 03, 2009, 03:56:38 AM
I have not updated but I am now getting (External Embedding Disabled)  >:(

Yet previous Ytube vids posted are still working.

When I edit the post I have
[url=http://www.youtube.com/watch?v=cpzGQoz6i8M#noexternalembed]http://www.youtube.com/watch?v=cpzGQoz6i8M#noexternalembed[/url]


Yet all I did was post the URL
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 03, 2009, 04:37:07 AM
I don't have this problem.
http://site.noisen.com/aeva-dev/5060/tests-video-embedding/msg228791/#msg228791

What do you use as settings? Did you try to reinstall?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on February 03, 2009, 07:59:04 AM
ummm..... did you LOOK at that url?  it says:

#noexternalembed

I THINK that pretty much explains it all...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 03, 2009, 08:11:49 AM
Nope ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on February 03, 2009, 08:20:06 AM
hmmm... nope it doesn't explain it or nope you didn't look? :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 03, 2009, 09:44:51 AM
Nope it doesn't explain it.
#noexternalembed is added automatically by Aeva whenever it can't find the embed code inside the YT page.
My guess is that the base server somehow times out before receiving the whole page or something. Because if it doesn't receive anything in return, it just cancels the lookup. So the transaction somehow completes, but the embed code doesn't appear.

Well that's life?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Boby_ on February 03, 2009, 12:54:22 PM
Could you please help me?
I have SMF 1.1.7 with Aeva 5.2.26 installed but Aeva works only when a post is previewed. When it is posted I can see only the url like this one:
http://www.youtube.com/watch?v=SL3Fpt4tspc#hq

When I edit the post, I see the full url:
[url=http://www.youtube.com/watch?v=SL3Fpt4tspc#hq]http://www.youtube.com/watch?v=SL3Fpt4tspc#hq[/url]

Do you have any ideas what can cause the problem?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 03, 2009, 01:11:15 PM
URL? test account?

Any mods installed that have an influence over posted links?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: karlbenson on February 03, 2009, 01:13:19 PM
@Boby_ link
Is this in a topic with many clips already in it?
Could you be reaching the maximum number of embeds per page or per post?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Polymath on February 03, 2009, 01:47:09 PM
Quote from: Nao 尚 on February 03, 2009, 04:37:07 AM
I don't have this problem.

What do you use as settings? Did you try to reinstall?
I havn't changed settings. All others still work from Ytube. I'll uninstall. If that don't work. I'll leave uninstalled.
I do know that if I put " http://www.youtube.com/watch?v=cpzGQoz6i8M"
those either side it works.

http://www.gamesocket.geek.nz/index.php?topic=5287  <---don't work
http://www.gamesocket.geek.nz/index.php?topic=5289   <---- works with "  "
http://www.gamesocket.geek.nz/index.php?topic=5279  <-- previous post January 30th.

It is only YouTube. But since it works on yours I'll uninstall .25 and install .56

I added the hide mod.On January 26th but have added vid on 30th that worked.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: runebergen on February 03, 2009, 03:27:04 PM


Is it possible to add a feature to turn of annotations for youtube videos?

That youtube feature is soooooo annoying ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 03, 2009, 05:23:25 PM
@Polymath> Can you put inside code tags the contents of the post that says "embedding disabled"? There must be something wrong with your url tags...

@rune> Annotations? What's that? You mean the text messages that come up from time to time? You can disable them manually by clicking on the button at the lower right side of the video. The popup menu has an option to disable messages. I'm not sure I can disable this by code, and I probably wouldn't do it anyway -- sometimes they're meant to be there.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Polymath on February 04, 2009, 12:37:08 AM
[url=http://www.youtube.com/watch?v=cpzGQoz6i8M#noexternalembed]http://www.youtube.com/watch?v=cpzGQoz6i8M#noexternalembed[/url]

But "http://www.youtube.com/watch?v=cpzGQoz6i8M" will work
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 04, 2009, 01:36:53 AM
First of all: you can force your noexternalembed video to embed by... Removing the noexternalembed mention from the URL. Just make sure to leave the "#", otherwise it will look it up again. (You might want to look it up once again for good measure though. Maybe this time it'll work, eh?)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Boby_ on February 04, 2009, 01:42:56 AM
Quote from: regularexpression on February 03, 2009, 01:13:19 PM
@Boby_ link
Is this in a topic with many clips already in it?
Could you be reaching the maximum number of embeds per page or per post?

Here is the link:

http://www.aquaportal.bg/forum/index.php/topic,537.0.html

The movie clip is only one and the limit is not reached. I have no idea why it does not work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 04, 2009, 03:29:28 AM
I'll need admin access to your board to see what's up with the settings.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 04, 2009, 07:43:51 AM
Quote from: Boby_ on February 04, 2009, 01:42:56 AM
Here is the link:

http://www.aquaportal.bg/forum/index.php/topic,537.0.html

The movie clip is only one and the limit is not reached. I have no idea why it does not work.
It works when you quick edit, which means this is not a bug on Aeva's side.
I tried uninstalling the package in your admin area and it says "error" on Load.php.
Can you attach it here?
You have 40 mods installed... No wonder you're having problems. You must be aware that the more mods you install, the likelier it is that one of them will break other mods.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Boby_ on February 04, 2009, 07:51:08 AM
@Nao: Thanks!

Yes, I'm aware that too many mods can start interfering with each other.

I've made the changes in Load.php manually so I'm not sure that the problem is there.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 04, 2009, 09:43:07 AM
Attaching a fixed Load.php file... Although I did nothing with Aeva. You installed SMG twice without uninstalling before.

So, you installed manually, eh? Why didn't you start with *that*? Because that was obviously a failed install on your side...
You forgot to update Subs.php or Post.php and that's all.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Boby_ on February 04, 2009, 09:53:46 AM
Quote from: Nao 尚 on February 04, 2009, 09:43:07 AM
Attaching a fixed Load.php file... Although I did nothing with Aeva. You installed SMG twice without uninstalling before.

Thank you!


Quote from: Nao 尚 on February 04, 2009, 09:43:07 AM
So, you installed manually, eh? Why didn't you start with *that*? Because that was obviously a failed install on your side...
I suppose I wasn't specific enough - I changed ONLY Load.php manually because the automatic instalation failed to update it. The other files were installed automaticly.


Quote from: Nao 尚 on February 04, 2009, 09:43:07 AM
You forgot to update Subs.php or Post.php and that's all.
I've checked and recheked them - everything is there.

Something else happens. If I find what is wrong I'll post it here. Thanks again for trying to help!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 04, 2009, 10:03:47 AM
Still, try reposting your Post.php and Subs.php files...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SergeantAsh on February 04, 2009, 12:04:19 PM
Nao, I know you're not my biggest fan, but I've spotted a bug that kicks in when trying to modify a post that exists where it contains single quotes in the Topic.

I had a topic that included an embedded video, I modified it so as to add a single quote to the topic subject, thats when I received an error - Didn't know it was Aeva related until I started to play.

See here:
http://www.simplemachines.org/community/index.php?topic=290428.new#new

Cheers,
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 04, 2009, 12:37:13 PM
Quote from: @sh on February 04, 2009, 12:04:19 PM
Nao, I know you're not my biggest fan,
No kidding!

Just die already. Insulting me and still using both of my mods, eh! You really have some nerve, loser.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SergeantAsh on February 04, 2009, 12:40:14 PM
Quote from: Nao 尚 on February 04, 2009, 12:37:13 PM
Quote from: @sh on February 04, 2009, 12:04:19 PM
Nao, I know you're not my biggest fan,
No kidding!

Just die already. Insulting me and still using both of my mods, eh! You really have some nerve, loser.

Your call mate, I'm just merely making you aware of a bug...thats all (please just grow up) - its not a problem nor inconvenience to me, just a minor frustration in what is otherwise a great mod.

For the reference of anyone else: If you have a message with an Aeva embed tag in it, modifying the message subject and adding a single quote ' causes the an error on save - to overcome this simply remove the Aeva tag within the body of the message that you are modifying, make your changes, then edit/modify once again and place the tag back in place.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: HATETANK on February 04, 2009, 01:11:25 PM

Problems installing Aeva :(

Followed the manual install instructions from this page...

http://custom.simplemachines.org/mods/index.php?mod=977

Made all the edits, checked them twice - ran the avea_install.php by browsing to it - stated that "Database changes are complete!"

Moved all files to correct locations.

Everytime I just post up a link to a youtube video it just automagically wraps it into a url tag and doesnt embed it at all.  Do I need to reload the site somehow after making these changes?   Any insight appreciated.  Its functioning exactly how it was before I made any changes.

tia
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 04, 2009, 01:11:47 PM
Quote from: @sh on February 04, 2009, 12:40:14 PM
Your call mate, I'm just merely making you aware of a bug...thats all (please just grow up)
Grow what, apart from my anger?
And don't call me mate!
You insulted me, and you never apologized. So go to hell.

Quoteits not a problem nor inconvenience to me, just a minor frustration in what is otherwise a great mod.
So what? Now I'm doing great work but you still won't apologize, eh?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 04, 2009, 01:13:19 PM
Quote from: HATETANK on February 04, 2009, 01:11:25 PM
Everytime I just post up a link to a youtube video it just automagically wraps it into a url tag and doesnt embed it at all.  Do I need to reload the site somehow after making these changes?   Any insight appreciated.  Its functioning exactly how it was before I made any changes.
As always -- admin account + ftp access are needed.
And, yes, you didn't correctly install the mod. (Because this never happens when it's installed automatically...)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: HATETANK on February 04, 2009, 01:15:08 PM

Sure, I ftp'd to the sources and made all the changes to the sources that are stated in the install file, ran the aeva_install.php - which is the only thing I am unsure of doing correctly, because I just browsed to it.

Then I copied all the files into sources. 

I am admin and have ftp access :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 04, 2009, 01:38:49 PM
Quote from: HATETANK on February 04, 2009, 01:15:08 PM
I am admin and have ftp access :)
And I'm not, and I don't ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Erik71 on February 04, 2009, 01:51:34 PM
Hello I just intall automatically via the Adm panel Auto-Embed Video & Audio (Aeva) v5.2.56 and it won't work. Only show the link :(

I am SMF 1.1.4 and only one mod instal (Karma). The url of my forum is  :

http://www.eyeskreamcomics.com/forum/index.php

Any help would be greatly appreciated, thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 04, 2009, 02:03:11 PM
I don't know if anyone's reading ANY single post before posting, but this issue has been reported three times already, and no one has thought of sending me admin+ftp access so far...

That's very cool, all of these issues. But if you won't help me fix, I won't fix at all...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Polymath on February 04, 2009, 02:04:42 PM
Admin>>Features and options>>AEVA>>tick Enable Aeva mod (Master Setting)

Also >>> AEVA sites
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: HATETANK on February 04, 2009, 02:34:30 PM

Automatic install is so much easier than manual install - got it :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shortchange on February 04, 2009, 03:17:48 PM
Is there a way to disable Aeva in nneonneo's shoutbox? I in the shoutbox settings.php there are bannedcodes such as [img], etc... is there a code i can add there that will prevent videos from being posted in the chat? Or is there another method?

Thanks[/list]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Polymath on February 04, 2009, 03:23:59 PM
You must find in the relevant SOURCE file where that string or data is put through the function "parse_bbc". Then on the line BEFORE it, add:
      $context['aeva_disable'] = 1;
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 04, 2009, 04:23:44 PM
Or the [noembed] trick, for individual vids.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shortchange on February 04, 2009, 05:21:58 PM
Quote from: Polymath on February 04, 2009, 03:23:59 PM
You must find in the relevant SOURCE file where that string or data is put through the function "parse_bbc". Then on the line BEFORE it, add:
      $context['aeva_disable'] = 1;

Thank you. For anyone else:

Open yshout.php

find
$text = parse_bbc($text);

Paste before it
$context['aeva_disable'] = 1;
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Polymath on February 04, 2009, 06:47:43 PM
Sorry. I should have said, it says it in the install instructions
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shaka_boy on February 05, 2009, 09:14:53 AM
Hi,

I am using SMF 1.1.8 upgraded  :D

I have installed this mod manually and have loaded all the files 100% correct.

Now i can not see any option in Admin called Avec Like showing in screen short... Also when i am clicking on "Features and Options" link its showing me this error.

Fatal error: Cannot redeclare modifyaevasettings() (previously declared in /home/clicecom/public_html/weyouth.pk/Sources/ModSettings.php:370) in /home/clicecom/public_html/weyouth.pk/Sources/ModSettings.php on line 409

on this line i have this code.

// Aeva - START
function ModifyAevaSettings()
{
   global $sourcedir;
   @require_once($sourcedir .'/Subs-Aeva-Admin.php');
   return aeva_admin_manager(false, isset($_GET['sa']) ? $_GET['sa'] : '');
}
// Aeva - END

Please help me out how to fix this error.

Thanks a lot.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on February 05, 2009, 09:30:05 AM
Quote from: shaka_boy on February 05, 2009, 09:14:53 AM
Hi,

I am using SMF 1.1.8 upgraded  :D

I have installed this mod manually and have loaded all the files 100% correct.

Now i can not see any option in Admin called Avec Like showing in screen short... Also when i am clicking on "Features and Options" link its showing me this error.

Fatal error: Cannot redeclare modifyaevasettings() (previously declared in /home/clicecom/public_html/weyouth.pk/Sources/ModSettings.php:370) in /home/clicecom/public_html/weyouth.pk/Sources/ModSettings.php on line 409

on this line i have this code.

// Aeva - START
function ModifyAevaSettings()
{
   global $sourcedir;
   @require_once($sourcedir .'/Subs-Aeva-Admin.php');
   return aeva_admin_manager(false, isset($_GET['sa']) ? $_GET['sa'] : '');
}
// Aeva - END

Please help me out how to fix this error.

Thanks a lot.

I updated to 1.1.8 and aeva works fine on mine,updating is easy how did you update to 1.1.8 through the package manager ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on February 05, 2009, 09:38:30 AM
Shaka,

the problem is exactly what it says...   you installed the mod twice, therefor it is trying to declare the same function again (which is not allowed)

If this bit of code is duplicated, there is a good probability that other bits are as well.   You need to manually remove the duplicate code.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shaka_boy on February 05, 2009, 09:52:26 AM
Quote from: Kindred on February 05, 2009, 09:38:30 AM
Shaka,

the problem is exactly what it says...   you installed the mod twice, therefor it is trying to declare the same function again (which is not allowed)

If this bit of code is duplicated, there is a good probability that other bits are as well.   You need to manually remove the duplicate code.

Ok ... thanks bro.... let me check this.

Bcos .... 1 time i had insatled it auto... then i tried manually...

I will be back to u... Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Boby_ on February 05, 2009, 09:58:22 AM
Quote from: Nao 尚 on February 04, 2009, 10:03:47 AM
Still, try reposting your Post.php and Subs.php files...

Finally the problem was in Load.php. The attempt to disable the embedding in signatures disabled it everywhere ($context['aeva_disable'] = 1;). I've comented this line - I can live with embedded videos in signatures if I have to. :) Now Aeva works just fine except from the clips in the SMGallery... :) Too many mods as you already said. 
Tomorrow I'll try to find what exactly is wrong with my Load.php.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 05, 2009, 10:21:56 AM
Quote from: Boby_ on February 05, 2009, 09:58:22 AM
Finally the problem was in Load.php. The attempt to disable the embedding in signatures disabled it everywhere ($context['aeva_disable'] = 1;). I've comented this line - I can live with embedded videos in signatures if I have to. :) Now Aeva works just fine except from the clips in the SMGallery... :) Too many mods as you already said. 
Tomorrow I'll try to find what exactly is wrong with my Load.php.
I guess you placed that line above in a different place, compared to where it was supposed to be. Some of the SMF code repeats itself so you probably found a place, figured it was the one, and pasted the code.
I tend to recommend not doing manual installs. I don't know if you noticed, but most of the support issues here are originated from manual installs of the mod.
And it's still an easy mod to manually install, lol :) Doesn't have that many lines. And it's been a long time since I changed the XML files.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shaka_boy on February 05, 2009, 10:33:31 AM
Quote from: Kindred on February 05, 2009, 09:38:30 AM
Shaka,

the problem is exactly what it says...   you installed the mod twice, therefor it is trying to declare the same function again (which is not allowed)

If this bit of code is duplicated, there is a good probability that other bits are as well.   You need to manually remove the duplicate code.

Hi,

I have checked all the codes in modsettings.php

There was 1 code which was duplicated, i have removed it. Now The Fetaures Option page is opeining and i can see the avec buttons... but when i am clicking on it... its empty...

Also if i am making any change in features its shwoing errors.

Please anyone help me out... if u needed a file i can send to you.

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 05, 2009, 10:52:19 AM
Uninstall your manual changes (remove all blocks that say "Aeva start/Aeva end") and install automatically...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Boby_ on February 05, 2009, 12:37:04 PM
Quote from: Nao 尚 on February 05, 2009, 10:21:56 AM
I guess you placed that line above in a different place, compared to where it was supposed to be.

Oh, holly s@#$! I MUST learn to make difference between BEFORE and AFTER.  >:(
Thanks again for the help Nao!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 05, 2009, 01:03:01 PM
If it can make you feel better, I had a hard time rewriting the .xml files recently, precisely because of that before/after stuff ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: meehan09 on February 05, 2009, 01:21:35 PM
Hi

I today tried to install the packages using the admin panel as normal and iam getting the file is either corrupt or it doesnt support it for the version iam using?

Can someone please provide me with witch one iam needed to download as ive tried all off the ones witch are provided and they dont seem be working?

Once i click apply mod iam getting its corrupt or iam using wrong version of smf?

Iam currently using SMF 1.1.8 on thease forums : www.exoticforums.co.uk , And was wondering if possible i can get the mod to work on this board so iam able to have you tube videos added to a post

I hope someone can help, And thanks in advance.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SergeantAsh on February 05, 2009, 02:02:51 PM
Quote from: Boby_ on February 05, 2009, 12:37:04 PM
Quote from: Nao 尚 on February 05, 2009, 10:21:56 AM
I guess you placed that line above in a different place, compared to where it was supposed to be.

Oh, holly s@#$! I MUST learn to make difference between BEFORE and AFTER.  >:(
Thanks again for the help Nao!

I'll never understand why SMF designed that the way they did, its entirely illogical isn't it?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 05, 2009, 02:05:53 PM
Quote from: @sh on February 05, 2009, 02:02:51 PM
I'll never understand why SMF designed that the way they did, its entirely illogical isn't it?
It's not. It's an excellent patching system. The only issues with it are PEBKAC material, as often.

Now go away.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 05, 2009, 02:07:24 PM
Illogical?? As far as I know, SMF is the only forum out there where you can install mods by just uploading a file and activate it. Pretty genious to me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SergeantAsh on February 05, 2009, 02:43:38 PM
Quote from: akyhne on February 05, 2009, 02:07:24 PM
Illogical?? As far as I know, SMF is the only forum out there where you can install mods by just uploading a file and activate it. Pretty genious to me.

I'm not questioning the mod system, its agreeably brilliant - please refer to my original post to which I'm responding to a quote where someone is confused with the BEFORE and AFTER system...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 05, 2009, 03:04:20 PM
Now I think I get what you mean. That after means before and before means after. Well, that's logical, isn't it ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SergeantAsh on February 05, 2009, 03:07:02 PM
Quote from: akyhne on February 05, 2009, 03:04:20 PM
Now I think I get what you mean. That after means before and before means after. Well, that's logical, isn't it ;)

Exactly mate, thanks for reading my post correctly  ;D I just find it incredibly bizarre and illogical? Would love a view on this from an SMF Developer as to why its that way around!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 05, 2009, 03:33:56 PM
I don't see the problem. "This snipplet here should be before the code we'll be adding", so its title is "before". You just start from that.
Maybe what confuses you is "search position=before", when it should be something clearer like "add where=before" or something.

Now go away™©.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SergeantAsh on February 05, 2009, 03:42:30 PM
Quote from: Nao 尚 on February 05, 2009, 03:33:56 PM
I don't see the problem. "This snipplet here should be before the code we'll be adding", so its title is "before". You just start from that.
Maybe what confuses you is "search position=before", when it should be something clearer like "add where=before" or something.

Then would it not be more logical for the 'after/before' to be on the ADD command, rather than the SEARCH - that way you are initially searching for the block, once found the ADD command determines whether its BEFORE or AFTER the found block?? Much more logical?

Quote from: Nao 尚 on February 05, 2009, 03:33:56 PM
Now go away™©.

Hmmmm, how about...no - isn't it time for you to disappear in a huff once again? :P :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 05, 2009, 03:52:01 PM
Quote from: @sh on February 05, 2009, 03:42:30 PM
Then would it not be more logical for the 'after/before' to be on the ADD command, rather than the SEARCH - that way you are initially searching for the block, once found the ADD command determines whether its BEFORE or AFTER the found block?? Much more logical?
Well if you're into rewriting SMF from scratch, be my guest. At least you'll be doing something for the community.

QuoteHmmmm, how about...no - isn't it time for you to disappear in a huff once again? :P :P
Listen, you really think I'm going to hurt myself to punish you? On the contrary, your behavior and the lack of reaction from the team convinced me that I've been wrong when I spent so much time working for a community that takes everything I do as granted. So now I'm working for myself and I'm cool. You didn't win anything here. Everytime you'll be posting, it'll always be a pleasure for me to remind everyone that you're "that loser who made Nao lose faith in community work."
That's your title.

Now just go away™©.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SergeantAsh on February 05, 2009, 04:02:00 PM
Quote from: Nao 尚 on February 05, 2009, 03:52:01 PM
Well if you're into rewriting SMF from scratch, be my guest. At least you'll be doing something for the community.

You're clearly incapable of sensible/constructive discussion, I'll leave you and your little pathetically childish egotistical world to it for tonight... caio :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: metallica48423 on February 05, 2009, 04:14:37 PM
Guys.  Knock it off.  You're both in the wrong here.  This argument ended 5 days ago.  Take it private.

Nao: It's not about devaluing your contributions... you know that, simply that nobody has the right to treat anyone the way you two are treating each other.  Just because i have some 13,000 support posts, help manage the project, as well as other things -- doesn't give me the right to flame someone, for example.  If I did, i'd be called out on the floor on it by the team -- I have before, as have others on the team.  Nobody has right to flame and insult anyone else.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SergeantAsh on February 05, 2009, 04:21:40 PM
Quote from: metallica48423 on February 05, 2009, 04:14:37 PM
Nobody has right to flame and insult anyone else.

Agreed...Once again I am entirely innocent here, Nao grow up, there was no need for your sarcasm and childish responses. I'm off to the pub...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SlammedDime on February 05, 2009, 04:32:26 PM
Quote from: @sh on February 05, 2009, 04:21:40 PM
Quote from: metallica48423 on February 05, 2009, 04:14:37 PM
Nobody has right to flame and insult anyone else.

Agreed...Once again I am entirely innocent here, Nao grow up, there was no need for your sarcasm and childish responses. I'm off to the pub...
And that earned you post moderation.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 05, 2009, 05:46:14 PM
Quote from: @sh on February 05, 2009, 04:21:40 PM
Quote from: metallica48423 on February 05, 2009, 04:14:37 PM
Nobody has right to flame and insult anyone else.

Agreed...Once again I am entirely innocent here, Nao grow up, there was no need for your sarcasm and childish responses. I'm off to the pub...
Don't be so immature - metallica's post was criticising both of you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 05, 2009, 05:54:19 PM
@Slammed> Thanks!  8)

Quote from: metallica48423 on February 05, 2009, 04:14:37 PM
Nao: It's not about devaluing your contributions... you know that, simply that nobody has the right to treat anyone the way you two are treating each other.  Just because i have some 13,000 support posts, help manage the project, as well as other things -- doesn't give me the right to flame someone, for example.  If I did, i'd be called out on the floor on it by the team -- I have before, as have others on the team.
Well it's not fun without that, is it? ;)
Anyway--I totally agree with what you're saying. I'd even be ready to accept insults if they were deserved, see? But random insults for nothing? That sends out a message that you're weak and you're willing to get insulted again and again. Well I'm not. Hence the whole story.

Thanks for getting my point everyone. I can finally move on to more interesting things to do, eheh :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 05, 2009, 06:03:30 PM
I think it's a sign of strength to ignore insults whether they are deserved or not.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: metallica48423 on February 05, 2009, 06:07:55 PM
i've learned how to do that a bit better myself :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nolt on February 06, 2009, 02:30:49 AM
Polish translation of this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 06, 2009, 04:07:22 AM
Quote from: mark7144 on February 05, 2009, 06:03:30 PM
I think it's a sign of strength to ignore insults whether they are deserved or not.
Well, in the future I'll make sure to use that small "Report to moderator" button and ignore the post, I promise  :P

@metallica> how? ;)

@Nolt> http://aeva.noisen.com/trans/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kneeki on February 06, 2009, 10:38:57 AM
I've done some searches, but scanning through 70 pages of posts does take a lot of time. I've ran into an issue and I'm not sure where the problem lies. When I link to other supported pages (youtube for example) it works just fine. But, I have created a folder on my web server to upload my own personal videos and post them to my SMF 2.0 Beta 4 forums, but I get nothing but a "Video is loading..." message when I load the post. If I click on the direct link, the video loads just fine however.

Is there something I'm doing wrong? If there is any more information I can give to help fix this problem just let me know! Thanks again for this great addon!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nolt on February 06, 2009, 11:54:35 AM
Thanks, and added to your site.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 06, 2009, 12:23:49 PM
Quote from: kneeki on February 06, 2009, 10:38:57 AM
I've done some searches, but scanning through 70 pages of posts does take a lot of time. I've ran into an issue and I'm not sure where the problem lies. When I link to other supported pages (youtube for example) it works just fine. But, I have created a folder on my web server to upload my own personal videos and post them to my SMF 2.0 Beta 4 forums, but I get nothing but a "Video is loading..." message when I load the post. If I click on the direct link, the video loads just fine however.
I'll need a link to the post where this happens?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kneeki on February 06, 2009, 12:39:43 PM
Quote from: Nao 尚 on February 06, 2009, 12:23:49 PM
Quote from: kneeki on February 06, 2009, 10:38:57 AM
I've done some searches, but scanning through 70 pages of posts does take a lot of time. I've ran into an issue and I'm not sure where the problem lies. When I link to other supported pages (youtube for example) it works just fine. But, I have created a folder on my web server to upload my own personal videos and post them to my SMF 2.0 Beta 4 forums, but I get nothing but a "Video is loading..." message when I load the post. If I click on the direct link, the video loads just fine however.
I'll need a link to the post where this happens?
Sure, here ya go: http://www.geekbocks.com/forums/index.php/topic,52.msg124.html#msg124
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 06, 2009, 02:32:08 PM
Plays fine to me! Browser problem ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kneeki on February 06, 2009, 02:52:50 PM
Yup, loaded it up in IE. Works fine!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 07, 2009, 07:10:29 AM
Recent changes over at YouTube will be addressed in the next release of Aeva.

(1) Video titles now appear in the previews before you launch them (along with rating). I've already implemented (but haven't committed yet) the ability to hide these titles. I've also implemented the ability to retrieve titles at post time, and show them below the video as a link to the video (even though YT doesn't need it, it's still good practice). I won't record the video rating though, I'm not sure there's a point in showing the rating. I mean, if someone posts a video, it's probably *interesting*, isn't it?

(2) Videos that have only one resolution will, once again, fail to show if "Force to HQ" is enabled. This was fixed by YouTube about a month ago, but the problem has come back. I have found a perfect workaround: these problems only appear if the fmt_map variable is empty in the remote page, so I may implement a lookup variable for that.

Regarding point 2, however, my study of fmt_map has taught me a few more things about how YT handles video quality. I used to know the basics (6, 18, 22...), but it's much more complicated. fmt_map will indicate a list of video qualities available for "low quality" and "high quality" (sometimes it provides a third setting, dunno what it's for), but will still hide other qualities that it's capable of showing. Aeva's "HQ" setting is actually fmt=18 while HD is fmt=22. The HQ format actually has many more possible variables: 6, 18, 35 -- 35 being the best quality aside from HD, but as opposed to HD, it's in FLV format. Supposedly.
I discussed all of this here: http://aeva.noisen.com/you/5055/done-the-official-randomly-unsupported-youtube-video-thread-thing/msg228833/#msg228833
I would appreciate that those of you who are interested in all of the YT quality settings would go there and give their opinion. I'm trying to find the best solution. Can't find it for now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 07, 2009, 07:49:23 AM
If a video is truly restricted to LQ, then how can you advertise 'Force HQ' as an available setting? It's simplying lying. I recommend renaming these drop downs for the next version and maybe have a little help text explaining exactly what "look-up set" means in this context.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 07, 2009, 08:05:03 AM
It's not a lie, it's a simplification. I'm limited to one line of text per entry. It's a select box, not a radio box. I'm not even sure SMF support radio boxes in the admin area (i.e. more than one line per entry, i.e. ability to explain what each entry does exactly).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 07, 2009, 08:12:35 AM
It's not correct English to use "Force" in that way because the setting doesn't always succeed...  it's more appriopriate to have something like: "Force HQ when available" or "Always use HQ when available"
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on February 07, 2009, 09:10:16 AM
Why it's called Air Force  ...when it doesn't always succeed...?
;D

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 07, 2009, 10:09:41 AM
Quote from: mark7144 on February 07, 2009, 08:12:35 AM
It's not correct English to use "Force" in that why when it doesn't always succeed...  it's more appriopriate to have something like: "Force HQ when available" or "Always use HQ when available"
And it's too long, as I said. "Force HQ when available, and use lookups to switch to HD" or something, is too long for the admin area. Don't forget that many people are still using 800x600. Or even 800x480 (netbooks).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JamesD01 on February 07, 2009, 11:53:28 AM
Does this work on SMF2 RC1?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 07, 2009, 11:55:54 AM
As far as I know, it's developed in a RC1 forum.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JamesD01 on February 07, 2009, 12:01:06 PM
Quote from: akyhne on February 07, 2009, 11:55:54 AM
As far as I know, it's developed in a RC1 forum.
Thanks, just that it doesn't say on the mod page... ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 07, 2009, 12:12:11 PM
Indeed, new versions need to be checked manually in the mod page. Thanks for reminding me, it's done.
And yes of course it's compatible with 1.1.8 and 2.0 RC1. My forum at noisen.com always runs the latest revision (which happens to be the same as RC1 right now).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 07, 2009, 12:21:23 PM
Quote from: Nao 尚 on February 07, 2009, 12:12:11 PM
(which happens to be the same as RC1 right now).

I thought there were actually some sequrity differences on the version you use, and the released version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 07, 2009, 12:37:18 PM
Quote from: Nao 尚 on February 07, 2009, 10:09:41 AM
And it's too long, as I said. "Force HQ when available, and use lookups to switch to HD" or something, is too long for the admin area.
Even that is incorrect because any video that is in HD will have HQ available but the setting will still not force HQ. But anyway, if you don't have enough space then fair enough. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 07, 2009, 12:41:12 PM
Quote from: akyhne on February 07, 2009, 12:21:23 PM
I thought there were actually some sequrity differences on the version you use, and the released version.
Security differences? I don't think so....? What makes you think that?
There are many differences that are due to my own custom changes, of course. But the core itself is SMF2 RC1. I also have the new secret theme installed, but it's disabled because it's not ready yet. (But, it looks really cool.)

Quote from: mark7144 on February 07, 2009, 12:37:18 PM
Even that is incorrect because any video that is in HD will have HQ available but the setting will still not force HQ.
Oh.... Don't start pulling my leg ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 07, 2009, 12:50:47 PM
Compuart wrote something about it. He wrote that that sequrity bug in SMF 2 beta 4 was the reason to the sudden release of RC1.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 07, 2009, 12:58:47 PM
Well I don't know, I suppose I applied the patch as well? I've seen the report but it's very unlikely to hit any server anyway (only admins can trigger the security hole, and they have to be tricked into following a specific Javascript link...)

@Everyone> Here's my tentative list for "best supported format" in YouTube:
http://site.noisen.com/aeva-you/5055/done-the-official-randomly-unsupported-youtube-video-thread-thing/msg228868/#msg228868
Please comment if you have anything to say.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: EvilDeeds on February 07, 2009, 03:22:51 PM
I tried to install this mod on SMF 1.8.0, but when I Apply the mod and want to install it turns blanc.
This is the url of the blanc site: http://site.nl/index.php?action=packages;sa=install2;package=Aeva-5.2.56.zip

Then I refreshed it and then it says: An Error Has Occurred!
Your session timed out while posting. Please go back and try again.

What is the problem here?
I tried it many times but everytime I get errors..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 07, 2009, 06:35:05 PM
It means that your session timed out while processing the file.
Please go back and try again.

Yeah I'm pretty smart when it comes to error messages!

And no it's no Aeva's fault. It barely scratches the surface as a mod. Most of the files are exclusive to Aeva so there's no processing power required to install it. You can do it manually if it really doesn't install automatically.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: emonk on February 07, 2009, 07:25:29 PM
Embed videos with this mod doesn't show in mkportal, just appears the link
any idea how to solve this problem?

this is my portal -> http://www.antipro.com.uy/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JamesD01 on February 07, 2009, 07:43:26 PM
I've noticed a problem when you go to a unread post with a embedded video in the topic, in the Title of the page it has "#new".
Is this a known bug?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 07, 2009, 08:04:54 PM
I'm not sure what that #new code does, but it is there because You clicked into the post from either an email notification, or another method that tells you to goto the first unread post in the topic for your profile.
If you hover the mouse over the link (headline of the post itself, there shouldn't be any #new code.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JamesD01 on February 07, 2009, 08:20:35 PM
Quote from: akyhne on February 07, 2009, 08:04:54 PM
I'm not sure what that #new code does, but it is there because You clicked into the post from either an email notification, or another method that tells you to goto the first unread post in the topic for your profile.
If you hover the mouse over the link (headline of the post itself, there shouldn't be any #new code.
No, what I mean is the title in the browser. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 07, 2009, 08:34:45 PM
That's what I mean too...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 07, 2009, 08:40:43 PM
The two links on the attachment are to the exact same post. They was just called on two different ways.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JamesD01 on February 07, 2009, 08:46:33 PM
Quote from: akyhne on February 07, 2009, 08:40:43 PM
The two links on the attachment are to the exact same post. They was just called on two different ways.
Yeah thats what I mean. The "#new" bit in the title. I'm assuming thats a bug? And can it be fixed?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 07, 2009, 08:52:37 PM
I'm telling you again it's not a bug, but the way you get to the specific post. Your private forum does. All my forums does it, this forum does it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 08, 2009, 04:15:44 AM
Quote from: emonk on February 07, 2009, 07:25:29 PM
Embed videos with this mod doesn't show in mkportal, just appears the link
any idea how to solve this problem?
Did you install Aeva manually?
Does your portal NOT call parse_bbc?
No reason otherwise.

@JamesD01> What has this got to do with Aeva?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: EvilDeeds on February 08, 2009, 06:17:46 AM
Quote from: Nao 尚 on February 07, 2009, 06:35:05 PM
It means that your session timed out while processing the file.
Please go back and try again.

Yeah I'm pretty smart when it comes to error messages!

And no it's no Aeva's fault. It barely scratches the surface as a mod. Most of the files are exclusive to Aeva so there's no processing power required to install it. You can do it manually if it really doesn't install automatically.

That's what I already did, with copying all the text in different *.php files..
But that didn't worked for me either, when I tried to post a youtube movie..

That's the strange thing about it..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ron Jeremy on February 08, 2009, 06:43:37 AM
Can you ad suport for 3gp files?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 08, 2009, 08:14:17 AM
Is it supported by FLV players at all?

@Evil> What's thy URL?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JamesD01 on February 08, 2009, 09:20:05 AM
Quote from: Nao 尚 on February 08, 2009, 04:15:44 AM
@JamesD01> What has this got to do with Aeva?
Look at my attached image, it explains what I'm trying to say.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 08, 2009, 09:45:08 AM
Very strange.
I tried typing out the URLs in your screenshot and have no such #new at the end of the title.

Then I tried with IE8 and it did add the #new thing.
So I view the source code -- it doesn't have "#new" in unexpected places. Well, where does this come from?! I have no idea...

What is your version of Aeva?
Is SMF Media Gallery installed, by any chance?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 08, 2009, 09:49:30 AM
Hmm, you are right about that Nao, but it's always been like that for me in all my forums. So it's not a AEVA bug.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 08, 2009, 09:55:05 AM
Just tested some more in one of my forums. JamesD01 is right, it's only in pages with Youtube videos. But the forum I tested in, has been running AEVAC 3.xx until a few days ago. And the "bug" has always been there in IE7.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on February 08, 2009, 10:03:41 AM
Quote from: Nao 尚 on February 08, 2009, 09:45:08 AM
Very strange.
I tried typing out the URLs in your screenshot and have no such #new at the end of the title.

Then I tried with IE8 and it did add the #new thing.
So I view the source code -- it doesn't have "#new" in unexpected places. Well, where does this come from?! I have no idea...

What is your version of Aeva?
Is SMF Media Gallery installed, by any chance?

i get it sometimes to,just means there's a new post i just made i think
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 08, 2009, 10:14:47 AM
Okay, from what I've gathered... It adds #something once per video embedded in the page, so it's definitely due to Aeva.
I managed to reproduce over at noisen.com as well.
However, since it only happens in IE, it's really an IE bug, not an Aeva bug. (Otherwise, the #something WOULD appear in the <title> tag in the source code.)

Now, regarding the "reason" for this to appear. The only way to remove the # thingy is to remove the <object> tag in Aeva, or at least remove all of the parameters that define it as a Flash object. When this is done, IE will ask the user for their authorization to run a MS XML module or something. I didn't authorize this, but I did notice that the anchor no longer appear in the title.

So, this is a Microsoft bug. Can't help. Ask them to fix it.
A workaround would be to use SWFObject.js to show the video. It has several pros (W3C validation, videos are always clickable immediately, no need to "click on the control first", better flexibility on whether to allow showing the Flash update popup, etc.), but one major con -- forces the user to enable JS if they want to see the video in the first place.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 08, 2009, 11:26:33 AM
Quote from: Nao 尚 on February 07, 2009, 12:41:12 PM
Quote from: akyhne on February 07, 2009, 12:21:23 PM
I thought there were actually some sequrity differences on the version you use, and the released version.
Security differences? I don't think so....? What makes you think that?
There are many differences that are due to my own custom changes, of course. But the core itself is SMF2 RC1. I also have the new secret theme installed, but it's disabled because it's not ready yet. (But, it looks really cool.)



There are differences:
QuoteIf you are currently running 2.0 beta 4 we advise you to upgrade to 2.0 RC1 as it is more stable and secure. Charter Members using 2.0 RC1 are advised to upgrade for security improvements not available in the preview release.
Found here (http://www.simplemachines.org/community/index.php?topic=290609.msg1912717#msg1912717)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: icehat on February 08, 2009, 12:10:18 PM
I've got this error when doing testinstallation:

./Sources/Load.php     Test failed

All the other files are ok.

Running SMF 1.1.8, already had a previous version of AEVA running but uninstalled it after upgrading from 1.1.7 (it didn't work anymore). Uninstallation was a succes.

Any ideas?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 08, 2009, 12:14:36 PM
@akyhne> This is about Beta 4, right?
I'm talking RC1 vs. my website. My website is running a custom RC1. What about security then?

@icehat> Post your Load.php file and proceed with the install.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 08, 2009, 12:16:56 PM
Quote...Charter Members using 2.0 RC1 are advised to upgrade for security improvements not available in the preview release.

...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: icehat on February 08, 2009, 12:36:35 PM
Quote from: Nao 尚 on February 08, 2009, 12:14:36 PM
@icehat> Post your Load.php file and proceed with the install.

I was able to fix the problem with the 'Test failed' in the testinstallation, but now I got errors in my ModSettings.php. When I open the file, it seems that the mod cutted away all code somewhere in the Karma-function.

So I reconstructed the code by copy pasting the code that was cut away from the original source file that was still on my desktop. Now I got errors that functions are missing in my ModSettings.php.

Right now, I'm going to try to put these functions into ModSettings.php manually, and I hope that will do the trick.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: EvilDeeds on February 08, 2009, 12:40:19 PM
Quote from: Nao 尚 on February 08, 2009, 08:14:17 AM
Is it supported by FLV players at all?

@Evil> What's thy URL?

URL = www.cooleshít.nl
With the normal i..
I tried it to install manually, but still no luck..

Edit; It's not a bad website.. it's a funwebsite with all kinds of vids.. :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JamesD01 on February 08, 2009, 02:01:00 PM
Quote from: Nao 尚 on February 08, 2009, 09:45:08 AM
What is your version of Aeva?
Is SMF Media Gallery installed, by any chance?
My version of Aeva is 5.2.48. I know it isn't the latest, I'm waiting for other mods to update to RC1 so I can upgrade the forum and update all the mods at the same time..
No media gallery mod is installed. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 08, 2009, 02:55:26 PM
I'm quite sure you won't get support for an outdated version. Uninstalling rev. 48 and upgrading to the newest is pretty easy done.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JamesD01 on February 08, 2009, 02:57:37 PM
Quote from: akyhne on February 08, 2009, 02:55:26 PM
I'm quite sure you won't get support for an outdated version. Uninstalling rev. 48 and upgrading to the newest is pretty easy done.
I'm doubting the issue isn't in the latest version, so it wouldn't make much difference. Like I said, I will be updating shortly. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 08, 2009, 05:20:47 PM
@akyhne> They were talking about the original RC1, the one that was released to CMs a couple of weeks ago. Again--my version is more recent. Although I'm a bit behind the SVN version right now (they released a few patches which I haven't had time to apply yet. Nothing big though.)

@Evil> I can't help without a link to a post that has the issue. And your website is not open to the public so I can't view any anyway.

@James> Do you acknowledge that this is an IE bug, not from Aeva? Anyway, tomorrow I'll try to get on with the move to SWFObject.js for showing videos. See discussion on aeva.noisen.com about this.

@PMF> I'm sorry, too much detail kills the detail, especially when I'm a bit short on time, like right now. What is exactly your problem, in a few sentences only? Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 08, 2009, 05:21:23 PM
Quote from: JamesD01 on February 08, 2009, 02:57:37 PM
Quote from: akyhne on February 08, 2009, 02:55:26 PM
I'm quite sure you won't get support for an outdated version. Uninstalling rev. 48 and upgrading to the newest is pretty easy done.
I'm doubting the issue isn't in the latest version, so it wouldn't make much difference. Like I said, I will be updating shortly. ;)

I have no issues with the mod and so doesn't a lot of other people. Only few of those that repported bugs or errors about the 5.xx versions were correct that the mod had bugs, the others only had issues in their installation, or were using older versions.

I know. I have been beta testing from the moment Nao took over. Still you will have to wait asking until you have upgraded to the latest version. If Nao were to support every release he made, he could work fulltime.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 08, 2009, 05:27:29 PM
PMF: Things changes from one upgrade to another. You could have a mod that worked in one version of SMF and not in another upgrade. So your forum is probably somehow screwed up. You should remove all mods, then do the big upgrade package of SMF 1.1.8. Afterwards check that your mods all works with SMF 1.1.8.

Both 1.1.7 and 1.1.8 solves sequrity issues, so you REALLY should upgrade somehow.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PMF on February 08, 2009, 09:53:21 PM
Quote from: Nao 尚 on February 08, 2009, 05:20:47 PM@PMF> I'm sorry, too much detail kills the detail, especially when I'm a bit short on time, like right now. What is exactly your problem, in a few sentences only? Thanks.

I agree with that statement (in bold) Sorry about that.
Since posted a shorter version below I deleted My Org post.

Just replying to EvilDeeds....
Quote from: EvilDeeds on February 07, 2009, 03:22:51 PM
I tried to install this mod on SMF 1.8.0, but when I Apply the mod and want to install it turns blanc.

In short his problem, like mine on testing site, not related Aeva. But to the SMF 1.1.7 and 1.1.8 upgrades with Old Mods loaded on website (Not Aeva) that worked in one version of SMF and not in another upgrade. For example if you have a few Mods installed under SMF 1.1.5 then upgraded SMF to 1.1.8 some "Apply" links and uninstall links in PACKAGE page such a Aeva and other Mods will take you back to PACKAGE page

akyhne:
Im going to do just like you said on testing site, after all thats the purpose of a testing site. Then see what Mod/s (installed in 1.1.5) is causing the Package Link problems with the newer SMF versions (1.1.7 and later)

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: EvilDeeds on February 09, 2009, 01:17:23 AM
Quote from: Nao 尚 on February 08, 2009, 05:20:47 PM
@akyhne> They were talking about the original RC1, the one that was released to CMs a couple of weeks ago. Again--my version is more recent. Although I'm a bit behind the SVN version right now (they released a few patches which I haven't had time to apply yet. Nothing big though.)

@Evil> I can't help without a link to a post that has the issue. And your website is not open to the public so I can't view any anyway.

@James> Do you acknowledge that this is an IE bug, not from Aeva? Anyway, tomorrow I'll try to get on with the move to SWFObject.js for showing videos. See discussion on aeva.noisen.com about this.

@PMF> I'm sorry, too much detail kills the detail, especially when I'm a bit short on time, like right now. What is exactly your problem, in a few sentences only? Thanks.

It is open for public?
It's just a fresh installed SMF with no changes to it whatsoever..

http://cooleshít.nl/index.php?topic=2.0
This is a example topic with an youtube link in it..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 09, 2009, 04:21:44 AM
@akyhne> Yeah, I'm not going to support all released versions... Especially if they're not in the same branch (5.1.48 is the 5.1 branch, not 5.2... Which means I made a lot of changes in the meantime.) I can try to support minor updates (i.e. within the 5.2 branch, currently), but that's all.

@Evil> If it's only a test site, why don't you send me ftp+admin access so that I can look into it? I'm starting to get lost with all the people mentioning links that don't convert to videos. So far, ALL of them have been due to doing a failed manual install, none of them was due to a bug in Aeva. What did you do exactly?

Heck, I'm starting to feel lost with everything, now! I'm not sure why all the fuss about Aeva and SMG right now -- is this because of increased visits on this board now that two new versions of SMF have been released? I'm still working alone on Aeva so I can't solve everyone's problems without them not helping much. I'm not sure how I'm supposed to help just by viewing a topic that gives a non-converted youtube link. It's not like it's the first time I see this. I mean, if you didn't enable Aeva in the first place, it's going to stay like this forever, eh...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: EvilDeeds on February 09, 2009, 04:28:03 AM
Quote from: Nao 尚 on February 09, 2009, 04:21:44 AM
@akyhne> Yeah, I'm not going to support all released versions... Especially if they're not in the same branch (5.1.48 is the 5.1 branch, not 5.2... Which means I made a lot of changes in the meantime.) I can try to support minor updates (i.e. within the 5.2 branch, currently), but that's all.

@Evil> If it's only a test site, why don't you send me ftp+admin access so that I can look into it? I'm starting to get lost with all the people mentioning links that don't convert to videos. So far, ALL of them have been due to doing a failed manual install, none of them was due to a bug in Aeva. What did you do exactly?

Heck, I'm starting to feel lost with everything, now! I'm not sure why all the fuss about Aeva and SMG right now -- is this because of increased visits on this board now that two new versions of SMF have been released? I'm still working alone on Aeva so I can't solve everyone's problems without them not helping much. I'm not sure how I'm supposed to help just by viewing a topic that gives a non-converted youtube link. It's not like it's the first time I see this. I mean, if you didn't enable Aeva in the first place, it's going to stay like this forever, eh...

Ok I'll PM you the Login information..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 09, 2009, 05:19:33 AM
Quote from: Nao 尚 on February 09, 2009, 04:21:44 AM
I mean, if you didn't enable Aeva in the first place, it's going to stay like this forever, eh...

Just so you know, EvilDeeds............ "you didn't enable Aeva in the first place".

Ahem.

What else can I say?
Okay, next? ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: EvilDeeds on February 09, 2009, 07:37:53 AM
Quote from: Nao 尚 on February 09, 2009, 05:19:33 AM
Quote from: Nao 尚 on February 09, 2009, 04:21:44 AM
I mean, if you didn't enable Aeva in the first place, it's going to stay like this forever, eh...

Just so you know, EvilDeeds............ "you didn't enable Aeva in the first place".

Ahem.

What else can I say?
Okay, next? ;)

What is my mistake?
Sorry for my lame question, but I don't really see it..
Where did i had to put it on?:x
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 09, 2009, 08:46:25 AM
In the admin area...!

And the link was shown in clear, right after installing the package...

SMF 1.1 => Admin area => Server and Features => Aeva
SMF 2.0 => Admin area => Modifications => Aeva
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: EvilDeeds on February 09, 2009, 11:28:07 AM
Quote from: Nao 尚 on February 09, 2009, 08:46:25 AM
In the admin area...!

And the link was shown in clear, right after installing the package...

SMF 1.1 => Admin area => Server and Features => Aeva
SMF 2.0 => Admin area => Modifications => Aeva

omg.. I just looked over it..
Very sorry for the wasted time :x
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 09, 2009, 12:33:56 PM
lol ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: coucnilhomeswap on February 09, 2009, 03:39:18 PM
if i uploaded say MP3 files to my site and then added the files url to this would it play the mp3 on my site as if it was embeded from another site
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 09, 2009, 04:08:14 PM
Yes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: coucnilhomeswap on February 09, 2009, 04:11:14 PM
will this mod work on SMF 2.0 RC1
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 09, 2009, 04:18:47 PM
Yes, it's developed on RC1 actually. What happened to your "?" key? Is it broken?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 09, 2009, 04:23:40 PM
Everyone--

If you don't like the fact that YouTube now includes the title of the video in the thumbnail, here's how to fix this:

Open Subs-Aeva.php, search for:

$hq_embed = empty($movie_type) ? $arr['movie'] : (isset($arr['movie'][$movie_type]) ? $arr['movie'][$movie_type] : $default_movie_type);

Replace with:

$hq_embed = empty($movie_type) ? $arr['movie'] : (isset($arr['movie'][$movie_type]) ? $arr['movie'][$movie_type] : $default_movie_type);
if ($arr['id'] == 'ytb')
$hq_embed .= '&showinfo=0';


This is a quick fix that works. This will be in the next release, but I'm afraid it'll take more time until I release it for good. I'm in the middle of implementing several things, and most of them aren't even half-finished, so basically I can't release a half-cooked version if you know what I mean. I should try to concentrate on one problem at a time but it's all a bit complicated.

I'd appreciate if some of you could share their opinion about that post--
http://aeva.noisen.com/you/5055/done-the-official-randomly-unsupported-youtube-video-thread-thing/msg228905/#msg228905

Either there or here.
Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 09, 2009, 04:23:56 PM
Quote from: Nao 尚 on February 09, 2009, 04:18:47 PM
Yes, it's developed on RC1 actually. What happened to your "?" key? Is it broken?
Always got to be the smart ass, huh? :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: coucnilhomeswap on February 09, 2009, 04:25:42 PM
yep when i hit that key i get this instead # lol sorry
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 09, 2009, 05:11:24 PM
Quote from: alan1979 on February 09, 2009, 04:25:42 PM
yep when i hit that key i get this instead # lol sorry
It's a serious condition which might affect your keyboard in the long run. You should take it to the keyboard doctor ASAP.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: redmafia87 on February 09, 2009, 06:10:43 PM
Had an issue with my upgrade.

Updated my website from SMF 1.1.7 to SMF 1.1.8
and had 5.1.47 mod installed. videos stopped embedding

Updated the mod to 5.2.56 and videos are still not embedding. And i now receive this error message when i try to look at my mod settings.

Fatal error: Cannot redeclare modifyaevasettings() (previously declared in /var/www/doom/forum/Sources/ModSettings.php:360) in /var/www/doom/forum/Sources/ModSettings.php on line 373

Tryed uninstalling the mod completely and removing the package files but i still receive this error message. My Website is http://Doomguild.us (http://doomguild.us)
Hope you can help with this.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 09, 2009, 06:24:16 PM
redmafia87: You didn't uninstall AEVA correct. Find the modifyaevasettings() function in ModSettings.php and delete it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: redmafia87 on February 09, 2009, 09:43:26 PM
Quote from: akyhne on February 09, 2009, 06:24:16 PM
redmafia87: You didn't uninstall AEVA correct. Find the modifyaevasettings() function in ModSettings.php and delete it.

Thanks that did the trick. new version installed like a charm after the edit.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fords8 on February 09, 2009, 11:51:33 PM
Nao, I tryed to embed this link. But doesn't work. Any ideas?

http://www.msnbc.msn.com/id/21134540/vp/29102845#29102845
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 10, 2009, 01:43:38 AM
Quote from: redmafia87 on February 09, 2009, 09:43:26 PM
Quote from: akyhne on February 09, 2009, 06:24:16 PM
redmafia87: You didn't uninstall AEVA correct. Find the modifyaevasettings() function in ModSettings.php and delete it.
Thanks that did the trick. new version installed like a charm after the edit.
It's not the only thing that needs to be done. You should edit all double installs of Aeva, really!

Also -- I thought that all 5.1 and 5.2 versions now had protection against double-installs. How come you had one?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rii on February 10, 2009, 01:47:38 AM
I have enabled the "Fix uses of the embed HTML with an embeddable link" feature in admin.

If I enter bbc code like [ h t m l ] youtube regular video url [ / h t m l ], the out come will be the dead link but no video.

If I enter bbc code like [ h t m l ] youtube video embed code [ / h t m l ], it comes out fine.

I wish to use the first one, just the url address. I need to use the bbc code becasue I want to put more info along with the video using xml/rss file.

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 10, 2009, 02:14:00 AM
Quote from: fords8 on February 09, 2009, 11:51:33 PM
Nao, I tryed to embed this link. But doesn't work. Any ideas?

http://www.msnbc.msn.com/id/21134540/vp/29102845#29102845
Do you see MSNBC in the list of supported sites?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 10, 2009, 02:17:34 AM
Quote from: rii on February 10, 2009, 01:47:38 AM
If I enter bbc code like [ h t m l ] youtube regular video url [ / h t m l ], the out come will be the dead link but no video.
Of course. [ html ] will simply let HTML code pass through without checking. It's for admins only. If you enter an URL in that, it won't do anything. Aeva disables URL embedding in html tags precisely because the html tag is not for embedding URLs.

QuoteIf I enter bbc code like [ h t m l ] youtube video embed code [ / h t m l ], it comes out fine.
Yes.

QuoteI wish to use the first one, just the url address.
Then simply enter the address, without the html tags... Can't be simpler!

And "fix embed code" does what it does -- it turns the embed code into a simple URL.
You do not have to use [ html ] on it either. Everything you put into html tags will NOT be touched by Aeva at all, actually.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 10, 2009, 02:19:12 AM
Quote from: redmafia87 on February 09, 2009, 06:10:43 PM
Fatal error: Cannot redeclare modifyaevasettings() (previously declared in /var/www/doom/forum/Sources/ModSettings.php:360) in /var/www/doom/forum/Sources/ModSettings.php on line 373
Re: double installs, I think I've caught the culprit. I was testing for !defined('SMF') when I should have tested whether the script is in the root folder. Silly me! I fixed it for the next Aeva release, but I'll have to fix it in SMG too.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 10, 2009, 05:16:09 AM
Quote from: Nao 尚 on February 10, 2009, 02:19:12 AM
Re: double installs, I think I've caught the culprit. I was testing for !defined('SMF') when I should have tested whether the script is in the root folder. Silly me! I fixed it for the next Aeva release, but I'll have to fix it in SMG too.
SMG fix done. Will be in 1.5.5. (I should post that in the SMG topic, I know... Who cares :P)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 10, 2009, 05:38:58 AM
Quote from: Nao 尚 on February 10, 2009, 02:14:00 AM
Do you see MSNBC in the list of supported sites?
You might want to consider it though... I recently wanted to embed a video from there as well.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 10, 2009, 07:47:53 AM
msnbc.com doesn't provide an actual embed link -- they provide an iframe. I'm not much into that. I could look into it but this would have to be requested over at noisen.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ambasador on February 10, 2009, 09:48:30 AM
Thanks again! Another great mod!

Ps: If someone has the SMG and this together, it might happen that if AEVA is disabled, Videos in the gallery won't show, an url will show instead. If that happens, just enable this again ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 10, 2009, 10:08:14 AM
Yes, it's a known issue.
Makes me think that I should get started on fixing it, eh? ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fords8 on February 10, 2009, 10:20:53 AM
QuoteDo you see MSNBC in the list of supported sites?

Sorry Nao! I should of asked if it could be added. Not why it isn't working.

Quotemsnbc.com doesn't provide an actual embed link -- they provide an iframe. I'm not much into that. I could look into it but this would have to be requested over at noisen.

OK, thanks for looking into it!

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fals on February 10, 2009, 04:01:39 PM
Love it ! (http://www.fg-forum.dk/smf/Smileys/fg/punk%5B1%5D.gif)
http://www.fg-forum.dk/smf/index.php?topic=26792.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 10, 2009, 05:03:45 PM
Jeg kan se du bruger nogle ældre sprogfiler i dit forum. Der er sket ændringer i version 1.1.8.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: DEK24 on February 10, 2009, 06:47:53 PM
Is there a way to get support for the site stack.com? They use brightcove for the video and I tried posting a few links but they didn't embed.

Also zagsblog.com which is a part of sny.tv

Here is a direct link to a post which has a video

http://www.zagsblog.com/2009/02/10/chris-melvin-talks-ru-football-part-2/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 10, 2009, 06:49:21 PM
Quote from: fords8 on February 10, 2009, 10:20:53 AM
Quotemsnbc.com doesn't provide an actual embed link -- they provide an iframe. I'm not much into that. I could look into it but this would have to be requested over at noisen.

OK, thanks for looking into it!
Well you didn't request it ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 10, 2009, 06:56:39 PM
@akyhne> Skül ofenstrü

Quote from: DEK24 on February 10, 2009, 06:47:53 PM
Is there a way to get support for the site stack.com? They use brightcove for the video and I tried posting a few links but they didn't embed.
1/ brightcove.com supposedly will no longer embed at one point. I'm not too sure but I think Karl told me that recently. Maybe it's already the case. This is why I didn't include brightcove in my list of "supported networks" (I only considered it as a normal site, even though it has hundreds of sites federated to it).

QuoteAlso zagsblog.com which is a part of sny.tv
Low Alexa rank.
However it has a "twistage.com" embed. This seems like a video network as well. Maybe I could add support for that network but that's pretty much it.

Anyway--requests are to be made over at noisen.com.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 10, 2009, 07:11:03 PM
What language was that LOL
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Father Luke on February 10, 2009, 08:00:12 PM
Just wanted to say thanks for your hard work.

Great Mod all of you involved.

- -
Okay,
Father Luke
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 10, 2009, 09:38:56 PM
Quotebrightcove.com supposedly will no longer embed at one point.

Only their free service is discontinued. They still have a pay service with some large corporate clients.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fords8 on February 10, 2009, 09:55:58 PM
Quote from: Nao 尚 on February 10, 2009, 06:49:21 PM
Quote from: fords8 on February 10, 2009, 10:20:53 AM
Quotemsnbc.com doesn't provide an actual embed link -- they provide an iframe. I'm not much into that. I could look into it but this would have to be requested over at noisen.

OK, thanks for looking into it!
Well you didn't request it ;)

LOL I miss read your post. God I need to sleep more at night. Don't worry about it for now. Unless you would like to see it in there?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 11, 2009, 12:58:41 PM
@akyhne> "Oh no I'm so dumb, it's Swedish." (© Les Nuls)

@FatherLuke> Thanks :) (Ah the team is just me, btw :))

@weightman> Okay, then I guess it'll keep working...

@fords8> Is it a popular site in the USA? I have no idea since I'm French. It's totally unknown here but I've seen links pointing to this site from time to time. Plus, NBC and MSN are both popular in the US.

@Everyone> Still haven't got any feedback on the YouTube changes I'm looking into implementing... :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 11, 2009, 01:03:27 PM
Quote@Everyone> Still haven't got any feedback on the YouTube changes I'm looking into implementing... :(

I trust you and everything you said makes sense to me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 11, 2009, 01:12:34 PM
Doesn't look swedish to me. Norwegian and Swedish is written in allmost the same way as Danish. That sentense doesn't say me anything.
But a google search gave me a lot of French links, not a single scandinavian ;)

But I could be wrong.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 11, 2009, 01:21:26 PM
@weightman> What should I do, then?
@akyhne> It's neither Swedish nor anything. It's just a famous nonsense one-liner in a famous French comedy. That's all. "Skül ofenstrü. Oh no I'm so dumb, it's Swedish." IIRC, the girl was precisely trying to speak Danish.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 11, 2009, 01:27:10 PM
Quote from: Nao 尚 on February 11, 2009, 12:58:41 PM
@Everyone> Still haven't got any feedback on the YouTube changes I'm looking into implementing... :(
I have found the recent YouTube conversations on your website a little too complicated so I've stayed away...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 11, 2009, 01:27:47 PM
Quote@weightman> What should I do, then?

About detecting the YT quality level? I think you were on the right track from what I saw on your site though you should keep in mind that the h264 is more efficient than the older on2vp6 and sorenson spark codecs. So, a mp4 encoded in h264 could be better quality than the other choices even if the resolution and bitrate are lower.

Hope that helps.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 11, 2009, 01:42:08 PM
@mark> lol...
@weightman> Yes, detecting quality level. I'm still unsure about whether people would want to enforce best quality at all cost (= using MP4) or would prefer wider compatibility (= using FLV). Should this be an option in Aeva? I'd rather have as few options as possible really... I need to be realistic in terms of what users really want. There are been enough issues with the new "Force to ..." options to warrant a change in this area, and I sure don't want to make it even more complicated.
(Woot, 1500 posts on this topic! It's only 4 months old, lol...)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 11, 2009, 01:46:59 PM
QuoteI'm still unsure about whether people would want to enforce best quality at all cost (= using MP4) or would prefer wider compatibility (= using FLV).

I would say use the mp4's because you are getting better video quality using less bandwidth. As for compatibility, flash should auto-upgrade or give a link to upgrade manually, right? Don't see a problem there...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 11, 2009, 01:51:05 PM
Quote from: weightman on February 11, 2009, 01:46:59 PM
I would say use the mp4's because you are getting better video quality using less bandwidth.
And what with HD? If it's available -- should it be used? Because it's clearly more resource hungry...
(I'll probably add, in the future, optional buttons below YouTube videos, that will allow you to play them in whatever quality you want.)

QuoteAs for compatibility, flash should auto-upgrade or give a link to upgrade manually, right? Don't see a problem there...
Well, it only works well on IE.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 11, 2009, 01:56:46 PM
QuoteAnd what with HD? If it's available -- should it be used? Because it's clearly more resource hungry...

But,  there is already an option to force HD or not, right?

Quote(I'll probably add, in the future, optional buttons below YouTube videos, that will allow you to play them in whatever quality you want.)

That sounds like an excellent solution. Generally, I say go with what is best, what will be used more in the future- h264. If YT is using it, its time has come.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 11, 2009, 02:03:48 PM
Quote from: weightman on February 11, 2009, 01:56:46 PM
But,  there is already an option to force HD or not, right?
You can't force HD -- you can't have it if it's not available. You can force its disabling, though, by removing "hd" from the anchor options. However, starting with the next version, HD videos won't have the #hd option, they will have "#fmt22" instead. It's clearly less obvious what to do to remove HD for a video... (For instance, turn #fmt22,6 into #fmt6)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 11, 2009, 02:07:02 PM
QuoteYou can't force HD -- you can't have it if it's not available.

Sure, your mod could download the file, transcode it to h264, and then play it back. Just kidding...of course that would not improve the quality and would be absurd. Still, what I meant is your mod has an option to use the HD when available, right? I must be missing something....so I am probably no help on this issue.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 11, 2009, 02:21:01 PM
Currently it allows you to force "default" and "always HQ" qualities, as well as enabling you to allow Aeva to set the quality to maximum according to lookups.

What I'm currently thinking of is:
- if lookups are disabled, always show in default quality -- the user can still force hq/hd afterward by editing the anchor options
- if lookups are enabled, always show in best quality. Add an option to simply "show in best quality, but avoid HD".

This would be simpler, but then again -- should HD be disabled by the admin, or by the end user? I'd be tempted to say the end user, but where do I allow them to change that setting...? Currently there's no way to do it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 11, 2009, 02:26:01 PM
nao,

The buttons you mentioned would seem ideal as the end user can select the quality they want. Of course, if it embeds as HD and they don't want to watch it as HD, they can click the embed (on the side) to pull up the video on youtube where they can watch it in whatever quality they want, right?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 11, 2009, 03:01:16 PM
Quote from: weightman on February 11, 2009, 02:26:01 PM
The buttons you mentioned would seem ideal as the end user can select the quality they want. Of course, if it embeds as HD and they don't want to watch it as HD, they can click the embed (on the side) to pull up the video on youtube where they can watch it in whatever quality they want, right?
Yes. Eh. But where's the fun in that ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 11, 2009, 04:04:56 PM
Quote from: weightman on February 11, 2009, 02:26:01 PM
nao,

The buttons you mentioned would seem ideal as the end user can select the quality they want. Of course, if it embeds as HD and they don't want to watch it as HD, they can click the embed (on the side) to pull up the video on youtube where they can watch it in whatever quality they want, right?
I second this... I don't care if it uses javascript, so do most websites.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 11, 2009, 04:06:47 PM
It would use Javascript, no questions asked... There's no other way to change the target URL. Apart from using an iframe, but I'd never do that.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 11, 2009, 04:32:05 PM
Using JS means the pages won't validate, right? My personal site doesn't validate now because of the mambo bridge but I was looking to rectify that when I eventually move to smf 2.0. Of course, I guess it doesn't matter if particular post pages validate as long as the index pages do.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 11, 2009, 04:59:30 PM
LQ is not an option at all. I'd rather just have a link to Youtube than bother my users with LQ.
HD is to demanding for the network as it is now. Sometimes when playing back a video in HD, it reminds me of the old days where you had to wait to stream the video complete befoore you could play it.

I like things as they are now. And I think many people would still use the HD link that shows in the embed link, hence watch the video form Youtubes site, than to watch it in your forum.

I know you don't like a lot of settings Nao, but that's what people like. Aren't we all bothered that Microsoft wants to tell us how to run our computer? That we really don't have a lot of options to change Windows as We would like to?

The ultimate AEVA would have options in peoples profile to let them choose what size they want to embed in. It would also have a few BBC buttons to insert the noembed code, maybe a few custom embed functions.
And the video itself would have a small text menu below the video to let people choose btw. 3 embed sizes and the option to switch btw. LQ, HQ and HD.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 11, 2009, 05:22:07 PM
Quote from: akyhne on February 11, 2009, 04:59:30 PM
The ultimate AEVA would have options in peoples profile to let them choose what size they want to embed in.
I hope that day never comes, far too bloated.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 11, 2009, 05:25:42 PM
Why not give people the choice. It doesn't bother you or your forum.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 11, 2009, 05:46:41 PM
@weightman> Using JS will, on the contrary, make video code validate. Currently, it isn't valid xhtml because of the use of the <embed> tag.

@akyhne> LQ doesn't mean low quality -- I mean, in our case, LQ is just "default quality". This is the thing that YouTube sends you. If it manages to figure out that you got lots of bandwidth available, it'll send you HQ. Well, I'm not exactly sure if it's valid for external embeds but you never know. Also, if a video only exists in HQ (e.g. Gobblynne video), you'll see it in HQ, even if "Force to LQ" is enabled. I know -- in the next version, I'll make sure not to forget to rename this to "DQ" (default quality).

LQ (DQ)/HQ have the same size.

Regarding giving choice or not -- poll time?

@Everyone> http://aeva.noisen.com/dev/5143/test-svn-releases/msg229013/#msg229013 (BETA release!)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 11, 2009, 06:03:49 PM
I never saw one video that didn't change dramatically when adding &fmt=18 to the link. Video without &fmt=18 is LQ to me.

So to me the "Use HQ where available" is not nessescary, it should always be. But then again you should concider that there are parts of the work where 4mbit connections aren't standard.

I think Mark didn't understand what I ment with personal settings. What I mean is this: The forum should use a standard size for whatever the admin chooses. But if a guy have a 32" monitor, it should be his own choice to decide wether his own browser should playback in 1024*768 or whatever.
A user should however NEVER - even as Admin - decide what resolution the user should use on his/her monitor. I think adding custom embed settings for the individual would be higher priortized than to give the option below the video itself.
And as I can think of with my low programming skills, it should be pretty easy - maybe not for Nao though with the time he would have to spend on it ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 11, 2009, 08:25:56 PM
Quote@weightman> Using JS will, on the contrary, make video code validate. Currently, it isn't valid xhtml because of the use of the <embed> tag.

Sounds good to me!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 12, 2009, 02:22:00 AM
Quote from: akyhne on February 11, 2009, 06:03:49 PM
I never saw one video that didn't change dramatically when adding &fmt=18 to the link. Video without &fmt=18 is LQ to me.
Now, try to find a difference between &fmt=18 and &fmt=35 and &fmt=6... Really, I couldn't find much to say.

QuoteSo to me the "Use HQ where available" is not nessescary, it should always be.
It's more complicated than that.

QuoteI think Mark didn't understand what I ment with personal settings. What I mean is this: The forum should use a standard size for whatever the admin chooses. But if a guy have a 32" monitor, it should be his own choice to decide wether his own browser should playback in 1024*768 or whatever.
Well, they have the "Fullscreen" button for that, really.

QuoteA user should however NEVER - even as Admin - decide what resolution the user should use on his/her monitor. I think adding custom embed settings for the individual would be higher priortized than to give the option below the video itself.
Yeah but it forces me to add some template stuff and it opens the door to many potential compatibility issues.

Okay, did anyone try my SVN release?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on February 12, 2009, 06:02:45 AM
Quote from: Nao 尚 on February 12, 2009, 02:22:00 AM
Okay, did anyone try my SVN release?

I would like, but...

I have had a Test-Install of SMF2b4 with some earlier versions of Aeva.
I have uninstalled each of them before installing a new version.

This one (Aeva_rev-58) let me know:
Aeva or AEVAC is already installed on your forum.
Please uninstall it before proceeding with this installation!


I have checked some files manually to make sure Aeva is gone.
Same message.
After that I have deleted all SMF files and reupload them (except settings.php).
Same message.
Checked database manually and delete/reupload SMF files.
Same message.
Deleted database and SMF files and run a new setup of SMF2rc1.
(There is no other version of SMF on this server or other smf_tables in the database)
Same message.

Source of Aeva_rev-58 is http://smf-media.com/community/index.php?action=svn;rep=3.
I have unpacked the files and rezip them again.
Upload is working with no errors.
[Apply mod] gives "Test successful".
[Install now] gives the message mentioned above.


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 12, 2009, 08:28:55 AM
I will get back to testing today. Already downloaded the mod yesterday.

When I modded AEVAC3 for HQ, I spend some time with the &fmt values. As I remember, in general only &fmt=18 seemed to work most of the time.
I only have a very few videos on my motorsport forum where people can't play the video with my implemented &fmt=18 code.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 12, 2009, 09:12:41 AM
@ianus> Do you have a Subs-Aeva(c).php or Subs-AEVAC.php file in your Sources folder?
Because, well-- it really means you have an older version that wasn't removed correctly.

@akyhne> Yeah, fmt=18 is fine and it's still used for backwards compatibility with #hq settings.

@everyone> current beta breaks a few things in some minor video sites. I'm currently reworking it. Hopefully rev 59 should fix them.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 12, 2009, 10:45:01 AM
Should we stop testing? Wait for next release?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Robin1989 on February 12, 2009, 10:49:31 AM
Quote from: Nao 尚 on February 11, 2009, 02:21:01 PM
Currently it allows you to force "default" and "always HQ" qualities, as well as enabling you to allow Aeva to set the quality to maximum according to lookups.

What I'm currently thinking of is:
- if lookups are disabled, always show in default quality -- the user can still force hq/hd afterward by editing the anchor options
- if lookups are enabled, always show in best quality. Add an option to simply "show in best quality, but avoid HD".

This would be simpler, but then again -- should HD be disabled by the admin, or by the end user? I'd be tempted to say the end user, but where do I allow them to change that setting...? Currently there's no way to do it.
couldnt you have it so that there is a video option section in a users profile where they can choose what quality they want the videos to show in and have an admin set a default set of options for guests
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 12, 2009, 11:18:19 AM
@akyhne> As you like. No big deal in any case, since I've been testing myself... Just use it as if it weren't a beta.

@robin> I already discussed this earlier. Making changes to the profile section amounts to adding stuff exclusively in the .xml files -- which makes the mod harder to install manually. I'd rather avoid this.

@everyone> Okay, I'm a bit stuck on one point. I've implemented the "disable titles" option for YouTube, which works just fine. If they're disabled, you can still ask Aeva to retrieve the video title manually and put it into a link below the video. I was just thinking -- is this of any interest to anyone? Now that YouTube has improved their title font (by darkening the area around text), it's not such a big deal to leave titles in them. But what about other videos? Maybe I could implement titles for them, too...
The main annoyance with this feature is that it adds extra data to the message, obviously. More space in the database.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 12, 2009, 11:20:40 AM
Nao, I say just leave the titles the way they are. They are fine.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 12, 2009, 11:59:21 AM
Uh... Well, I guess it can wait, yes. I mean, I've already implement the title stuff for YouTube so I'll probably leave it in, but disabled by default (i.e. YouTube *will* show the titles, and they won't be looked up for storage in the URL.)

I'd still like to have a few opinions about these. I mean, do you like the fact that YT now shows titles? Do you think it would be nice if other video-sharing websites had the same feature?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 12, 2009, 12:08:27 PM
Two cents:

*) The embed video doesn't show long titles, and the title dissapear when playing the video
*) I think it's a nice feature, but no extra functions should be implemented if they can't be disabled by the admin.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 12, 2009, 12:09:54 PM
I like the titles, the ratings not so much since you can't rate the video from the embed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on February 12, 2009, 12:33:48 PM
Quote from: Nao 尚 on February 12, 2009, 09:12:41 AM
@ianus> Do you have a Subs-Aeva(c).php or Subs-AEVAC.php file in your Sources folder?
Because, well-- it really means you have an older version that wasn't removed correctly.

QuoteAfter that I have deleted all SMF files and reupload them (except settings.php).
Same message.
Checked database manually and delete/reupload SMF files.
Same message.
Deleted database and SMF files and run a new setup of SMF2rc1.
(There is no other version of SMF on this server or other smf_tables in the database)
Same message.

Well, I know what the error message is telling me.
I have deleted the hole SMF folder and used the admin panel of my webhost for that, because sometimes my FireFTP can't delete everything.
Nothing was left and I checked this twice before I write down my problem.
I really thought that the installer causes the problem.

Anyway, it seems, that you have some testers already who don't run into this problem. So I have to play around with #58 and/or wait until #59 or whatever you will release next. Maybe I can be more helpful then.


Thanks for your attention.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: autogespot.com on February 12, 2009, 12:38:07 PM
Maybe there's a way to disable autoembed by putting some code in front of the video or embed sourcecode. Like [noembed]link/orembedsrc.

Sometimes i program on the forum and then the embedded source gets replaced by the link. Even when it is in de
bbc tag.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 12, 2009, 12:49:33 PM
Quote from: Nao 尚 on February 12, 2009, 11:18:19 AM
@robin> I already discussed this earlier. Making changes to the profile section amounts to adding stuff exclusively in the .xml files -- which makes the mod harder to install manually. I'd rather avoid this.
I'm glad you feel that way, I would hate it if this mod started involving user profiles.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 12, 2009, 12:51:02 PM
@ianus> if you don't delete the Subs-Aeva(c).php file, you'll always get that error message. Always!

@weightman> same here. But I can live with the ratings.

@akyhne> lookup titles can be disable, of course. They're currently disabled over at noisen.com.
Really? YT won't show long titles? They won't put them on two lines? That's silly... Yeah, the title disappears when you play the video, true. Some will like that, some will find it strange, I guess.

@mark> it's just hard to make it so that everyone will like everything the admin decides to do ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 12, 2009, 01:06:32 PM
Well, I can't prove shortened titles if you disabled it at noisen ;)

But one of the videos I posted there ended with 3 dots because the title were too long for the embed size.

mark7144: You have a lot of options in your forum that makes you capable to choose how and what your users can see and do. Then out of those options, users can choose options that effects even more the way they can use the forum.

I don't quite get why you would be against that with AEVA.

And I'm quite sure Nao would start developing something similar in a year or two, on  a cold winterday where he don't know what to do and there's no more work on AEVA ;)

"Give first options to admin, then from there let the user choose" .. hmm nice saying i just invented. I will have to develope and form it a little more and then put it in my sig

lol
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 12, 2009, 01:08:32 PM
Nao, I can live with the ratings. They are fine. I like that the title and ratings disappears once the video starts as it covers up what you are trying to see.

Akyne, I don't follow you. What is it I am supposedly against? I do agree with Nao's choice not to mess with profile.template.php as it will cause conflicts with more mods, require more custom installs, etc, etc. Simple is good.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 12, 2009, 01:15:10 PM
Sorry, it was to mark7144, post edited :redears:
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 12, 2009, 01:32:48 PM
@weightman> But would you rather have the titles below (or above, I don't mind) the video, then? Permanently? As opposed to inside the video (i.e. disappears when you play it.)

Quote from: akyhne on February 12, 2009, 01:06:32 PM
Well, I can't prove shortened titles if you disabled it at noisen ;)
But titles inside YT videos are enabled, instead. ;)

Oh, and what I could do as well, is to add an option to "show titles for all sites, except for YT (because it's already in the video)".

QuoteBut one of the videos I posted there ended with 3 dots because the title were too long for the embed size.
I see... I wonder if it would have been cut were the video embedded in widescreen ;)

QuoteAnd I'm quite sure Nao would start developing something similar in a year or two, on  a cold winterday where he don't know what to do and there's no more work on AEVA ;)
Lol... Well hopefully I'll be working on something else than Aeva, then!
There's also work to do on it though -- namely adding support for new websites and fixing broken sites. (Kewego Network support broke since the day I added support for it -- and that was only a few weeks ago! Fixed it today.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 12, 2009, 01:56:15 PM
Quote@weightman> But would you rather have the titles below (or above, I don't mind) the video, then? Permanently? As opposed to inside the video (i.e. disappears when you play it.)

I guess it would be better to have the title appear ABOVE the embedded video so that the video screen is clear. Then, the title could remain even when the video is played. I don't know that I would say it is worth your time to change though....
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 12, 2009, 02:06:10 PM
Nao: It's the title in the video that is broken. Rezising the embed window doesn't change things.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 12, 2009, 02:25:00 PM
Quote from: akyhne on February 12, 2009, 01:06:32 PMI don't quite get why you would be against that with AEVA.
Because I don't like mods that get involved with the user's theme, AEVA is pretty light weight and I want to keep it that way.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 12, 2009, 02:51:03 PM
Aeva or AEVAC is already installed on your forum.
Please uninstall it before proceeding with this installation!


I get that message in two different forums where I just removed AEVA .56

Aboarding the installation in SMF 2 RC1 makes me capable to reinstall .56. But in a SMF 1.1.8 I can't install .56 again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on February 12, 2009, 03:09:51 PM
I have deleted all files. Nothing was left. Clean server with nothing on it.

(http://www.simplemachines.org/community/index.php?topic=200401.msg1928467#msg1928467)
(http://www.simplemachines.org/community/index.php?topic=200401.msg1928496#msg1928496)

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 12, 2009, 03:40:15 PM
It's not possible to install rev. 58 in SMF 1.1.8 or 2.0 RC1.

Even with a clean upgrade of SMF 1.1.6 to 1.1.8, it's not possible.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 12, 2009, 03:46:30 PM
Gimme some time, I'll have a look at all your posts.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 12, 2009, 03:52:24 PM
The thing is that the package validates, but when installing, I get that message. I don't know if it's a bug, but the files are still unpacked and stays in.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 12, 2009, 04:02:17 PM
Re: install not working. Reinstall v5.2.56 and then upgrade your version manually by copying the files to where they should be.

I don't understand, this SHOULD work, because SMF handles package parsing in order. And the <code> stuff definitely is first in the list of modifications! So, basically, the error probably happens AFTER the files were copied but before the actual modification is made. Crap. This is so frigging complicated.
I guess I'll be forced to give up with my double-install protection, then...... -_-
Crap crap crap. It means I'm still going to have to cope with n00bs who don't know how to upgrade a mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 12, 2009, 04:06:42 PM
Hmm yeah, I can see what you mean. But the more we get AEVA to know, the more easy it is for us (others) to help out.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 12, 2009, 04:09:03 PM
rev 59 removes double-install protection.
It also has today's fixes and improvements.

Not too happy with the current results though... :-/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ʟink on February 12, 2009, 04:11:33 PM
Yes, I know this request goes against the "auto" part of this mod. So shoot me. Well, I love the huge list of sites that this mod supports, but is there a way that it could only embed if a tag such as [aeva]http://url.com/video.php?video9001[/aeva] were used? This would really help me out a lot. Thanks in advance for not shooting me, and if you can make it happen, even more thanks! ;D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 12, 2009, 04:15:10 PM
I know this would be a hack somehow, but wouldn't it be possible to add a "Clean "Up" option when the installation fails?

It should just hit the same link as the uninstall button does, but just skip where it's not possible to remove.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 12, 2009, 04:16:34 PM
Quote from: linkgamer3 on February 12, 2009, 04:11:33 PM
Yes, I know this request goes against the "auto" part of this mod. So shoot me. Well, I love the huge list of sites that this mod supports, but is there a way that it could only embed if a tag such as [aeva]http://url.com/video.php?video9001[/aeva] were used? This would really help me out a lot. Thanks in advance for not shooting me, and if you can make it happen, even more thanks! ;D

Maybe just use the noembed BBC tag when people don't want to embed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ʟink on February 12, 2009, 04:19:02 PM
Quote from: akyhne on February 12, 2009, 04:16:34 PM
Quote from: linkgamer3 on February 12, 2009, 04:11:33 PM
Yes, I know this request goes against the "auto" part of this mod. So shoot me. Well, I love the huge list of sites that this mod supports, but is there a way that it could only embed if a tag such as [aeva]http://url.com/video.php?video9001[/aeva] were used? This would really help me out a lot. Thanks in advance for not shooting me, and if you can make it happen, even more thanks! ;D

Maybe just use the noembed BBC tag when people don't want to embed.
I know that, but I was wondering if the opposite could be done: embed only on request. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 12, 2009, 04:22:03 PM
QuoteIt means I'm still going to have to cope with n00bs who don't know how to upgrade a mod.

That has nothing to do with the mod. Just ignore them and let others tell them to post for general support in the appropriate forum.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 12, 2009, 05:09:15 PM
Quote from: linkgamer3 on February 12, 2009, 04:19:02 PM
I know that, but I was wondering if the opposite could be done: embed only on request. ;)
No. Otherwise it wouldn't be called Aeva (AUTO-embed video & audio)...
99% of users love Aeva precisely because they don't have to do anything to get their videos to embed. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 12, 2009, 05:14:37 PM
linkgamer3: What is the reason for your request?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ʟink on February 12, 2009, 05:31:19 PM
Quote from: akyhne on February 12, 2009, 05:14:37 PM
linkgamer3: What is the reason for your request?
Well, I like the fact that it has the ability to embed video from all those different sites, however, I'd like functionality like the Youtube BBC mod, where users have to specify that it is embeddable material with the
tag.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 12, 2009, 05:37:11 PM
But what's the reason you don't want people to be able to embed locally? It doesn't "cost" you anything.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rad1701 on February 12, 2009, 07:58:10 PM
I'm having trouble getting it to embed from Vimeo.  An example link below:

http://www.vimeo.com/2337655
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on February 12, 2009, 09:03:39 PM
Quote from: rad1701 on February 12, 2009, 07:58:10 PM
I'm having trouble getting it to embed from Vimeo.  An example link below:

http://www.vimeo.com/2337655

Don't ask me what, but it appears to be something with that particular video. I can't embed it either, but I can other ones from vimeo.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ʟink on February 12, 2009, 10:07:12 PM
Quote from: akyhne on February 12, 2009, 05:37:11 PM
But what's the reason you don't want people to be able to embed locally? It doesn't "cost" you anything.
Because when people are posting stuff in my shoutbox, I don't want them to have to put the [noembed] tags every time they put in a link to a youtube or other video. Otherwise, I get some video that takes up space at the top of every page. It doesn't really matter; I know it goes against the "auto" part of the mod. I was just wondering if it could be done.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on February 12, 2009, 10:11:29 PM
linkgamer...

then you don't want to use this mod.
Seriously, this mod does exactly what it says AUTO embed...

If you want a youtube TAG mod, then use THAT mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 13, 2009, 02:36:04 AM
Quote from: Kindred on February 12, 2009, 10:11:29 PM
If you want a youtube TAG mod, then use THAT mod.
Yeah but he won't have any of the Aeva extra features, like titles, auto-widescreen, auto-best format (low, hq or hd), Javascript implementation (next release), etc...

linkgamer3, can you tell me why you used the YT BBC mod in the first place? Because it gets downloaded so much, while the mod has been abandoned long ago and it really doesn't have that many features.

Also, disabling Aeva automatically for shoutboxes is easy. Read the readme file! ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 13, 2009, 04:13:32 AM
Anyone noticed that YouTube havce changed their video titles? It's styled much better now. They must have heard Nao and me complaining about it over at Noisen! :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 13, 2009, 04:58:40 AM
Yes, I discussed that in the dedicated topic over at noisen.com. Which is why I'm less in a hurry to release a version that allows you to disable these titles. Now I'm fine with them. But since I implemented the whole feature, I'm now wondering whether or not I should give the ability to retrieve, store and show titles for all video sites (at least, all sites that I will implement this for.)

I would still appreciate if they could offer the ability to hide the ratings. I think from the moment one embeds a YT video on their site, they do think it's interesting. Who cares if it's rated 5 stars or 1 star then?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 13, 2009, 05:25:16 AM
Quote from: Nao 尚 on February 13, 2009, 04:58:40 AMI think from the moment one embeds a YT video on their site, they do think it's interesting. Who cares if it's rated 5 stars or 1 star then?
Yes, the moment they post it they think it's interesting but that one person cannot be trusted to know what is good or not, a rating system can.

I have a video clip thread on my forum and if people are posting up loads of YouTubes I might not bother to watch them all but if I could see some were better than others then it could be pretty useful.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 13, 2009, 06:40:58 AM
It doesn't really help with my problem, though ;) Ratings aside.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ysNoi on February 13, 2009, 10:18:50 AM
Hi Nao 尚, good evening..!

Thanks for the updates bro...!

May I know how do I allow a flash embeed like this one?

http://www.poodwaddle.com/futurepop.swf

I'm using version: 5.1.47...thanks in advanced..!  :) :)

Edit : BTW, I'm on SMF 1.1.8
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 13, 2009, 10:30:29 AM
That's not a local Flash. This is the way to do it.

[flash=200,200]http://www.poodwaddle.com/futurepop.swf[/flash]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 13, 2009, 10:39:32 AM
First -- install a more recent version :) There have been lots of improvements in the meantime.
Second -- you need to make sure your forum is on "poodwaddle.com", and nowhere else.
Third -- Just go to the admin area, "Aeva", and check SWF in the allowed extensions list.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ysNoi on February 13, 2009, 10:53:42 AM
Quote from: akyhne on February 13, 2009, 10:30:29 AM
That's not a local Flash. This is the way to do it.

[flash=200,200]http://www.poodwaddle.com/futurepop.swf[/flash]


I did but i got no luck....! Thanks...

Quote from: Nao 尚 on February 13, 2009, 10:39:32 AM
Third -- Just go to the admin area, "Aeva", and check SWF in the allowed extensions list.

I tried but still could not embeed.

I have just update to Aeva-5.2.56.

Any help please...!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 13, 2009, 10:56:17 AM
Quote from: ysNoi on February 13, 2009, 10:53:42 AM
Quote from: akyhne on February 13, 2009, 10:30:29 AM
That's not a local Flash. This is the way to do it.

[flash=200,200]http://www.poodwaddle.com/futurepop.swf[/flash]



I did but i got no luck....! Thanks...

Quote from: Nao 尚 on February 13, 2009, 10:39:32 AM
Third -- Just go to the admin area, "Aeva", and check SWF in the allowed extensions list.

I tried but still could not embeed.

I have just update to Aeva-5.2.56.

Any help please...!

You have to enable Flash support in your admin center, if you need to embed external .swf files
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 13, 2009, 11:02:40 AM
Quote from: ysNoi on February 13, 2009, 10:53:42 AM
I tried but still could not embeed.
Please post a link to a post in your board where you tried to embed the file. I'm sure it'll be solved in a second then.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ysNoi on February 13, 2009, 11:14:38 AM
Here I come : http://ysnoi.co.cc/index.php?topic=22.msg759;topicseen#lastPost

Thanks...!

Is there a way I could embed this one through enabling Flash animations (.swf) on Aeva settings instead of doing like

[flash=200,200]http://www.poodwaddle.com/futurepop.swf[/flash]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 13, 2009, 11:26:13 AM
Quote from: Nao 尚 on February 13, 2009, 10:39:32 AM
Second -- you need to make sure your forum is on "poodwaddle.com", and nowhere else.
:P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ysNoi on February 13, 2009, 11:34:37 AM
I really could not make it clear how to do it Nao 尚..! May i know how..?

Thank you very much...!  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 13, 2009, 11:41:03 AM
AEVA doesn't embed external Flash, only Flash that is on your server/forum. Therefore you are using the build-in function of SMF to embed .swf files and not AEVA.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 13, 2009, 12:14:35 PM
The only way for Aeva to accept more domains as embeddable, would be to provide it with a list of "exceptions". However, I think this would confuse users more than anything, so this could be something to be put in the Custom files instead. I'll have to think of it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: tridirk on February 13, 2009, 07:54:37 PM
tried to embed a video...got this error
QuoteYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'center'>Bud' at line 4
File: /home/u1/tridirk1/html/smf/Sources/Subs-Post.php
Line: 1575

Plus why am I getting this warning?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ysNoi on February 13, 2009, 11:58:01 PM
Quote from: akyhne on February 13, 2009, 11:41:03 AM
AEVA doesn't embed external Flash, only Flash that is on your server/forum. Therefore you are using the build-in function of SMF to embed .swf files and not AEVA.

Thanks for the info akyhne...!

I think it would be more convenient if we directly copy the .swf url upon posting without inserting a flash tag.

Thanks for considering Nao 尚..!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: edi67 on February 14, 2009, 11:01:51 AM
1° Big Thx Nao for this great mod in continue upgrading
2° i have one little problem, i use in my forum (SPOILER Azatotoh] and [Hide by Din], ell your mod work perfectly always with video BUT when i use one of this 2 mod for Hide or Spoiler one list of link under TAG CODE i have one error because automatically AEVA insert the TAG for show my links and the result is that i have link with CODE [URL] added look screenshot for understand better

As u can see the result if as show 1° picture the links begin inside CODE [AEVA] that put code [URL] too, 2° picture show in modifiy mode as your mod inserted tag [AEVA] without that me wanted it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 14, 2009, 03:11:11 PM
@ysNoi> The only reason why these aren't allowed is for security... The single most important aspect to take care of when releasing public software. Eh.

@tridirk> Aeva doesn't touch this area of the Subs-Post.php file -- not related to me I guess.

@edi67> There seems to be a conflict with how your other mod deals with bbc parsing.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 15, 2009, 03:34:43 AM
Okay... Everyone?
I'd like to release the new version today... Would it be possible that we get the job done on video titles? Should these be in the package or not? And how about video quality in YouTube? Is rev 59's implementation good for you? Would you rather have things like #fmt22,34,35,5 or #hd-vhq-stereolq-lq?

Etc, etc... Everything we discussed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: donjoe on February 15, 2009, 05:48:00 AM
We could use some installation instructions or at least a description of what the provided archives are all for. I mean... I can see these:
"Subs-Aeva-Sites.php (1KB) [776]
Aeva Sites (working copy).php (147KB) [88]"
... but I have no idea what to do with them or if I need them at all once I get the latest-version zip from above.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 15, 2009, 06:55:03 AM
There's no need for these files. As you may already know, I'm also a beta tester for SMF. Including the website itself. And I opened a bug report over at the bug tracker, which needed a "real life" example of the bug I found. So I put it onto the Aeva mod page because basically that's the only mod I'm fully responsible for.

http://dev.simplemachines.org/mantis/view.php?id=2967

This bug has yet to be fixed, even though I posted a detailed explanation on how to reproduce it. Unfortunately beta testers can't access the website copy on the SVN server so I couldn't fix the bug myself. You'll have to wait until SleePy gets around to fixing it, and then I'll be able to remove the "working copy" php file, and replace the Subs-Aeva-Sites.php stub with a fully working copy of the site list -- which will download itself automatically from within your Aeva install everytime I update it. This has been my goal all along, and I can't post the file anywhere else, because it needs to be in plain view for manual download for users who have a server in PHP Safe Mode and can't download the file automatically.

Does this answer your question?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 15, 2009, 07:45:28 AM
Titles deffenetly in the package. It's really up to admins to choose wether to enable it or not. I was happy with .56 video settings and is happy with .59 video settings.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: donjoe on February 15, 2009, 10:47:21 AM
Quote from: Nao 尚 on February 15, 2009, 06:55:03 AMDoes this answer your question?
It does for me, but not for all the other first-time visitors to the mod page. However, if you just took the time to add the text "Installation Instructions: get one of the zips with version numbers, install it and you're done", then it would. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 15, 2009, 11:32:21 AM
Quote from: donjoe on February 15, 2009, 10:47:21 AM
It does for me, but not for all the other first-time visitors to the mod page.
Well, it doesn't hurt to download these files and look into what's in them. No harm done so I don't see a reason to do all the fuss on something that is only a temporary setback...

QuoteHowever, if you just took the time to add the text "Installation Instructions: get one of the zips with version numbers, install it and you're done", then it would. :)
This is what should be done with all mods.
There is actually a hidden setting on the mod site that "recognizes" the latest uploaded proper package. There's a short discussion about this on the beta boards (which you can't access I guess) and also here: http://dev.simplemachines.org/mantis/view.php?id=2898 -- as well as in the previously mentioned bug report, I belive.
So, the thing to do for the team would be to set the radio button to check that package by default, instead of the latest file. But that's not something for me to do.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 15, 2009, 12:27:05 PM
Compared again and again, all possible video qualities in YouTube...

Here's what I've come up with:

22 = HD MP4 1280x720
35 = Q4 FLV
18 = Q2 MP4
6   = Q3 FLV mono
34 = Q1 FLV
5   = Q1 FLV mono

Q4 = quality rated 4/5 by myself. HD would be equivalent to Q5.
The biggest problem is with 6 and 18. Video quality is clearly, clearly better in 6 (not in terms of resolution, but encoding bitrate), but it only has mono sound, and that's a bad thing.
Currently, my "preference order" would be the one specified above. Does any of you disagree with this? i.e. if HD and Very HQ FLV aren't available (22 and 35), would you rather see a MP4 video in stereo with encoding defects, or a FLV video in mono with good video but definitely inferior audio?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 15, 2009, 12:41:00 PM
I think most videos are so badly recorded with sound, or recorded in mono, so sound doesn't matter much. However I prefer good sound when available. So it's hard to make a choice.
But Youtube is about videos and that should be prioritized.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 15, 2009, 01:19:42 PM
YT videos always come in a small embedded window, so I'd say sound quality is more important because it improves the overall impact on you.

Well I guess that topic isn't of much interest to anyone else here... Not that I'm surprised about it :( People like being quiet when development is underway, and complaining when the final product is not to their taste. Been there, done that...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 15, 2009, 01:22:50 PM
I think if you made guest polls on aeva.noisen.com, it would be pretty easy for people to make a choice. You are also asking questions with only a few hours to answer, before decisions are made ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 15, 2009, 01:33:12 PM
Well, I actually asked the question above several days ago, if not weeks... I just didn't get a single comment on whether I should consider fmt 18 to be better than fmt 6... Which is really the most important thing in the lot.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 15, 2009, 01:52:43 PM
I know what you are talking about as I played with it myself a few months ago, but most people don't know what you are talking about, and I think a lot really don't care.
It is not like a lot of people yelled "hurray" when Karl implemented HQ. many are used to low quality from mobliephones, old tv screens, cheap CRT monitors, etc.

To me quality is essential.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 15, 2009, 03:40:09 PM
Yeah... I guess. (Just so you know BTW -- polls never have great success anyway.)

So, what about the string format in the anchor settings?

Current is:
http://youtube-url#hq-hd (which doesn't really hold all of the possible formats...)

Proposed is:
http://youtube-url#fmt6,18,35,22
Or:
http://youtube-url#q6,18,35,22
This is best if other websites start supporting multiple quality levels, and make them as easy to embed as YT does.

Alternative could be:
http://youtube-url#hq6-hq18-hq35-hd
Or:
http://youtube-url#hqmono-hq-vhq-hd

Or, I could also only store the highest possible quality, excluding HD. (i.e if HD is available, I'll store both "hd" and the second highest quality available.)
Like:
http://youtube-url#hq35-hd
Or:
http://youtube-url#vhq-hd

There are many possibilities... But only one shall make it into the next version. And I want it to be "final", i.e. no more changes to the quality format.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 15, 2009, 04:20:45 PM
I really don't know Nao. As long as the priority is High HQ, low HQ, LQ, and in the end HD for those who chose that.
My experience when I tested was that fmt6 was hardly avilable, fmt18 was "almost" always and 22 something between. But I think Youtube changed a lot lately, so I don't know what their priorities are now.

In the end of the day you will have to redo it in 2-3 years when we are all running terabyte connections ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 15, 2009, 04:34:41 PM
And now I will go watch Bangkok Dangerous on DVD. My brain needs once a year to see an action b-movie. I hope you settle with the AEVA settings.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 15, 2009, 04:50:47 PM
Quote from: akyhne on February 15, 2009, 04:20:45 PM
I really don't know Nao. As long as the priority is High HQ, low HQ, LQ, and in the end HD for those who chose that.
My experience when I tested was that fmt6 was hardly avilable, fmt18 was "almost" always and 22 something between. But I think Youtube changed a lot lately, so I don't know what their priorities are now.
My experience shows that 18 is indeed almost always available, BUT isn't always indicated as available in the video page -- YT prefers to indicate 6 as being available instead. Which is quite annoying. So, yes, there is currently no "good solution" to the problem.
I *think* the only way to know, is to actually use Javascript to load the player and send an API message to request the list of available formats. Unfortunately, this is hardly possible in a PHP environment. I would have to do an Ajax call to retrieve it and then another Ajax call to submit the list to a separate script in SMF where it would then store the format list into the tag. Needless to say, this would be o-v-e-r-k-i-l-l for both the programmer (i.e. me) and the user (i.e. you all).

QuoteIn the end of the day you will have to redo it in 2-3 years when we are all running terabyte connections ;)
Not really, since I'll be storing all possible formats...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 16, 2009, 01:51:28 AM
I don't like the idea of having the FMT numbers in the URL as the users won't have any clue what it's aboout but at least with saying things like "hq" and "mono" people might have some idea.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mforum on February 16, 2009, 03:57:42 AM
i couldn`t get rid of HD youtube in rev-56, i could on rev-59, so i vote for revs 59 code (the admin options for youtube clip part)


can you give us live examples of:

22 = HD MP4 1280x720
35 = Q4 FLV
18 = Q2 MP4
6   = Q3 FLV mono
34 = Q1 FLV
5   = Q1 FLV mono

if you change something, already posted clips in ws,hq,hd will still work ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 16, 2009, 04:04:41 AM
mforum, the code is staying like in rev 59 anyway. This has nothing to do with how I store the quality formats...
Live examples? Just look at Where the hell is Matt's video, and add &fmt=22 to the URL. Do it for all formats.
Yes, hq & hd clips will still work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mforum on February 16, 2009, 04:24:21 AM
Thanks

i tried with this clip => http://www.youtube.com/watch?v=WilGCuT8LlM

35 and 5 are so pure in quality ........  you can count the frame pixels  :D
18 and 34 have very good video quality ..... i think 18 has a little bit better sound ..!

so i vote for Q2 MP4  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 16, 2009, 04:39:57 AM
You see that video...? That particular video has officially formats 5 and 22. That is, "LQ mono" and "HD". Nothing else. Even though the other formats are available...!
Maybe I should consider that, as soon as HD is available, VHQ (35) is also available, and use it in case HD is disabled by admin's choice?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mforum on February 16, 2009, 04:51:44 AM
in the Matt`s video i see bad video quality when i use fmt=5, very improved quality when i use everything else ...
so don`t ever use fmt=5 in any case ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 16, 2009, 05:13:45 AM
Well, fmt=5 is the same as fmt=0, which is the same as not specifying a fmt at all... It just means normal quality.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 16, 2009, 05:23:49 AM
A good and bad news.

The good news-- I found how to make sure a specific format is specified in YT through PHP.
The bad news-- it involves loading the YT page several times.

How to do it? It's really simple-- just add the "fmt=.." part to the URL. Load the page. Check out fmt_map. If it says "", the format is not supported. If it says "5/0/7/0/0" (if you added fmt=5), then it's supported.

So, basically, since I don't care about fmt 5 because it's always supported, one will want to: first of all, retrieve all of the "default" formats of a video, like in this crappy video above, it would be fmt 22 and 5. We ditch 5 for which we have no use. So we have fmt 22 -- we know it's available and it won't change. Now, we need other formats. We'll start from best to worst. Lookup YT page with fmt=35 in the URL. Is it supported? (For this video, it is NOT supported, beware!) No. Then lookup YT page with fmt=18. Is it supported? (The answer is yes.) Then store "hq-hd" (meaning 18 and 22 are supported, depending on what the user wants as best quality.) If not, try with fmt=6. If not supported, try with fmt=34. If not supported, just consider this only has one video quality.
So, at worst, we load the YT page a total of 4 times. At best, we load twice. Most likely, we'll load three times (since 18 is supported by pretty much all videos).
Since YT is supported by Google servers, it should never be TOO long, but it's still quite a lot. What do you think I should do on this matter?

PS: actually, at best, we'll have only one page load, in case the YT video only supports one format. i.e. the Gobblynne video only has one format. And any video that is LQ-only will say "" in fmt_map so it'll only support LQ and we don't need to ask for more.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 16, 2009, 11:00:37 AM
Anyone?

Am I giving away too much info? Is that why no one except from the usual trio hasn't got anything to say? Lol...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 16, 2009, 11:21:36 AM
I don't see the problem if the calls are only done when posting the video and not when viewing the topic.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LG on February 16, 2009, 11:56:02 AM
Can someone post a snapshot of this mod. Posting page.

I have instelled this on 1.1.8 and I do not see anything ?
Here is my snapshot.

There is a flash icon (I believe it was here before) and I can post Youtube videos and other flash.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 16, 2009, 12:16:55 PM
Did you follow the guide when installing the mod? It directed you to the settings page of the mod, where you have to activate it and where you have to save your AEVA sites list.

Regarding posing in the image you attached, there's no button or function to control the mod, hence the name: "Auto-embed". So what you basically do in a post is just to insert the link to the video - like http://www.youtube.com/watch?v=yyckQQWIJ0I (sorry for the video, Nao) and then post.

You just have to make sure you enabled it in the admin center.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: zach21uk on February 16, 2009, 01:35:26 PM
I Installed this mod and immediatly after, all BB Code in any signatures on my forum, stopped working.  Instead of showing Bold text when using   it just shows [b]text[/b]  or for images its [img]url[/img] so on and so forth.

is there anything in this mod that could cause this to occur?  ive checked settings and BB Code is still enabled for signatures......
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: phpMyTony on February 16, 2009, 01:59:38 PM
I love this one so much.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LG on February 16, 2009, 02:03:29 PM
Quote from: akyhne on February 16, 2009, 12:16:55 PM
Did you follow the guide when installing the mod? It directed you to the settings page of the mod, where you have to activate it and where you have to save your AEVA sites list.

Regarding posing in the image you attached, there's no button or function to control the mod, hence the name: "Auto-embed". So what you basically do in a post is just to insert the link to the video - like http://www.youtube.com/watch?v=yyckQQWIJ0I (sorry for the video, Nao) and then post.

You just have to make sure you enabled it in the admin center.

Yes,  hence the name: "Auto-embed".
But, it is not a link. It is actual video inserted into flash tags.
See here Depeche Mode video on my forum :
http://forum.gizdic.com/index.php?topic=65.15 (http://forum.gizdic.com/index.php?topic=65.15)

So, what does the AEVA do more ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 16, 2009, 02:20:34 PM
Quote from: akyhne on February 16, 2009, 11:21:36 AM
I don't see the problem if the calls are only done when posting the video and not when viewing the topic.
If your server is slow -> 4x2 seconds average = up to 8 seconds wait time (per link!) before you actually post the message.

@zach> Link to an example?

@everyone> I'm done implementing swfobject to Aeva... Well, it works okay but there are a few issues related to it. It's much, much harder to make it work, than I used to think...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 16, 2009, 02:21:22 PM
I don't have permissions to the link.

AEVA is not used to embed Flash (SWF) that is on an external source.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 16, 2009, 02:33:09 PM
Quote from: LG on February 16, 2009, 02:03:29 PM
So, what does the AEVA do more ?
Two words: readme file.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LG on February 16, 2009, 02:34:10 PM
Quote from: akyhne on February 16, 2009, 02:21:22 PM
I don't have permissions to the link.

AEVA is not used to embed Flash (SWF) that is on an external source.
I do not get it.
Are You saying that You do not see video on
http://forum.gizdic.com/index.php?topic=82.0 (http://forum.gizdic.com/index.php?topic=82.0)
?
I just cleared my browser and I can see it again.

Lara
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 16, 2009, 02:42:23 PM
Well, I can see the post now. But it doesn't contain any Flash links, just a Youtube video that is embedded with AEVA. So what's your trouble?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LG on February 16, 2009, 02:54:04 PM
The trouble is that I added Youtube with
[flash=200,200]http://www.youtube.com/watch?v=yyckQQWIJ0I[/flash]
tags and just URL inside.

And there is no AEVA button on my post page. (and Yes, all the steps in the install instructions mod did itself. I have checked)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 16, 2009, 02:56:50 PM
You are not reading my posts.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on February 16, 2009, 03:13:44 PM
Quote from: LG on February 16, 2009, 02:54:04 PM
The trouble is that I added Youtube with
[flash=200,200]http://www.youtube.com/watch?v=yyckQQWIJ0I[/flash]
tags and just URL inside.

And there is no AEVA button on my post page. (and Yes, all the steps in the install instructions mod did itself. I have checked)

the trouble is that you are not reading carefully.

You don't use ANY BBC tags for this mod to work.
If it is turned on and your list if sites is up-to-date and active, then the system will AUTOMATICALLY figure it out, WITHOUT ANY BBC TAG.

so, but using the "flash" tag, you are bypassing the mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LG on February 16, 2009, 03:43:14 PM
You are right.
I got it.
It is just this :
[url]http://www.youtube.com/watch?v=7dj298NRTO8[/url]

But noboby told me.
:D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 16, 2009, 04:04:45 PM
Well, it's not like it wasn't written down in the first lines ("Introduction") of the readme file...
Which is readable:
- in the first post of this very topic
- in the Aeva mod page
- right before installing Aeva

Yes, surely I did my best to mislead you :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 16, 2009, 04:39:23 PM
Quote from: LG on February 16, 2009, 03:43:14 PM
You are right.
I got it.
It is just this :
[url]http://www.youtube.com/watch?v=7dj298NRTO8[/url]

But noboby told me.
:D

No, you just post the link like this

http://www.youtube.com/watch?v=7dj298NRTO8

No reason to do anything else.

The Flash button is for .swf files only and has nothing to do with AEVA.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 16, 2009, 05:46:38 PM
When you have to explain people how simply posting an URL will embed it, no wonder no one replies when I ask about more technical things like how to best store quality formats in YT, lol...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 16, 2009, 05:50:43 PM
LOL
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 16, 2009, 05:52:27 PM
Well we have to be easy. I know and a lot knows how it all works, but maybe it's harder for newbies to figure out how it all works.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: FragaCampos on February 16, 2009, 06:06:42 PM
Hello there.
First of all i congratulate the authors of this great mod. Thank you!

Now, i have a problem, and used the search cause with 82 pages it's tough to read them all :P

My problem is the following:
when i put a link, for example to googlevideo, it shows the video, and the link below it. It's odd, right?
You can see it here (http://www.docspt.com/index.php/topic,5329.0.html).

For now i have it like this:
[url=http://video.google.com/videoplay?docid=6149317978842675089][/url]
with "Automatically link posted URLs" in admin panel disabled.
But if i enable it, and post the link as it is, it does exactly the same. It inserts the url tags, and shows the video followed by the link.
In the third situation, if i post the link as it is with the "Automatically link posted URLs" off, AEVAC doesn't show the video.

Help?  O:)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: autarh on February 16, 2009, 07:18:26 PM
Quote from: Polymath on February 04, 2009, 12:37:08 AM
[url=http://www.youtube.com/watch?v=cpzGQoz6i8M#noexternalembed]http://www.youtube.com/watch?v=cpzGQoz6i8M#noexternalembed[/url]

But "http://www.youtube.com/watch?v=cpzGQoz6i8M" will work

i am trying all day but still could not find out how to do this
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 16, 2009, 07:30:07 PM
autarh : What is your problem?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 17, 2009, 01:49:50 AM
Quote from: FragaCampos on February 16, 2009, 06:06:42 PM
Hello there.
First of all i congratulate the authors of this great mod. Thank you!
You're welcome.

QuoteNow, i have a problem, and used the search cause with 82 pages it's tough to read them all :P
Actually that would be 172 pages if you counted the AEVAC topic ;)

QuoteMy problem is the following:
when i put a link, for example to googlevideo, it shows the video, and the link below it. It's odd, right?
No.

QuoteIn the third situation, if i post the link as it is with the "Automatically link posted URLs" off, AEVAC doesn't show the video.
Which version are you using?

And I'll need a link to your post...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PipeRain on February 17, 2009, 02:53:37 AM
Installed this mod via package manager in Admin on 2.0 RC 1.

Shows no errors and seems to install correctly, but when it redirects to the admin page for the mod, I get the following :

Quote/ Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Fatal error: Call to undefined function: modifyaevasettings() in /home/content/*/*/*/******/html/reboot/forum/Sources/ManageSettings.php on line 222

Asterisks not included of course...  ;)

I get the same error if I use any of the tab links in the Admin panel for this mod, and it isn't doing anything on the forum.  It doesn't seem to be causing any problems, its just "inert".

Any ideas?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 17, 2009, 03:02:22 AM
Which version of AEVA?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 17, 2009, 04:25:15 AM
The usual double-install.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 17, 2009, 04:27:27 AM
Uh, no... Didn't read the error message.
Seems like the mod wasn't correctly installed anyway. You should uninstall and then reinstall.
Is PHP Safe Mode active on your server?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: zach21uk on February 17, 2009, 04:56:08 AM
Quote from: Nao 尚 on February 16, 2009, 02:20:34 PM

@zach> Link to an example?


Look through this thread folks signitures - any form of BB Styling or BB tags just isnt working.....http://hailingfrequency.co.uk/boards/index.php?topic=1003.0    or  http://hailingfrequency.co.uk/boards/index.php?topic=1429.msg8907#msg8907
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mforum on February 17, 2009, 06:33:04 AM
Quote from: Nao 尚 on February 16, 2009, 02:20:34 PM
Quote from: akyhne on February 16, 2009, 11:21:36 AM
I don't see the problem if the calls are only done when posting the video and not when viewing the topic.
If your server is slow -> 4x2 seconds average = up to 8 seconds wait time (per link!) before you actually post the message.

matts video shows fine in rev-59
why change anything ?
posting time will be too slow ......
it seems you are always looking for trouble  :D  :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 17, 2009, 07:10:16 AM
@zach> And these start working again when you disable Aeva in the admin area? (Aeva section, not Packages section)

@mforum> I'm only looking to make sure Aeva retrieves the best possible format list for YT videos. I've been quite traumatized by the fact that YT stopped redirecting requests to fmt=18 vids when not available, lol...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: zach21uk on February 17, 2009, 09:59:36 AM
Quote from: Nao 尚 on February 17, 2009, 07:10:16 AM
@zach> And these start working again when you disable Aeva in the admin area? (Aeva section, not Packages section)

Even when I disable AEVA now, it dosent fix it, however as i said before, this problem only occured when I installed the mod - I havent installed anything else.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: zach21uk on February 17, 2009, 10:54:59 AM
I found the problem in load.php - It was this code:

  // Aeva - START // Prevent embedding in signatures $context['aeva_disable'] = 1; // Aeva - END $profile['signature'] = parse_bbc 

For some reason, it had installed all on one line which deactivated the two $ variables.  I just put everything on its own line as it should have been and all is ok now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 17, 2009, 11:11:37 AM
Ehhh... One line eh? Strange! I guess we're done then? :)
Was it an automatic installation? From the zipped package?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PipeRain on February 17, 2009, 01:30:29 PM
Quote from: akyhne on February 17, 2009, 03:02:22 AM
Which version of AEVA?

Yeah, I guess it would have helped if I had put that in huh?  Mod list follows :

Aeva ~ Auto-Embed Video & Audio   5.2.56   
Display Location on posts   1.0   
Share this topic SMF Mod   1.1   
Notify Modification Last Post   1.1   
Search Focus Dropdown   1.1   
Go Up & Go Down   1.1   
Reflection Avatar   1.1   
MessagePreviewOnHover   1.7
SMF Staff Page   1.6   
AjaxChat Integration   2.5


Quote from: Nao 尚 on February 17, 2009, 04:25:15 AM
The usual double-install.

Well, yes and no.  It did that the first time I installed it, as well, returned the same error.  I thought maybe something had gotten crosswise in the install since it seemed to take quite a while compared to other mods.  I uninstalled via package manager, then re-installed in the same manner, and got the identical error.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: FragaCampos on February 17, 2009, 03:07:13 PM
Thanks for helping.

Quote from: Nao 尚 on February 17, 2009, 01:49:50 AM
QuoteMy problem is the following:
when i put a link, for example to googlevideo, it shows the video, and the link below it. It's odd, right?
No.
Didn't get it... is this normal?


Quote from: Nao 尚 on February 17, 2009, 01:49:50 AM
QuoteIn the third situation, if i post the link as it is with the "Automatically link posted URLs" off, AEVAC doesn't show the video.
Which version are you using?

And I'll need a link to your post...

I have "Aeva ~ Auto-Embed Video & Audio 5.2.56" and the link is in my first post  :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 17, 2009, 06:29:17 PM
@Pipe> Do you get any warnings when attempting to install Aeva?
If not, can you post your corrupted file? (I don't remember which one it is... Admin.php I think? No, ModSettings.php)

@Fraga> Uh yeah... No, this is not normal at all, sorry. Dunno why it happens. I had a look at my code and there's really no reason. Can you retrive the value of $modSettings['aeva_includeurl']? (It's in the "smf_settings" table.)
The code for adding captions starts with:

   if (!empty($modSettings['aeva_includeurl']) && !empty($arr['show-link']))

As you can see, it only triggers if aeva_includeurl is enabled, and the video asks for a link (Google Video does)...

Still, I'd recommend leaving aeva_includeurl on. It's good practice.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sasoriza on February 17, 2009, 10:50:09 PM
I'm new to Aeva, a bit experienced with PHP, and I'm stuck, in 2 ways.

1) I'm trying to do the custom thing.  Followed the instructions in Subs-Aeva-Custom-Example.php, created Subs-Aeva-Custom.php in the Sources directory (with the appropriate lines of PHP based on the example), yet the custom links don't auto-embed as they should. Could I be in the wrong directory maybe? Is this a common problem? (Searched this thread and didn't find any posts relating to this.)  The other auto-embed links included with the install are working perfectly, however (YouTube, etc.).

2) (This isn't related to the Custom options, AFAIK.) Under the "admin" section, there's not even a section for modifying Aeva settings (which I'm led to believe should be labeled "Aeva"). The initial installation featured the checklist of options, which I can't find anymore either. All I get is "Aeva ~ Auto-Embed Video & Audio" (simple text, non-clickable) under both "Browse Packages" and "Installed Packages", with the uninstall options. (Version is 5.2.56 & SMF 1.1.8, for what it's worth.)

I've checked this out on different computers with different browsers & OS, but none yield any differences.  Am I missing something?  Should I try uninstalling/reinstalling?

I look forward to any help anyone can offer & thank you in advance.  It's a great mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 18, 2009, 12:13:01 AM
2)
In SMF 1.1.x:
Admin -> Features and Options
You should see the two "Aeva" & "Aeva Sites" there.

In SMF 2.0:
Admin -> Modifications
You should see the two "Aeva" & "Aeva Sites" there.

1) When you are done with the settings above, then goto "Aeva Sites" again, scroll to the buttom and you should see your custom site there if you uploaded the Subs-Aeva-Custom.php. At least you should be able to view the example from the file, if you enabled that one in Subs-Aeva-Custom.php. Remember to check it and save.


Edit: I'm not quite sure wether you have to save "Aeva sites" if you change some of the code for your custom site, but at least you have to save the site list again if you delete a custom site (right Nao?).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 18, 2009, 01:26:50 AM
Quote@everyone> I'm done implementing swfobject to Aeva... Well, it works okay but there are a few issues related to it. It's much, much harder to make it work, than I used to think...

Are you sure it is worth it? Perhaps simply defaulting to the highest quality with a link to a "normal quality" version underneath would be adequate....

PS
This youtube video appears not to embed...says it is no longer available...but it is:
http://www.youtube.com/watch?v=WO4tIrjBDkk
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PipeRain on February 18, 2009, 01:34:25 AM
Quote from: Nao 尚 on February 17, 2009, 06:29:17 PM
@Pipe> Do you get any warnings when attempting to install Aeva?
If not, can you post your corrupted file? (I don't remember which one it is... Admin.php I think? No, ModSettings.php)

I didn't get any warnings, everything was either "Passed" or "Skipped".

Again, just for the sake of convenience the error is :
Quote/ Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Fatal error: Call to undefined function: modifyaevasettings() in /home/content/*/*/*/******/html/reboot/forum/Sources/ManageSettings.php on line 222

My list of installed mods is :

Aeva ~ Auto-Embed Video & Audio   5.2.56   
Display Location on posts   1.0   
Share this topic SMF Mod   1.1   
Notify Modification Last Post   1.1   
Search Focus Dropdown   1.1   
Go Up & Go Down   1.1   
Reflection Avatar   1.1   
MessagePreviewOnHover   1.7
SMF Staff Page   1.6   
AjaxChat Integration   2.5

I am running 2.0 RC1, the requested file is attached.

Thank you again for your help with this!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 18, 2009, 02:03:44 AM
Pipe, the code was added to your file... Look at line 2230. The final "?>" is set too early. Just remove the final "?>" and put it at the very end, where it should be.
(And I'm running RC1 too)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PipeRain on February 18, 2009, 02:06:05 AM
Quote from: Nao 尚 on February 18, 2009, 02:03:44 AM
Pipe, the code was added to your file... Look at line 2230. The final "?>" is set too early. Just remove the final "?>" and put it at the very end, where it should be.
(And I'm running RC1 too)

Will do.  I know diddly about php, but I am learning, the hard way.  ;)

Thank you for the quick response!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 18, 2009, 02:08:05 AM
@Pipe> You're welcome.

Quote from: weightman on February 18, 2009, 01:26:50 AM
Are you sure it is worth it?
Yes. I'm nearly finished with the implementation. Although currently "local" files aren't supported (and won't be supported in Javascript), it works.

QuotePerhaps simply defaulting to the highest quality with a link to a "normal quality" version underneath would be adequate....
I don't think so.... :-/ I want videos to work out of the box.

QuotePS
This youtube video appears not to embed...says it is no longer available...but it is:
http://www.youtube.com/watch?v=WO4tIrjBDkk
It only has "normal quality" available. So I guess YT will not let you see it if you request fmt=18 (hq). This is the frigging reason why I've been forced to change the YT quality system.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 18, 2009, 02:09:56 AM
Sounds good Nao!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PipeRain on February 18, 2009, 02:17:39 AM
BINGO!

Thanks again!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mforum on February 18, 2009, 03:17:42 AM
Quote from: weightman on February 18, 2009, 01:26:50 AM
PS
This youtube video appears not to embed...says it is no longer available...but it is:
http://www.youtube.com/watch?v=WO4tIrjBDkk

it embeds fine on my forum  8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 18, 2009, 04:22:25 AM
@mforum> rev 59 + "use normal quality + lookups"?

Quote from: akyhne on February 18, 2009, 12:13:01 AM
Edit: I'm not quite sure wether you have to save "Aeva sites" if you change some of the code for your custom site, but at least you have to save the site list again if you delete a custom site (right Nao?).
Yes, you have to save the site list again if you change anything in the custom file.
I know it can be annoying, but this cache system is still better than having to preload everything everytime.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: zach21uk on February 18, 2009, 04:50:14 AM
Quote from: Nao 尚 on February 17, 2009, 11:11:37 AM
Ehhh... One line eh? Strange! I guess we're done then? :)
Was it an automatic installation? From the zipped package?

Yeah it was automatic. Weird huh?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 18, 2009, 07:56:12 AM
I guess your file was not correctly encoded in the first place (such as carriage returns/line feed formats) and SMF screwed up or something.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sasoriza on February 18, 2009, 08:35:22 AM
Quote from: akyhne on February 18, 2009, 12:13:01 AMgoto "Aeva Sites" again....
Thanks akyhne; that helped.

Now I just have to figure out the correct link syntax to trigger auto-embedding. Fun, fun!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 18, 2009, 08:44:37 AM
......... Just paste your link, lol. Even the official embed codes will do, actually.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 18, 2009, 05:38:36 PM
Just so these don't get too much lost in the flow of this topic...
I'd like to remind everyone that I've got several questions hanging, and without a definitive answer to them, I can't possibly release a new version. So it's up to you all. I've got mforum's, akyhne's and Mark's opinions but I'd like more. Thanks.

Quote from: Nao 尚 on February 15, 2009, 03:34:43 AM
Okay... Everyone?
I'd like to release the new version today... Would it be possible that we get the job done on video titles? Should these be in the package or not? And how about video quality in YouTube? Is rev 59's implementation good for you? Would you rather have things like #fmt22,34,35,5 or #hd-vhq-stereolq-lq?

Etc, etc... Everything we discussed.

Quote from: Nao 尚 on February 16, 2009, 05:23:49 AM
A good and bad news.

The good news-- I found how to make sure a specific format is specified in YT through PHP.
The bad news-- it involves loading the YT page several times.

How to do it? It's really simple-- just add the "fmt=.." part to the URL. Load the page. Check out fmt_map. If it says "", the format is not supported. If it says "5/0/7/0/0" (if you added fmt=5), then it's supported.

So, basically, since I don't care about fmt 5 because it's always supported, one will want to: first of all, retrieve all of the "default" formats of a video, like in this crappy video above, it would be fmt 22 and 5. We ditch 5 for which we have no use. So we have fmt 22 -- we know it's available and it won't change. Now, we need other formats. We'll start from best to worst. Lookup YT page with fmt=35 in the URL. Is it supported? (For this video, it is NOT supported, beware!) No. Then lookup YT page with fmt=18. Is it supported? (The answer is yes.) Then store "hq-hd" (meaning 18 and 22 are supported, depending on what the user wants as best quality.) If not, try with fmt=6. If not supported, try with fmt=34. If not supported, just consider this only has one video quality.
So, at worst, we load the YT page a total of 4 times. At best, we load twice. Most likely, we'll load three times (since 18 is supported by pretty much all videos).
Since YT is supported by Google servers, it should never be TOO long, but it's still quite a lot. What do you think I should do on this matter?

PS: actually, at best, we'll have only one page load, in case the YT video only supports one format. i.e. the Gobblynne video only has one format. And any video that is LQ-only will say "" in fmt_map so it'll only support LQ and we don't need to ask for more.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 18, 2009, 08:22:00 PM
QuoteOkay... Everyone?
I'd like to release the new version today... Would it be possible that we get the job done on video titles? Should these be in the package or not? And how about video quality in YouTube? Is rev 59's implementation good for you? Would you rather have things like #fmt22,34,35,5 or #hd-vhq-stereolq-lq? Etc, etc... Everything we discussed.

Personally I have no strong preference in this regard. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 18, 2009, 08:31:04 PM
QuoteWould you rather have things like #fmt22,34,35,5 or #hd-vhq-stereolq-lq? Etc, etc... Everything we discussed.
[/quote]

Maybe #hd-vhq-stereolq-lq is easier to remember.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 19, 2009, 02:47:10 AM
Quote from: akyhne on February 18, 2009, 08:31:04 PM
Maybe #hd-vhq-stereolq-lq is easier to remember.
And, should I store everything or just HD + the second highest quality?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mforum on February 19, 2009, 04:18:10 AM
the answer for me for me would be : just HD + the second highest quality
the best for AEVA would be: just HD + the second highest quality + the lowest quality
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 19, 2009, 05:47:53 AM
"The lowest quality" is always available. It's fmt=5 (or just no fmt at all). No reason to store it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 19, 2009, 01:18:04 PM
Nao, I forgot. I really don't care whether it is fq# or hd-vhq, etc in the link. I think the video titles are cool so am all for using them whenever possible. And, on storing qualities, I would say ideally you should store the lowest quality someone might really want. So, what would those using dialup/satellite connections want to use?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 19, 2009, 02:07:32 PM
They'll have to deal with it. Remember, the current situation is this: if you choose "best quality", everyone will get best quality, even dialups.

Okay now you're telling me that you don't care about how quality is stored, but I just spent hours implementing just that, lol...

Now it pretty much says everything as expected, BUT I didn't think of something awful...

What with older vids? Vids that haven't been looked up yet?

With my "new solution", video quality is stored, to avoid having to show fmt=18 as default, and use better formats where available (well, fmt=35). Well, guess what? Now, non-looked-up videos behave just like fmt=0...

Oh, my head... It hurts...!
I don't know what to do, now. And since there's absolutely no feedback apart from the usual bunch (thanks guys btw), I'm very tempted to drop it all now, and just restore the usual "fmt=18 or fmt=22" stuff and just forget about possible fmt=35 etc...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 19, 2009, 03:24:18 PM
QuoteThey'll have to deal with it.
Gotcha.

QuoteOkay now you're telling me that you don't care about how quality is stored, but I just spent hours implementing just that, lol...

Sorry, they had me on post ban and I wasn't willing to be screened so I waited. My understanding of what you are trying to do may be flawed. But, I thought what was happening is that if you force to hq and do a lookup to see if HD is available then it may not find it and may not play per my yt link that didn't work. So, the solution is to use the next best version available down the line until one is found. I thought this was why you were "storing" the quality settings. If storing the quality settings is only to affect the link outcome, I think its a waste of time personally as I don't much care about the final link. I see I am messing something or numerous things. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 19, 2009, 05:06:43 PM
Sorry, I've not been giving feedback on this...I don't have any particular interest in all these different codecs and bitrates and it seems a bit over my head so I prefer just letting you decide on your own.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 19, 2009, 05:48:36 PM
Quote from: weightman on February 19, 2009, 03:24:18 PM
Sorry, they had me on post ban
The creepy-crappy avatar, eh?

QuoteBut, I thought what was happening is that if you force to hq and do a lookup to see if HD is available then it may not find it and may not play per my yt link that didn't work. So, the solution is to use the next best version available down the line until one is found. I thought this was why you were "storing" the quality settings.
Uh I'm losing you here...

Basically now, what it does...
An example link:
http://www.youtube.com/watch?v=dLZyoytNqjM

If you visit that page, it says formats 5, 6, 34 and 35 are available (in fmt_map)

If you submit through Aeva, it returns this:
http://www.youtube.com/watch?v=dLZyoytNqjM#ws-lq2-hq1-vhq
As in here: http://site.noisen.com/aeva-dev/5060/tests-video-embedding/msg229223/#msg229223

Which means, "widescreen, LQ stereo, HQ mono, very HQ". Or -- "widescreen, 34, 6, 35". (5 is not stored because there's no point in replaying the lowest possible quality.)
As you can see, it's sorted by Aeva by level of quality (worst to best). Widescreen being unrelated, of course.

Now, in my current settings, I always use lookups if they're enabled, I always store them, so it's easier to understand. Aeva will use quality formats from left to right. i.e. the last available format is the one it will use. If HD is "disabled" through settings, then "hd" is removed from the list (at runtime, not in the actual post), so it will stop at "vhq" or "hq" or anything located right before "hd".

This is how I'm doing it really...
Now, it works fine, but the above video doesn't run well on my computer. Even at VHQ which has a low bitrate compared to HD, it is barely playable in realtime (check out on my website as I indicated above, it plays in VHQ). Maybe I should add an extra "max quality" level. Or simply show all possible quality levels and ask you to set the highest possible one. Hmm, I don't think so. Would complicate things.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 19, 2009, 05:51:44 PM
QuoteThe creepy-crappy avatar, eh?
No, not for that. ;)

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 19, 2009, 05:55:30 PM
Quote from: weightman on February 19, 2009, 05:51:44 PM
QuoteThe creepy-crappy avatar, eh?
No, not for that. ;)
What for, then?

And what about the rest of my post, lol.

I'm going to bed so don't hurry.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 19, 2009, 06:01:51 PM
As I mentioned somewhere else, it seems Youtubes servers are having trouble keeping up. Sometimes when you play a HD or a HQ video, you have to wait for some of it to download. Then another day when you try the same video, it's running smooth.

It's one of the reasons I don't want HD as default and not changeable. And then there's all the people with slow connections.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 19, 2009, 06:19:54 PM
QuoteWhat for, then?
I objected the "listen to the quran" mod on moral grounds. But, we aren't allowed to discuss it and its off topic. ;)

"
QuoteAnd what about the rest of my post, lol.
"

Interesting. The idea for a setting to force it to use the highest quality possible up to a max sounds interesting.





Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 03:43:51 AM
@weightman> Okay I've seen your post... Some of it must have been deleted because I don't see how you could be warned for that. A good friend of mine is muslim, and she's such a nice person. She never read the Quran and doesn't care about it -- but she's very respectful of others. She thinks like I do -- we think that the Bible, Quran etc. are just "guide books" to help us find our way among others. These are just guidelines written millennias ago when it was harder for people to "behave" socially. They shouldn't be taken verbatim and it's always important to point out the aspects of these sacred books that should be denounced by religion officials.

Quote from: akyhne on February 19, 2009, 06:01:51 PM
As I mentioned somewhere else, it seems Youtubes servers are having trouble keeping up. Sometimes when you play a HD or a HQ video, you have to wait for some of it to download. Then another day when you try the same video, it's running smooth.
Yes, today I'm having no problems with the video in VHQ. Loads twice faster than it plays.

QuoteIt's one of the reasons I don't want HD as default and not changeable. And then there's all the people with slow connections.
I'm currently thinking of adding a small toggle bar for YT videos.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 20, 2009, 03:52:35 AM
I think Youtube could help themself if they made their player like the almighty JW player. If you hit "stop" the download stops - if you hit "pause" it still downloads the stream.
I would use the "stop" a lot if there's a lot of videos in a topic and I don't want to see the rest of a video taht is boring.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 05:08:11 AM
@Everyone> You may want to see my new feature in action...
http://aeva.noisen.com/dev/5060/tests-video-embedding/msg229223/#msg229223
Dynamically choose between HQ and VHQ for a video. I think it's cool and I'm going to keep it... I'll just need to made the text as little intrusive as possible. And admins will be able to disable this.

Unfortunately YT doesn't allow me to change qualities during play (or I can, but only "lowest" and "highest" qualities -- I don't like being limited to these...), so it resets back to position 0, but it could also be seen as an advantage. Anyway!

Quote from: akyhne on February 20, 2009, 03:52:35 AM
I think Youtube could help themself if they made their player like the almighty JW player.
Interestingly, JW was the original player for YouTube. Also, JW offers a module to load YT videos through it (yt.swf).

QuoteIf you hit "stop" the download stops - if you hit "pause" it still downloads the stream.
Yes, it's something I like, too.

QuoteI would use the "stop" a lot if there's a lot of videos in a topic and I don't want to see the rest of a video taht is boring.
Yes, but YT is not the only video site supported by Aeva. I can't expect all sites to be JW-compatible so if you're looking into using JW for Aeva, sorry, no can do for now. Plus, I want Aeva to remain free even for commercial sites. SMG is a different case.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 05:18:57 AM
Forgot to add-- Also, I can't play YT vids automatically after changing their quality on-the-fly. The reason is quite simple, too: allowScriptAccess is disabled. And I need this to allow YT to send an event to OnYouTubePlayerReady and retrieve the YouTube object so that I can do stuff. Basically: Karl made it so that allowScriptAccess shouldn't be allowed, so I *guess* it's important.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on February 20, 2009, 05:29:35 AM
Greetings!

Clean install of SMF2rc1, latest Aeva #59

Problem description:
To test how Aeva behaves if I put videos with different formats inside a thread, I have searched on youtube for widescreen videos.

Then I put two of them into a thread.
http://www.youtube.com/watch?v=mDRYnaajUcY
and
http://www.youtube.com/watch?v=8SM_yhCpkVw

About the first link.
I have created the thread with the Aeva setting "Use best available".
Video is shown like expected.
Then I switched the Aeva settings to "Force to default".
After reloading the page, the video isn't working anymore and I see an "Video is no longer available" message inside the player.
Now, I switch back to Aeva setting "Use best available" and after reloading the video is working again.

I repeated this again to make sure, that the switch of settings causes this and suddenly only a blank white page was shown. Reloading the page (clear cache) won't help to bring back the thread again.   
I can't reproduce this for this video but this behavior happens from time to time.

About the second link.
After the problems with the first one, I tried another video to make sure that this happens not only with the first film.
This second link causes always a blank white page with Aeva setting "Use best available".
With "Force to default" I can see the player-window but I can't watch the video because I get the "Video is no longer available" message.

To make this clear. I embed the link and receive a blank page.

Now I embed different videos.
Aeva setting "Use best available" (without switching between the other choises.)
The result isn't satisfying. Sometimes I get a blank page, sometimes I can watch the video and sometimes I see the "Video is no longer available" message.

Interesting, isn't it?

Now, I want to see what my error-log is telling me. When I receive a blank page, I get this error:
8: Array to string conversion
File: /is/htdocs/wp1123996_IHVLLM06HK/www/smf21/Sources/Subs-Aeva.php
Line: 445



// The YouTube special...
if (substr($ion, 0, 3) == 'fmt')
{
$fmts = explode(',', substr($ion, 3));
$fmt = 0;
if (count($fmts) == 1)
$fmt = $fmts;
elseif ($quality > 0)
$fmt = (in_array(22, $fmts) && $quality == 2) ? 22 : (in_array(35, $fmts) ? 35 : (in_array(18, $fmts) ? 18 : (in_array(6, $fmts) ? 6 : (in_array(34, $fmts) ? 34 : 0))));

445---> $arr['movie']['fmt'] = str_replace('%aeva%', $fmt, $arr['movie']['fmt']);

if ($fmt == 22)
$arr['size']['fmt'] = $arr['size']['hd'];
$ion = 'fmt';
}
if (is_array($arr['movie']) && isset($arr['movie'][$ion]))
$movie_type = $ion;
if (isset($arr['size'][$ion]))
$size_type = $arr['size'][$ion];

if ($ion[0] == 'w' && is_numeric(substr($ion, 1)))
$size_type[0] = substr($ion, 1);
elseif ($ion[0] == 'h' && is_numeric(substr($ion, 1)))
$size_type[1] = substr($ion, 1);
elseif (substr($ion, 0, 2) == 't=')
$title = base64_decode(substr($ion, 2));
}
}




Now, I want to guess.
It seems, that my browser starts to add the session id behind the embedded link.
[url=http://www.youtube.com/watch?v=4RLa9LaWq7Q#fmt34-t=R290aGljIGRlciBGaWxtIFRlaWwgMQ==]http://www.youtube.com/watch?v=4RLa9LaWq7Q#fmt34-t=R290aGljIGRlciBGaWxtIFRlaWwgMQ==[/url]

I don't know why this happens.
Of course I know that the session id is shown in the address bar if I am not logged in ( with cookies and so on). I use a firefox mod which allows me to highlight some text and transform it into a bbcode link. I use this on my own board from time to time and if I am not logged in, the session ID is also part of the created link.
To avoid this, I have learned to log in properly.
So I'm sure that no session ID is part of the link when I embed it.


You are asking about how to change the embedded link and/or specify quality settings.
In my opinion, it seems to be the best solution to keep the link the same like the YouTube address. No addition of #ws-lq2-hq1-vhq or something.
Just the stuff YouTube is submitting. If somebody want to have a better quality (sound or video) he should visit youtube.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 06:04:46 AM
ianus, quick summary please! I have no time to read long posts for now.
Please use rev 58 is you have issues with 59. 59 is not for daily use. It has known issues (such as $fmt = fmts)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on February 20, 2009, 06:38:04 AM
Quick summary.

My error report about #58 is here:
http://www.simplemachines.org/community/index.php?topic=200401.msg1928031#msg1928031
Do you remember that you mentioned twice, that I should deinstall Aeva first?
Do you remember that I answered twice, that I use a clean installation?

After that akyhne comes up with the same (http://www.simplemachines.org/community/index.php?topic=200401.msg1928720#msg1928720) error and guess what happened next (http://www.simplemachines.org/community/index.php?topic=200401.msg1928802#msg1928802)?


Please, can you explain the sense of testing an outdated version?


If you want a quick summary of #59 errors...
Embedding isn't stable

If you want a more helpfull description, you have to read my post.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 07:03:06 AM
Quote from: ianus on February 20, 2009, 06:38:04 AM
My error report about #58 is here:
http://www.simplemachines.org/community/index.php?topic=200401.msg1928031#msg1928031
This is a problem with the double-install protection?
Then just make sure you don't have a Subs-Aeva(c).php file left in Sources when you install...

QuoteAfter that akyhne comes up with the same (http://www.simplemachines.org/community/index.php?topic=200401.msg1928720#msg1928720) error and guess what happened next (http://www.simplemachines.org/community/index.php?topic=200401.msg1928802#msg1928802)?
Yes, what?

QuotePlease, can you explain the sense of testing an outdated version?
Well I've been doing many changes to quality formats storage, so obviously URLs looked up in rev 59 won't work in rev 60. I already ASKED several times people whether they'd like me to change the system or not. Only the usual testers replied. You didn't, so you're not exactly qualified to tell me what I should do now.

QuoteIf you want a quick summary of #59 errors...
Embedding isn't stable
That is to say?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on February 20, 2009, 08:11:18 AM
Well. It is possible that my english so bad that you can't understand me.

#58
1->ianus: double-install error!
2->Nao: don't have a Subs-Aeva(c).php file left
3->ianus: I have a clean SMF install
4-Nao: don't have a Subs-Aeva(c).php file left
5->ianus: I have a blank, clean server, no files left.
6->akyhne: double-install error!
7->Nao: Gimme some time, I'll have a look at all your posts.

I know, that you have fixed that error meanwhile!


#59
noisen.com/aeva -> Where can I get the latest goodies?  -> smf-media.com/.../.php?action=svn;rep=3

Latest available version? At the moment, I can only see #59

Clean, fresh new install of SMF2rc1 and Aeva #59

1->ianus:my error description (http://www.simplemachines.org/community/index.php?topic=200401.msg1942116#msg1942116)
2->Nao: ianus, quick summary please!
3->ianus: If you want a quick summary of #59 errors...Embedding isn't stable
If you want a more helpfull description, you have to read my post.
4:->Nao: Embedding isn't stable. That is to say?

And now? Back to 1->ianus: my error description (http://www.simplemachines.org/community/index.php?topic=200401.msg1942116#msg1942116)? I don't know what more I can do.


1->Nao: Well I've been doing many changes to quality formats storage, so obviously URLs looked up in rev 59 won't work in rev 60.
1->ianus: Clean, fresh new install of SMF2rc1 and Aeva #59
2->ianus: noisen.com/aeva -> Where can I get the latest goodies?  -> smf-media.com/.../.php?action=svn;rep=3
3-ianus: obviously no #59 looked up urls in #60
4->Nao: I already ASKED several times people whether they'd like me to change the system or not.
5->I have to test it before I can answer
6->Only the usual testers replied.
7-> I have to test it before I can answer and I have an 16 hours a day job. (Btw. I was the first who tells you about the double-install error. Unusual tester)
8->Nao:You didn't, so you're not exactly qualified to tell me what I should do now.
9->ianus: you are right. I'm not qualified. I am an ordinary user and I can't tell you what to do. I only can give you an detailed error description of the latest downloadable version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 08:17:43 AM
Is this a maze? Or a mini-game? Am I supposed to go through the numbers in a particular order?

Listen, I don't have time to play these games. You obviously have a problem with Aeva, okay fine, there are worse things in life. Then uninstall it and deal with it. Try version 5.5 when it comes out, should be soon enough. I'm no making money off Aeva and I'm not asking for donations either, so either way you have no way of telling me to deal with your problems. Not like that, anyway.

@Everyone else> given the absolute lack of feedback these days, I'll drop several features in the admin area and be done with it all. I'm amazed at how I implemented a long requested feature (selectable qualities) and the only posts I see when this topic is updated are from ianus.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 20, 2009, 08:20:28 AM
Nao: I hope you are playing around with http://site.noisen.com/aeva-dev/5060/tests-video-embedding/msg229223/#msg229223, because nothing works in that post:

IE7: Shows the preview window (& title) and you can play the video by pressing the "play". If you change Q the video dissapears and just loads and loads.

FF3: Doesn't show anything but the title from beginning.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 20, 2009, 08:24:33 AM
Quote from: Nao 尚 on February 20, 2009, 05:08:11 AM
QuoteI would use the "stop" a lot if there's a lot of videos in a topic and I don't want to see the rest of a video that is boring.
Yes, but YT is not the only video site supported by Aeva. I can't expect all sites to be JW-compatible so if you're looking into using JW for Aeva, sorry, no can do for now. Plus, I want Aeva to remain free even for commercial sites. SMG is a different case.

No, I was just making a "call" to Youtube to change their player ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on February 20, 2009, 08:46:25 AM
Now I know the problem.

See, I use Aeva only inside a test-SMF.
I have no problem with Aeva and I request nothing.
I test the latest available version just to help bugfixing.
I thought, you offer the betas for people who want to test them and report about errors.
Quote from: Nao 尚
Anyone interested in trying out the new stuff, please test it! If you see anything that's not in the known issues list, you know what to do!

Anyway. I will stop updating your topic from know on.


Quote from: akyhne on February 20, 2009, 08:20:28 AM
IE7: Shows the preview window (& title) and you can play the video by pressing the "play". If you change Q the video dissapears and just loads and loads.

FF3: Doesn't show anything but the title from beginning.
IE7: Also confirmed for IE6. Same problem as in the quote.

FF3.0.5 is changing the quality.
I have to view the manga from the beginning, but the quality differs.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 09:22:40 AM
Quote from: akyhne on February 20, 2009, 08:20:28 AM
Nao: I hope you are playing around with http://aeva.noisen.com/dev/5060/tests-video-embedding/msg229223/#msg229223, because nothing works in that post:
I'm not "playing around" with it... I'm "working" on it. There's a slight difference.

QuoteIE7: Shows the preview window (& title) and you can play the video by pressing the "play". If you change Q the video dissapears and just loads and loads.
I don't have this. (I have IE8 now.)

QuoteFF3: Doesn't show anything but the title from beginning.
I made all of my tests on FF3 and Opera. It works very well on both.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 20, 2009, 09:27:36 AM
Opera is the same as FF.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 10:24:43 AM
You mean it doesn't work for you? Uh...
Did you reload the page?
Screenshot?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 20, 2009, 10:29:45 AM
As my primary harddrive crashed 2 days ago, it's all fresh installed and Opera was installed 1 hour ago. I'll post later.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 20, 2009, 11:15:29 AM
Quote from: akyhne on February 20, 2009, 10:29:45 AM
As my primary harddrive crashed 2 days ago, it's all fresh installed and Opera was installed 1 hour ago. I'll post later.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 11:34:13 AM
IE error: I don't see a problem on your screenshot...
Changing video quality, however, makes it disappear. The SWFObject documentation says it's a known issue and they provide a workaround for it, but (1) it doesn't work on Aeva, (2) the sample demo they give doesn't have the problem anyway, lol..

FF/Opera error: I don't have this... Really. Try to scroll out of this area and come back.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 20, 2009, 12:00:26 PM
IE: Yeah, plays standard, but when clicking a video resolution it just loads forever.

FF/Opera. Doesn't help to scroll. Tried on different computers (a Vista & a XP based).


FF generated code:

<div class="maeva">
<div id="aevid12" style="width: 595px; height: 360px"></div>
<script type="text/javascript"><!-- // --><![CDATA[
swfobject.embedSWF("http://www.youtube.com/v/dLZyoytNqjM&ap=%2526fmt%3D35&rel=0&fs=1&showinfo=0", "aevid12", "595", "360", "9.0.115", "", {}, aevams, {id:"aevayt12"});
// ]]></script><div class="aevaq" style="width: 595px; text-align: right"><a href="javascript:aevatq(5, 12);" title="5 - Low quality (FLV mono)" onmouseover="window.status=this.title;">LQ</a> | <a href="javascript:aevatq(34, 12);" title="34 - Low quality (FLV stereo)" onmouseover="window.status=this.title;">LQ stereo</a> | <a href="javascript:aevatq(18, 12);" title="18 - High quality (MP4 stereo)" onmouseover="window.status=this.title;">HQ</a> | <a href="javascript:aevatq(35, 12);" title="35 - Very high quality (FLV stereo, 640x360)" onmouseover="window.status=this.title;">Very HQ</a> | by <a href="http://aeva.noisen.com/">Aeva</a></div>

<br /><a href="http://www.youtube.com/watch?v=dLZyoytNqjM" target="_blank" class="aeva_link bbc_link new_win">I CDZ Le porte del paradiso 4/9 ITA</a>
</div></div>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 20, 2009, 01:13:19 PM
Quote@weightman> Okay I've seen your post... Some of it must have been deleted because I don't see how you could be warned for that. A good friend of mine is muslim, and she's such a nice person. She never read the Quran and doesn't care about it -- but she's very respectful of others. She thinks like I do -- we think that the Bible, Quran etc. are just "guide books" to help us find our way among others. These are just guidelines written millennias ago when it was harder for people to "behave" socially. They shouldn't be taken verbatim and it's always important to point out the aspects of these sacred books that should be denounced by religion officials.

There is more to it but that was the issue and the cause. I consider the quran, hadith, and sirra to be complete and utter hate speech, completely and utterly evil. Anyone that doesn't follow them is fine with me, even if they call themself muslim. But, personally, I don't consider someone a muslim if they don't follow islam. I hope we can drop this now because I will be put on post ban again. I will try to catch up on the explosion of posts but please let this drop if you want more feedback because I can't give it if I am banned. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 01:25:24 PM
Quote from: akyhne on February 20, 2009, 12:00:26 PM
IE: Yeah, plays standard, but when clicking a video resolution it just loads forever.

FF/Opera. Doesn't help to scroll. Tried on different computers (a Vista & a XP based).
Well, what about the videos on the next page...?

QuoteFF generated code:
I know what it generates lol, I wrote it... ;)

Still, I don't have this bug in my Opera and FF versions.
Also, I think others would have complained by now. After all, it's a known fact that when something works, no one will care to comment... But when it stops working..... ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 20, 2009, 01:34:23 PM
Others complaining? Yeah, I wonder why nobody don't . Am really I the only one? On two different computers with different operating systems?

And yeah, the error is on every new video you created.

The code was just so you could check wether the browser got it all right.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 01:57:10 PM
Anyone?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Low on February 20, 2009, 03:19:09 PM
Hey Nao,

First of all, thanks for producing a vital but very easy addition to SMF.

Now, I wanted to install the new 5.2.26 (newest one) on my fresh install of SMF 1.1.7 but when it come to installing it says the file is corrupt.

Any help would be very much appreciated.

Low
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 20, 2009, 03:38:29 PM
Quote@Everyone> You may want to see my new feature in action...
http://site.noisen.com/aeva-dev/5060/tests-video-embedding/msg229223/#msg229223
Dynamically choose between HQ and VHQ for a video. I think it's cool and I'm going to keep it... I'll just need to made the text as little intrusive as possible. And admins will be able to disable this.

Yea, this is exactly what I meant back a ways in the thread where I suggested it (or did I?). I think its really cool also since it gives the user the ability to pick their quality level. Great work Nao. I am sure its not done but I like the direction.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 03:56:24 PM
@Low> Err... Have you tried downloading it again?

@weightman> Well it's pretty much done now... And I've decided this would be Aeva 6.0.x -- there aren't so many major upgrades I can justify on a project such as Aeva, and all of this Javascript stuff definitely is one of these.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Low on February 20, 2009, 04:02:34 PM
Well I downloaded fresh.. deleted.. and downloaded again. Still no joy. I've installed the pretty-URL's mod and ad-mod also.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 20, 2009, 04:15:05 PM
Weightman: Are you having no trouble playing this http://site.noisen.com/aeva-dev/5060/tests-video-embedding/msg229223/#msg229223 in Firefox? Or can you use the new toolbar-selector without any issues?

Anybody?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 04:22:57 PM
@Low> Are you sure you downloaded version 5.2.56, not something else? And not one of those "*.php" files?

@akyhne> Let's try it the other way around... What do you see here, are these usable?
http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_api_createswf.html
http://www.bobbyvandersluis.com/swfobject/testsuite_2_1/test_api_create_remove.html
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 04:33:45 PM
akyhne, also forgot this: are you sure you have Flash 9.0.115 (or better) installed on all your machines? Because my new version will require it... (I guess you do, since YT requires it to play MP4 videos, but still...)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 20, 2009, 04:34:36 PM
IE7:
#1 - a green logo with some data
#2 - an orange banner is showing up and being removed when I click on two different links.

FF3 - newest:
#1 - Nothing, just some text
#2 - Nothing, just some text

Opera 9 - newest:
#1 - Nothing, just some text
#2 - Nothing, just some text

All three browsers, newest installation. No plugins installed.

No firewall installed, Google- or any stupid toolbar installed with popup blockers or similar installed. Just clean installation all the way through.

Well, all the above was for my Vista computer. Now I'm on my wifes laptop with an older installation of XP. Same issues here. I have no troubles with other kind of video streaming or similar.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on February 20, 2009, 04:39:53 PM
QuoteWeightman: Are you having no trouble playing this http://site.noisen.com/aeva-dev/5060/tests-video-embedding/msg229223/#msg229223 in Firefox? Or can you use the new toolbar-selector without any issues?

Works fine for me in FF, not in IE (which I only use for testing). In IE, changing quality settings just loads and loads unless you refresh the page.

Might be nice to have some way to show which quality version you are currently viewing....
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Low on February 20, 2009, 04:50:08 PM
I downloaded Aeva-5.2.56.zip.

Is this correct for 1.1.7?

Could some server settings on my side cause the problem? Shouldn't do as I have other forums on the same.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 04:53:35 PM
@akyhne> and... recent version of Flash or not? This is important...
I suppose you never had any trouble with SMG's JW-based video playing features? If not, then it might be worth it to go back to SWFObject 1.5, but I'd really rather go with v2.1 (and do it for SMG too), because it has more features and it's supported by Google for YouTube API programming... (So it really SHOULD work everywhere...!)

@weightman> yes, that IE issue, I have on my computer too. I have yet to find a fix for it. Same on IE7 and IE8. (Well, IE7 being "IE8 compatibility mode".)

@Low> Yes, correct package. What does your SMF install say exactly?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 20, 2009, 04:54:58 PM
Same as Weightman with IE7, the others works ok. Flash was not installed on my wifes laptop for some reason and I know it's not installed on the Vista computer. But I could still watch Youtube videos in IE on both compuers before installing Flash.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 04:59:10 PM
If Flash isn't installed, how could you expect Aeva to play videos...? lol ;)

Some of the things I could do on my board:
- reduce minimum Flash version to 7.0
- disable the Javascript stuff temporarily

I'd rather avoid the second one (even though it's just a single click in the admin area...), so I've changed the Flash version requirements. If it works now, please tell me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 20, 2009, 05:09:53 PM
Well as mentioned, I had no trouble watching Youtube videos on the laptop without (the newest) Flash installed.

And I'm quite sure I could watch Youtube on the laptop in FF as well as I have also used it to test AEVA for you.
So maybe I had an older version installed, but Adobe said I didn't have Flash installed.

Strange, but no way to figure out now.

But still IE just loads forever when clicking another quality level.

I also hope you still keeps the quality option in the admin center, so that the admin can make a first choice on how (the quality) he thinks people should watch Youtube videos. Then it's up to people to make second choice.


By the way I'm still having issues in rev #59 about uninstalling and then installing that (or other) versions again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 05:30:59 PM
Quote from: akyhne on February 20, 2009, 05:09:53 PM
Well as mentioned, I had no trouble watching Youtube videos on the laptop without (the newest) Flash installed.
Flash is needed to view YouTube videos, really. Really. Flash 7.0 for FLV videos, and Flash 9.0.115 (or better) for MP4 videos (i.e. HQ, HD, etc.)

QuoteSo maybe I had an older version installed, but Adobe said I didn't have Flash installed.
How, when, where did it say that?

QuoteBut still IE just loads forever when clicking another quality level.
Let's forget about IE for now... I'll fix it later. (Or I'll disable quality level choices for it, if I can't figure it out.)

QuoteI also hope you still keeps the quality option in the admin center, so that the admin can make a first choice on how (the quality) he thinks people should watch Youtube videos. Then it's up to people to make second choice.
If you can select the quality by yourself, I'm sure you can choose your favorite format every time you view a new video ;) Aeva will always select the best format available. (i.e. the rightmost one.)

QuoteBy the way I'm still having issues in rev #59 about uninstalling and then installing that (or other) versions again.
Rev 59 has this known issue with double-install protection that doesn't work thanks to SMF's re-ordering of installation directives...

I've reinstalled the v9 requirement for Flash. I sure hope you had enough time to test whether the v7 version worked, eh?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 20, 2009, 05:56:34 PM
I basically just went to a test page at Adobe, and it showed an empty Flash object. Then I got a pop-op telling me to install.

As for the newly installed Vista, I installed Flash 15 minutes ago, though the mrs have been watching Youtube for a few hours now - on a clean installed Vista installation.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 06:01:53 PM
It still doesn't tell me whether it now works for you or not....? Over at noisen.com?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 20, 2009, 06:05:30 PM
FF3 & Opera 9 are fine.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 06:12:19 PM
Including now?

So, this means it was a problem with the version installed?

@Mark> I'm afraid I'll have to think of doing the expressInstall.swf thingy... :-/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 20, 2009, 06:18:51 PM
Yeah, if there really were any installed. I didn't check for FF & Opera before installing.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 20, 2009, 06:22:32 PM
Quote from: akyhne on February 20, 2009, 06:18:51 PM
I didn't check for FF & Opera before installing.
You're losing me here... I thought you said FF & Opera didn't work earlier?

Also, I just checked--the codebase for Flash version in regular (non-Javascript) use definitely asks for version 9.0.115 to be installed... So, basically, if it used to work, it should have kept working. You really had a strange issue at any rate.

Off to bed, see ya all. I'm not sure I'll have much time to work on Aeva this weekend unfortunately. It may have to wait until Tuesday before I release a first public version of Aeva 6.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 21, 2009, 01:47:56 AM
I just added the expressInstall.swf module to Aeva... (i.e. version check + automatic upgrade)
Can anyone check the noisen.com page and tell me if it works or not? And if it works, does it work "nicely" or not? Does it work under Firefox/Safari/Chrome/Opera?
Version required has temporarily been updated to 10, so that more people could tell me whether this upgrade process works or not.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on February 21, 2009, 05:48:47 AM
Sorry for updating. (written before your last post, but it seem to answer your question)

IE6 ask for a Flash Player update, in the player window of the first embedded video on a site.
If I decline, no embed video is shown. (image 01, 01a)

I report this because...
...yesterday I was able to watch the videos with the same browser. (image 02, 02a)
......so the video itself don't require it, I think
...FF is working as expected and Flash 10 is installed
......maybe Flash 10 isn't proper recognized by IE6 (because I don't use IE at all)

I don't know if the Change Quality Bar is working with IE now. Will test it after reinstall of Adobe Flash.
Change Quality bar works for FF3 and Opera 9.6


A hint which quality is used would be nice. I know that it is "best available" (as default if lookups are enabled), but some regular visitors don't.
Well, not really a must have feature.

Maybe, if lookups are enabled, a default "worst available" in the admin menu could be nice.
Personally I don't care about bandwidth, but I don't know other users in other countries.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 21, 2009, 08:53:08 AM
Quote from: ianus on February 21, 2009, 05:48:47 AM
IE6 ask for a Flash Player update, in the player window of the first embedded video on a site.
Good, then.

QuoteIf I decline, no embed video is shown. (image 01, 01a)
As expected.

QuoteI report this because...
...yesterday I was able to watch the videos with the same browser. (image 02, 02a)
......so the video itself don't require it, I think
As I said yesterday -- I updated the version requirements to v10 because pretty much no one has v8 or lower nowadays, while about 40% of users still have v9, so it's easier to test with this kind of "high" requirement... I'll set it back to v9 later.

QuoteI don't know if the Change Quality Bar is working with IE now.
Nope.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 21, 2009, 10:13:04 AM
Yay! Implemented everything I needed to do.

- IE8 now supports Javascript on-the-fly quality changing,
- the default quality is now in black & bold, and is changed as soon as you select another. :)

You may want to test if you don't believe me, eheh. (I didn't test under IE6, Chrome, Firefox etc. but I see no reason why it shouldn't work.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on February 21, 2009, 12:20:43 PM
A really nice feature.

IE6 works perfect.
Switching quality and is showing what quality setting is active.
Well done!

FF3
Switching quality but isn't showing what quality is active.


Maybe this is an CSS problem. (Not with your settings but with the browser's interpretation.)
If you look at the image, you can see that IE use the CSS as specified for links.
FF don't underline at all and only is changing link-color on hover to #b50 but don't show visited: #858  (@quality settings (but for the Aeva link). So i think its possible that FF is missing the "bold underline".
Btw: This is only correct for the "Quality links". Other parts of noisen are working very fine.

CSS could be black magic when it should fit different browsers. 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 21, 2009, 12:51:31 PM
I'll have a look with FF3. I'm sure it's not a CSS problem, maybe it doesn't like the way I assign/remove classes on the fly. Also, looking at your screenshots made me realize I forgot to upload the updated English file so it still showed "LQ stereo" instead of "HQ+", which explains why I had a mention made about that... ;) Fixed. (You can still view quality resolution, audio channels & file type by hovering over the link and waiting for the tooltip to appear.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TomW on February 21, 2009, 01:21:07 PM
I really appreciate the fact that you put comments in your mod.  It makes it a lot easier to debug problems, especially since I have a few mods on my site.  Great work !

Quick question - I have some mods which overlap with your changes, so I will make a manual upgrade.  Have the sql commands changed from version 5.1.25 ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 21, 2009, 02:57:10 PM
Quote from: TomW on February 21, 2009, 01:21:07 PM
I really appreciate the fact that you put comments in your mod.  It makes it a lot easier to debug problems, especially since I have a few mods on my site.  Great work !
Thanks, but you should direct your thanks to Karl instead. He's the one who commented nearly every other line in the source code (in v4.0) before he dropped the mod. When I took over (v5.0 and later), I hardly ever added comments when I made changes. I'm trying to change this behavior -- although I still don't comment every single line (I think it's overkill and unneeded), I try to put comments before every complicated code block.

QuoteQuick question - I have some mods which overlap with your changes, so I will make a manual upgrade.
Really? Aeva doesn't have that many entry points into SMF in the first place...

QuoteHave the sql commands changed from version 5.1.25 ?
SQL? No, Aeva hardly uses any SQL stuff. Lemme check... Nope, it doesn't use any single custom SQL query. It's all SMF's doing really.
Regarding xml install files, though, there have been many changes in v5.1.32, unfortunately for you -- but these were required to avoid having to do any changes later on. And indeed, the 6 versions that followed didn't change anything, and the upcoming version won't change anything either. And I don't have plans to change anything anyway in the near or far future. It's just fine as it is now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 21, 2009, 03:17:05 PM
Quote from: Nao 尚 on February 21, 2009, 08:53:08 AM
Quote from: ianus on February 21, 2009, 05:48:47 AM
IE6 ask for a Flash Player update, in the player window of the first embedded video on a site.
Good, then.
Why is that good? I thought you were happy when you thought the install pop-ups had gone.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 21, 2009, 03:19:18 PM
@mark> Because I can actually give admins the ability to enable/disable that feature now ;) (It's done, btw.)

@ianus> I fixed FF3 support.
Usual URL: http://aeva.noisen.com/dev/5060/tests-video-embedding/msg229223/#msg229223

This was due to FF not supporting the "children" property (it only supports "childNodes", which is more complicated to deal with.)
Hopefully, this change won't break other browsers... Please test, thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TomW on February 21, 2009, 06:26:33 PM
Quote from: Nao 尚 on February 21, 2009, 02:57:10 PM
QuoteQuick question - I have some mods which overlap with your changes, so I will make a manual upgrade.
Really? Aeva doesn't have that many entry points into SMF in the first place...

sorry - you are correct.  I have some mods in a few files but they are not overlapping.

Quote from: Nao 尚 on February 21, 2009, 02:57:10 PM
QuoteHave the sql commands changed from version 5.1.25 ?
SQL? No, Aeva hardly uses any SQL stuff. Lemme check... Nope, it doesn't use any single custom SQL query. It's all SMF's doing really.
Regarding xml install files, though, there have been many changes in v5.1.32, unfortunately for you -- but these were required to avoid having to do any changes later on. And indeed, the 6 versions that followed didn't change anything, and the upcoming version won't change anything either. And I don't have plans to change anything anyway in the near or far future. It's just fine as it is now.

In the file aeva_install.php I see the following:
mysql_query("DELETE FROM {$db_prefix}settings WHERE (variable LIKE 'aevac_%') OR (variable IN ('aeva_quicktime', 'aeva_windowsmedia', 'aeva_realmedia', 'aeva_flash', 'aeva_youtube', 'aeva_hq'))");

Another reason why I am installing manually is to help me learn php & SMF framework.  I have learned a lot by doing it this way.

BTW - this is one of my FAVORITE mods !  I have managed to upgrade it manually, also. 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 22, 2009, 03:25:35 AM
Quote from: TomW on February 21, 2009, 06:26:33 PM
sorry - you are correct.  I have some mods in a few files but they are not overlapping.
Eheh :)

QuoteIn the file aeva_install.php I see the following:
mysql_query("DELETE FROM {$db_prefix}settings WHERE (variable LIKE 'aevac_%') OR (variable IN ('aeva_quicktime', 'aeva_windowsmedia', 'aeva_realmedia', 'aeva_flash', 'aeva_youtube', 'aeva_hq'))");
Ah yes, I forgot about this file... But that call doesn't do anything specific really, it just cleans up features I renamed/removed from Aeva(c):)

QuoteBTW - this is one of my FAVORITE mods !
Who doesn't like it eheh?
Oh yeah--people who want a
tag, lol. Apparently, 300 eager downloaders a day who don't know what they're missing.  O:)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on February 22, 2009, 03:36:48 AM
Quote from: Nao 尚 on February 22, 2009, 03:25:35 AM
Quote from: TomW on February 21, 2009, 06:26:33 PM
sorry - you are correct.  I have some mods in a few files but they are not overlapping.
Eheh :)

QuoteIn the file aeva_install.php I see the following:
mysql_query("DELETE FROM {$db_prefix}settings WHERE (variable LIKE 'aevac_%') OR (variable IN ('aeva_quicktime', 'aeva_windowsmedia', 'aeva_realmedia', 'aeva_flash', 'aeva_youtube', 'aeva_hq'))");
Ah yes, I forgot about this file... But that call doesn't do anything specific really, it just cleans up features I renamed/removed from Aeva(c):)

QuoteBTW - this is one of my FAVORITE mods !
Who doesn't like it eheh?
Oh yeah--people who want a
tag, lol. Apparently, 300 eager downloaders a day who don't know what they're missing.  O:)

Hi Nao,i was just wondering what big idea's or extra's are you looking to add to AEVA,that already haven't been added,just wondering  thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 22, 2009, 04:33:41 AM
Well, after Aeva 6 you mean?
Because that's pretty much it... I don't know if there's anything left to add after that...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 22, 2009, 04:35:24 AM
(Of course I'll try to keep up with YouTube's additions...)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on February 22, 2009, 06:12:36 AM
@Nao
Great! Nothing left to say. Everything is fine now for IE6, FF3 and Opera 9


@mark
Quote from: mark7144 on February 21, 2009, 03:17:05 PM
Quote from: Nao 尚 on February 21, 2009, 08:53:08 AM
Quote from: ianus on February 21, 2009, 05:48:47 AM
IE6 ask for a Flash Player update, in the player window of the first embedded video on a site.
Good, then.
Why is that good? I thought you were happy when you thought the install pop-ups had gone.
Don't mind. Nao has changed settings temporary and the "please update" notification was expected.
It is gone again meanwhile and everything is fine.

Personally I think, it's sometimes necessary to force users to update their software. Crucial for browsers and protection software but also useful for things like flash.


Final words.
Your work is really appreciated.
This is the most powerful audio/video-embed mod for an internet forum application, I have ever seen.
(Err, even YouTube itself don't have such well working "Switch Quality buttons".)
Really an outstanding work
(No ingratiation)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 22, 2009, 07:57:02 AM
Eheh... Thanks, it's always a pleasure :)

Now if I could get the thing going and release it for good!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 22, 2009, 11:06:37 AM
Nao: I'm beginning to understand your frustration on people not responding on your requested feedback. It's the same reason I'm dropping developement of this mod (http://www.simplemachines.org/community/index.php?topic=280188.0).

People are just interested in the finnished mod, and then probably complaining afterwards about missing functions etc.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 22, 2009, 11:22:51 AM
Exactly... Just because SMF is free doesn't mean that all of its mods should be considered granted ::)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mai Pen Rai on February 23, 2009, 04:59:34 AM
I get these errors on all pages that uses SSI.php funktion.


Notice: Undefined variable: count in /var/www/virtual/xxxxxxxxx/htdocs/forum/Sources/Subs-Aeva.php on line 285

Notice: Undefined variable: count in /var/www/virtual/xxxxxxxxx/htdocs/forum/Sources/Subs-Aeva.php on line 288

Any ideas???
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 23, 2009, 06:42:26 AM
What is your *exact* version of PHP?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: olıverde8 on February 23, 2009, 10:01:23 AM
Hi,
The plugin is great but there is a small probleme with tm-tube.
They have updated their website  to tm-tube2.0 and since then the videos takes lot of time to get
Quote from: TM-Tube 2.0 - The biggest update ever
- Optimized embed mechanism for external websites (we would recommend you to change the embed code on your websites!)

Thanks,
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 23, 2009, 10:36:22 AM
Did they change their embed code?
I'm not responsible for that kind of event. Changing one's embed code/URL system on a website is the first step to failure. It means all previously included videos will fail.

Do you have an example of the previous embed code & video link, and an example of the new ones?

#1970 - The Year of the Trespass
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: olıverde8 on February 23, 2009, 10:58:30 AM
I know it has nothing to do with you :D just wanted let you know  O:)

Link
http://www.tm-tube.com/video/7064/-trackmania-gen-tr-replay-tournement-1-

New embed:
<script type="text/javascript" src="http://www.tm-tube.com/js/embed.js.php?key=8f02269a4a53b426cfe9"></script>

Old embed
<embed type="application/x-shockwave-flash" src="http://www.tm-tube.com/flvplayer.swf?mediaid=7064&amp;hosturl=http://www.tm-tube.com/&amp;themecolor=0x696969&amp;symbolcolor=0xb22222&amp;backgroundcolor=0x000000&amp;autostart=false&amp;loop=false&amp;overlay=http://www.tm-tube.com//media/custom/player_emb.png&amp;&amp;" width="480px" height="360px" wmode="transparent" quality="high" allowFullScreen="true" allowScriptAccess="never" pluginspage="http://www.macromedia.com/go/getflashplayer" autoplay="false" autostart="false" />

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mai Pen Rai on February 23, 2009, 11:01:40 AM
Quote from: Nao 尚 on February 23, 2009, 06:42:26 AM
What is your *exact* version of PHP?

PHP Version 5.1.2
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 23, 2009, 12:04:41 PM
Quote from: Mai Pen Rai on February 23, 2009, 11:01:40 AM
PHP Version 5.1.2
http://fr.php.net/manual/en/function.preg-replace-callback.php
"Version 5.1.0 - The count parameter was added"

Which means your PHP install is supposed to support $count... But it doesn't recognize it as such. It's supposed to get an empty, undefined variable ($count) and fill it with the number of times the match was made. If you're getting an error saying "undefined variable", it (probably) means PHP is expecting this variable to have something in it -- i.e. it doesn't know what the count parameter is, at all.

I'd say there's a bug in your PHP installation. Maybe you should try and get it upgraded.

A quick fix if you're unable to upgrade it:
$context['aeva']['no_count'] = @version_compare(PHP_VERSION, '5.1.0') == -1;
To
$context['aeva']['no_count'] = true;
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 23, 2009, 01:11:42 PM
Quote from: olıverde8 on February 23, 2009, 10:58:30 AM
I know it has nothing to do with you :D just wanted let you know  O:)
I really hate having to remove support for a stupid site after spending over an hour working on fixing it...

But the problem here is quite simple: tm-tube now requires allowScriptAccess to be set to true.

If you're willing to do it anyway, Here's the array entry for it (for your Custom file of course).

$sites[] = array(
'id' => 'tmt',
'title' => 'Tm-Tube',
'website' => 'http://www.tm-tube.com',
'type' => 'video',
'added' => '6.0',
'pattern' => 'http://(?:www\.)?tm-tube\.com/video/([0-9]+)/',
'movie' => 'http://www.tm-tube.com/vimp.swf?hosturl=http%3A%2F%2Fwww.tm-tube.com%2Fflashcomm.php&mediaid=$2&autolightsoff=false&webtv=false&context=embed',
'size' => array(480, 360),
'show-link' => true,
// http://www.tm-tube.com/video/1350/zoom-zoom
'fix-html-pattern' => '<script type="text/javascript" src="(http://www\.tm-tube\.com/js/embed\.js\.php\?key=[0-9a-f]+)"></script>',
'lookup-url' => 'http://www\.tm-tube\.com/js/embed\.js\.php\?key=[0-9a-f]+(?:&width=[0-9]+&height=[0-9]+)?',
'lookup-pattern' => array(
'id' => 'mediaid = .\'(\d+)',
'w' => 'params\.width = (\d+)',
'h' => 'params\.height = (\d+)',
),
'lookup-final-url' => 'http://www.tm-tube.com/video/$1/',
);


Now edit Subs-Aeva.php... (It's okay, that edit will be in the next official version anyway -- I'll probably find some use for it.)

Replace:
// If we were only returned a partial url, we add the remainder/actual bit here
if (!empty($arr['lookup-final-url']))
{
$actual = str_replace('$1', $actual, $arr['lookup-final-url']);
// Cheat to put the original url looked up back in the link
$actual = str_replace('$2', $url, $actual);
}


With:
// If we were only returned a partial url, we add the remainder/actual bit here
if (!empty($arr['lookup-final-url']) && (empty($was) || !empty($was['id'])))
{
$actual = str_replace('$1', empty($was) || empty($was['id']) ? $actual : $was['id'], $arr['lookup-final-url']);
// Cheat to put the original url looked up back in the link
$actual = str_replace('$2', $url, $actual);
}


Oh, and replace

$actual = $url . substr($opt, 0, max(1, strlen($opt)-1));


With

$was = $actual;
$actual = $url . substr($opt, 0, max(1, strlen($opt)-1));


Now, onto fixing the "never loading" bug... This one, you'll have to change *everytime* you update Aeva, because it's the one thing I can't implement!

Look for

if (empty($arr['plugin']) || $arr['plugin'] == 'flash')

Below, find the 'allowScriptAccess' line, and replace 'never' with 'always'.

This *SHOULD* be relatively safe, but I'm not risking it.

As you can see, I did my homework... Too bad I have to throw it away. :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: olıverde8 on February 23, 2009, 01:54:50 PM
thanks a lot it worsk as expected  ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 23, 2009, 03:01:13 PM
Yeah it works but it's really sad that I have to remove this...

Although I could add a new variable to "force" the enabling of allowScriptAccess for specific websites. But I'm still not too fond of the idea.

Karl, if you're reading -- what would you do for this website? You added it, you should know whether it's worth it or not ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 24, 2009, 06:23:38 AM
No opinions on the allowScriptAccess subject?

Crap, it's stalling Aeva's release -- I don't want to remove support for that site if in the end I introduce the ability to disable allowScriptAccess...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 24, 2009, 07:55:12 AM
Can you point out the cons?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 24, 2009, 08:02:38 AM
I don't really know, since the only "allowed" files are from public websites anyway... I mean, posting a YT video with allowScriptAccess set to "always" shouldn't open any security hole since every blog that embeds YT videos does it. That's why I'm asking for Karl's opinion on this...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: zach21uk on February 24, 2009, 12:47:26 PM
Does this mod support PHP Motion?   I have a PHP motion website and I would like to have my videos auto embed
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 24, 2009, 12:49:44 PM
What is this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on February 24, 2009, 01:49:50 PM
Nao, i have installed your mod. It's really a great mod!
Also uninstalled the Youtube mod.

Can you please add Yahoo Finance Videos?

http://video.yahoo.com/network/100000023
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ysNoi on February 24, 2009, 02:01:06 PM
Quote from: searchgr on February 24, 2009, 01:49:50 PM
It's really a great mod!

indeed...!

I would like to thanks again Nao 尚 for his continued support for this mod...! Awesome...!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: chrishicks on February 25, 2009, 01:47:45 AM
I've been reading this topic for a while now looking for my issue since the search isn't working for me at the moment (I keep getting "An Error Has Occurred! Unable to access the search daemon").

I am using version 5.2.56 on 1.1.8 and all seemed to be working like normal with 0 errors at all. Today some of my board members asked why videos take forever to load on my forum but load instantly when on Youtube. I see none of this on my end so I'm thinking browser issue but it's more than 1 person so I decide to hit this topic to see if anyone else has the problem. This is when I noticed something. In the screens that have been posted here you see the quality links at the lower right of each video which doesn't show at all on my board. Is there something I overlooked in this topic for that?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 25, 2009, 02:08:37 AM
@searchgr> I know... I wouldn't piss off people over at YTBBC for nothing, lol ;)

Yahoo Finance is supported (in "Yahoo Video"), it's just that they apparently recently broke the embed by updating their player's version number. The kind of thing that makes it a requirement to upgrade your site list from time to time. (To be specific, I'm waiting for the site team to fix a bug in the mod site before I properly start releasing automatic updates to the site list.)

Anyway-- version 6.0.60 (coming today if everything goes right) will have the fix.
I'm working on adding video titles to the vids. Not right now (breakfast ahead) but after I come back.
Work in progress: http://site.noisen.com/aeva-dev/5060/tests-video-embedding/msg229397/#msg229397
Also, video thumbnails are not supported, but they COULD be. I need to add more lookup stuff. Do you think it's worth it?

@chrishicks> will answer your post later. I really have to prepare breakfast, now ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 25, 2009, 02:22:27 AM
@chris> I don't see a bug loading YT here? http://rejectsreststop.com/forum/index.php?topic=835.0
If it's not the place, please provide me with an example.
Also -- the quality levels are one of the main features in Aeva *6*, not 5 eheh. Stay tuned.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on February 25, 2009, 02:23:20 AM
QuoteAnyway-- version 6.0.60 (coming today if everything goes right) will have the fix.

Ohhh, i have to uninstall the previous version? :) If i knew this i could wait a little more.
Again thank you for everything.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 25, 2009, 02:47:04 AM
No, you can simply overwrite the Subs-Aeva*.php files with the new ones etc... It's a painless upgrade, as it has been for 6-7 releases now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: chrishicks on February 25, 2009, 03:09:42 AM
Quote from: Nao 尚 on February 25, 2009, 02:22:27 AM
@chris> I don't see a bug loading YT here? http://rejectsreststop.com/forum/index.php?topic=835.0
If it's not the place, please provide me with an example.
Also -- the quality levels are one of the main features in Aeva *6*, not 5 eheh. Stay tuned.

I don't notice any loading issues on any of the YT videos on my end either. It has to be something on their side. But just for the hell of it, this is the post where they made the comments: http://rejectsreststop.com/forum/index.php?topic=930.msg5226#msg5226 

I wasn't sure about the quality levels, I just noticed many people had them in the screens and they weren't showing for me so i thought something went wrong. Thanks for the reply and the info.

EDIT: fixed spelling...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 25, 2009, 03:25:53 AM
The video you mention is in HQ (fmt 18) by default, so obviously it takes longer (for 56k etc) to load than YT.com's version (which automatically selects the best quality -- which will be LQ for 56k).

Aeva 6 will allow users to select their favorite format before launching the video. So they can choose LQ if they want. A future update will also keep a cookie with their favorite format, so that it defaults to it when they load a new video.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: chrishicks on February 25, 2009, 03:34:38 AM
Thanks for checking on this for me. I'll be anxiously awaiting for Avea 6 because I love this mod. It's my favorite mod of all the ones I have installed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 25, 2009, 03:35:40 AM
Aeva 6 should be coming out today.

Quote from: chrishicks on February 25, 2009, 01:47:45 AM
I've been reading this topic for a while now looking for my issue since the search isn't working for me at the moment (I keep getting "An Error Has Occurred! Unable to access the search daemon").
Oh, and for those wondering-- this is due to SMF's power outage from yesterday. The slave SQL server is currently disabled, and it's the one that is used to run the search daemon, so it'll have to wait some more time.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 25, 2009, 03:58:27 AM
Quick one... Should I add an option to enable/disable widescreen on the fly on any YT video? So that you can "fix" videos that don't show up correctly (ie black bars where not intended.) I don't know if this would be the infamous "overkill" I'm always trying to avoid.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: chrishicks on February 25, 2009, 04:16:14 AM
That would be a nice option as well. If it's not much extra I say add it please. :) And there is no such thing as overkill.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 25, 2009, 04:20:58 AM
Overkill to me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mforum on February 25, 2009, 04:48:43 AM
Quote from: Nao 尚 on February 25, 2009, 03:58:27 AM
Quick one... Should I add an option to enable/disable widescreen on the fly on any YT video? So that you can "fix" videos that don't show up correctly (ie black bars where not intended.) I don't know if this would be the infamous "overkill" I'm always trying to avoid.

Yes !!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: picos on February 25, 2009, 05:47:43 AM
This worked fine with beta 4 and I just installed the latest version on smf 2 RC1 but the links do not embed the videos... the mod did install correctly.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 25, 2009, 05:56:03 AM
@WS feature: 2 pro - 1 con. Will need more votes, then ;)

@picos> Is Aeva enabled? (master setting) Is the "auto-link URLs" feature enabled in SMF?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on February 25, 2009, 05:57:19 AM
Quote from: Nao 尚 on February 25, 2009, 03:58:27 AM
Quick one... Should I add an option to enable/disable widescreen on the fly on any YT video? So that you can "fix" videos that don't show up correctly (ie black bars where not intended.) I don't know if this would be the infamous "overkill" I'm always trying to avoid.

Yes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 25, 2009, 06:16:35 AM
Okay, 3 to 1, looks good for WS eheh.

So this will basically entice me into changing the default 4/3 video's embed size.
Currently it is set to YT's official embed size (425x344, which including the UI, actually makes for a 425x319 video, which is 1.33 = 4/3). With size switching on the fly, I think it would be only logical to have 480x385 (= 480x360 = 1.33 = 4/3). That way, switching between 480x385 and 640x385 will only change the horizontal size.
Well, still, maybe this is something I should postpone to v6.1 or something... I mean, maybe it'll mean some complications here and there.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 25, 2009, 06:41:04 AM
Quote from: Nao 尚 on February 25, 2009, 02:08:37 AMDo you think it's worth it?
No but one thing you should do is when someone posts a video and it is more than the allowed number of videos per page, have something like this in brackets: (Reached maximum allowed number of video embeds per page).

Otherwise, people will think they have made a mistake when submitting their video link.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 25, 2009, 06:59:27 AM
You mean, instead of just showing the raw link...?

The problem is that it's not in the original code... It just stops embedding after a while. :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 25, 2009, 07:24:05 AM
I mean, make it look similar to that of when someone posts up a YT that can't be embedded.

http://www.youtube.com/watch?v=TigHMyTIXoA (Embedding disabled - reached maximum allowed for this page)

As you can see, I still haven't figured out what's best to put in the brackets :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 25, 2009, 07:30:26 AM
Lol, make up your mind!

Post #1997 -- that's when I started programming for a living :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on February 25, 2009, 09:50:45 AM
Widesreen on/off question:
Sounds interesting and personally I like the idea. On the other hand I'm not sure if it is necessary. Not a "must have" in general.


#60
Error Report: (empty)
I can't countersign the problems Akyhne is talking about (over at noisen).

#59 embed videos missing the Quality Switch (of course) but are playing with installed #60 and don't cause error messages in the log-files.
#60 embed videos are working like expected.

I don't have any problems with #60.

Something strange.
1.)
LQ is shown, but video is not available in this quality. (LQ+ & HQ are working)
(image 01)
Is this intended?

2.)
Put Aeva generated code inside a [.td]-tag, everything is fine.
but
Put YT-url inside a [.td]-tag, the video player is working
– without transform of the url and without the quality settings.

Example code:
[tr][td]http://www.youtube.com/watch?v=lAUIHBAxbXY#lq2-hq-t=U2Nod2FyemVyIEthZmZlZSBKdW5nZSE=[/td][/tr]
[tr][td]http://www.youtube.com/watch?v=lAUIHBAxbXY[/td][/tr]

( table02.jpg)


Request
Could you change the "by Aeva" so that it will open a new window?
The footer copyright behaves this way, but I prefer the link next to the player.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on February 25, 2009, 10:43:03 AM
Feature Request =)
You may have been written before but I want to ask again.   

I added a feature to be more. The most popular sites to choose the height x width. (Dailymotion, Google Video , MetaCafe, Facebook, yahoo video)
In a small section in the aeva admin panel that includes a list of this sites.
The mentioned sites here to keep the size,  and if we could choose what you want of a selectbox.. (My English is not enough here..)
If you not undestand this..
Please look http://www.rockayseri.net/aeva.html
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: edi67 on February 25, 2009, 03:48:32 PM
Quote from: FragaCampos on February 16, 2009, 06:06:42 PM
Hello there.
First of all i congratulate the authors of this great mod. Thank you!

Now, i have a problem, and used the search cause with 82 pages it's tough to read them all :P

My problem is the following:
when i put a link, for example to googlevideo, it shows the video, and the link below it. It's odd, right?
You can see it here (http://www.docspt.com/index.php/topic,5329.0.html).

For now i have it like this:
[url=http://video.google.com/videoplay?docid=6149317978842675089][/url]
with "Automatically link posted URLs" in admin panel disabled.
But if i enable it, and post the link as it is, it does exactly the same. It inserts the url tags, and shows the video followed by the link.
In the third situation, if i post the link as it is with the "Automatically link posted URLs" off, AEVAC doesn't show the video.

Help?  O:)

same problem for me
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 25, 2009, 05:38:13 PM
@edi67> Same answer, then.

@Rock> Not for now.

@Everyone (WS)> the WS setting will be in a future release, too. Not in this one.

@ianus> (1) URL to your post, please? (2) I guess this is a bug in SMF. (3) Changed it, could you check for this on noisen.com?

@Everyone (WS again)> Uh, got no feedback about enlarging the default YT embed size to 480x385 instead of 425x344... Would appreciate some ideas about it, thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: stocktiger on February 25, 2009, 06:44:43 PM
Is there a way I can post the videos from Yahoo TechTicker

http://finance.yahoo.com/tech-ticker/article/193892/Reality-Bites-Higher-Taxes-Fewer-Govt.-Services-Coming-Despite-Obama%27s-Pledge?tickers=^gspc,^dji,SPY,DIA,TLT,QQQQ (http://finance.yahoo.com/tech-ticker/article/193892/Reality-Bites-Higher-Taxes-Fewer-Govt.-Services-Coming-Despite-Obama%27s-Pledge?tickers=%5Egspc,%5Edji,SPY,DIA,TLT,QQQQ)

The embed code is like this like this

<object width="292" height="219"><embed height="219" width="292" allowscriptaccess="always" src="http://cosmos.bcst.yahoo.com/up/fop/embedflv/swf/fop_wrapper.swf?id=12208160&autoStart=0&prepanelEnable=1&infopanelEnable=1&carouselEnable=0" type="application/x-shockwave-flash"></embed></object>


from that I cannot just find the video file and I do not think that you can yet post Embed code into SMF - if you can it would be great -

thanks so much as your mod is great but of course many sites it will not work on like this one

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Relyana on February 25, 2009, 07:37:10 PM
Quote from: Nao 尚 on February 25, 2009, 03:58:27 AM
Quick one... Should I add an option to enable/disable widescreen on the fly on any YT video? So that you can "fix" videos that don't show up correctly (ie black bars where not intended.) I don't know if this would be the infamous "overkill" I'm always trying to avoid.

That would be great !!! I mean YES  ;D 

I have an issue with the trilulilu links. How can I stop the audiolinks from trilulilu.ro to display useless video screens knowing that their videolinks work out with aeva (as they should) but their audiolinks don't ? I mean ... whenever someone posts trilulilu audiolinks he/she gets some supposily funny trilulilu video screens (http://www.escvibes.com/index.php/topic,171.msg24348.html#msg24348) ("Crocodilu' a mancat imaginea de prezentare" means "The crocodile ate the display image"). Clicking on the video I get the following error message (I'll translate it) "The access to this file is restricted. For further details visit trilulilu.ro." First time I noticed this I got over it saying that it is somehow funny but now it's starting to get annoying.   :-\
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shumilica on February 25, 2009, 08:43:26 PM
Relyana, check this out:
http://site.noisen.com/aeva-req/5071/done-trilulilu-ro/ (nao - the link to the topic doesn't work anymore :O pretty-urls mod i think )
Even if i'm romanian like you, i'll respond to you in english:
Nao worked on trilulilu function and for me it works great. When somebody puts an audiolink the trilulilu flash-audio-player appears, if it is a video-link, the trilulilu flash-video-player. I have 5.2.56 and it works. Maybe you are using an older version?


Now, a problem of my own:
Nao, Somebody from my forum told me that if they select (when posting), in additional options, the option "Don't use smileys.", the link doesn't get embeded enymore :o And he is right. I checked it out in my forum and in your forum and it doesn't get embeded :O .
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 26, 2009, 02:52:19 AM
Quote from: shumilica on February 25, 2009, 08:43:26 PM
Relyana, check this out:
http://site.noisen.com/aeva-req/5071/done-trilulilu-ro/ (nao - the link to the topic doesn't work anymore :O pretty-urls mod i think )
No, just a bug in Aeva that made it unstable. Fixed, thanks for pointing it out.

And yes, Relyana is probably using a much older version.

QuoteNow, a problem of my own:
Nao, Somebody from my forum told me that if they select (when posting), in additional options, the option "Don't use smileys.", the link doesn't get embeded enymore :o And he is right. I checked it out in my forum and in your forum and it doesn't get embeded :O .
Really...? Quite strange. Does this mean parse_bbc() doesn't get called? But what about bbcode, precisely? Are the links at least clickable?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on February 26, 2009, 03:16:52 AM
Quote from: Nao 尚 on February 25, 2009, 05:38:13 PM
(1) LQ is shown, but video is not available. URL to your post, please?
(3) Changed it, could you check for this on noisen.com?

(1) Sure. Re: normal g #60 (http://resmedia.info/smf21/index.php?topic=17.msg57#msg57)
Temporary Testboard. Use Nao to log in.
(3)No. Copyright is in the footer at the moment. I will test this later again.

Addition.
Aeva links: Check: Brightcove (Is: link.brightcove. com / should be brightcove .com)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 26, 2009, 04:43:39 AM
Quote from: ianus on February 26, 2009, 03:16:52 AM
(1) Sure. Re: normal g #60 (http://resmedia.info/smf21/index.php?topic=17.msg57#msg57)
Temporary Testboard. Use Nao to log in.
Thanks! Looks like a valid bug to me. Well I hope I'll have time to fix it today...

Quote(3)No. Copyright is in the footer at the moment. I will test this later again.
Sorry, forgot about that. I was testing integration yesterday. Back to the normal links.

QuoteAeva links: Check: Brightcove (Is: link.brightcove. com / should be brightcove .com)
What do you mean? Oh yes I see. Thanks, fixed.

Edit -- lol, this topic has now exactly the same number of posts as the older AEVAC topic... :D And I have 2001 posts which is cool, Dave!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mai Pen Rai on February 26, 2009, 06:47:13 AM
Trying to search this, but without any luck.

Is there a way add custom sites? A site that is not supported by the AEVA itself.
The sites are in Swedish and will probable never get added to the AEVA system :)

So, an easy way to add custom sites???
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on February 26, 2009, 07:20:14 AM
Quote from: Mai Pen Rai on February 26, 2009, 06:47:13 AM
Trying to search this, but without any luck.

Is there a way add custom sites? A site that is not supported by the AEVA itself.
The sites are in Swedish and will probable never get added to the AEVA system :)

So, an easy way to add custom sites???

I use the [html]add the source link [/html]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 26, 2009, 07:50:29 AM
Quote from: Mai Pen Rai on February 26, 2009, 06:47:13 AM
Trying to search this, but without any luck.

Is there a way add custom sites? A site that is not supported by the AEVA itself.
The sites are in Swedish and will probable never get added to the AEVA system :)

So, an easy way to add custom sites???
Look at Subs-Aeva-Custom-Example.php
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 26, 2009, 07:56:56 AM
@mai> Same as Akyhne. This is why I created that file in the first place ;)

Quote from: stocktiger on February 25, 2009, 06:44:43 PM
Is there a way I can post the videos from Yahoo TechTicker
Well I'm aware that there are several Yahoo sub-sites that don't have the same video URL format as the ones supported in Aeva, and Aeva already supports several of them (default, music video, HK), and in the end I'd love to support them all but it's going to be taxing...

And please submit your site requests to aeva.noisen.com because otherwise they will be lost in time, like tears... in rain.

Quotefrom that I cannot just find the video file and I do not think that you can yet post Embed code into SMF - if you can it would be great -
Admins can post embed code using the [html] tag.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 26, 2009, 08:27:39 AM
Stupidest and best suggestion of the day...

What if, instead of storing titles in base64 format in the URL, I rewrote the whole thing this way?

Current:
[url=http://www.youtube.com/watch?v=pNfQBaS03M0#t=QW1pZ2EgTG9uZ3BsYXkgWzE4MV0gQnViYmxlIEJvYmJsZSAoMnAp]http://www.youtube.com/watch?v=pNfQBaS03M0#t=QW1pZ2EgTG9uZ3BsYXkgWzE4MV0gQnViYmxlIEJvYmJsZSAoMnAp[/url]

Suggestion:
[url=http://www.youtube.com/watch?v=pNfQBaS03M0#]Amiga Longplay [181] Bubble Bobble (2p)[/url]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on February 26, 2009, 08:53:03 AM
?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 26, 2009, 09:19:38 AM
Well it would make for a shorter tag all in all (although most of the times, the link will be under the format [url=http://link]link[/url] instead of [url=http://link]link[/url], don't ask me why, I don't know why I got the results above...), but anyway.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on February 26, 2009, 11:58:41 AM
Aeva Copyright link:
Now opens a new window. Well done.

Stupidest and best suggestion of the day:
Like it!
More user friendly. In case that somebody what to edit his post, and don't know how Aeva is working, he may wonder what happen to his embed link. Your suggestion could prevent questions.

You need 5 more post to become "up to date". 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 26, 2009, 12:03:52 PM
Quote from: ianus on February 26, 2009, 03:16:52 AM
(1) LQ is shown, but video is not available. URL to your post, please?
FYI -- fixed.
I don't know why, but I forgot to add fmt 5 (i.e. "lowest quality", but NOT "default quality" since it's not always available) in the format test list, and I always assumed it to be available, so it always showed up... That's just plain silly :)

Anyway--that format is now tested and will be included in the anchor options. It's an extra "lq-" in the URL, I know, but my little finger tells me that you'll find less and less fmt=5 formats on YT as time goes by, so in the long run it should be okay.
Now, basically, apart from the 3G formats, *all* possible formats are tested and stored. Then it's up to the user to choose their favorite format :) If it's not in the video's current format list, then the highest format is selected by default.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on February 26, 2009, 12:22:24 PM
When it will be available the next update?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 26, 2009, 12:24:54 PM
I don't know, as you may have seen, several minor bugs were reported yesterday and today, and I'm trying to make it bug-free, so... :)
I guess it's postponed by a few days. Of course it'll be solid when it's released.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 26, 2009, 01:48:06 PM
Keeping you up to date...

- Implemented cookie saving for preferred quality. This allowed to (finally!) drop the admin setting for default quality. Now, everyone will get the highest quality as default, and then they'll be able to select another quality and it'll stay to that quality by default, as long as other videos also provide it (otherwise it'll again be set to the video's highest available quality).

- Implemented video centering. I would like you all to tell me whether or not you like it. Should it be by default? Should it be admin-optional? http://site.noisen.com/aeva-dev/5060/tests-video-embedding/60/ (Would also like to know if everything works fine in IE, Firefox and Chrome. Thanks.)

- Currently working on fixing SMG support. (Why am I always breaking SMG compatibility? Lol, I work on both mods, it shouldn't even happen in the first place...!)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on February 26, 2009, 03:09:39 PM
This is the best support i ever seen! Why don't they hire you for the smf 2.0? :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shumilica on February 26, 2009, 03:22:09 PM
Quote from: Nao 尚 on February 26, 2009, 02:52:19 AM
QuoteNow, a problem of my own:
Nao, Somebody from my forum told me that if they select (when posting), in additional options, the option "Don't use smileys.", the link doesn't get embeded enymore :o And he is right. I checked it out in my forum and in your forum and it doesn't get embeded :O .
Really...? Quite strange. Does this mean parse_bbc() doesn't get called? But what about bbcode, precisely? Are the links at least clickable?

The links are clickable. You can try it yourself in your own forum at www.noisen.com when you check the option "Don't use smileys." any video/audio link (youtube, vimeo etc. ) that you put there it will not be embeded (something like #noemebed) but will still be clickable like any other link.


about other modifications:
- i would like centering the videos, but admin optional.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 26, 2009, 03:26:25 PM
Quote from: Nao 尚 on February 26, 2009, 01:48:06 PM
- Implemented video centering. I would like you all to tell me whether or not you like it. Should it be by default? Should it be admin-optional? http://site.noisen.com/aeva-dev/5060/tests-video-embedding/60/
It's essential that the centering is admin optional, that will look pretty stupid on my design.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on February 26, 2009, 04:27:45 PM
- Implemented cookie saving for preferred quality
Personally I don't like this idea but I think it's wise to have trust in your decision.
I would prefer "worst quality" as default, because I don't know anything about the bandwidth of my users.

- Implemented video centering.
Yes!

-Disable smiley problem.
Can confirm that. (rc1 & aeva #60 / no other mods)
#60 smiley disable (http://resmedia.info/smf21/index.php?topic=22.0) (Temporary Testboard)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: stocktiger on February 26, 2009, 04:33:34 PM

Quote
Admins can post embed code using the [html] tag.

That is great - thanks so much as I did not know that - now I can post any video object embed!!!!    -- woudl be nice to allow others to do the same
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Relyana on February 26, 2009, 04:47:41 PM
Quote from: shumilica on February 25, 2009, 08:43:26 PM
Relyana, check this out:
http://site.noisen.com/aeva-req/5071/done-trilulilu-ro/ (nao - the link to the topic doesn't work anymore :O pretty-urls mod i think )
Even if i'm romanian like you, i'll respond to you in english:
Nao worked on trilulilu function and for me it works great. When somebody puts an audiolink the trilulilu flash-audio-player appears, if it is a video-link, the trilulilu flash-video-player. I have 5.2.56 and it works. Maybe you are using an older version?

Nope ...  I'm using the 5.2.56 version  .... the trilulilu audiolinks never worked out for me and I honestly thought that only the videolinks were supposed to work out. Maybe I should uninstall aeva and install it again. Thanks for the link though  :)

edit:
Quote from: Nao|noisen.comAlso, just wanted to point out a limitation. You need to enabled the "YouTube HQ" option in Aeva, otherwise the audio embedding won't work. It's a bit annoying, I didn't think of this before. I should change this...
I hoped that that's the cause of the issue I'm having but it isn't.

btw I noticed in the Aeva Administration - Site List that Trilulilu is mentioned only in the videosites list (Video Sites (139) ), not in the audiosites list (Audio Sites (18) ). Is this the way things should be ?  Should I reupload any files ? :-\
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 26, 2009, 05:13:17 PM
@searchsgr> I *am* part of the team, lol. As a beta-tester, but that means I had my say in the development of SMF2. As for being a developer -- I did offer my help in case the current reduced team needed someone to speed up the dev process, but it appears they're doing fine right now. Plus, the team knows I have my hands full with SMG and Aeva anyway. Both are popular mods and I'm very happy with my position.

@shumilica> Thanks. I never tested that. Was able to reproduce and indeed it didn't work. Made a quick change in Aeva and it works fine. From what I see, the bug was added in Aevac 4.0. Since I wasn't involved in Aeva at that time, and I didn't change that line of code until now, you got to discover the bug, eheh. Hopefully it won't break anything else in the mod. It you need to fix it now -- just open Subs-Aeva.php, look for the && !empty($smileys) string, and simply delete it.

@ianus> I'm sure your users will be smart enough to select "LQ" if the video has trouble loading quickly enough to ensure proper viewing. Then that setting will be saved and selected by default on all videos that have a LQ setting. Of course, if the video doesn't have a LQ but only, let's say, a LQ+ and a HD, it will be positioned on HD by default. But that's a fair price to pay for the comfort of being able to choose your preferred version. And most people would pick the best possible version anyway.

@stockiger> Allowing others to do the same would pretty much kill Aeva, ah ah ;) No, seriously, the reason is that [html] is a dangerous feature to use. Giving it to users you don't know is like leaving your door open when you're out: it can be just fine, but you never know.

@Relyana> What does the code say in your post? As for YouTube HQ, the option is removed in Aeva 6, I hope it won't break Trilulilu, lol... (Just try posting a link over at noisen.com's test topic.) Yes, it's normal that it's not in the audio site list. Both video & audio features are handled by the same code.

@Re: centering> I will just remove it for now, then. It's just a matter of modifying a div's style to say "margin: auto". I'm not sure it works in all versions of IE though. Oh, who cares anyway. ;)

@Re: widescreen button> I already said it, but I'm currently leaving this on hiatus. I haven't managed to come up with a perfect solution.

@Re: SMG> fixed the incompatibility. This was due to Aeva returning Javascript code instead of the usual <embed> tag, and SMG looks for <embed> to make sure Aeva recognized the URL. So I'm simply checking whether we're inside a gallery and posting -- if yes, then Aeva returns the non-Javascript version so that it passes the check. Works just fine.

@everyone> Errr... What's left to fix, already? I'm not sure I did it all today... Anyway, if all goes well, I should be able to release Aeva 6 tomorrow! ^_^
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 26, 2009, 05:28:19 PM
Quote from: Nao 尚 on February 26, 2009, 05:13:17 PM
@Re: centering> I will just remove it for now, then.
That was just Lazy Nao talking, ah ah... ;)
Just implemented it. Works great. The option says "Center videos horizontally" in the admin area. I'm sure it's not correct English, so please feel free to correct it!
I also fixed SMG to always center Aeva videos. You can do it by yourself. Edit /Themes/default/mgallery/style.css and simply add this at the end:

.subaeva {
text-align: center;
margin: auto;
}


(I'm posting the fix because it won't be in SMG before the next update, so...)

2009 O:)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Relyana on February 26, 2009, 05:53:58 PM
Quote from: Nao 尚 on February 26, 2009, 05:13:17 PM
@Relyana> What does the code say in your post? As for YouTube HQ, the option is removed in Aeva 6, I hope it won't break Trilulilu, lol... (Just try posting a link over at noisen.com's test topic.) Yes, it's normal that it's not in the audio site list. Both video & audio features are handled by the same code.

The original trilililu (test) link is
http://www.trilulilu.ro/junkie13/ba43d746c235bd

After saving the post the link is

[url=http://www.trilulilu.ro/junkie13/ba43d746c235bd#audio-h41]http://www.trilulilu.ro/junkie13/ba43d746c235bd#audio-h41[/url]

Soon after I replaced the LQ setting with the HQ one the link displayed something close to what should be an audio box but that display image is still there looking weird this time :-\

Anyway I'm not going to test anything trilulilu related anymore ...  I was trying to see what's wrong with the trilulilu audiolinks and I discovered that someone uploaded my subtitled videos there. I filed a complaint about the unauthorized use of my team's work (copyrighted material) and I think I can live without trilulilu for a while or even forget all about them for good if I'll have to. 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 26, 2009, 06:23:19 PM
Re: the curious bug where URLs wouldn't embed when posted right after a tag... First of all, it needs to be said that regular Aeva embeds work fine. The only ones that won't work, are links that require a lookup before they get embedded.

So, I think I've got it. Very curious one. The big problem is that the URLs do get converted to clickable links, but that's "on-the-fly", i.e. SMF does it every time it meets them. Basically, it takes any URL that *isn't already linked*, and links it. In order to find out which URLs aren't linked, SMF looks for a string that starts with http and is NOT preceeded by a closing ]. So as to avoid [url], I guess. So, I'd say -- "why not convert all links, EXCEPT for those that are specifically preceeded by the url tag?

So I sort of sorted it out by adding a zero-width negative look-behind assertion to the regular expression. Hey Karl, that one's for you!

|(?<!url)]

I love that stuff :)

And it works, at least here: http://site.noisen.com/aeva-dev/5060/tests-video-embedding/msg229440/#msg229440

The only thing I'm not sure about is -- will it work everywhere, on every situation? Won't it break something else? Well, I guess if it breaks something, I'll just go back to the previous version. No big deal.

@Relyana> I'm getting the same URL as you posted -- http://site.noisen.com/aeva-dev/5060/tests-video-embedding/msg229461/#msg229461 -- and it's working just fine... (?)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: emonk on February 26, 2009, 08:19:45 PM
Quote from: Nao 尚 on February 08, 2009, 04:15:44 AM
Quote from: emonk on February 07, 2009, 07:25:29 PM
Embed videos with this mod doesn't show in mkportal, just appears the link
any idea how to solve this problem?
Did you install Aeva manually?
Does your portal NOT call parse_bbc?
No reason otherwise.

@JamesD01> What has this got to do with Aeva?
I install aeva with package install option in the administrarion menu, normal install without problems
there is not "parse_bbc" text in all lines of the mkportal files
see this screens please

in the portal show only the url
http://pixelea.com/s/21972c36e9.jpg

topic look normal with video embed
http://pixelea.com/s/b21d82e230.jpg

the code in the topic look like this after is created with posting only the url (without tags)
http://pixelea.com/s/e62e9a0030.jpg

with other old packages for videos embed (like youtube modification) or flash tags, the videos appears embed in the portal, only with aeva modification appear as url in the portal.

any idea?

sorry for my english :s
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 27, 2009, 12:39:30 AM
I'll need FTP access to Sources/ + admin access to check it out.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on February 27, 2009, 04:31:06 AM
Quote from: Nao 尚 on February 26, 2009, 05:28:19 PM
The option says "Center videos horizontally" in the admin area.
It's correct :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 27, 2009, 04:33:14 AM
Thanks :)

Well... Should I release the new version? Oh wait, I still haven't been working on the title stuff, lol...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: autogespot.com on February 27, 2009, 05:31:52 AM
Is there a way to disable AEVA for some boards? Or is there a way when i post a embedded tag it only shows the code instead of the video?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on February 27, 2009, 05:48:36 AM
You can use the 'code' button that is in the post menu bar.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 27, 2009, 06:59:40 AM
- you can add a hack into SMF that will set $context['aeva_disable'] if $context['current_board'] is set to your boards of choice
- you can add the "noembed" tag to show the link, the "code" tag to show the actual code with tags, etc.
- you can choose not to autolink URLs
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: patalete on February 27, 2009, 08:58:55 AM
Sup..nice mod and thanks for all the work with updates.

Installed on 1.1.8 with tinyportal and works smooth..at least for the links posted by users till now...only one thing I want to ask...

When a  Vimeo video is posted, its gets a smaller player box than in vimeo site...its that normal?
here a pic that will explain it better than my words :P
http://img102.imageshack.us/img102/3870/vimeo.png
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 27, 2009, 09:19:19 AM
@patalete> Well, this is exactly the same as for YouTube, eh... ;) Usually, an embed video will be smaller than the original site's size. This is probably because you never know where the video will end up, so they're on the safe side by choosing a smaller size. Aeva 6 will enlarge the embed size for YouTube 4/3 vids (to match the widescreen embed's height), would you like me to do the same for Vimeo?

@regular expression experts> Funniest regexp fiasco in a while...

(Edit: removed because I found the reason for the problem... Had nothing to do with the regexp, lol.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: emonk on February 27, 2009, 10:02:54 AM
Quote from: Nao 尚 on February 27, 2009, 12:39:30 AM
I'll need FTP access to Sources/ + admin access to check it out.
that message is to me?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 27, 2009, 10:24:14 AM
Who else?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: emonk on February 27, 2009, 10:52:30 AM
Quote from: Nao 尚 on February 27, 2009, 10:24:14 AM
Who else?
ok xD
i sent you an mp with data
Thanks!!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: sheryltoo on February 27, 2009, 10:53:57 AM
I downloaded this mod and see it added some new language files like aeva.english-utf8.php.
If I don't use these language files, is it safe to delete them from my language folder?
Sheryl
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 27, 2009, 11:42:19 AM
Well, I guess ;D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: sheryltoo on February 27, 2009, 12:03:14 PM
I'm having an issue with a language problem in a different mod so I was hoping if I could just delete these threads it would fix this other problem.
Unfortunately it didn't but at least it didn't do anything to the Avea mod.
I was afraid it might.
Thanks for letting me know it was safe to remove those files.
Sheryl
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 27, 2009, 12:05:10 PM
You can delete any file in a language that you don't use, really.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 27, 2009, 01:29:44 PM
I fixed the regexp bug from earlier today. (I'm so ashamed, I won't say where it came from ;))

I'm currently stuck on a few other things. In an attempt to make the code clearer and simpler, I removed the <subaeva> div and merged it with the container div <maeva>. Works fine, but there are a few things to deal with:

- Can anyone please test the http://site.noisen.com/aeva-dev/5060/tests-video-embedding/105/ page with a browser? I mean, something that is not Opera? Does it work?
- I also need to know whether http://media.noisen.com/item/661/ runs fine. I'm mostly interested in making sure that the "Previous/Next" below the video are correctly spaced out, and not found between the video's title and the quality list.

- You may have noticed that there are current anchor lines under links (below the videos). This is originally unwanted but -- what do you prefer as a default design?

- I've noticed that [centering] a video manually won't work. However, if I remove the width specification from the maeva div, centering videos works just fine. The problem, now, is that the quality level list isn't right-aligned. Ha! If you think being able to center videos is cool, then please lobby for it. Otherwise, I'll just leave it as it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on February 27, 2009, 01:43:15 PM
ok with firefox
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on February 27, 2009, 01:53:31 PM
Quote- Can anyone please test the http://site.noisen.com/aeva-dev/5060/tests-video-embedding/105/ (http://site.noisen.com/aeva-dev/5060/tests-video-embedding/105/) page with a browser? I mean, something that is not Opera? Does it work?

Work fine for ie6-7/mozilla.

Quote- I also need to know whether http://media.noisen.com/item/661/ (http://media.noisen.com/item/661/) runs fine. I'm mostly interested in making sure that the "Previous/Next" below the video are correctly spaced out, and not found between the video's title and the quality list.
Look Attachments
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Relyana on February 27, 2009, 01:55:01 PM
Quote from: Nao 尚 on February 26, 2009, 05:13:17 PM
@Relyana> I'm getting the same URL as you posted -- http://site.noisen.com/aeva-dev/5060/tests-video-embedding/msg229461/#msg229461 -- and it's working just fine... (?)

I'll uninstall aeva and install it again tomorrow. Thanks for looking into it ...who knows what's going on there ? There's a fix for everything anyway.  :)

I'm sorry for the way I reacted yester-eve. I was pretty upset because of those stolen videos but everything's OK now. Trilulilu took the right actions today (I had to prove that my rights were violated there) .    ;D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: booch_21 on February 27, 2009, 02:38:03 PM
Quote from: Nao 尚 on February 27, 2009, 01:29:44 PM
- Can anyone please test the http://site.noisen.com/aeva-dev/5060/tests-video-embedding/105/ page with a browser? I mean, something that is not Opera? Does it work?
- I also need to know whether http://media.noisen.com/item/661/ runs fine. I'm mostly interested in making sure that the "Previous/Next" below the video are correctly spaced out, and not found between the video's title and the quality list.
Both work fine on Safari 4.0 Public Beta for Windows.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gcninja on February 27, 2009, 06:12:30 PM
Ive been dealing with this for about 12hrs now and its being a pain and im about to cry.
Im trying to install AEVA and i get the error Unable to load the 'main' template.  when i click to enable the mod.  Everything else is right and its a standard template, its the CORE template, I dont know why, and ive googled, but I just keep getting the Gallery stuff.  can i get some help here? Ill do anything.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 28, 2009, 02:49:33 AM
Thanks guys! Anyone else? Everyone's seeing things they like? Shall I release today?

gcninja, Aeva doesn't use templating, so your error is not linked to Aeva itself (and the official spelling is Aeva, not AEVA). Have you installed many mods?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on February 28, 2009, 04:00:37 AM
Quote from: Nao 尚 on February 28, 2009, 02:49:33 AM
Thanks guys! Anyone else? Everyone's seeing things they like? Shall I release today?


Yes :)

Nao, did you find time to check the yahoo finance link?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 28, 2009, 04:26:39 AM
You'd better ask at the right place (my board), which is where I go when I'm out of things to do and I want to add a few sites. I'll be busier than expected this weekend so I can't promise I'll release anything before tomorrow, or monday at the latest.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: netco on February 28, 2009, 07:13:33 AM
I have RC1 and i installed manual through this page
http://custom.simplemachines.org/mods/index.php?action=parse (http://custom.simplemachines.org/mods/index.php?action=parse)
but i 've faced this error when i installed this file aeva_install.php
i got this error:
Quote
Notice: Undefined variable: scripturl in /home/****/Themes/default/languages/Modifications.english.php on line 21
Notice: Undefined index: forumprofile in /home/****/Sources/Subs.php on line 3785
Database changes are complete!
i dont use french language and the video tube doesnt displayed
any help ??
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 28, 2009, 07:22:02 AM
First of all, why do you install manually? Is there a problem with the automatic installer?

Secondly -- aeva_install.php doesn't use $scripturl so it's clearly not an Aeva issue.
Thirdly, $txt['forumprofile'] is neither used nor modified by Aeva. Which brings us back to -- it's an SMF problem you have, not an Aeva problem. You would probably have the same problem with any mod install ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 28, 2009, 07:23:07 AM
(Still, you may want to post your Modifications.english.php file here, just so I can see it.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: netco on February 28, 2009, 09:41:29 AM
I dont  use the automatic installer beacuse i am using another theme .
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 28, 2009, 10:43:08 AM
Aeva doesn't do any theme-related changes, precisely for that reason ;)
So, yes, you can install it automatically.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: patalete on February 28, 2009, 11:29:44 AM
Quote from: Nao 尚 on February 27, 2009, 09:19:19 AM
@patalete> Well, this is exactly the same as for YouTube, eh... ;) Usually, an embed video will be smaller than the original site's size. This is probably because you never know where the video will end up, so they're on the safe side by choosing a smaller size. Aeva 6 will enlarge the embed size for YouTube 4/3 vids (to match the widescreen embed's height), would you like me to do the same for Vimeo?

well..if its possible I think its a good feature watch videos at biggest size available... or just like youtube..set some options to select whter use smal/medium/big to fit better on everyones forums ;D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 28, 2009, 12:17:08 PM
Well you can always force embed width/height in the custom file...

PS: I just finished reading Bear McCreary's blog entries about last night's episode of BSG. Lol that was a long one. Now I think I'm ready to try and release v6 :)

Edit -- sorry, turns out I won't have time to release now. :( Will try to work on it later tonight. I just need to update the changelog and readme files, I think. Last round of beta testing is at aeva.noisen.com if you wanna see how your links will look like when posted in Aeva 6! (I made the title font a bit larger BTW -- hopefully you'll like it.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: emonk on February 28, 2009, 01:20:51 PM
thanks for your help man, you are really good, take a free time for yourself, while I try to find a solution for my problem with the external portal aplication.

if you need any help with debugging just tell us.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TomW on February 28, 2009, 01:27:40 PM
Works with Safari !
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on February 28, 2009, 02:30:37 PM
Here's the changelog between rev 60 and the final version of Aeva 6.0.60 which will come out first thing tomorrow.

+ Added ability to center all embeds horizontally
- Removed YouTube quality options from the admin area, as they're now set per-user
+ Added a licence agreement (long overdue...)
+ Re-added support for Project Playlist (managed to find working code to embed it)
+ Favorite quality level for YouTube is now saved in a cookie for later re-use
* Increased embed size for 4/3 YT videos to match widescreen embed height
! Fixed support for Streetfire.net
! Fixed support for Yahoo Video and added support for video thumbnails
! Fixed SMG interaction when Javascript is enabled
* Looked up titles are now inserted in plain view so you can actually edit them :)
* Fined-tuned style for text below embeds
! Aeva link now opens in a new window
! Fixed a bug that had been there since Aevac times -- lookup-type links wouldn't do their magic if they were posted right after a tag (any tag really)
! Fixed a warning message that appeared when making remote lookup testing inside admin area


I can't post it right now because I need to fix the bug where a HD video doesn't resize to "normal" size when selecting another size. (I always forget about it because HD size is the same as normal WS size on my test website.) Should be easy enough to fix but I'll be out tonight so I can't do it right now. Edit -- Fixed! (Was a bit harder than expected but still, not that hard.)
Please make sure to tell me if I forgot to fix anything!

Edit -- I also need to add a "changelog" for site list modifications when they're automatically updated. Although the system is currently not enabled because of a bug on the mod site... :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gcninja on March 01, 2009, 12:35:53 AM
Quote from: Nao 尚 on February 28, 2009, 02:49:33 AM
Thanks guys! Anyone else? Everyone's seeing things they like? Shall I release today?

gcninja, Aeva doesn't use templating, so your error is not linked to Aeva itself (and the official spelling is Aeva, not AEVA). Have you installed many mods?
sorry about the spelling, im used to all caps because its acronyms but if its not do you have a suggestion to what it is?  It ONLY happens when I click on the enable mod of the Aeva or Aeva sites.  thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 01, 2009, 04:19:51 AM
Well what's your URL?
What does your error log say about this?
Did you try with Aeva 6?

(Actually -- has anyone tried Aeva 6 at all?)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on March 01, 2009, 04:25:11 AM
Aeva 6 release is out ??? Are you talking about rev60 ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 01, 2009, 04:44:40 AM
Quote from: Nao 尚 on March 01, 2009, 04:19:51 AM

(Actually -- has anyone tried Aeva 6 at all?)

I can't find it. Wher is it?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 01, 2009, 04:58:46 AM
In the "SVN releases" topic over at my site, lol... This is the only place where I post new versions when there are many changes and I need to make sure it doesn't cause trouble before I do a mass release.

Ozgur> No, it's not rev 60... I'm trying to respect rev numbers in my new releases, but this one is a bit different, I'm trying to stick with 6.0.60, whatever the actual rev number ;) (which will be 61...)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on March 01, 2009, 05:34:28 AM
I try Aeva 6.0.60.zip (http://site.noisen.com/aeva-dev/5143/test-svn-releases/?action=dlattach;attach=1936).

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 01, 2009, 06:37:54 AM
Can I have admin/ftp access please? Test site or live site, whatever?
Did you check the no-javascript option?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 01, 2009, 06:49:18 AM
Copyright stuff fixed. Will be in the next release.
SMG stuff -> videos are supposed to be horizontally centered... do you have an example? On your site, I can see your google vid & dailymotion vid (which are handled by the same code) are correctly centered.
What's the URL to the YT video that causes an error with thumbnails?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on March 01, 2009, 06:54:36 AM
I sent pm 1 minute ago.

http://demo.rockayseri.net/index.php?action=mgallery
SMG alignment stuff -> Please look http://demo.rockayseri.net/index.php?action=mgallery;sa=item;id=21

I try to add youtube video. Video added succes but thumnail not seen. I look item http://demo.rockayseri.net/index.php?action=mgallery;sa=media;id=21;thumb and go to "Error File Not Found!"
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 01, 2009, 06:57:52 AM
Thanks, I'll have a look after my cigarette.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 01, 2009, 11:17:02 AM
This is what your website says when it tries to retrieve a YouTube video through a lookup.

(...) Access to this web site is banned (...)

After googling about this, it seems to be pretty frequent in your country. :(
So, I guess any version of Aeva would fail showing a video. Can you actually see anything from YT...?

You may want to relocate your website to a country that doesn't use banning as a form of controling democracy.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on March 01, 2009, 11:29:04 AM
Yes. I change my "host" file (my computer C:\WINDOWS\SYSTEM32\DRIVERS\ETC) and add in this file all youtube ip address.. And yes now i can watch to youtube videos.
We have developed a solution for this, a lot.. Because yt is very important for us.

So in my country banned yt. But we can enter youtube some ways. If problem is this.. never ever solution :(
Whatever thank you :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 01, 2009, 11:51:21 AM
Re: video centering in SMG... Okay, found it... This is because my own copy of SMG 1.6 has the .maeva { margin: auto } rule in the mgallery/style.css file. I added it to yours and now it works. This was slated to be in the next update to SMG anyway. I s'pose people can live without the centering, or add the css rule by themselves.

Re: banning -- your video only works because I added the #hd tag manually. You can change your serve's .host file as well if you want to, I guess. My question is, again: did this happen to you before? Because I don't think it's related to Aeva 6...

Okay, can I release it, now? Eheh.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on March 01, 2009, 12:04:10 PM
Quotedid this happen to you before?

I do not remember exactly. I can't use hq videos normally. But I used to have tried everything. Because I want to get a little help, because even if I.

QuoteOkay, can I release it, now? Eheh.
yep! =)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rii on March 01, 2009, 12:31:07 PM
Thanks for the good mod and great support.

I have just installed the SMF 2.0 RC1 and PortaMx. It worked fine. I then installed the Aeva 5.2.56 today. The Aeva installation was smooth without errors but I am seeing these errors in the log now:

Errors start >>>

Invalid argument supplied for foreach()
Apply Filter: Only show the errors from this file
File: /cache/lang_Aeva_english_default.php (main sub template - eval?)
Line: 449
   
Apply Filter: Only show the error messages of this member peace    
Reverse chronological order of list Today at 11:48:41 AM
Apply Filter: Only show the error messages of this IP address 192.168.1.201      Apply Filter: Only show the error messages of this session de19f6691a3b3e41a44f5dce618cd4b
Apply Filter: Only show the errors of this type
Type of error: Undefined
Apply Filter: Only show the error messages of this URL /index.php?topic=7175.0
Apply Filter: Only show the errors with the same message
8: Undefined variable: normal_buttons
Apply Filter: Only show the errors from this file
File: /cache/lang_Aeva_english_default.php (main sub template - eval?)
Line: 572

<<< Errors ends



I tested the youtube link in both ways but not working. The errors seem to be generated as soon as I browsed any topic in the forum. A lot of similar errors in the log. I disabled/enabled the eval from the sql and also clear cache (per SMF forum helps). I rather get your help to fix it than uninstalling it. Please advise me. I have all the necessary box checked in the Admin Aeva Settings.

Thank you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on March 01, 2009, 12:39:06 PM
Can you try cache clean in admin panel?

QuoteThanks for the good mod and great support.
absolutely! and very..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gcninja on March 01, 2009, 02:38:54 PM
Hello, nao, i was wondering if you have received my PMs on the website? if so have you seen the errors and such?

thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 01, 2009, 02:46:24 PM
Yes I have, but I've had to time to deal with it. I don't even remember what your problem is :)

Update on v6...

- My fix for the "center" tag around URLs works, but it creates other problems for tags that have nothing to do with Aeva. (Namely, img tags.) I'm trying to work to find a workaround around the workaround. Yeah.
- I think the title implementation isn't completely finished. (There's still a "t=" generator which I don't remember feeling to need to leave in, and I have to deal with UTF and double quotes as well.)

Hopefully I can release it tonight, but at worst, it'll be tomorrow (weekday, so I'll have more time on my hands.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 01, 2009, 03:40:08 PM
Quote from: Nao 尚 on March 01, 2009, 02:46:24 PM
- My fix for the "center" tag around URLs works, but it creates other problems for tags that have nothing to do with Aeva. (Namely, img tags.) I'm trying to work to find a workaround around the workaround. Yeah.
I think I'm good... Yaha!

But I still have the title stuff to do, and I'm running out of time for today :(

I wanted to release it on March 1st. It's a milestone for me. Too bad.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 01, 2009, 04:48:24 PM
Aeva 6.0.60 released! (Yay!)

Version 6.0.60                                     1st March 2009
-----------------------------------------------------------------
+ Added optional support of SWFObject to embed videos via JavaScript.
  Among other things, it produces valid xhtml and removes the need to click
  twice on a control to enable it. Requires JavaScript to be enabled, of course.
+ Favorite quality level for YouTube is now saved in a cookie for later re-use
+ Added a sitelist parser in the admin area, which will tell you what changed
  whenever Aeva updates the sitelist automatically (additions, removals, mods)
! Fixed interaction with SMF Media Gallery, where local videos would appear
  twice when they're allowed in Aeva and the [smg] tag is used to show them
! Videos wouldn't be looked up when posted right after a BBC tag. This bug
  was introduced back in Aevac 4.0, hopefully it's completely fixed now.
- Removed double-install protection at install time (SMF would't cooperate)
+ Added ability to disable video titles that show up before starting the video
+ Added ability to show video titles in a clickable link below the actual video
+ Embedded video's <div> now has a class name (maeva), meaning you can style it
! Fixed a warning message that appeared when testing for lookups inside admin area
* Rewrote and shortened readme.txt file, again...

+ Added support for video titles in: YouTube (can also disable inline titles),
  Vimeo (same idea), DailyMotion, Veoh, MetaCafe, Google Video, BBC News,
  Yahoo Video, Multiply and Kewego networks - will add more if requested
+ Added support for Demoscene.tv
+ Added support for Multiply.com (videos only, as audio requires logging in)
+ Fixed support for Yahoo Video, added support for video thumbnails (lookups/embed fix)
! Fixed support for Boomp3.com, but what kind of weird site is that?
! Fixed support for Break.com and merged both entries into one
! Fixed support for Kewego network and changed player, hopefully it'll work better
! Fixed support for Facebook Video (could happen to look up the authentication page)
! Fixed support for TM-Tube.com (added a setting to enable script access for it)
! Fixed support for Streetfire.net (embed code and direct links)
! Fixed support for Project Playlist
! Fixed support for Veoh.com
* Changed Godtube.com to Tangle.com, updated links
- Removed support for Dave.tv (yet another site shut down without warning...)


As you may have noticed from my earlier posts -- this new version, the product of 30 days of intense work, has so many changes that you may encounter issues. Still, I'll be listening and fixing them all as they come. If there are any problems, of course! Because not even I can guarantee that it will be buggy. Lol.
Also, please be aware that I'll be offline for the next 10 hours. The man's gotta sleep sometimes, too.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shumilica on March 01, 2009, 04:53:32 PM
Thanks, i'll try it as soon as possible (even if the current version I use is sufficient for me 5.2.56).
We are all greatfull for your involvement.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 01, 2009, 04:55:02 PM
Nao, in v6 has the flash install pop-up been prevented?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 01, 2009, 04:57:32 PM
Quote from: mark7144 on March 01, 2009, 04:55:02 PM
Nao, in v6 has the flash install pop-up been prevented?
Yes, although not by default. You can disable it through the admin area.

(Makes me think I forgot to remove 'aeva_quality' from the aeva_install file. Oh, who cares, it's just an entry in the DB. I'll remove it next time.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on March 01, 2009, 05:04:27 PM
Oh!! Thanks Nao. Great work. 
   
When you look at it again this.
Big problem is here..
Aeva + Wysing Editor not work :S
Please try this ;
0 - Select Wysing your default editor (in profile area)
1 - Post any video any topic.
2 - And try reply this topic
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 01, 2009, 05:08:25 PM
I'll look into it later. Is there any difference between Aeva 5 and Aeva 6 when it comes to Wysiwyg behavior?

(Now I'm really late for bed... Ahah. Thanks for the nice dreams that'll come for me tonight, Ozgur :P)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on March 01, 2009, 05:09:37 PM
Good night Nao =)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 01, 2009, 05:48:59 PM
Nao, the whole footer the screws up my main website (SSI) but inserting your message in the right side of my website.

Is it easy to remove? I'd like to add your website to my footer manually myself.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nikku on March 01, 2009, 07:34:02 PM
working very nice on SMF 2.0 RC1 http://www.ipergames.com/forum/index.php/topic,716.0.html
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 02, 2009, 01:45:40 AM
Mark, you're never happy with what I'm doing. Will *you* be happy once in your life?

Just make sure you have a div with an id of "footerarea" where you want to place the ©. That's where it is on all Core themes. If it's not found, Aeva adds it at the end of the body element, which may not be as well integrated into the theme, obviously.

@Ozgur> You're just part of my ongoing curse... Every time I release a new version (and that really dates back to Kyodai Mahjongg, 12 years ago), I get someone to point out a bug in the first minutes after the launch. Even when I had a long and exhaustive beta session before that. But it's much less common to actually have one of the beta testers do that ;) Because obviously you should have tested the previous version extensively the way you wanted, shouldn't you? ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on March 02, 2009, 02:10:51 AM
this issue was not in previous version. (rev60)
I found my issue.
Problem is "java script" copright.
Aeva Copr + my menu => wysing is death..
So i try delete aeva coprigth in subs-aeva.php, work fine everthing.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 02, 2009, 02:28:26 AM
Quote from: Nao 尚 on March 02, 2009, 01:45:40 AM
Mark, you're never happy with what I'm doing. Will *you* be happy once in your life?

Just make sure you have a div with an id of "footerarea" where you want to place the ©. That's where it is on all Core themes. If it's not found, Aeva adds it at the end of the body element, which may not be as well integrated into the theme, obviously.
Great thanks.

I'm happy with what you do most of the time but when it breaks my website then I'll ask for some help ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rii on March 02, 2009, 02:30:35 AM
Thanks for the response. I have already done the cache thing many times. I just uninstalled it (v5.xx) and installed the recently posted version 6x. I can see the video in the post now but it display two videos (duplicates) horizontally when I use the youtube rss. If I put just the video url manually, it works fine. I just emptied the cache and logs, and checked the logs again and found same Aeva errors again. I don't know if this is caused by the ProtaMx or mistakes by me.

Quote from: Özgür´ on March 01, 2009, 12:39:06 PM
Can you try cache clean in admin panel?
absolutely! and very..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 02, 2009, 04:08:22 AM
@rii> What are you talking about, YouTube RSS? Why are you posting a RSS feed? Aeva is for posting video URLs, not video feeds. You can't ask it to guess everything you do, eh...

@mark> Anything else you need, sir? :D

@ozgur> Removing the © code is a breach of licence (except if you hardcode it into your footer but you'll still need my permission to remove that code). I'd rather fix your issue, lol. Can you be more specific and give URLs, links, and a step-by-step way to reproduce this? Because I really don't have a single issue with it...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on March 02, 2009, 04:30:35 AM
1 - Go to my site http://www.rockayseri.net/rk/index.php
2 - Login as username : Sebastian / Pass : 123456 (login area in my header)
(Kullanıcı adı = Username / Şifre = Password)
3 - Go to http://www.rockayseri.net/rk/haberler/%27guitar-hero%27-sarkilari-hazir/msg43385/
4 - Try write something Wysivg quick reply or try click "Preview" and write someting

If you want to admin account i give you (:
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 02, 2009, 04:40:15 AM
I'm sorry but... Where's the error? I can't type anything into the box, but that's because it seems to be poorly coded, not because of Aeva or anything. The error log (console) says nothing related to Aeva. Trying to collapse the Quick Reply area generates an error -- do you think it's related to Aeva? I don't think so... :D

(I'm not against an admin+FTP access, but only if there's something to fix on my side, really. And I don't think there is.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on March 02, 2009, 04:50:08 AM
Okay.  I solved this problem until Can I do this way: remove copright code and i write my footer "Video embedding by <a href="http://aeva.noisen.com (http://aeva.noisen.com)" target="_blank">Aeva</a>"
no difference between seems.

Edit : If I disable "Show copyright in forum footer", in all other messages wysing work fine. If messages have a video wysing not work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 02, 2009, 04:56:17 AM
Well then send me an admin account and FTP access I guess.

<sigh>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on March 02, 2009, 05:00:55 AM
I sent pm =))
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 02, 2009, 07:24:04 AM
Okay, I'll get started on it...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 02, 2009, 07:57:44 AM
Can anybody confirm that the new version is ok for the smf 1.1.8?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 02, 2009, 08:15:39 AM
Well, why wouldn't it? ;)

Okay Rock, I fixed your site... Basically: it doesn't have a <footerarea> div, so I added the © text at the end of the body. Your Quick Reply code doesn't seem to like that (yikes!), so I tried harder and now it'll fallback to <class="copywrite"> (which is in your theme, and is likely to be in other SMF2 themes as well) before falling back to the body itself. Unfortunately, this adds 10 lines of Javascript code to each and every Aeva-powered page :( But they won't be executed if <footerarea> is to be found.

I think I'm pretty much done with a tentative 6.0.62 release... (rev 62)
Since it tries to fix the dreaded automatic sitelist update that has been broken for a while, I figured it'd be best to release it ASAP. Will be coming soon, then.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on March 02, 2009, 08:18:26 AM
There IS a bug in the WYS editor. I tried to enable it, posted a video, then quoted it (without embed in quotes), and the youtube link was in the quote, but with the url tag shown as well.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: chrishicks on March 02, 2009, 08:46:04 AM
Question, what exactly is the Project Playlist support? I don't see exactly what it does with it at all on my test board.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 02, 2009, 08:48:43 AM
@akyhne> Can't reproduce, so I'm releasing anyway. Was this already in Aeva 5.x? (Not that I'm in a hurry to deal with wysiwyg problems... I wasted way too much time beta-testing that stuff for the SMF2/Opera combination already ;))

@chrishicks> It has playlists of music files. There's an example URL in Subs-Aeva-Sites.php.

@everyone> New version!

Version 6.0.62                                     2nd March 2009
-----------------------------------------------------------------
! Now using table-based embeds instead of divs, which should fix layout
  issues with Opera, HD, video titles, video size and/or quality levels
! The sitelist updater should now work, as I've added a workaround in case
  the simplemachines.org website doesn't return a full sitelist file
! Try harder to find a suitable footer class before writing copyright
  info to the body itself (which would break a curious Quick Reply mod)
! Video titles could sometimes be hidden if aeva_install.php wasn't run

! Fixed support for EbaumsWorld Videos, added support for video thumbnails
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: netco on March 02, 2009, 08:55:22 AM
Itrayed to install IT through automatic installer as you said
but it says :
"The package you are trying to download or install is either corrupt or not compatible with this version of SMF"

I having rc1
what the proplem exactly ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: chrishicks on March 02, 2009, 09:10:06 AM
Thanks for the lightening fast reply.

Yep, I'm aware of PP. I have 5 different playlists with them with almost 1000 songs combined. But does Avea allow you to post the playlists or is it something else? I currently have to wrap them in html in order to get them to load but this would be cool if I could let members post their playlists without having to edit each of their posts manually to add the html tags.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on March 02, 2009, 09:44:58 AM
Thanks everything  Nao. Do I need to update rev62?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 02, 2009, 10:45:45 AM
Installed 6.0.62 with no problems. Up to now everything ok :)

Please explain me this:     Store & show video titles (if site is supported by Aeva)

Is it only to show the title under the videos? What means 'store'?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 02, 2009, 10:57:54 AM
@netco> Not that I know of. Try to re-download.

@Ozgur> Yeah, if you want to be sure ;) I believe you pretty much have v62 on your site though.

@chris> Yes, normally you should be able to post playlists. Can you post a playlist that doesn't work? (Known song...)

@searchgr> Store = save the title in the message. [url=video_link]video title[/url]
See what I mean? ;)
If you want a video site to have support for titles, try setting 'lookup-title' => true in the site list for this site. With a bit of luck, and if the site is respectful of standards, the title will be stored. (You can then tell me the name of the site, so that I can enable it to retrieve titles automatically for everyone, eheh.)
If someone wants to have a go at trying ALL sites, I could give you some code to make all sites attempt to retrieve a title.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 02, 2009, 10:59:42 AM
I found a problem in yahoo videos. (http://video.yahoo.com/network/100000023)
See attached
1. I have to put the html tags in order to accept the code.
2. Too much empty space under the video.


Everything else is ok.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 02, 2009, 11:01:11 AM
No problems here: http://site.noisen.com/aeva-dev/5060/tests-video-embedding/msg229544/#msg229544
Please post a link to your video in context.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 02, 2009, 11:03:15 AM
 http://video.yahoo.com/watch/4575425/12249341
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 02, 2009, 11:26:21 AM
Lol, I'm asking for a link to your topic... (and that video works on my site, too.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 02, 2009, 11:36:48 AM
if i put the link it works ( http://video.yahoo.com/watch/4575425/12249341)

The problem is if i add the embed code

<div><object width="512" height="322"><param name="movie" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.34" /><param name="allowFullScreen" value="true" /><param name="AllowScriptAccess" VALUE="always" /><param name="bgcolor" value="#000000" /><param name="flashVars" value="id=12241142&vid=4572758&lang=en-us&intl=us&thumbUrl=http%3A//l.yimg.com/a/p/i/bcst/yp/financialtimes/2192/80955718.jpg&embed=1" /><embed src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.34" type="application/x-shockwave-flash" width="512" height="322" allowFullScreen="true" AllowScriptAccess="always" bgcolor="#000000" flashVars="id=12241142&vid=4572758&lang=en-us&intl=us&thumbUrl=http%3A//l.yimg.com/a/p/i/bcst/yp/financialtimes/2192/80955718.jpg&embed=1" ></embed></object><br /><a href="http://video.yahoo.com/watch/4572758/12241142">Feb 27: Lloyds reports loss of £10.8bn</a> @ <a href="http://video.yahoo.com" >Yahoo! Video</a></div>

Also all previous yahoo videos that are in html tags are showing now two times.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on March 02, 2009, 11:54:35 AM
I don't have that issue. You must have some double code somewhere.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 02, 2009, 12:05:23 PM
In order to reproduce it you must have the code in html tags before the installation.

Also any ideas why this video does not appear in firefox? Only in IE.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 02, 2009, 12:22:24 PM
Well it works in Opera, too...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on March 02, 2009, 12:51:47 PM
Quote from: searchgr on March 02, 2009, 12:05:23 PM
Also any ideas why this video does not appear in firefox? Only in IE.

That can be confirmed:
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on March 02, 2009, 12:53:39 PM
Layout issue in IE7 with rev. 62:
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 02, 2009, 01:43:57 PM
Try to refresh or simply go up the page and down. I sometimes get that if I have many tabs open.

Layout issues> Please, please, PM me some links to your pages if you don't want to post them here... But I can't test your stuff without a link!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: netco on March 02, 2009, 02:17:07 PM
I 've  installed okay

and it is displayed well
but  when i go to edit the post i found a duplicate link  , twice  like this :

[url=http://www.youtube.com/watch?v=EemERwpa9Zg]http://www.youtube.com/watch?v=EemERwpa9Zg[/url]

and i got below the editor box this :

', '98%', '600px', 0); editorHandlemessage.addButton('b', '[b]', '[/b]'); editorHandlemessage.addButton('i', '[i]', '[/i]'); editorHandlemessage.addButton('u', '[u]', '[/u]'); editorHandlemessage.addButton('s', '[s]', '[/s]'); editorHandlemessage.addButton('pre', '[pre]', '[/pre]'); editorHandlemessage.addButton('left', '[left]', '[/left]'); editorHandlemessage.addButton('center', '[center]', '[/center]'); editorHandlemessage.addButton('right', '[right]', '[/right]'); editorHandlemessage.addButton('img', '[img]', '[/img]'); editorHandlemessage.addButton('url', '[url]', '[/url]'); editorHandlemessage.addButton('email', '[email]', '[/email]'); editorHandlemessage.addButton('ftp', '[ftp]', '[/ftp]'); editorHandlemessage.addButton('glow', '[glow=red,2,300]', '[/glow]'); editorHandlemessage.addButton('shadow', '[shadow=red,left]', '[/shadow]'); editorHandlemessage.addButton('move', '[move]', '[/move]'); editorHandlemessage.addButton('sup', '[sup]', '[/sup]'); editorHandlemessage.addButton('sub', '[sub]', '[/sub]'); editorHandlemessage.addButton('tt', '[tt]', '[/tt]'); editorHandlemessage.addButton('table', '[table]\n[tr]\n[td]', '[/td]\n[/tr]\n[/table]'); editorHandlemessage.addButton('code', '[code]', '
'); editorHandlemessage.addButton('quote', '
Quote', '
'); editorHandlemessage.addButton('list', ''); editorHandlemessage.addButton('orderlist', ''); editorHandlemessage.addButton('hr', '
', ''); editorHandlemessage.addButton('unformat', '', ''); editorHandlemessage.addButton('toggle', '', ''); editorHandlemessage.addSmiley(':)', 'smiley.gif', 'مبتسم'); editorHandlemessage.addSmiley(';)', 'wink.gif', 'يغمز'); editorHandlemessage.addSmiley(':D', 'cheesy.gif', 'فرح'); editorHandlemessage.addSmiley(';D', 'grin.gif', 'تكشيرة'); editorHandlemessage.addSmiley('>:(', 'angry.gif', 'غضبان'); editorHandlemessage.addSmiley(':(', 'sad.gif', 'حزين'); editorHandlemessage.addSmiley(':o', 'shocked.gif', 'مذهول'); editorHandlemessage.addSmiley('8)', 'cool.gif', 'هادئ'); editorHandlemessage.addSmiley('???', 'huh.gif', 'نعم?'); editorHandlemessage.addSmiley('::)', 'rolleyes.gif', 'أعين متقلبة'); editorHandlemessage.addSmiley(':P', 'tongue.gif', 'لسان'); editorHandlemessage.addSmiley(':-[', 'embarrassed.gif', 'خجول'); editorHandlemessage.addSmiley(':-X', 'lipsrsealed.gif', 'مقفل الشفتين'); editorHandlemessage.addSmiley(':-\\', 'undecided.gif', 'متردد'); editorHandlemessage.addSmiley(':-*', 'kiss.gif', 'قبلة'); editorHandlemessage.addSmiley(':\'(', 'cry.gif', 'بكاء'); editorHandlemessage.addSelect('face'); editorHandlemessage.addSelect('size'); editorHandlemessage.addSelect('color'); editorHandlemessage.addSelect('bp_b'); editorHandlemessage.addSelect('bp_g'); editorHandlemessage.sFormID = 'postmodify'; smf_editorArray[smf_editorArray.length] = editorHandlemessage; // ]]>
[/code]

why this happen ?? please any help ??
[/hr]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 02, 2009, 03:11:01 PM
URL please?
Are you in "footer" or "per message" mode for the copyright?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TDNY on March 02, 2009, 03:14:29 PM
I am totally new to all this computing stuff and this mod was very easy for me to load onto my site/ forum. I'm using the basics but up and running with smf 1.1.8 and the default core theme. Thank you for this Mod.

TD
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 02, 2009, 03:31:15 PM
what is the /i3.ytimg.com that is trying to read?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 02, 2009, 03:34:57 PM
Major bug:

URLs are screwed up.

Normal URL looks like this in source code:
<a href="http://www.bebo.com/colmc154" class="post_link" target="_blank">www.bebo.com/colmc154</a><a href="http://" class="post_link" target="_blank"></a>

I've reverted back to previous version as it also screwed up one of my custom tags. The following custom tag, used for SSI news articles, stopped working as the [ url ] tag was forced around whatever URL I put within it.

   array(
            'tag' => 'cimg',
            'before' => '<div class="cimg"><img src="',
            'after' => '" align="right" alt="" /></div>',
         ),
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: n1cotine on March 02, 2009, 03:37:44 PM
using version 6.0.62 and the youtube urls which are in between youtube tags aren't working
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on March 02, 2009, 03:39:13 PM
Quote from: searchgr on March 02, 2009, 03:31:15 PM
what is the /i3.ytimg.com that is trying to read?

This is yahoo videos server.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 02, 2009, 03:47:45 PM
@ozgur> Actually, that's YouTube's image server. It's loading the video thumbnail. Sometimes it tends to lag a bit.

@everyone> Okay, I fixed a few of the errors in v6.0.62. Nothing "big" so I won't release a new version tomorrow, and I won't update the main file either. I'll do it tomorrow, when I do more bug fixing (if I can reproduce anything).
If you need the update, simply download the attached Subs-Aeva.php file and upload it to your Sources folder. Easy as pie :)

! Flash videos wouldn't play if the first video in the page used another plugin type (WMV, RM, etc.)
! Quality level would be misaligned if no video title was stored
! Global video centering was broken by the new table layout -- now you can center globally, or center per-video by just using the [center] tag :)


@everyone again> Err, I can only read complaints, complaints and complaints here... I knew I was going to get some (there's a reason why it's Aeva "6.0" -- it does major changes to the internal engine), but not that many -- well, at least not that many bugs I can't reproduce on my side. If you could please share links to your pages that screw up (NOT the YouTube or other video link, please!!), it would make my work easier. (Mark, direct link to your post, please!)

I'm off for some TV now. I don't want to brood over compatibility issues too much tonight, lol.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 02, 2009, 03:49:44 PM
Quote from: n1cotine on March 02, 2009, 03:37:44 PM
using version 6.0.62 and the youtube urls which are in between youtube tags aren't working

http://www.simplemachines.org/community/index.php?topic=197280.msg1948105#msg1948105
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 02, 2009, 03:54:09 PM
Quote from: searchgr on March 02, 2009, 03:49:44 PM
http://www.simplemachines.org/community/index.php?topic=197280.msg1948105#msg1948105
I'm considering implementing the [youtube] tag functionality in order to make a custom version of the YTBBC mod and provide a smoother transition to Aeva for YTBBC users. (Although I'm currently not doing it because, well, I just hate the idea of the YT button.)

@mark> forgot to ask: is this only for bebo.com? Or for all sites? Because you may have noticed that nobody else had your issue. You may want to give me ftp access to the Sources folder for that one. (I don't think I have it.)

@TDNY> oh, you're welcome.

Okay, I'm off now :)

Everyone, don't forget to check out my updated Subs-Aeva.php from two posts above if you're having problems!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 02, 2009, 04:15:11 PM
Sorry, I think the link issue with that bebo thing was a false alarm. However, the problem with my custom tag is not but I don't expect you to focus any time on figuring what's wrong if it's just me that suffers but here is some info anyway:

Basically, my [cimg] tag is where you place a URL to an image. But after installing the latest AEVA, when you post the URL, it automatically puts [ url ] tags around it which then stops it showing an image and instead just breaks it.

I've posted the code for the custom tag in my previous post if it's helpful. I can hopefully reproduce this tomorrow on my duplicate forum if that is needed.

Do you have any idea why this is happening?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 02, 2009, 05:18:42 PM
Quote from: mark7144 on March 02, 2009, 04:15:11 PM
Do you have any idea why this is happening?
Actually, yes -- I know pretty well ;)
If you followed the story, someone (don't remember who) complained that doing something like [center]videolink[/center] wouldn't embed the video if it required a lookup. I figured out to fix it by forcing an autolink operation on all tags, except for tags like url, flash, img.
Your cimg tag is not in the list of prohibited tags, so it gets autolinked like the rest.

Several possible solutions:
- Instead of doing a black list, I could do a white list, and only allow the "center" tag and maybe "td" (but then, what about all of the innocent tags released by modders?),
- I could give this up and tell users to add a space before the URL if they need to look it up,
- Or you could manually add cimg to the tag list. Just open Subs-Aeva.php, look for (?!url|iurl|flash|ftp|img) and replace with (?!url|iurl|flash|ftp|img|cimg) or even (?!i?url|flash|ftp|c?img) for some geek power. You'll have to do this on each subsequent release, though.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SumolX on March 02, 2009, 05:21:31 PM
I am getting this error when I try to modify an existing post.

(http://img12.imageshack.us/img12/421/jepv.th.jpg) (http://img12.imageshack.us/my.php?image=jepv.jpg)

Any suggestions what I can do to fix this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 02, 2009, 05:29:23 PM
@Everyone> I've updated the above file (http://www.simplemachines.org/community/index.php?topic=200401.msg1958602#msg1958602) with support for the YTBBC [youtube] tag. If anyone had issues with it and it's fixed with the new version of the file, please tell me. (Or tell me otherwise.) It's just a wild guess.

@SumomX> Can you trying disabling the Javascript version in the Aeva admin area? Maybe it will fix your editor bug. If it does, please tell me, and I'll make sure to try and disable the Javascript version while in the Post editor. It would help even better if you could save the buggy page as an HTML file and attach here (zipped or not) in your reply, thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 02, 2009, 05:44:47 PM
Quote from: Nao 尚 on March 02, 2009, 05:18:42 PM
Actually, yes -- I know pretty well ;)
If you followed the story, someone (don't remember who) complained that doing something like [center]videolink[/center] wouldn't embed the video if it required a lookup. I figured out to fix it by forcing an autolink operation on all tags, except for tags like url, flash, img.
Your cimg tag is not in the list of prohibited tags, so it gets autolinked like the rest.

Several possible solutions:
- Instead of doing a black list, I could do a white list, and only allow the "center" tag and maybe "td" (but then, what about all of the innocent tags released by modders?),
- I could give this up and tell users to add a space before the URL if they need to look it up,
- Or you could manually add cimg to the tag list. Just open Subs-Aeva.php, look for (?!url|iurl|flash|ftp|img) and replace with (?!url|iurl|flash|ftp|img|cimg) or even (?!i?url|flash|ftp|c?img) for some geek power. You'll have to do this on each subsequent release, though.
Thanks giving me a fix for this... it would be nice if you could prevent this for future releases but it's not the end of the world for me to edit it every time :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SumolX on March 02, 2009, 05:46:57 PM
Quote from: Nao 尚 on March 02, 2009, 05:29:23 PM
@SumomX> Can you trying disabling the Javascript version in the Aeva admin area? Maybe it will fix your editor bug. If it does, please tell me, and I'll make sure to try and disable the Javascript version while in the Post editor. It would help even better if you could save the buggy page as an HTML file and attach here (zipped or not) in your reply, thanks.

I have disabled all options and kept aeva master option set to enabled.  The result was the same, it is still corrupt when modifying a post.  I've attached the error.html file.

Thank You for your quick response as well!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 02, 2009, 06:02:14 PM
@mark> There is really no "fix" for that... I'll need other users' opinions. Maybe they only need the center and td tags to get the embed treatment.

@SumolX> Okay I found where the problem is :)

Open Subs-Aeva.php, find echo str_replace('</head>', $scr . "\n" . '</head>', $temp); and replace with echo implode($scr . "\n" . '</head>', explode('</head>', $temp, 1));

Please tell me if it works.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SumolX on March 02, 2009, 07:08:50 PM
Yep, That fixed it!  Thank You so much and thank you for your wonderful mod!!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 01:36:03 AM
Great news :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Malodorous on March 03, 2009, 01:39:09 AM
Thank you for making a great mod i love it and don't want to live without it. I upgraded recently and now when we do youtube videos it will display 3 videos from one link. I'm not sure if this is a simple fix but i have checked all settings and i may have missed over a post. Sorry for wasting your time if it is simple and thank you for your help ahead of time.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 02:24:34 AM
Quote from: Malodorous on March 03, 2009, 01:39:09 AM
Thank you for making a great mod i love it and don't want to live without it. I upgraded recently and now when we do youtube videos it will display 3 videos from one link.
Use the [youtube] fix I posted above. That should do it...
v6.0.64 will use a whitelist system instead of a blacklist system (or the other way around, depending on your point of view), so you shouldn't have the problem in it, but you really, really should use the aeva converter script.

@Everyone> What tags should I allow lookups for? [center], [li] and [td] are pretty much guaranteed, but what about the rest? And is there a really, really really good mod that offers a tag that you can't live without, and that is currently screwed by v6.0.60/62?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 03, 2009, 02:45:11 AM
Does anybody else has a problem with yahoo videos & firefox? These videos cannot be displayed by firefox.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Malodorous on March 03, 2009, 02:54:42 AM
Humm I tried your fix and it just stopped showing videos, not sure what that is about. So I just completely uninstalled and reinstalled and everything is working perfect lol. I love the quality options thank you so much.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 03:02:33 AM
Good :)

v6.0.64 (coming today) now uses the whitelist system. Currently allowed for lookup integration are: center, td, li and any closing tag (had to think of that one, lol).

@searchgr> links to posts where the problem is visible, please?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 03:35:51 AM
Quote from: searchgr on March 03, 2009, 02:45:11 AM
Does anybody else has a problem with yahoo videos & firefox? These videos cannot be displayed by firefox.
Okay I fired up Firefox, and indeed there seems to be a problem with YV...
However:
- It's the only site I know of that has a problem with Aeva,
- Firefox doesn't say anything in the error log, nor does it show a bug when tracing step-by-step through the embed code (grrr),
- It doesn't have the problem when using the Javascript-less engine (which means the Yahoo video player doesn't like the combination of being played through Javascript + Firefox, so it's up to them to fix it...),
- I could add a hack to force the use of the JS-less engine on YV vids for Firefox, but I don't like the idea...

Uh.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 03, 2009, 03:49:19 AM
οκ, thank you very much. Great mod, great support!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 03:55:40 AM
I added the hack, but I'm not proud of it... >_< (Forces Javascript-less code for Yahoo Video embeds + Firefox only.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 03, 2009, 04:01:01 AM
Why you don't like it?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 04:07:44 AM
Well, because it forces all embeds (including when not viewed in Firefox, and not embedding Yahoo stuff) to do the "is it Yahoo AND Firefox?" test...
I prefer generic tests.
I only added the hack because I figured that if anything like that happens again, I'll actually add an option like 'no-js-if-crappy-firefox' in the site list, lol.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 03, 2009, 04:20:55 AM
Quote from: Nao 尚 on March 03, 2009, 03:02:33 AM
Good :)

v6.0.64 (coming today) now uses the whitelist system. Currently allowed for lookup integration are: center, td, li and any closing tag (had to think of that one, lol).

@searchgr> links to posts where the problem is visible, please?
Sorry, not quite sure what it all means but does the implementation of a whitelist now mean I don't need to do that hack for my own custom tag every time?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 03, 2009, 04:45:10 AM
Quote from: Nao 尚 on October 14, 2007, 04:28:15 PM
  • Works for all languages. Will fall back to the English version if your own language is missing.
  • Contains the following translations: English (American and British) and French. You can find more languages at Aeva translations (http://site.noisen.com/aeva-trans/). You can even submit your own over there.

Hi, are you aware of any problems in the fallback to english?
My errorlog is getting flooded with errors from missing 'Aeva.finnish' language file....
I could ofcourse create one myself, but a) wanted to bring this up and b) am unable to access the files directly at the moment...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 04:53:36 AM
Quote from: mark7144 on March 03, 2009, 04:20:55 AM
Sorry, not quite sure what it all means but does the implementation of a whitelist now mean I don't need to do that hack for my own custom tag every time?
Yes. You see? I think of you ;)

It's mainly because I reckoned I shouldn't dive into stuff that has so many consequences outside Aeva itself. It's important the respect a certain quality of... statu quo? So, just let it be, and only try to be cool with a few common tags, instead of trying to be cool with all, and being unknowingly bad to a minority of tags.

@LexArma> I'm not aware of any, no. What is your version of SMF?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 03, 2009, 04:54:15 AM
Quote from: Nao 尚 on March 03, 2009, 04:53:36 AM
@LexArma> I'm not aware of any, no. What is your version of SMF?
1.1.8

EDIT:

With the following mods:

1. Spoiler Tag 0.3.2
2. Edit_Display_Name_Permission 1.0
3. Karma Description Mod 2.3.1
4. Gender On Registration 1.0
5. vReportBoard Mod 1.03
6. Show Local Url Titles 1.1
7. Member posts recount 0.5
8. Enhanced Quick Reply Box 2.0.2 2.0.2
9. Visual Verification Options 0.5
10. Anti Spam! 1.1
11. Aeva ~ Auto-Embed Video & Audio 6.0.62
12. Load Standard Language 1.0.2
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 05:20:37 AM
- I tried removing Aeva.french.php from my site. Got the English version in its place. No error was logged in the admin area. Of course, I tried many times. I even integrated some noexternalembed contents to see how it would fare. (BTW it allowed me to discover that YouTube had changed their noexternal code... So I used the opportunity to fix it.)

- So basically, it works great in SMF 2.0 RC1. As for SMF 1.1.8, I'm tempted to believe that I, or Karl, would have got some feedback a long time ago if it had been a problem.

- I don't know what your "Load standard language" mod does, but I've got a hunch that you should try and disable it to see if it removes the error... If it does, then be sure to tell me and I'll have a look into the mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 03, 2009, 05:48:15 AM
Quote from: Nao 尚 on March 03, 2009, 05:20:37 AM
- I don't know what your "Load standard language" mod does, but I've got a hunch that you should try and disable it to see if it removes the error... If it does, then be sure to tell me and I'll have a look into the mod.
That loads all english language files before local language files, and is used to cover up my mistakes in manually installing mods :P But, yeah ok - I'll disable it (without uninstalling it, atleast for now) and I'll tell you if it has an affect.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 03, 2009, 05:49:52 AM
Quote from: Nao 尚 on March 03, 2009, 04:53:36 AM
Yes. You see? I think of you ;)

It's mainly because I reckoned I shouldn't dive into stuff that has so many consequences outside Aeva itself. It's important the respect a certain quality of... statu quo? So, just let it be, and only try to be cool with a few common tags, instead of trying to be cool with all, and being unknowingly bad to a minority of tags.
Great :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 05:52:35 AM
Here we go ;) v6.0.64 is out. AFAIK, the only remaining issue is LexArma's, and it has not been reproduced/confirmed by anyone else, so I figured I had nothing holding me up from releasing it.

Version 6.0.64                                     3rd March 2009
-----------------------------------------------------------------
@ Here's your daily Aeva. Okay, don't worry, I'm hoping it's the last one...
! Table-based layout wasn't validating properly, and had problems with IE7
! Made sure to insert the Javascript headers only once, for mod compatibility
! The tag whitelist system broke compatibility with third-party video tags, so
  I replaced the tag blacklist with a tag whitelist. This is used when adding
  autolinks on posting for looking URLs up. If a URL has a tag before it,
  the new system will autolink if the tag is center, td, li or a closing tag.
+ Better safe than sorry: added Karl's script (aeva_convert_old_bbcodes.php)
  to the package. If you had a site-specific tag such as [youtube], it will
  convert all of these links to a proper, normal link. Just upload it to your
  root folder, run it and don't forget to delete it when you're done.
+ Added a subtext for the centering option... You never know, it may help.

! Fixed support for Yahoo Video + Firefox (wouldn't work with swfobject)
! Fixed "no external embed" support for YouTube (was changed somehow)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 03, 2009, 05:55:55 AM
Maybe - I'll take a shot in the dark, and uninstall my old version, install this new release - and let's see if it still does the same...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 03, 2009, 06:05:45 AM
OK, first I tried simply disabling (not uninstalling) the standard language mod, didn't seem to have an affect. Then I uninstalled the last AEVA and installed this new release. Works beautifullly as did the last one, but the same error dragged along...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 06:07:37 AM
You'll have to lend me some FTP+admin access to your site when you can.
In the meantime, try to play with the loadLanguage call in Subs-Aeva.php, I don't know what else...
Something like, try removing one of the two calls, or the "if", etc.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 03, 2009, 06:09:07 AM
I'll see what I can make of this, but I'll get you back to you later :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 03, 2009, 06:17:48 AM
Nao: I just ran the script you included and assumed it would remove posts that used the [youtube] tags but it didn't do that, instead it just said: "Congrats, there are no instances of [ytplaylist] bbcode in your messages table of the database".
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 06:24:55 AM
Are you sure it didn't remove the youtube tags...? It should have...

Well, I never actually ran it (lol), but I suppose it would.

Are you sure it ONLY says ytplaylist? Or it gives you a long list?
Are you sure you had a  [youtube] tag in the first place?
Why are you always having problems? lol²
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 03, 2009, 06:43:04 AM
Yes I'm sure it didn't remove the tags. Yes I'm sure it only mentioned ytplaylist rather than a longer list. Yes, I'm sure I had a YouTube tag in the first place.

This remains as the post content:

Quote[youtube=425,350]mJUE5NIQ8jE[/youtube]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: netco on March 03, 2009, 06:46:09 AM
I reinstalled again , now it works well
Thanks Nao 尚
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 03, 2009, 06:57:29 AM
Excellent. Everything ok.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 03, 2009, 07:47:28 AM
Ok, I completely uninstalled the standard language mod, and it didn't help. So I just created a copy of the Aeva.english now that I had the means to do it, and renamed the copy Aeva.finnish.
This seems to have corrected the issue, and now I may think of translating it while I'm at it :)
No idea what actually caused the error in the first place though...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 07:52:58 AM
@LexArma> Well, it'd be cool if at one point you could lend me access to your site, as I already said. I'd be able to track the problem in no time.

@everyone> Thanks for your bug reports, guys!

@mark> Try with both of these files. I really don't know why it's not working for you. I made a few dummy [youtube] posts to Noisen and launched the script -- worked flawlessly, converted them into regular videos, etc.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 03, 2009, 07:55:55 AM
Quote from: Nao 尚 on March 03, 2009, 07:52:58 AM
@LexArma> Well, it'd be cool if at one point you could lend me access to your site, as I already said. I'd be able to track the problem in no time.
I'll think about it. But in the meantime, is there something in particular you would like to know about the server, or the forum installation?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 03, 2009, 08:17:19 AM
Bad news :(

8: Undefined index: aeva_center_desc
File: /home/*****/public_html/Sources/Subs-Aeva-Admin.php
Line: 146
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 03, 2009, 08:25:03 AM
The above errors appear when i deselect or select the option:  Center videos horizontally.

If i change this option and select 'save', three error messages appear in the log time every time.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 08:27:52 AM
@Lex> Not that I can think of.

@sgr> Did you forget to update the Aeva language file in your languages folder? I should have mentioned it, but I updated it with an extra line.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on March 03, 2009, 08:28:50 AM
Quote from: LexArma on March 03, 2009, 07:55:55 AM
Quote from: Nao 尚 on March 03, 2009, 07:52:58 AM
@LexArma> Well, it'd be cool if at one point you could lend me access to your site, as I already said. I'd be able to track the problem in no time.
I'll think about it. But in the meantime, is there something in particular you would like to know about the server, or the forum installation?

Your issue is probably just that some lines had changed/was added to the official languages of AEVA and not the Finnish version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 03, 2009, 08:30:45 AM
Quote from: Nao 尚 on March 03, 2009, 08:27:52 AM

@sgr> Did you forget to update the Aeva language file in your languages folder? I should have mentioned it, but I updated it with an extra line.

Where is this file? I have uninstalled the previous version and installed the new one.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 08:35:20 AM
/Themes/default/languages/Aeva.english.php
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 03, 2009, 08:48:53 AM
Quote from: akyhne on March 03, 2009, 08:28:50 AM
Quote from: LexArma on March 03, 2009, 07:55:55 AM
Quote from: Nao 尚 on March 03, 2009, 07:52:58 AM
@LexArma> Well, it'd be cool if at one point you could lend me access to your site, as I already said. I'd be able to track the problem in no time.
I'll think about it. But in the meantime, is there something in particular you would like to know about the server, or the forum installation?

Your issue is probably just that some lines had changed/was added to the official languages of AEVA and not the Finnish version.

That's just simply not possible, since the point was I had no finnish version of it, and it is supposed to use english in that case. ;)

Quote from: Nao 尚 on March 03, 2009, 08:27:52 AM
@Lex> Not that I can think of.

OK. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 03, 2009, 08:54:24 AM
Replaced with the file that is in the 6.0.64 package but ...nothing.
Note that my forums is utf-8 encoded.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on March 03, 2009, 08:58:13 AM
A few times when testing Aeva, I forgot to upload my native language pack. I never saw your issue.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 03, 2009, 09:01:34 AM
Quote from: searchgr on March 03, 2009, 08:17:19 AM
Bad news :(

8: Undefined index: aeva_center_desc
File: /home/*****/public_html/Sources/Subs-Aeva-Admin.php
Line: 146

Line 146
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 03, 2009, 09:10:53 AM
Can anybody try to add a cnbc video by using html tags and try to change the the option:  Center videos horizontally ?

http://www.cnbc.com/id/15839263
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 10:22:03 AM
@desc issue: your file was obviously not correctly uploaded, as it shows double lines (ie CR+LF instead of simple LF line-feeds for instance, which then get turned into two lines, uh.) --> I'd recommend you properly uninstall & reinstall Aeva 6.0.64 from the package manager. It will definitely fix your problem...

@cnbc> What's it got to do with Aeva? cnbc.com is not supported. Was never requested either anyway.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ken. on March 03, 2009, 11:38:49 AM
I've looked through this support topic and didn't see an issue like mine... hopefully it has not been addressed already.

Running:
SMF 1.1.8
TinyPortal v1.0 beta 3
Aeva 6.0.64

Had an earlier version of Aeva installed and it worked OK, but when this version of Aeva was installed it works as expected for displaying a video but it causes my 'forum' page to show as a blank page... as seen HERE. (http://www.ourfamilyforum.org/FamilyForum/index.php?action=forum) With Aeva turned on the topic with the video works OK when using the direct link:
http://www.ourfamilyforum.org/FamilyForum/index.php?topic=1146.0
If Aeva is turned off the forum page shows OK.


These two errors show in the error log:
Quote../FamilyForum/index.php?action=featuresettings2;save;sa=aeva

8: Undefined index: aeva_center_desc
File: /home/kenkayjm/public_html/FamilyForum/Sources/Subs-Aeva-Admin.php
Line: 146
   
../FamilyForum/index.php?action=featuresettings;sa=aeva;sesc

8: Undefined index: aeva_center_desc
File: /home/kenkayjm/public_html/FamilyForum/Sources/Subs-Aeva-Admin.php
Line: 146
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 12:03:57 PM
What is your problem? Everything looks fine to me...?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ken. on March 03, 2009, 12:12:42 PM
In FireFox the forum page shows up blank when Aeva is turned on.

IE7 = the TinyPortal side and top blocks appear, but all of the other forum page content is blank.
Safari =  OK
Chrome = OK
Opera = OK
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 03, 2009, 12:39:40 PM
The errors are similar to mine (http://www.simplemachines.org/community/index.php?topic=200401.msg1959699#msg1959699)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 12:49:56 PM
Okay, I'm not paid to debug other people's sites, I'm not paid for anything actually, but it seemed strange that it wouldn't work in IE7 at all...

So, I had a look and here's what I found.

- This is isn't Aeva's fault. This is the fault of whoever took a hack at "programming" that unworthy news ticker without even caring to call a simple strip_tags and close any unclosed tag (whether it be BBCode or HTML tag). As a result, one of the <object> tags isn't closed, so IE7 starts going crazy after that and it never closes the main <div>. Bad IE! And bad news ticker programmer who made me waste my time. I can't believe someone would actually do that and get away with it, lol.

- Why is your <object> surrounded with an  tag? You don't need to use it, unless the embed code isn't supported by Aeva at all.

@searchgr> Yeah but I can't help more without some kind of FTP+admin access to your site.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: T-Bag on March 03, 2009, 12:58:55 PM
Hello, I have a problem.
After update to 1.1.8, all videos posted on my forum don't works, but there are not errors on the log.
How to fix it? Thank you in advance.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: n1cotine on March 03, 2009, 01:04:11 PM
I have Aeva 6.0.64 and spoiler mod 0.3.2 . Everytime I post a video link inside a spoiler from spoiler mod the topic gets bugged and it disappears after some minutes of the topic being posted. (click on the topic and it leads me to a blank page)

Any help ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ken. on March 03, 2009, 01:05:07 PM
I'm afraid you've lost me Nao. :)

What news ticker are you pointing to?
I'll take your word when you say that it's not Aeva that is causing the problem, but it's OK when Aeva is turned off so my simple fix would be to turn it off. But that's not what I want to do... I like Aeva and want to use it and I am willing to do some/all of the work here but some clues and hints are sorely needed for me to proceed.  ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 01:09:43 PM
@T-Bag> URL? Is Aeva enabled in the admin area? Is v6.0.64 installed?

@Ken> The thing that scrolls the latest posts through a <marquee> (yuck). Of course it'll be okay when Aeva is turned off -- because then the news ticker has nothing to screw up. It doesn't stop it from being badly coded, see?

@n1cotine> URL to a post that demonstrates this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: T-Bag on March 03, 2009, 01:37:42 PM
Quote from: Nao 尚 on March 03, 2009, 01:09:43 PM
@T-Bag> URL? Is Aeva enabled in the admin area? Is v6.0.64 installed?

Yes, it is enabled. On remote hosting I have 5.x but in localhost I've tried with 6.0.64 and don't works.
Now... I've tried directly in youtube and don't works for me. I think is a general problem of youtube. I hope!!!!  :D
Can you play youtube?

PD: My forum is here (http://www.forzadepor.net/foro)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 01:53:22 PM
YT works for all of us, obviously... It's still the #1 video site, eh. Aeva wouldn't have much of a point without YT support...

Your forum, that's cool but where are the vids? Isn't that what we're supposed to look at?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: T-Bag on March 03, 2009, 02:02:20 PM
Quote from: Nao 尚 on March 03, 2009, 01:53:22 PM
YT works for all of us, obviously... It's still the #1 video site, eh. Aeva wouldn't have much of a point without YT support...

Your forum, that's cool but where are the vids? Isn't that what we're supposed to look at?

In gallery, for example...
http://www.forzadepor.net/foro/index.php?action=mgallery;sa=album;id=2
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 02:13:51 PM
Works fine to me. The YT videos can play. Please update SMG to v1.5.5 though... It fixes a lot of issues.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: T-Bag on March 03, 2009, 02:21:40 PM
Quote from: Nao 尚 on March 03, 2009, 02:13:51 PM
Works fine to me. The YT videos can play. Please update SMG to v1.5.5 though... It fixes a lot of issues.
Thank you
I am updating now
I think that is a problem of our ISP, because youtube doesn't work for two users more...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 02:25:43 PM
Made a silent update to v6.0.64 (i.e. no version number change) with:
- a quick fix for array_diff_key not being supported by PHP < 5.1.0, which triggered a crash when downloading the sitelist. It's a bad idea to have an old version of PHP installed, but sometimes it can't be helped.
- a test for $txt['aeva_center_desc'], so that you don't get the error message, even if there's no reason for it to happen. I don't have time to fight this tonight anyway ;)

So, if you have problems with the admin area, just re-download the mod and copy the Subs-Aeva-Admin.php file to your Sources folder.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 03, 2009, 02:42:11 PM
Now it's ok. You really love this mod :) Thanks for everything.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 03, 2009, 06:04:03 PM
Do you have the "center videos" description below the option? ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 04, 2009, 12:11:06 PM
Seems like the flow of feedback has suddenly stopped. Is everybody happy with Aeva 6.0.64, or are you just afraid to be the first to post on page 100? ;) (BTW I'm using the opportunity to ask if a moderator could please merge the AEVAC topic with this one?)

Just so you know -- given that I hadn't much to do (I will do a few site list additions later, such as Onion, but these aren't tied to a specific release so I can do them when I'm bored eheh), I've resumed work on SMG. I'm not sure how long I'll be working on it, but as a result, I'll be concentrating a little less on Aeva. I have to share my time between both mods, and I worked exclusively on Aeva for something like 6 weeks ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: booch_21 on March 04, 2009, 12:35:26 PM
I'm extremely pleased with all of your efforts and work.  An excellent product!

I'm playing with the Gallery now and am very impressed with how nicely that works.  Your talent is very impressive on both products!

Thank you!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 04, 2009, 12:39:45 PM
Apart from the little language thing earlier, I have nothing to complain either. :) Works brilliantly, and my users are happy with AEVA. So, Thank you!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 04, 2009, 02:35:55 PM
Works brilliantly here too. Thank you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 04, 2009, 02:56:12 PM
Great, thanks guys...

Although I wouldn't say so myself... For instance, today I realized that the center tag won't work anymore when it comes to centering videos individually. Does anyone manage to do it yet? I don't know how I broke it... Worse, I don't know how to reinstall that. :(

I'm also bothered by long titles. They tend to break the layout (I don't know why, but they won't skip to the next line). So I'm currently rewriting to use two TDs instead of one, which correctly breaks the long title into several lines. But I'm also forced to resize the table (instead of just the td) on the fly, which is starting to get on my nerves...!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shumilica on March 04, 2009, 04:14:33 PM
Nao, did you see the acusations about AEVA? (tabloid title - joke) :)
http://www.simplemachines.org/community/index.php?topic=294145.new#new
I stood your side, ma' man!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 04, 2009, 04:30:09 PM
Accusations?
You know, Aeva *can* cause server crashes in certain situations... There's a thread about it currently over at aeva.noisen.com.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 04, 2009, 05:17:51 PM
Rev 65 has been committed and can be found on the usual SVN server for those interested in testing it.
It is NOT a public release, remember. Please don't test it if you suck at computers :)

+ Added option "Try to find titles in all sites", if you're brave enough
  to try and compile a list of sites that support easy title retrieval
* Ensured that sites using the old lookup system can search for a title
+ Added a manual option in per-video anchor settings to center the current
  video -- for instance, anysitelink#center or youtubelink#ws-hd-center
* Tweaked the table-based layout to prevent it from being enlarged by the
  browser without asking (because browsers can be rude sometimes. Yes.)
! The sitelist automatic updater would crash on PHP versions < 5.1
! Forgot to update English language file with aeva_center_desc...
* Very minor changes to the BBCode conversion script


And yes, I was silly enough to actually forget the aeva_center_desc variable in Aeva.english.php... It was in all 5 other language files, just not in that one! (Because it's in the root folder, so I tend to forget it... I should probably move it with the others.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mforum on March 04, 2009, 07:07:39 PM
thanks for rev-65 !!!!
scribd.com works again !!!!!
i have more than 100 embed books  8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on March 04, 2009, 11:01:45 PM
Do you know why the uninstall would fail on ModSettings.php for 5.2.56? I was going to try this new version, but the scary message dissuaded me.
Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 05, 2009, 01:59:45 AM
mforum> I didn't change anything to the embed stuff so it was probably something on your side I guess.... Next time it happens, please attach your generated site list!

Quote from: Tiribulus on March 04, 2009, 11:01:45 PM
Do you know why the uninstall would fail on ModSettings.php for 5.2.56? I was going to try this new version, but the scary message dissuaded me.
Thanks
You probably installed another mod after Aeva, that added something at the exact same place (such as a menu entry). Just uninstall that mod, then uninstall Aeva, reinstall the other mod, and reinstall Aeva (in that order). Problem solved.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on March 05, 2009, 04:10:35 PM
Quote from: Nao 尚 on March 05, 2009, 01:59:45 AM
<<< You probably installed another mod after Aeva, that added something at the exact same place (such as a menu entry). Just uninstall that mod, then uninstall Aeva, reinstall the other mod, and reinstall Aeva (in that order). Problem solved.

The custom actions mod had placed it's modify settings deal in the 2 subaction arrays above the ones for this mod. Changing the order allowed the old version to uninstall and the new one to work.
Thank you very much.
BTW, I hope you didn't take me as being irate as I certainly didn't mean to come off that way.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 05, 2009, 04:59:46 PM
Nope, nope.

Oh everyone >> I've got rev 66 out on the SVN topic over at aeva.noisen.com, if you'd like to test it. I'll release it tomorrow whichever way.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Broken Arrow on March 05, 2009, 07:58:24 PM
I just installed this mod a few days ago and everything is working well.

I have one question from one of my members though. Can it embed snapdrive videos...if not, will it ever?

snapdrive:  http://www.snapdrive.net/
seems my new member uses snapdrive alot  ;)

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tibiaent on March 05, 2009, 09:54:30 PM
Hello,

My information

Version Information:
Forum version: SMF 1.1.8
Current SMF version: SMF 1.1.8

Forum - http://www.forum.tibiaent.com

Problem: I decided to go with the manual install for 1.1.8 and everything was working fine, i got to the part where it says

"Code
aeva_install.php
This file should be able to execute standalone."

I dd not know what to do at that part if it was a command I was suppose to do or if it was there for looks.

I then began the file operations and did everything but "Move the included file "expressInstall.swf" to "the root directory".

I put it in several different spots mainly publichtml/tibiaent/forum where my forums are located.

When I go to 'Features & options' in my admin panel i see the tab 'Aeva' and then 'Aeva Sites' next to it. Then it comes up and looks like this

(http://www.tibiaent.com/images/error5.JPG)

I check the box and click save, then it returns me back to the 'Features & Options' page and did nothing, both the Aeva & Aeva Sites tab does this.

So i did a test in the forums posting a youtube link and it only showed the link. Any idea what I did wrong?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: emonk on March 05, 2009, 11:31:29 PM
Thanks for the new version!!

I have a doubt.
What is the best way to upgrade this mod?
We need uninstall the previous version first, or just need install the new version and this overwrite the old version?

If you can, please write a mini howto for install and upgrade this mod.

Thanks again :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 06, 2009, 01:57:20 AM
QuoteCompatibility
ANY version of SMF 1.1.x and SMF 2.0 will do.
All previous versions of this mod MUST be uninstalled BEFORE installing this version.
Also, make sure to backup your database and files first.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on March 06, 2009, 02:05:29 AM
@Broken Arrow
Nao prefer to collect request over at his webpage.
Aeva and websites (http://site.noisen.com/aeva-req/?PHPSESSID=5a53e8dda1b35f11f74a6fb8f63e7ad2)
QuoteNeed support for any site but YouTube?

@Tibiaent
I'm not sure, so this is a quick guess.
Check if files are writable (777) with your ftp-program
Why not using the packet manager? Aeva should be theme independent in the very most cases?

@emonk
You have to uninstall first.
Aeva have nearly no impact on the SMF files, so you can uninstall and re-install without problems
                         
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 06, 2009, 04:35:01 AM
@ianus> Actually, I removed the double-install protection, I'm afraid. You must have missed when I discussed it. Basically, what happens is that, according to my quick research, SMF will not follow the install script in chronological order. i.e. instead of executing the aeva_install.php script first, it starts by copying the files into the directories, and then it executes the script. The whole idea of the script was to test for the presence of "Subs-Aeva(c).php" in the Sources folder, so it was *always* there, regardless of a double-install, rendering the whole process quite moot.
Thus, I could have changed my solution to something else, such as checking the packages table for an Aeva install, but I decided to call it quits. 99% of all SMF mods need to be uninstalled before being upgraded. That's a "SMF feature" if I may say. I don't see why I should have to fight myself against it, especially when SMF itself doesn't seem to want me to prevent double-installs with some extra code.

@manual installs> they're not needed. Aeva doesn't touch themes, templates or anything. It only changes the Sources folder files and adds a few language files (its own -- it doesn't touch Modifications.english.php). This is all made to avoid having to make manual changes when an extra theme is installed.

Re: next version -- it'll be released today but I don't know at what time exactly... I'm a bit busy with a SMG bug right now. Fraking regeneration feature, eh! I always get into trouble with it. And I can't complain, I wrote most of it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on March 06, 2009, 04:58:49 AM
QuoteActually, I removed the double-install protection, [...]. You must have missed when I discussed it.
Seems so. Sorry for that.
I changed my post above.

Next version:
Take your time, no need to hurry.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 06, 2009, 04:59:35 AM
Nah, I'm releasing today... Ideally at 7:06pm, lol.

It's only a maintenance fix, nothing biggie, no real hurry etc. But I need it to be out before I can resume work on the sitelist ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 06, 2009, 07:17:34 AM
This website is afraid of me*. I've seen its true face. 03/06/09.

* It crashed for a few minutes before I managed to upload the file at the exact time I had planned, lol (couldn't wait until later tonight so I devised a new release time). I even got it down to the second, eheh. 13:06:06 = 12:66:06 = 2x6:66:06... Okay what was I talking about? I mean something interesting and not too geeky?

Version 6.0.66 is out!

Version 6.0.66                                     6th March 2009
-----------------------------------------------------------------
+ Added option "Try to find titles in all sites", if you're brave enough
  to try and compile a list of sites that support easy title retrieval
* Ensured that sites using the old lookup system can search for a title
+ Added a manual option in per-video anchor settings to center the current
  video -- for instance, anysitelink#center or youtubelink#ws-hd-center
* Tweaked the table-based layout to prevent it from being enlarged by the
  browser without asking (because browsers can be rude sometimes. Yes.)
! The sitelist automatic updater would crash on PHP versions < 5.1
! Forgot to update English language file with aeva_center_desc...
+ Added ability to provide a fallback value for sitelist movie patterns
! Fixed a few potential issues in the code that retrieves titles
* Disabled Javascript code for SSI-based calls -- you never know
* Very minor changes to the BBCode conversion script

+ Added support for ExposureRoom (with both quality levels and titles)
+ Added title support for Scribd
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dakpluto on March 06, 2009, 07:24:46 AM
// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Fatal error: Call to undefined function ModifyAevaSettings() in /home/content/d/a/k/dakpluto/html/wwls/wwforums/Sources/ManageSettings.php on line 231



Dunno if this is some type of known error or not, and the search is down.  This appeared right after installing the new version and I get it everytime trying to access the Aeva configuration.

BTW, this is the new 6.0.66 version
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 06, 2009, 07:29:43 AM
Quote from: Nao 尚 on March 06, 2009, 07:17:34 AM
* Disabled Javascript code for SSI-based calls -- you never know
Who on earth would ever want that?  O:)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 06, 2009, 07:32:31 AM
6.0.66 went in painlessly. :) Thank's again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 06, 2009, 08:38:38 AM
Quote from: dakpluto on March 06, 2009, 07:24:46 AM
Dunno if this is some type of known error or not, and the search is down.  This appeared right after installing the new version and I get it everytime trying to access the Aeva configuration.
You forgot to uninstall the previous version before installing that one, eh?

@mark> This isn't about you... What I mean is that SSI calls can be done on any kind of website, and I don't want to risk breaking them by forcing Javascript into their headers, so I took the cautious path. The reason why I did this was actually because of someone over at noisen.com who had crashes with TinyPortal. I added code to disable Aeva when called from ssi_recentTopics(), but unfortunately SSI.php doesn't define SMF as SSI if it's already defined (which is the case when it's not called from within SMF). I figured it didn't cost me anything to keep the workaround. If someone wants to have a go at using the JS version on a SSI page, no problem, just remove the two "(SMF == 'SSI')" in Subs-Aeva.php, it's really easy.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dakpluto on March 06, 2009, 08:43:17 AM
No, I did uninstall the previous version.

And just to make sure, I downloaded the entire sources directory and searched every file for "aeva" to find anything that might be left over.  Nothing was found.

Any other folders I should check for remnants of the old installation?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 06, 2009, 08:50:04 AM
Nope...
Your error is about the same function as is usual with double-installs, but it's not the same message so indeed it's not a double-install, sorry.
I think we already got an error message like this one but I don't remember what came out of it.

I'd say, just uninstall and reinstall... What version of SMF is it?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dakpluto on March 06, 2009, 08:56:52 AM
SMF 2.0 RC1

I uninstalled 5.2.56, then installed this version and been running into this error since then. 

BTW, this is the exact line producing the error:

   // Call the right function for this sub-acton.
   $subActions[$_REQUEST['sa']]();

Pastebin of full ManageSettings.php: http://pastebin.com/m14be14ef

And aye, I've removed Aeva and reinstalled a few times.  Same error after every reinstall.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 06, 2009, 08:59:11 AM
Yay! I get to post reply #2009 here ;D

Your AjaxChatMod stuff obviously broke your file... It ends with }?> instead of a } then a linebreak then a ?>.
This is probably what prevents SMF from installing that snippet correctly.
Try uninstalling Aeva, then uninstalling your chat mod, then installing Aeva, then the chat mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 06, 2009, 09:00:02 AM
Quote from: Nao 尚 on March 06, 2009, 08:38:38 AM
@mark> This isn't about you... What I mean is that SSI calls can be done on any kind of website, and I don't want to risk breaking them by forcing Javascript into their headers, so I took the cautious path. The reason why I did this was actually because of someone over at noisen.com who had crashes with TinyPortal. I added code to disable Aeva when called from ssi_recentTopics(), but unfortunately SSI.php doesn't define SMF as SSI if it's already defined (which is the case when it's not called from within SMF). I figured it didn't cost me anything to keep the workaround. If someone wants to have a go at using the JS version on a SSI page, no problem, just remove the two "(SMF == 'SSI')" in Subs-Aeva.php, it's really easy.
Good, glad you chose to do this :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dakpluto on March 06, 2009, 09:03:59 AM
Quote from: Nao 尚 on March 06, 2009, 08:59:11 AM
Yay! I get to post reply #2009 here ;D

Your AjaxChatMod stuff obviously broke your file... It ends with }?> instead of a } then a linebreak then a ?>.
This is probably what prevents SMF from installing that snippet correctly.
Try uninstalling Aeva, then uninstalling your chat mod, then installing Aeva, then the chat mod.

That did it!  Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 06, 2009, 09:07:33 AM
Nao, i'm impressed :) You are genius!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 06, 2009, 09:15:53 AM
Err... Impressed with what? ^^
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dakpluto on March 06, 2009, 09:21:25 AM
Can I assume this is something I will have to do each time I upgrade AEVA? 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: zach21uk on March 06, 2009, 09:31:22 AM
Can you enable embedding for this website? www.trek-tube.com 

Or tell me how to add support for it?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 06, 2009, 10:12:00 AM
@dakpluto> Well you could also ask the author of that other mod to do things properly, i.e. use the <search position="end" /> parameter for adding data to the end of a file, instead of "after" or "before". Just forward this to him, I'm sure he'll get it ;)

@zach> it's obviously your own site. I have a policy against that, except if the site is awesome. Sorry, no, I love Star Trek just as much as the next geek (especially DS9), but no.
As for adding it yourself, that's what Subs-Aeva-Custom.php is for. There's a whole documentation in it. Good luck, because you're going to need to add a lookup for your URLs ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on March 06, 2009, 10:43:55 AM
Upgrade went flawlessly.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tibiaent on March 06, 2009, 10:47:14 AM
It still will not work. Will someone review my post on page 100 and give me an exact way on how to fix this problem
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: zach21uk on March 06, 2009, 10:51:36 AM
Quote from: Nao 尚 on March 06, 2009, 10:12:00 AM
@zach> it's obviously your own site. I have a policy against that, except if the site is awesome. Sorry, no, I love Star Trek just as much as the next geek (especially DS9), but no.
As for adding it yourself, that's what Subs-Aeva-Custom.php is for. There's a whole documentation in it. Good luck, because you're going to need to add a lookup for your URLs ;)

I'm pretty bad at coding - is there any chance you could help me?   I'll pay if thats what it takes.....?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 06, 2009, 11:30:02 AM
@Tibiaent> Hmm... If you don't get help immediately, it means no one can help. You'll need to provide me with an admin account and I'll have a look when I have some time. But really, have a look at your site -- it has some code visible at the top of the web page. You should obviously reinstall SMF because you did something wrong...

@zach> Hmm... Okay I may do it for the complete box sets of TNG and DS9 money, I'll have a look when I have it. How much then? ;D But really, have a look at your site -- it has an amateurish feel. Kudos for the ambition, but you should obviously learn at least the basics of PHP programming before you start doing a website at all. Otherwise you're doomed to fail I'm afraid.

@myself> Hmm... I really should stop copying & pasting my answers, someone will end up noticing one day.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: zach21uk on March 06, 2009, 11:35:06 AM
Quote from: Nao 尚 on March 06, 2009, 11:30:02 AM
@zach> Hmm... Okay I may do it for the complete box sets of TNG and DS9 money, I'll have a look when I have it. How much then? ;D But really, have a look at your site -- it has an amateurish feel. Kudos for the ambition, but you should obviously learn at least the basics of PHP programming before you start doing a website at all. Otherwise you're doomed to fail I'm afraid.

I didnt code the site myself.  I am using PHP Motion to run the site (see www.phpmotion.com)    Does $15 via paypal seem fair to you?  PM me with your Paypal Info if thats ok
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: digit on March 06, 2009, 02:50:40 PM
Quote from: Nao 尚 on December 31, 2008, 10:03:16 AM

QuoteEmbed Local Files [Excludes attachments] --> what does "exclude attachments" mean? That attachment's won't be shown as actual attachments anymore or that it doesn't work with attachments? Or something else?  ;)
It won't work with attachments.

Can you explain how I would use it to embed local files? 

I have selected...

>Embed Local Files [Excludes attachments] >Quicktime files (.mov)

I uploaded a .mov file to the root of my website, pointed right to it with a full URL, yet it is just displaying the URL.

I just want to be able to attach and embed .mov files.  (or at the least upload them and get them to embed)  Is this impossible?

Hmm, with the admin's html ability, I guess I can embedd it with the html tag.

hmm

Thanks in advance.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 06, 2009, 03:29:18 PM
I will need a direct link to the message where you attempted to post your file. (PM me if you don't want it public.)

@zach> Yeah, why not. PM me tomorrow, I'm done for today (just committed a huge update for SMG, I'm exhausted.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: emonk on March 06, 2009, 05:29:27 PM
wooooooooooooooooow men now this mod kick ass

http://www.antipro.com.uy/foro/index.php?topic=3831
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: basis on March 06, 2009, 06:03:44 PM
hi all,

thanks for the new version! congrats & keep up the great work!

Was on a version 5.2.56, and decided to upgrade. I did uninstall 5.2.56 (but did not delete) and then installed ver 6.0.66. Now I am getting a really weird error.

Whenever I go to the "Aeva Administration - Settings" page, and select "Enable Aeva mod (Master Setting)", my forum page goes blank. I get a white screen!

I can get it back by not enabling the mod. I never had this problem with previous versions of Aeva. Any idea?

(This maybe related to my search functionality issue, but I doubt anyone's interested in helping me on that)

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 06, 2009, 06:08:34 PM
@emonk> Yes, but you should redefine the color of aeva_dq in your style.css file ;) Otherwise the currently selected quality level is invisible.

a.aeva_dq:link { color: white !important }

Although it won't work for now... I just realized Aeva's version has the "important" flag as well, and since it comes last... Uh!
You can still edit the Subs-Aeva.php to remove the aeva_dq definition (around line 500), I'll fix it in the next release.

@basis> Are you using TinyPortal? Try to disable SMF's compressed output feature (server settings).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: basis on March 06, 2009, 06:11:56 PM
Quote from: Nao 尚 on March 06, 2009, 06:08:34 PM
@basis> Are you using TinyPortal? Try to disable SMF's compressed output feature (server settings).

hi Nao, thanks for helping.

yes I am using TP. (see signature for all mods).
I tried disabling SMF's compressed output feature but no luck on that. the blank screen still appears. very odd.

edit: i decided to go back to Aeva ver 5.2.56. i do not get the blank screen. really weird.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 06, 2009, 06:15:47 PM
Hmm, in the meantime I guess you should enable the "disable Javascript engine" stuff in the Aeva admin area.

Send me FTP+admin access by PM if you'd like me to have a deeper look.
I'm off to bed now, though.

PS: you may also simply want to disable the "Recent Posts" blocks. These are known to cause this.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: basis on March 06, 2009, 06:26:47 PM
Quote from: Nao 尚 on March 06, 2009, 06:15:47 PM
PS: you may also simply want to disable the "Recent Posts" blocks. These are known to cause this.

hey thanks Nao. that seem to do the trick. but I am rather fond of the "Recent Posts" block and find it very useful.

is there a known workaround to get have that block co-exist? or an alternative?

btw it seem to also fix my search problem which i've been trying to resolve for a very long time, so you may have helped me in that as well! big thanks!

will continue to debug, but if all goes well - i really hope everything is working (except for "Recent Threads" block)

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ketchup on March 07, 2009, 02:45:37 AM
when i try to download this nothing happens on the smf site just says

Sorry, but the modification could not be parsed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on March 07, 2009, 03:41:53 AM
Quote from: ketchup on March 07, 2009, 02:45:37 AM
when i try to download this nothing happens on the smf site just says

Sorry, but the modification could not be parsed.

Temporary "feature". SMF-devs are updating things at the moment.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 07, 2009, 08:34:11 AM
Quote from: basis on March 06, 2009, 06:26:47 PM
hey thanks Nao. that seem to do the trick. but I am rather fond of the "Recent Posts" block and find it very useful.

is there a known workaround to get have that block co-exist? or an alternative?
Have you tried turning off the Javascript option in the Aeva admin area? I don't think it'll help much, though.

Quotebtw it seem to also fix my search problem which i've been trying to resolve for a very long time, so you may have helped me in that as well! big thanks!
Lol. What search engine is this?
We're trying (with Bloc) to fix the incompatibility between TP1 and Aeva6, and we haven't got much of a clue for now...
Well I thought that output compression was the solution but apparently it wasn't for you...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: hvyhitter on March 07, 2009, 10:56:57 PM
Quote from: Nao 尚 on March 06, 2009, 08:59:11 AM
Yay! I get to post reply #2009 here ;D

Your AjaxChatMod stuff obviously broke your file... It ends with }?> instead of a } then a linebreak then a ?>.
This is probably what prevents SMF from installing that snippet correctly.
Try uninstalling Aeva, then uninstalling your chat mod, then installing Aeva, then the chat mod.

this was the fix for me.. Uninstalled AjaxChatMod then installed Aeva then AjaxChatMod. THen all was cool.

now i just gotta figure out how to use the Aeva mod? lol

dont see a button or anything.. how do you use the blasted thing?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on March 07, 2009, 11:38:32 PM
You have to enable the mod in Adminpanel -> modifications
After that, you simply add a video-url into a post and your are done.

Mmh, it seems, you figured it out already? (Re: Video Embedding NOW works. (http://www.hvyhitter.com/index.php?PHPSESSID=nahkh4c1euiugto81rvn4hclh6&topic=73.msg664#msg664))




Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 08, 2009, 03:55:44 AM
lol, the link shows that Hulu seems to support video titles... ;)
Well at this point I think 95% of video sites support them anyway... It's very rare when one site doesn't have a <title> or <meta title> tag that doesn't match the video's name.

Quick poll: do you think I should leave the video site's name in, when it's indicated in the title tags? (I specifically removed YouTube's because they already have a logo in the thumbnail.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on March 08, 2009, 09:41:07 AM
The videos site name? In the title? Yer, no need for that.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on March 08, 2009, 11:49:59 AM
We are no need site name in title.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 08, 2009, 11:50:57 AM
No need.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 08, 2009, 12:31:46 PM
Okay then... I'll try to leave out the name whenever possible. I'm trying to respect the host sites but as long as the link points to them, it should be good I guess...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on March 08, 2009, 12:55:00 PM
They should be glad you even post a link to their site - as the only one using their embed code AND their title.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 08, 2009, 04:12:25 PM
Version 6.0.67 is out...

But since the mod site crashes when I try to update it, I'm forced to post it over at Noisen in the meantime ;)

Version 6.0.67                                     8th March 2009
-----------------------------------------------------------------
! Fixed lookups not being triggered if a title was already provided
  and it had a # in it (which probably happens more than you'd think)
! Optimized object building routine -- not by much, but don't complain
! Made sure aeva_dq class can actually be overwritten in style.css
! Title search would fail if title was broken over several lines
! Decode HTML entities, such as double quotes, when retrieving titles
* Fallback value for movie patterns is now even more flexible

+ Added support for The Onion (with titles)
* Added a thumbnail logo for EbaumsWorld because it's so sad
! "No external embed" and audio were half-broken in BBC News


First time Aeva breaks the 100KB bar!
http://site.noisen.com/aeva-dev/5143/test-svn-releases/msg229736/#msg229736

I'm not sure whether the download can be accessed by guests, so if you don't have an account, don't just create one for that. Wait until the crash is fixed, shouldn't be long. There are no critical updates in v67 so there's no harm in waiting.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Lavarinth on March 08, 2009, 04:29:46 PM
Nao, I'm sorry if I've missed this, but is there a way to force limit the width to a certain amount, since my forum doesn't actually go past around 600 pixels in width. I tried searching, but 103 pages is pretty intense =)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on March 08, 2009, 06:26:58 PM
Quote from: Lavarinth on March 08, 2009, 04:29:46 PM
Nao, I'm sorry if I've missed this, but is there a way to force limit the width to a certain amount, since my forum doesn't actually go past around 600 pixels in width. I tried searching, but 103 pages is pretty intense =)

Edit the Subs-Aeva-Custom.php - like this:

foreach ($sites as $si => $te)
{
if ($te['id'] == 'ytb') {
$sites[$si]['size']['normal'] = array(594, 480);
$sites[$si]['size']['ws'] = array(800, 480);
}
}


You can edit for 'normal', 'ws' & 'hd'.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 08, 2009, 07:24:55 PM
This is all explained in the Custom file, with examples and everything ;)
It's like a doc in itself.

Re: Aeva 6.0.67 -- I've reuploaded the file over there (I had to take it down to fix a bug that would completely break post viewing when using PHP 4.x -- fortunately I was able to quickly see it since I wanted to install Aeva on my other forum which is on PHP 4.4).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Lavarinth on March 08, 2009, 09:12:08 PM
Yeah - I noticed, after akyhne's post. (Thanks, by the way.) My bad =P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: tridirk on March 08, 2009, 11:34:50 PM
I got a problem, uninstalled and deleted previous version of the mod, and when I download and install the new version, I am redirected to the aeva admin panel, and get this:  on a big blank white screen.

And the mod doesn't work.  How can I fix this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 09, 2009, 03:13:28 AM
Admin account on your site, please?

Are you using PHP4? (I don't think it's related, as the bug I mentioned only happened in forum posts...)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: tridirk on March 09, 2009, 03:41:29 AM
I just checked and am running php4, although I do have the option to go to php5.  Do you want me to set up an admin account so that you can access the admin section of my forum?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 09, 2009, 04:45:21 AM
Yes thank you. Just PM it to me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kizer on March 09, 2009, 12:44:46 PM
Wow I just updated to 6.0.66 from 4.20ish and what an improvement.

Nice work. I normally try and keep up with mods, but honestly what I had seemed to be working, but this does a lot better. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 09, 2009, 01:02:34 PM
Yeah... That's what happens when geeks take over the world, eheh ;)
I try to give people a reason to upgrade. And as an extra, they don't even need to uninstall/reinstall, it's just a matter of copying the new files to their respective folders. (At least since Aeva 5.2 where I devised this.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Filipina on March 09, 2009, 06:20:49 PM
Helo sorry for the stupid question i have the latest version of this installed on the default theme... love it!  Anyway you say this in the instructions

Just copy the URL from your address bar into a post (like http://youtube.com/watch?v=B8XC7idFyvE), and Aeva will do the rest. It's the ultimate user-friendly way of posting clips. YouTube videos will automatically appear in HD and Widescreen if enabled!

Well mine are not showing HD and Widscreen and I cannot find a check option for this in the admin section :)  Any idea?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 10, 2009, 03:29:34 AM
You disabled lookups. Just enable them in the admin area.

@Everyone> Aeva 6.0.67 is finally available at the mod site (the bug I reported was fixed tonight).
I decided to leave it as 6.0.67 even though I added support for Deezer Playlists & Radio in the meantime, because the site list is now separate from Aeva releases (I mean, I would have released the thing separately anyway.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 10, 2009, 06:44:36 AM
mforum mentioned a bug in Aeva which I hopefully fixed.
Since it only happens in some specific cases, I'm not sure it's worth releasing a silent update to v6.0.67, what do you think?

Hopefully the fix is in this post:
http://site.noisen.com/aeva-dev/5143/test-svn-releases/msg229750/#msg229750

It's about some videos not embedding at the end of a topic, even though they didn't go over the max_per_post or max_per_pag setting.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 10, 2009, 08:23:53 AM
Okay, mforum confirmed that this indeed fixes his issue...

If you want the latest & greatest, just re-download the package from the mod site, and replace the Subs-Aeva.php file with the new one. The only difference is that bug fix.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mcatto on March 10, 2009, 10:03:02 AM
How i can resize the video windows in this version.
I have 1280x720
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 10, 2009, 10:29:20 AM
Read the Subs-Aeva-Custom-Example.php file...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Filipina on March 10, 2009, 10:34:58 AM
Quote from: Nao 尚 on March 10, 2009, 03:29:34 AM
You disabled lookups. Just enable them in the admin area.

I already have look ups enabled and it says "This feature WILL work on your server" but none of mine are showing Widescreen :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 10, 2009, 11:21:57 AM
Maybe your videos are not in HD. It happens many times. Did you check it?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 10, 2009, 11:35:16 AM
@Everyone> new site list online, just go to your Aeva admin area and add ";fvt" to the URL to force an automatic update (fvt=force version test).

@Filipina> Sometimes, even when lookups are enabled, they won't work.
Basically, it all comes down to what your server can download and see remotely.
e.g. a Turkish server won't be able to lookup YouTube because YouTube is banned in Turkey, from what I saw recently (I think Thailand is also banned but I don't think your country is.)
It doesn't matter that the site's owner can view YouTube himself... If their server isn't configured to bypass such problems, then they're screwed. Of course, I would say that if they can accept living in a country where the government can get away with banning popular websites for a reason or another, they can accept that.

Filipina, I will need FTP access to your Sources folder before I can tell you what's wrong.

Alternatively, you may also want to install SMF Media Gallery and test video embedding inside albums (it uses Aeva so it could be interesting.)

Finally-- just look at the contents of your posts. Do they say #ws in the YouTube URLs? If yes, then it's a problem with the code. If not, it's a problem with the server.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Filipina on March 10, 2009, 01:04:01 PM
Quote from: Nao 尚 on March 10, 2009, 11:35:16 AM
@Filipina> Sometimes, even when lookups are enabled, they won't work.
Basically, it all comes down to what your server can download and see remotely.
e.g. a Turkish server won't be able to lookup YouTube because YouTube is banned in Turkey, from what I saw recently (I think Thailand is also banned but I don't think your country is.)
It doesn't matter that the site's owner can view YouTube himself... If their server isn't configured to bypass such problems, then they're screwed. Of course, I would say that if they can accept living in a country where the government can get away with banning popular websites for a reason or another, they can accept that.

Filipina, I will need FTP access to your Sources folder before I can tell you what's wrong.

Alternatively, you may also want to install SMF Media Gallery and test video embedding inside albums (it uses Aeva so it could be interesting.)

Finally-- just look at the contents of your posts. Do they say #ws in the YouTube URLs? If yes, then it's a problem with the code. If not, it's a problem with the server.

ok, I must confess to being an idiot right here and now in front of the SMF community :) It appears none of them were widescreen or HD. Then I found one and tried it and it was very jumpy, slow, kept restarting.... hmmmm maybe I want that function disabled now! LOL   

I am in the US but most of my female members are from the Philippines so not sure but doubt it is banned :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 10, 2009, 01:26:19 PM
You need at least 2.5mbit internet connection for hd videos.
As Nao said: Favorite quality level for YouTube is now saved in a cookie for later re-use. You don't have to disable it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 10, 2009, 01:33:16 PM
@Filipina> Just select another quality level, like HQ. (Make sure quality levels are shown -- they won't show up if you disable the Javascript engine or lookups.) If HQ is not available as a quality level, then Aeva will offer to view it in the best quality available. Again, if it's HD, just select the next best thing. I could make a list of "preferred formats" for every user, sorted by preferred order, but that would be overkill eheh.

@searchgr> Actually, it can't be disabled anymore I believe. Given that people can avoid viewing in HD now :)

Oh God, I love that new quality level system. It was such a PITA to program, but it's so rewarding now!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on March 10, 2009, 01:42:32 PM
Quote from: Nao 尚 on March 09, 2009, 01:02:34 PM
<<< And as an extra, they don't even need to uninstall/reinstall, it's just a matter of copying the new files to their respective folders. (At least since Aeva 5.2 where I devised this.)

Just a par boiled minute here. Are you then saying that this:
QuoteAll previous versions of this mod MUST be uninstalled BEFORE installing this version.
Also, make sure to backup your database and files first.
no longer applies? 8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 10, 2009, 03:25:44 PM
Well it has not applied since v5.2. But this isn't "official". It's just something I'm striving to do. (Uh... Striving? It's easy as pie actually... As long as I don't add features that require modifying SMF core files...)

What the warning means (and remember, it was written by Karl, not me), is that SMF doesn't allow mods to be installed over a previous install -- it will screw everything up. If you want to use the package installer -- uninstall first.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on March 10, 2009, 05:20:32 PM
Very cool. I missed that.
Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 10, 2009, 05:29:01 PM
I'm really trying my best to make this a flawless experience.
For instance, I tried hard to make Aeva self-aware of an existing install and stop installing itself in that case, but alas it wasn't possible. I devised other ways of making sure Aeva could find the existing install, but even though it's technically possible, the moment it can see there's an existing install, it's already too late -- all I could say was warn the user that they're in trouble and they'll have to manually uninstall the extra version. Uh.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on March 10, 2009, 06:15:37 PM
If you can spot that Aeva is already installed... couldn't you then just give a warning in the redirect window?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 10, 2009, 06:54:38 PM
As I said -- I can use code to spot whether it's already installed, but that code will only execute AFTER the new package is installed, i.e. when it's already too late...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on March 10, 2009, 07:34:26 PM
Yeah, but then you have the ability when people are redirected to the redirection (that was a hard one) to let them know they should uninstall again due to a double installation.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 11, 2009, 05:28:47 AM
Yeah but it's too late already...
I mean, what good is there in adding code to tell users, "you screwed up, now you'll have to uninstall manually"?
Apart from having to figure it out by themselves... Which they deserve :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 11, 2009, 09:33:44 AM
Most Popular Mods

   1. Aeva (YouTube/video/.

:D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 11, 2009, 11:31:18 AM
Yeah... I know, eheh ;) I'm even getting twice as many downloads as the second in the list.
I think that's due to the "mod site stats" page being down, and me releasing a new Aeva the day before it went down, so all people had access to was the "latest updates" list, in which I featured prominently... Well, that's the only guess I can give at least. I don't think it's due to a change in quality or a sudden boost in people wanting to add videos to their boards, lol!

(Aeva used to be #1 before I had the v4 file removed, though, so maybe it's just a return to normality.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 11, 2009, 11:42:09 AM
Quote from: Nao 尚 on March 11, 2009, 11:31:18 AM
(Aeva used to be #1 before I had the v4 file removed, though, so maybe it's just a return to normality.)

I know :) Time to setup a new (third) mod :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 11, 2009, 12:33:17 PM
When hell freezes over, yep!  :'(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: hvyhitter on March 11, 2009, 12:43:50 PM
What an INSANELY sweet Mod this is.. and yes.. once I uninstalled the ajaxchat and put this one first. WOW.. worked awesome.. What an EXCELLENT EXECELLENT MOD. Makes SMF a really SWEET forum SW.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: basis on March 11, 2009, 12:44:20 PM
Sorry I did not reply earlier :( my bad.

Quote from: Nao 尚 on March 07, 2009, 08:34:11 AM
Quotebtw it seem to also fix my search problem which i've been trying to resolve for a very long time, so you may have helped me in that as well! big thanks!
Lol. What search engine is this?
The SMF forum search engine. The previous problem with the search engine was that if I wanted to search something, sometimes it will return a blank page :(

QuoteWe're trying (with Bloc) to fix the incompatibility between TP1 and Aeva6, and we haven't got much of a clue for now...
Well I thought that output compression was the solution but apparently it wasn't for you...
I tried disabling Java, enabling compatibility, in the end I have to turn off AEVA :( it was either that or I loose the recent posts bloc and seems like my forumers prefer that. I just tested with the latest build AEVA 6.0.67 but no dice either :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 11, 2009, 01:20:27 PM
Thanks hvy ;)

@basis> did you try my fix from last week? Everyone reported that it fixed their problem...
http://site.noisen.com/aeva-support/5198/aeva-500-forum-error/msg229646/#msg229646
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: tridirk on March 11, 2009, 06:55:28 PM
Hi Nao;

Thanks again for the mod and your help.  I have a question?  I have the newest version, and I can't get local vids to appear in posts?  I have them on my website non smf files, and when I post the link, it spaces in the post for the player, but the movie never appears, only the link under where the player would be?

Do I need to modify on of the non default templates for the theme I am running?


It works in IE, just not in Firefox?  Must be a setting or plugin needed.  Sorry

Thanks;
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 11, 2009, 07:06:53 PM
Didn't you already have this problem? Direct link please.
I'm off to bed anyway.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: tridirk on March 11, 2009, 07:30:13 PM
Me?  No, I had a problem with the page going white on Admin... Thanks, get some sleep all is well.  No issues for me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cheech on March 12, 2009, 07:16:23 AM
I just installed your latest version 6.0.67 (same happens with the next oldest version) and I get this error when I enable the mod and click home on my site:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.



--------------------------------------------------------------------------------

Apache/1.3.33 Server at killchin.com Port 80

error goes away when I disable the mod. I am using SMF 1.1.8 and have the following additional mods active:
Custom Profile Field Mod
Stop Forum Spam
Ultimate Profile
simplemp
Treasury
SMF 1.0.16/1.1.8 update

any idea what to do to fix this?
thanks in advanced
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 12, 2009, 07:26:48 AM
Are you sure you don't have a portal installed?
If yes, then I'll need FTP+admin access to your website. Errors 500 are the toughest to fix.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cheech on March 12, 2009, 09:19:12 AM
I'm sorry but quite sure what you mean. I do use tiny portal "TinyPortal v.1.0.6 beta 2 © Bloc" I am the only admin, it's my own site so I have ftp rights. hope this helps
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 12, 2009, 10:48:50 AM
So, check out my site at Noisen for a thread with the fix...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 12, 2009, 01:10:51 PM
Aeva 6.0.68 is out!

It's mainly a bugfix release.
Several rare bugs were discovered in the "max embeds per post/page" area, so I decided to rewrite most of it. Now it also allows showing a "Limit reached" warning next to the untransformed links. I don't know who requested that (Mark, was it you?), but it's there now.

The full changelog & download link are on page 1 of this topic, as usual.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: quiz_modder on March 12, 2009, 02:53:56 PM
I have had this mod working fine for a long time through numerous updates. However, since 6.0.67 (and also 68) my users have been getting the following errors when trying to view latest unread posts or replies and seems to be intermittent.

"The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression." (firefox)

or

"Internet explorer cannot display the webpage"

I have just disabled the mod and the message has gone. I turned the mod on and it came back. So I have disabled it again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 12, 2009, 03:10:53 PM
That's a nice story. Does it have a happy ending?

I suppose that even though you didn't ask a question, there was one implied, eh?
Just disable output compression.
If you have a quota on monthly transfers, you'll have to apply a better fix though.
Having TinyPortal installed I guess? Then follow the other advices...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: quiz_modder on March 12, 2009, 03:45:25 PM
Quote from: Nao 尚 on March 12, 2009, 03:10:53 PM
That's a nice story. Does it have a happy ending?

I suppose that even though you didn't ask a question, there was one implied, eh?
Just disable output compression.
If you have a quota on monthly transfers, you'll have to apply a better fix though.
Having TinyPortal installed I guess? Then follow the other advices...

Sorry, I wasn't trying to be sarcastic or anything (unlike you), I was simply pointing out my experience. Yes, obviously I forgot to ask how to get past this issue.

Output compression from where?

No, I have PortaMx installed (another portal)

Thanks and I do appreciate the hard work that goes into these mods.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 12, 2009, 03:52:25 PM
Quote from: S_M_F_Modding on March 12, 2009, 03:45:25 PM
Sorry, I wasn't trying to be sarcastic or anything (unlike you),
Well that's just how I am. It's implied in my sig ;) No offence really.

QuoteOutput compression from where?
Server settings in admin area.

QuoteNo, I have PortaMx installed (another portal)
That's pretty much the same thing.
This is a common issue with Aeva: ever since the release of v6, which adds a sh*tload of features at the cost of more complex code, there's an incompatibility with SSI requests that contain a call to parse_bbc(). You can either disable Aeva before each parse_bbc() call, or disable the "recent posts" block in your portal. This is mainly the origin of the problem.

Of course, it would be best if I could find out *why* it's not working in these situations. I had access to such a server but was unable to trace it down to the source of the problem.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on March 12, 2009, 08:33:54 PM
Quote from: Nao 尚 on March 12, 2009, 03:52:25 PM
<<< This is a common issue with Aeva: ever since the release of v6, which adds a sh*tload of features at the cost of more complex code, there's an incompatibility with SSI requests that contain a call to parse_bbc(). You can either disable Aeva before each parse_bbc() call, or disable the "recent posts" block in your portal. This is mainly the origin of the problem. >>>

Ahh, I had this issue, but never said anything because I figured out that disabling output compression stopped it and figured it was maybe something with my server. I have a recent posts block with SimplePortal and it did start right after I set it up now that you mention it. I woulda never put those 2 together if I lived to be a million.

If it's any clue it didn't do it when I was in the admin account (#1), but did with every other one.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 13, 2009, 03:06:57 AM
There's really nothing I can do for now... Unless someone else is willing to give me FTP access. Then maybe I'll be luckier than on the other server I tested.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 13, 2009, 03:27:23 AM
Quote from: Nao 尚 on March 12, 2009, 01:10:51 PM
Mark, was it you?
Yes, nice one :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: bluegray on March 13, 2009, 06:54:45 AM
I get a browser crash and 'Segmentation fault' error in Firefox and Epiphany when flash is enabled and this mod is installed. I normally don't have a problem viewing youtube videos, but somehow the Aeva embedding code crashes the browser.
I am using the latest flash plugin from adobe's site with the latest firefox on linux.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 13, 2009, 07:08:22 AM
Never had a single crash with Aeva on.
I had a few with Aevac, though. But it was long ago. I figured the new swfobject-based code would be even more stable.
Did your page have lots of videos on it?

PS: Flash, in general, is prone to crashes even on stable machines, it depends on many factors but mostly it's a very, very rare thing. I had a browser crash due to Flash last week -- the Flash component worked fine, but when I hit "Back" on my browser tab -- everything froze. Lol.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: bluegray on March 13, 2009, 07:54:44 AM
No, it was just one video on the page.
I've had certain pages (usually with lots of content) crash the browser before, could never pinpoint the reason though.

I tried a few things - if I remove the '<param value="transparent" name="wmode">' from the source, it does not crash the browser, but all I get is an empty white space in the table.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 13, 2009, 08:40:01 AM
Hmm... Very strange.

Does anyone else have similar crashes with Aeva? If yes, can you test by disabling wmode, too?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 13, 2009, 08:50:11 AM
No, never.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on March 13, 2009, 09:26:22 AM
QuoteOf course, it would be best if I could find out *why* it's not working in these situations. I had access to such a server but was unable to trace it down to the source of the problem.

I can offer you an ftp account for my test-server.
At the moment I have a plain SMF 2rc1 installed, with no portal-software.
If you are interested, I can install whatever you want
or
offer an ftp and database account.
This way you can install everything you need to solve the problem.

The server is on a paid host, but they keep php and mysql versions up to date.
I will move there after SMF final is released, so no important files are located there.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 13, 2009, 09:28:59 AM
Well, I'm only interested in servers that do have the 500 error... i.e. servers with a portal on them ;) I have test servers etc but nothing on SMF1.

Would be interested to know if SMF2 + any portal will cause the same problem, though.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on March 13, 2009, 09:32:58 AM
OK than.

I will do my very best to create some errors ...  :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gemigene on March 13, 2009, 07:00:10 PM
Thanks for the great Mod, excellent work.

Only one thing I'm curious about, why are there vertical scroll bars in some of the embedded video posts?

I see this happening in FF and Safari but not in Camino (Mac)

Thanks,
Gene
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 13, 2009, 07:42:52 PM
Never seen any scrollbars... Never tested on a Mac either, though.
Anyone?

@Portal-induced 500 errors> I think I've found a way to disable Aeva when being called from within a SSI function, lol... It uses the debug_backtrace() function. It was introduced in PHP 4.3, hopefully everyone has at least this one installed now.

I need some testing from someone who's using TinyPortal, PortaMX or Simple Portal!!

Just open Subs-Aeva.php, and find:

function aeva_parse_bbc2(&$message, &$smileys, &$cache_id)
{
global $context, $modSettings, $txt, $aeva_timer;

$aeva_timer = (isset($aeva_timer) ? (int) $aeva_timer : 0) - array_sum(explode(' ', microtime()));


*After* these lines, ADD this code:

if (function_exists('debug_backtrace'))
{
$ssi_out = debug_backtrace();
foreach ($ssi_out as $ssi_tst)
if (isset($ssi_tst['function']) && substr($ssi_tst['function'], 0, 4) == 'ssi_')
return;
}


This is untested, but I'm confident it will work. Plus, it will make parsing a bit faster for portals ;)
So, please disable any fix I might have given you, and try this one instead.

What it does is simple: when parsing the message to transform videos, Aeva will first backtrace through the function call stack and check whether one of the calling functions is a SSI function (ssi_queryPosts, ssi_recentTopics, etc.) -- in which case it just skips the Aeva treatment.
Of course, not all SSI calls will result in a crash, and not all SSI functions drop the body without using it. So it's not a perfect solution. But this should allow you to use Aeva everywhere on your site without having TinyPortal crash the server for trying to call my services, lol.
Ideally, I should test for portal files instead of ssi_* function names, but it's not as generic. I could do it later though. In the meantime, please, please test that tentative fix!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on March 13, 2009, 08:47:04 PM
Worked for me. I removed the old fix in TPBlocks.template.php and made the above change instead.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on March 13, 2009, 11:10:28 PM
Aeva #68
Live-enviroment SMF 1 and TP0.98
Can't produce 500 errors, with or without fix.

Scrollbars:
It's a SMF1 "feature" imho.
If a link is given in the last row of a post, it causes this scrollbars.
To prevent this, simply add a hr-tag after the link.

General:
Quality setting - HQ+ always gives an "no longer available" (yt)
Quality settings disappear after using the quick edit button (yt)
last.fm - link isn't working with Bandname?autostart=1

Example link: Aeva #68 Test #1 (http://www.firopolis.de/forum/index.php/topic,2755.0.html)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 14, 2009, 05:55:01 AM
@akyhne> great! Then I'll public v6.0.69 today. It will just have this fix (+ support for Yandex.ru which can also be downloaded through the sitelist updater anyway.)

@ianus> Forgot about that bug... I actually made a bug report about it last year ;)
http://dev.simplemachines.org/mantis/view.php?id=1868 <-- as you can see, it has yet to be fixed.

@Re: quality settings & quick edit: quick edit requires the message to be posted in XML format. Quality settings use Javascript, and thus are specifically encoded in a way that doesn't interface well with XML. So I simply disabled Javascript (i.e. I essentially switch back to the older Aeva engine) when run through XML. That way, you don't get the quality settings options, but you do get the video, lol. If I didn't do it, you wouldn't even have the video ;)

@YouYube HQ+: indeed, they changed their code... Thanks for pointing it out. I added a workaround to v69.

@last.fm> Will have a look.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 14, 2009, 06:57:10 AM
Aeva 6.0.69 is out! With fix for portal crashes!

Version 6.0.69                                    14th March 2009
-----------------------------------------------------------------
! Tentative fix to the incompatibility between Aeva and "Recent
  Posts" features from portals, such as TinyPortal or PortaMX,
  that rely on SSI functions. Yet another geeky solution, yay.
! Looks like YouTube made some changes to their fmt_map code, so
  Aeva would always receive a false positive for HQ and HQ+ formats.
  Obviously, this is fixed now. Until next time, YouTube?

+ Added support for Yandex.ru
! Fixed support for Last.fm when a question mark was used in the URL
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 14, 2009, 08:55:45 AM
I haven't received a notification yet!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on March 14, 2009, 08:59:30 AM
I really love this mod
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rad1701 on March 14, 2009, 09:22:04 AM
Love this mod, but I'm having trouble with JOOST.  It seems to embed the video, but I can't play them on my forum.  I've tried a couple different videos.  I get an error about Geo-Block?  Error code: 20006??  Any ideas about this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on March 14, 2009, 10:11:08 AM
Quote from: Nao 尚 on March 14, 2009, 06:57:10 AM
Aeva 6.0.69 is out! With fix for portal crashes! >>>

You're a madman.

Ya need a break dude. They're gonna find you curled up under your desk mumbling something about 7 foot "$" trying to get you :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on March 14, 2009, 11:22:34 AM
 :D
No, you will find him "on" the desk, lashing with the mouse cabel and shouting: I'll get you, you damm 7 foot "$"! Muharhar. I will show you who is dominating!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: chrishicks on March 14, 2009, 11:59:09 AM
Quote from: Nao 尚 on March 06, 2009, 06:08:34 PM
@emonk> Yes, but you should redefine the color of aeva_dq in your style.css file ;) Otherwise the currently selected quality level is invisible.

a.aeva_dq:link { color: white !important }

This worked until I updated to .69. How can I get this to work now?

You put so much effort into making this the greatest mod ever for us that I swear you must dream(do you even sleep?) about this mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 14, 2009, 01:23:26 PM
@searchgr> Maybe I forgot to tick the box saying to update users... I dunno. Can anyone confirm whether they've received an update notification for v69? I even forgot to update the version number in the topic title. There are many things to do everytime I update, for v68 I forgot to update the version number in readme.txt, etc etc... It goes on and on, it won't be the last eheh.

@Cheshire> Thanks ;)

@rad> Nope, doesn't ring a bell to me... Try with v68 as well. v69 has a fix that disables embedding in SSI functions, so if Joomla! uses them -- it won't embed videos anymore. It's only a workaround, I'm hoping I'll find a better solution in the future, but don't expect too much, I really worked hard on fixing the root of the issue but have yet to find it.

@chris> I don't, but I try very hard before falling asleep. These days, I'm also obsessed with Javascript and my cool playlist implementation for a future version of SMG.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: lluks on March 14, 2009, 01:36:33 PM
Nao we all love you to death for your work on this mod but may I ask that there only be like 1 bigger update a week instead of 3 or 4 a week? It's like once I install a new version theres already a newer version out... lol

When I say 1 update a week I don't mean literally, you get my point right? I just mean when you working on the code for the day, instead of releasing a new update, just hold on to it, work on it more the next day, and in around a week or so release one big update....

Anyway I mean no disrespect by this post, I can't thank you enough for your work already so keep it up!

Thank you

:)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 14, 2009, 01:47:07 PM
Quote from: lluks on March 14, 2009, 01:36:33 PM
Nao we all love you to death for your work on this mod but may I ask that there only be like 1 bigger update a week instead of 3 or 4 a week? It's like once I install a new version theres already a newer version out... lol
Well... I said it before, I'll say it again:
- you don't have to install all versions... Just read the changelog and decide what's best for you.
- the upgrade process is quite fast: download the updated mod, unzip to a folder, and upload the files that have been updated since your last update (just look at the file modification dates). You're done. You can just skip the tedious SMF package installer.

QuoteWhen I say 1 update a week I don't mean literally, you get my point right?
Yeah, I know... But these frequent updates were expected, really. v6 changes a lot of things, and it was poised to have issues here and there. Not everyone has these issues (and they don't need to update frequently), so it's not a "beta", but there still needs to be some fixing for people who're having the issues.

Obviously, my goal is to release as few updates as possible, and only update the sitelist -- which itself can be upgraded just by visiting the Aeva admin area. Poof, done, you just need to hit "Save" for your new sitelist to be activated.

QuoteI just mean when you working on the code for the day, instead of releasing a new update, just hold on to it, work on it more the next day, and in around a week or so release one big update....
Well would you rather see me update once a year, with very few additions and nothing that people requested?
I think I did a pretty good job at listening to the user base here :) Well, for someone who's not paid for it, I mean.
Eh eh.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 14, 2009, 01:49:11 PM
Quote from: chrishicks on March 14, 2009, 11:59:09 AM
Quote from: Nao 尚 on March 06, 2009, 06:08:34 PM
@emonk> Yes, but you should redefine the color of aeva_dq in your style.css file ;) Otherwise the currently selected quality level is invisible.

a.aeva_dq:link { color: white !important }

This worked until I updated to .69. How can I get this to work now?
Oh, I forgot about this question...
I didn't do any changes in this area in v69. It's still the same "fix". Did you put it in style.css, like I said? That way, you're sure it'll still be there when you upgrade... (It only disappears if you upgrade SMF itself, obviously.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PedroMRP on March 14, 2009, 04:24:24 PM
I'm not sure ir the error is caused by AEVA, but i can't get into boards with video... it appears the download window of the browser to download an index.php with 0kb...

8: Undefined index: is_redirect
Ficheiro: /home/wildsman/canalslb.org/Themes/default/languages/Aeva.portuguese_pt.php (main sub template - eval?)
Linha: 50
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 14, 2009, 05:01:18 PM
Is this with Aeva 6.0.69?

I don't think it's related to Aeva anyway... And is_redirect is another issue altogether.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PedroMRP on March 14, 2009, 05:08:03 PM
Yes is Aeva 6.0.69.

It's strange because the others boards are fine only those who have videos...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 14, 2009, 05:22:46 PM
Please try with Aeva 5.2.x -- does it have the same problem?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PedroMRP on March 14, 2009, 05:36:44 PM
I never had this problem until i install the 6.0.* version
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PedroMRP on March 14, 2009, 05:45:08 PM
Just installed Aeva 5.2.56 and i can get inside the board again, so it must be a problem with 6.0.69 version...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 14, 2009, 06:16:46 PM
Hmm...
I don't know. I guess I'll need FTP access to your Sources folder so that I can fix what's happening. Otherwise you're stuck with Aeva 5.

You can also reinstall v6.0.69 and try to disable some of the stuff that are new in v6 (Javascript engine, for starters). I guess this is a problem with the output buffer manipulation that Aeva does. Very strangely, I never got any negative feedback on the exact same code I wrote for SMG.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PedroMRP on March 14, 2009, 08:24:22 PM
I think i can give you ftp access if you want to try to fix this problem, i appreciate that.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 14, 2009, 08:30:11 PM
BUG REPORT

Nao: The latest version disables embeds on SSI pages which is disastrous for me as I use it regularly for news articles. Please can you provide a fix I can do quickly? Otherwise I'll need to revert.

Example:
SSI page: http://www.murraysworld.com/video/
Source page: http://www.murraysworld.com/forum/main-content/video/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 15, 2009, 04:54:35 AM
Lol... I was wondering when you would react to this ;)

I'd rather have Aeva too shy about embedding than too prone to crash, really.
That's why I said v69 was only a temp fix.

If your stuff is handmade, just add a $context['aeva_safe_passage'] = true; just before launching your SSI functions.
You should unset it after your call, too.

Now, just go to line 1084 in Subs-Aeva.php and replace with:

if (empty($context['aeva_safe_passage']) && function_exists('debug_backtrace'))
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 15, 2009, 05:14:46 AM
Thanks that worked!

So I assume in the next version I will not need to do this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 15, 2009, 06:07:14 AM
You will need to keep the aeva_safe_passage context in your SSI code, but the Subs-Aeva edit will be hardcoded, of course.
It's only something I forgot to do when releasing v69 in quite a hurry, really.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 15, 2009, 06:10:18 AM
That's cool :)

While we are talking about SSI, is there any way I can have a different maximum embed limit for everything SSI related? Currently its unlimited because my video page and home page has loads of videos, although they don't load until you click the expand link so crashing is not an issue.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: basis on March 15, 2009, 08:45:09 AM
Just wanted to say a big THANK YOU! for fixing the SSI issue between AEVA & Recent Post blocks!

Thank you so much!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 15, 2009, 09:55:02 AM
@mark> Nah... You'll have to set unlimited for pages and limited to 1 per post or something. This is Aeva, not "AndyMurrayMod" ;)

@basis> You're welcome. Although obviously it brings other (limited) issues, lol...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 15, 2009, 10:04:00 AM
Nao: That's fine, just wanted to check whether there was some easy hack that would do it but as there is not then I will ask no further :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PedroMRP on March 15, 2009, 10:12:37 AM
Nao, when can you fix my problem?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 15, 2009, 03:26:18 PM
I was waiting for your PM, lol.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mystery? on March 15, 2009, 03:30:48 PM
Problem enabling the mod:

// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Fatal error: Call to undefined function ModifyAevaSettings() in /home/mystery/public_html/forum/Sources/ManageSettings.php on line 241
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 15, 2009, 03:34:19 PM
You installed manually? Check your install...

Is Ajax Chat mod installed? Uninstall Aeva, uninstall Ajax Chat, install newest version of Ajax Chat (author told me he'd fix his bug), install Aeva. If he hasn't fixed it, install Aeva before Ajax Chat.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mystery? on March 15, 2009, 03:51:46 PM
Yes, I had Ajax Chat installed. Okay I will try to do what you said.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 15, 2009, 05:57:55 PM
Keep me posted.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mystery? on March 15, 2009, 06:49:48 PM
Yes it fixed the problem.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 15, 2009, 07:11:48 PM
With the new Ajax Chat version?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: chakujitsu on March 15, 2009, 10:40:39 PM
Aloha!

First of all, I want to thank all involved in making this fantastic mod a reality.

As I set out to clean up the media posting capabilities on my forum, I've come across a little issue with leftover [stream=xxx,yyy]...[/stream] strings surrounding some video URLs.

any ideas what an easy way to get rid of those would be so that i can claim "backward compatibility" and be able to remove streaming 3?

Any help or guidance would be very much appreciated ;)
Merci d'avance !
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 16, 2009, 03:34:45 AM
Sreaming 3? What is that?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: SAFAD on March 16, 2009, 03:43:36 AM
grrrrrer i wanted to make this mod but u did it before me
ok ok i will use it gratz
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: KirkhamsEbooks on March 16, 2009, 04:26:57 AM
Jst upgraded to 2.0 irc and reinstalled avea

Got this

Fatal error: Cannot redeclare modifyaevasettings() (previously declared in /Sources/ManageSettings.php:1994) in /Sources/ManageSettings.php on line 2009
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 16, 2009, 05:00:17 AM
You forgot to uninstall before reinstalling. Uninstall manually.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Pescao on March 16, 2009, 06:43:05 AM
Quote from: PedroMRP on March 14, 2009, 08:24:22 PM
I think i can give you ftp access if you want to try to fix this problem, i appreciate that.

I think PedroMRP have the same problem that me. Nao said me (in his website) that i must sidable the compresion, and then the forum work fine ^_^

I have a little friends page, about 10 persons, and i can disable it, but i dont know if it's a good solution for you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 16, 2009, 09:41:23 AM
Pescao, any problems that are solved by disabling compression, should also be solved by Aeva v69...

@Everyone> Since I don't have enough time in my schedule today to release v6.0.70 (which basically only has fixes for BBC News and Justin.tv embeds), you may want to download it from my SVN, where I submitted it. The usual "caution advised" applies.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Pescao on March 16, 2009, 12:24:30 PM
Nao, not mine, i try 6.0.69 and dont change anything. My problem is still here.

With or without the recent post block, its a coding error, and only in certain post or forums, not in all web.

Dont worry, like i said, for me it's not a problem to disable de compression output  ^_^
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: foghorn on March 16, 2009, 08:37:53 PM
Once again, after upgrading (and yes, I did follow directions on removing the previous one), I now have duplicating, this time in the quality choices.
The last time I upgraded it screwed up my board so badly, it took weeks to repair.
as you can see, the LQ and HQ are there twice
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on March 16, 2009, 08:42:52 PM
No, it says LQ | LQ+ | HQ | HQ+

There are differences. Hover on the different embed links and you will be able to see the differences.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: foghorn on March 16, 2009, 08:50:21 PM
Oh. I didn't know there was that differentiation. Thank you for pointing that out!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on March 16, 2009, 09:19:36 PM
You're welcome :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ysNoi on March 16, 2009, 10:08:03 PM
Just updated to the latest Version..

Thanks Nao 尚..! Awesome..!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: KirkhamsEbooks on March 16, 2009, 10:18:02 PM
Quote from: Nao 尚 on March 16, 2009, 05:00:17 AM
You forgot to uninstall before reinstalling. Uninstall manually.

I've never had to uninstall by hand before. Uninstalling with the forum then deleting reuploading and installing isn't working.

Are there files I delete using my file manager in my cpanel?

Rick
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on March 17, 2009, 12:40:08 AM
Quote from: Polymath on February 03, 2009, 03:56:38 AM
I have not updated but I am now getting (External Embedding Disabled)  >:(

Yet previous Ytube vids posted are still working.

When I edit the post I have
[url=http://www.youtube.com/watch?v=cpzGQoz6i8M#noexternalembed]http://www.youtube.com/watch?v=cpzGQoz6i8M#noexternalembed[/url]


Yet all I did was post the URL

I just got this same issue after upgrading to 6.0.69.  I didn't really see a fix for after seeing this post.

Here it is on my site - Death Race (http://www.avalanchestyle.com/forum/index.php?topic=8705.msg161549;topicseen#msg161549)

The message comes up with a YouTube video.  Works fine with Hulu.com.

I uninstalled and reinstalled.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: THE BRA1N on March 17, 2009, 03:51:20 AM
I have the compression problem that others mentioned. I just updated to RC1 and 6.0.69 and when I enable the master setting, I cant access the forum. When I disable it, i can. I can also work around it via the compress output setting but when I uncheck it, all the text turns into big letters and looks horrible. Is there an earlier version that works with rc1 and is maybe more stable?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 17, 2009, 04:22:29 AM
v5.2.56 I'm afraid. It doesn't have the YouTube quality settings feature.

I'll need an admin+FTP access to your site if you want some help. Maybe with several servers I can find a common bottleneck and figure out a solution. (Not right now, I'm still right in the middle of RL work.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: THE BRA1N on March 17, 2009, 04:42:44 AM
Awesome! That worked well and even though it's an older version, it still is better than anything else. I tried other 6.x versions and they all had the same problem which i have never had before.

I'll be glad to help you try to get to the bottom of this; just to be clear do you need both ftp access and an admin forum acct?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Pescao on March 17, 2009, 07:19:21 AM
Quote from: THE BRA1N on March 17, 2009, 04:42:44 AM
Awesome! That worked well and even though it's an older version, it still is better than anything else. I tried other 6.x versions and they all had the same problem which i have never had before.

I'll be glad to help you try to get to the bottom of this; just to be clear do you need both ftp access and an admin forum acct?

I think is only a few people that get this error, then, TheBra1n, can you put your list of packages to see that we get in common?

Quote1.     TinyPortal      0.983  
2.    Googlebot & Spiders Mod    2.0.3
3.    ed2k links support    2.6
4.    FlashChat Integration    1.0
5.    SMF 1.1.4 Search "brd" Bug Fix (1.0.1)    1.0.1
6.    Custom Board Sort    1.0.1
7.    Language File Compare    1.0.1
8.    Load Standard Language    1.0.1
9.    Spoiler Tag    0.3.2
10.    GoEar BBCode by Mike Menendez    0.4
11.    Trim Url    1.0.2
12.    Mimetex    1.00
13.    PhpInfo    1.2
14.    Wikipedia BBCode    1.3
15.    SMF Radio    0.6
16.    Custom BBCode    2.00
17.    Image Thumbnail BBCode    1.0
18.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0
19.    Enhanced Calendar    1.1
20.    View Single PM    1.3
21.    Topic starter    1.4
22.    Perfect Smiley Set    1.0
23.    Lots_o_Smileys    1.0
24.    SMF 1.0.14 / 1.1.6 Update    1.0
25.    reCAPTCHA for SMF    0.9.5.3
26.    SMF 1.0.15 / 1.1.7 Update    1.0
27.    Remove Post Modified Time    1.2
28.    Show all edits in messages    1.0 (not instaled)
29.    SMF 1.0.16 / 1.1.8 Update    1.0
30.    Aeva ~ Auto-Embed Video & Audio    5.2.56 (not instaled)
31.    Aeva ~ Auto-Embed Video & Audio    6.0.66 (not instaled)
32.    Aeva ~ Auto-Embed Video & Audio    6.0.69

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 17, 2009, 08:20:54 AM
Yep.
FTP -> just the Sources folder is fine. Admin -> For easier testing. If your board has free access, I may not need it but it's still better.

@Everyone> Just leave me a few hours to get back on my feet... Just got back from a long, long day IRL. Phew! I'm exhausted.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Azrhei on March 17, 2009, 09:38:47 AM
I don't know if this is the proper place to request a feature but if not, feel free to move me.

If this feature is already included point me to it, but I don't see it....

I would like to see permgissions on membergroups. Sorta like this....3 permissions.... Strip, Link, Embed.
If member group has strip on then any attempt to link a video would result in the complete striping of the URL. Link would list only the link (perhaps w/ Vid. Title as the Anchor) but wouldn't embed. And finally the Embed option (normal)

That way members who have earned the right (shown they are trust worthy by posting relevant content) would be allowed to embed videos. Member who've been around but lack suficient post to determine would be able to link to a vid. and member who are new or who have been set to a special group wouldn't even be able to link a vid at all.

Is there a way to react to warning? That would also be awsome. Like if a use has 3 or more (settable by Admin) warning they won't be able to embed...5 or more and no linking etc.

Just some ideas. Peace Out
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 17, 2009, 09:42:31 AM
Quote from: Azrhei on March 17, 2009, 09:38:47 AM
I don't know if this is the proper place to request a feature but if not, feel free to move me.
Just my 2 cents on this - I would not want to see all those extra queries for permissionchecks on my forum, since I cant really see the use for permissions like that... You can already deside on what pages to embed automatically, and with that you can pretty much deside what kind of videos you see on your forum...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 17, 2009, 09:51:29 AM
I will never, ever, add permissions to Aeva. Deal with it. People are entitled to embed videos, or they aren't. There are no "user categories" for basic rights, IMO. There can be user categories where privacy is needed, but not when it's about something like that, giving rewards etc. Silly idea.

@Pedro> I'm on your site right now. I figured out the problem, now if I could fix it smoothlessly, that would be cool... It's all about the current depth level of output buffering. Only, PHP 4.3 introduced a function that allows me to fix it all. But what about PHP <4.3? Is anyone still using that anyway, considering how PHP 4.4 is the only "secure" version out there? That's a good question...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: THE BRA1N on March 17, 2009, 10:49:35 AM
Quote from: Pescao on March 17, 2009, 07:19:21 AM

I think is only a few people that get this error, then, TheBra1n, can you put your list of packages to see that we get in common?

I just updated to RC1 and still have a few mods to clean up but this is what i have as of now:

   Mod Name     Version     
1.    Active Members In Topic    1.8    [ Uninstall ]
2.    Aeva ~ Auto-Embed Video & Audio    5.2.56    [ Uninstall ]
3.    SMF Gallery Lite    2.0.5    [ Uninstall ]
4.    Users Online Today    1.5.4    [ Uninstall ]
5.    Member Color Link    3.0.6    [ Uninstall ]
6.    Advanced Reputation System    1.7.2    [ Uninstall ]
7.    SMFChess    2.0    [ Uninstall ]
8.    Message for your guests    0.1    [ Uninstall ]
9.    Show Joined, Location, Username In Topic View    1.0    [ Uninstall ]
10.    BK-SMF Favicon and Custom Global HTML    1.0    [ Uninstall ]
11.    reCAPTCHA for SMF    0.9.5.3    [ Uninstall ]
12.    BBC [you]    1.0    [ Uninstall ]
13.    BK-SMF Sub-Board    1.5    [ Uninstall ]
14.    More Spiders    1.2    [ Uninstall ]
15.    Avatar Under Membergroups Rank    2.0.B4    [ Uninstall ]
16.    Add IP2Location to Track IP    1.1    [ Uninstall ]
17.    Simple Award System    2.0.0.4b    [ Uninstall ]
18.    BoardHover Mod    1.3.1    [ Uninstall ]
19.    User Control Panel By Alan S    3.0    [ Uninstall ]
20.    Order Stickied Topics    1.01    [ Uninstall ]
21.    No More Ugly Avatar Scrollbars    1.0    [ Uninstall ]

Sent you a PM, Nao
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 17, 2009, 11:10:39 AM
Quote from: PedroMRP on March 14, 2009, 04:24:24 PM
I'm not sure ir the error is caused by AEVA, but i can't get into boards with video... it appears the download window of the browser to download an index.php with 0kb...
Is your problem fixed, now?

I noticed that ob_clean() seems to crash your server (i.e. here it sends (un-decompressed) garbage data to the browser). ob_get_clean() seems to do its job, though, so I'm using it instead now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Pescao on March 17, 2009, 11:38:56 AM
Quote from: THE BRA1N on March 17, 2009, 10:49:35 AM
Quote from: Pescao on March 17, 2009, 07:19:21 AM

I think is only a few people that get this error, then, TheBra1n, can you put your list of packages to see that we get in common?


I just updated to RC1 and still have a few mods to clean up but this is what i have as of now:


11.    reCAPTCHA for SMF    0.9.5.3    [ Uninstall ]



Only reCAPTCHA  in common, I already remove, and problem is still here. Then i think there  aren't packages that make the error appear, or we have 2 different packages that make the same problem.

I'll send a PM to nao ^_^
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 17, 2009, 11:57:08 AM
No PM yet. What's your problem already, anyway?
I've kinda missed 24 hours worth of posts here...

Same for The Brain, and I've got your server access, only I don't remember what's wrong lol.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: THE BRA1N on March 17, 2009, 12:13:17 PM
Quote from: Nao 尚 on March 17, 2009, 11:57:08 AM
No PM yet. What's your problem already, anyway?
I've kinda missed 24 hours worth of posts here...

Same for The Brain, and I've got your server access, only I don't remember what's wrong lol.

The "compression is not supported" problem for all the version 6 aeva mods. It makes the forum unviewable and turning off compression in the CP isnt a solution for me because although it solves the problem with the mod, it makes my forum look like 800 x 600 1995 era font.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Pescao on March 17, 2009, 05:14:01 PM
Quote from: Nao 尚 on March 17, 2009, 11:57:08 AM
No PM yet. What's your problem already, anyway?
I've kinda missed 24 hours worth of posts here...

Same for The Brain, and I've got your server access, only I don't remember what's wrong lol.

Sorry, i left in home making a backup, and dont get back in hours >_<

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 17, 2009, 06:06:53 PM
The Brain, Pescao and Pedro, I think I uploaded v70+ to all of you. Please test...

@Everyone else> It's out :)

Version 6.0.70                                    17th March 2009
-----------------------------------------------------------------
+ Added $context['aeva_safe_passage'] variable, set it to true
  before calling a SSI function if you're confident it will work.
  Don't forget to global $context if you haven't yet, silly.
! Seems there was an incompatibility between PHP 5.2.x and several
  kinds of output buffer functions. Hopefully this might also fix
  SSI-related problems (will remove related workaround if it does.)
+ Added 'show-flashvars' sitelist variable for Justin.tv
! Keep sitelist updates silent if they're false alarms

! Fixed support for Justin.tv (explicit flashvars), added titles
! Fixed support for BBC News titles that had tags in them
! Fixed support for BBC News links with no embedded content
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Pescao on March 17, 2009, 09:11:06 PM
Quote from: Nao 尚 on March 17, 2009, 06:06:53 PM
The Brain, Pescao and Pedro, I think I uploaded v70+ to all of you. Please test...

@Everyone else> It's out :)

Version 6.0.70                                    17th March 2009
-----------------------------------------------------------------
+ Added $context['aeva_safe_passage'] variable, set it to true
  before calling a SSI function if you're confident it will work.
  Don't forget to global $context if you haven't yet, silly.
! Seems there was an incompatibility between PHP 5.2.x and several
  kinds of output buffer functions. Hopefully this might also fix
  SSI-related problems (will remove related workaround if it does.)
+ Added 'show-flashvars' sitelist variable for Justin.tv
! Keep sitelist updates silent if they're false alarms

! Fixed support for Justin.tv (explicit flashvars), added titles
! Fixed support for BBC News titles that had tags in them
! Fixed support for BBC News links with no embedded content


OK, It's work fine, without error.

Thanks ^_^
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: THE BRA1N on March 17, 2009, 11:52:19 PM
I'm up with no problems so far although the package manager is still showing:

QuoteAeva ~ Auto-Embed Video & Audio      5.2.56
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on March 18, 2009, 12:47:38 AM
I'm using 1.1.8 and about 30 mods and .69 and .70 fixed the output compression issue for me too.

I gotta say, I've updated like 5 or 6 versions in the last week or 2 and haven't had a single problem.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Waffadrunker on March 18, 2009, 02:47:23 AM

Is there also any way to enable youtube (and other service) videos a way that users can watch them on full screen ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 18, 2009, 06:38:44 AM
Well, it's long and complicated, but it can be done:

Click on the Fullscreen button at the right of the YT video's interface.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 18, 2009, 07:48:39 AM
Suggestion

Please, please make it so videos do not auto embed when users link to a video using anchor text in the middle of a sentance. Or at least give an option in the admin panel.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on March 18, 2009, 08:15:46 AM
Quote from: Nao 尚 on March 18, 2009, 06:38:44 AM
Well, it's long and complicated, but it can be done:

Click on the Fullscreen button at the right of the YT video's interface.

too funny...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 18, 2009, 08:24:01 AM
Quote from: mark7144 on March 18, 2009, 07:48:39 AM
Suggestion

Please, please make it so videos do not auto embed when users link to a video using anchor text in the middle of a sentance. Or at least give an option in the admin panel.
Prior to Aeva 6, the link text would be removed. Now it is kept. It really is much better this way. I know it can disrupt a text layout, but it's up to the poster to add [noembed] tags where needed. The goal in Aeva 6 was to make sure not to hide the anchor text or replace it with the video title. It works fine now, I don't really see the point in adding yet another setting. There are already far too many, I'm thinking of removing the Javascript compatibility option now that it seems I fixed everything...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 18, 2009, 08:36:59 AM
But your typical user has no idea about the [noembed] tag so they have to ask for help. This happened today with one of my users, they just decided not to post the link at all.

Is there somes sort of hack I can do it make it so these links stay as links?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 18, 2009, 08:48:13 AM
Just explain the tag to them.
If you will let Aeva embed their links, then you should let them know everything it does. It's not like it's a secret mod, see? There's documentation aplenty regarding Aeva.

And no, I wouldn't know an easy way to prevent these links from being embedded. It might cause other issues I haven't thought of.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 18, 2009, 08:49:39 AM
I agree fully with Nao 尚 - I keep a thread on my forum, with info on the mod and how it functions, and even a link to the mod thread and download page :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 18, 2009, 09:03:41 AM
The whole point of Aeva is the user doesn't need to know about a mod to embed a video but now I have to teach my users about the mod.

I think a poll should be created for this. I'm sure the majority would like it as an option in settings.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Pescao on March 18, 2009, 09:21:51 AM
Quote from: mark7144 on March 18, 2009, 09:03:41 AM
The whole point of Aeva is the user doesn't need to know about a mod to embed a video but now I have to teach my users about the mod.

I think a poll should be created for this. I'm sure the majority would like it as an option in settings.

You only have to put a button with the option of [noembed], the package "Custom BBC" is a good solution.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 18, 2009, 09:27:59 AM
Quote from: mark7144 on March 18, 2009, 09:03:41 AM
The whole point of Aeva is the user doesn't need to know about a mod to embed a video but now I have to teach my users about the mod.
What would you have to teach them? How do you see this happening anyway?

Your users don't know that their videos are embedded automatically.
They post a video link. They see it embeds. Joy. With a title. Joy².
Now they post a video link with a link title. The link title appears in the place of the usual video title. Joy.
Now they post a long message with a text link to a YT video in it. Oh, it appears as an embedded video.
Either they want that, and they quick edit their post to optimize the layout for their post.
Or they don't, and they have a choice: either they leave it as it, or they do something about it.
If they don't know how to noembed a post because you didn't tell them, they can simply rewrite their post so that it doesn't link to the video inside the text, and rather add a video link at the end of their post. Done.
If they really want to know more about Aeva, they can click on the Aeva link, view the mod page, read the readme file and learn about the noembed tag.

QED.

QuoteI think a poll should be created for this. I'm sure the majority would like it as an option in settings.
Yeah but I don't give a crap about polls and majority opinion when I have a clear opinion on something. Teach your users how to use the noembed tag, or, as Pescao wisely suggested, add a noembed button. That's all I have to say. I'm not going to do more. And I'm certainly not going to do a poll. Feel free to do a poll if you're curious, but it won't change my mind.

You know I still have free will, right?
So, no, I don't owe you anything (if it were the case, then you would be owing me even more, lol), and I don't owe anyone anything for that matter. I think 90% of Aeva's users are very happy with everything I've made with the mod. At one point it'll be so feature-packed that there won't be any need for another release -- just sitelist updates. Don't assume that I will release more versions just for the sake of releasing them. That's why I've spent so much time working on the automated sitelist update process. And I will spend even more time on it in future versions -- I want it to be able to update itself even without going to the admin area, and regenerate the site list at the same time. And it will.

(No, I'm not deviating from the subject. I'm just broadening its horizon.)™
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ponopoly on March 18, 2009, 09:36:37 AM
Hey man, I just downloaded your addon and damn it does a great damn job
Wish I thought of it myself xD

But I only want to help you make it greater
Would you mind adding support to these sites when ever humanly possible?

adult sites:
www.pornhub.com
www.xnxx.com/www.xvideos.com
www.youporn.com
www.yuvutu.com
www.empflix.com/www.tnaflix.com

and reg website:
www.worldstarhiphop.com

i use these sites alot and alot of people on my forum would appreciate if it loaded right in the forum instead of having to click a link
thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: deZio on March 18, 2009, 09:44:57 AM
Hello! I have successfully installed v6.0.70 but when it starting to redirect to mod section(Modification->Aeva in RC1) I get this fatal error on blank screen:

// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Fatal error: Call to undefined function ModifyAevaSettings() in /home/dezio/public_html/forum/Sources/ManageSettings.php on line 228



I resolve it.
I dont know how // Aeva - START
function ModifyAevaSettings($return_config = false)
{
global $sourcedir;
@require_once($sourcedir .'/Subs-Aeva-Admin.php');
return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : '');
}
// Aeva - END
was after "?>". I have move it to right place and now its ok. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on March 18, 2009, 10:15:29 AM
how can i add some site to aeva site list?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 18, 2009, 10:52:02 AM
@ponopoly> http://aeva.noisen.com/req/5166/hello-sites-add-needs/msg228998/#msg228998

Quotei use these sites alot and alot of people on my forum would appreciate if it loaded right in the forum instead of having to click a link
You mean their hands are too busy to click twice? How curious.

@deZio> What is your installed mod list?

@AlenNS> Read the Subs-Aeva-Custom-Example.php file. It has all of the documentation you need. Or I can do it, for a fee since it can take hours of work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 18, 2009, 10:52:48 AM
Nao: No need for the rant, it's your mod and I appreciate it's not a democracy so do what you want.

You make the whole embed situation sound so simple but really I have a user coming to me who doesn't understand and there are many newbies on my forum who will find adding a link to a post challenging enough let alone having to figure out how to prevent a couple of words they wanted to be a link from turning into a video and therefore breaking their entire post.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 18, 2009, 10:57:22 AM
Custom BBC!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: maxtron on March 18, 2009, 11:36:55 AM
Quote from: Nao 尚 on March 18, 2009, 08:24:01 AM
I'm thinking of removing the Javascript compatibility option now that it seems I fixed everything...

This is my first time using Aeva so I'm not sure what it was like in the past but basically it's working fine all except for one user who just gets blank areas where the video should be (the Youtube link and LQ, HQ etc buttons are all there though)
I tested the Javascript-less embedding system option with this user and they were then able to see the video ok.
I'd rather not use the compatibility option because I like users being able to choose the quality themselves with the buttons provided, but it's strange that the video isn't working for this one user unless I use Javascript compatibility option.

The reason I quoted you was that if you're planning to take this option out. Is there possibly anything I can ask the user to try in order to fix their problem?
They have the problem on both Firefox and Opera.
They have updated to the latest Flash.
They have had youtube problems with past autoembed mods it used to sometimes crash their browser and the sound would sometimes cut out on them... but it was random so they lived with it.
I'm not sure why their problem doesn't occur with the compatibility option because to me it just seems to be something wrong with their Flash player. Perhaps you have more idea as to why the Javascript might cause their video not to be displayed.

Thanks in advance for any help, it's much appreciated.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 18, 2009, 12:11:25 PM
Hey Karl, thanks for merging the topics! :)

Quote from: maxtron on March 18, 2009, 11:36:55 AM
This is my first time using Aeva so I'm not sure what it was like in the past but basically it's working fine all except for one user who just gets blank areas where the video should be (the Youtube link and LQ, HQ etc buttons are all there though)
Blank = transparent or white? (It's not the same. Test with another background color if yours is white.)

QuoteThey have the problem on both Firefox and Opera.
Hmm... That would have been my first guess...

QuoteI'm not sure why their problem doesn't occur with the compatibility option because to me it just seems to be something wrong with their Flash player. Perhaps you have more idea as to why the Javascript might cause their video not to be displayed.
Sorry, no idea. SWFObject (the Javascript library I use) is supposed to be as crossbrowser compatible as possible. I never heard about a single problem with it. Are you sure this user has Javascript enabled at all?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: maxtron on March 18, 2009, 12:54:30 PM
Quote from: Nao 尚 on March 18, 2009, 12:11:25 PM
Blank = transparent or white? (It's not the same. Test with another background color if yours is white.)
Transparent
I got them to take a screenshot and all that's there is the background colour.
The testing is done using just the default smf theme, on a test smf 1.1.8 board with no other mods installed.

Quote
Sorry, no idea. SWFObject (the Javascript library I use) is supposed to be as crossbrowser compatible as possible. I never heard about a single problem with it. Are you sure this user has Javascript enabled at all?
They say the do and haven't changed anything to disable it.

I have asked them to try with IE and apparently it works ok. Maybe I'll try get them to uninstall their Flash plugin and redownload and install it.
Ok sorry about this, now they're saying it works with Opera.. *sigh*
So it's really just firefox they're having the problem with. I'll try narrow it down some more sorry to bother.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 18, 2009, 01:01:22 PM
Page 200  8)

Quote from: KirkhamsEbooks on March 16, 2009, 10:18:02 PM
I've never had to uninstall by hand before. Uninstalling with the forum then deleting reuploading and installing isn't working.
Of course it doesn't work, because you have to edit files manually.
It was written in bold in the readme file (which shows up when you first install): never, ever, install a version without uninstalling previous versions first. It's the same for all mods, but for some unknown reason everyone's using the package manager without being aware of that.

Starting from Aeva 5.2, you can upgrade the mod simply by overwriting the language & Subs-Aeva*.php files with their updated versions, without having to go through the package manager. Doesn't change anything to the fact that you can't do that in the package manager ;)

Quote from: maxtron on March 18, 2009, 12:54:30 PM
Quote from: Nao 尚 on March 18, 2009, 12:11:25 PM
Blank = transparent or white? (It's not the same. Test with another background color if yours is white.)
Transparent
I got them to take a screenshot and all that's there is the background colour.
Well then it's probably a Javascript problem indeed.

QuoteThey say the do and haven't changed anything to disable it.
Do you have any other Javascript-based stuff in your site?

QuoteOk sorry about this, now they're saying it works with Opera.. *sigh*
Lol...
Of course it should. It's developed with Opera.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 18, 2009, 02:34:37 PM
v6.0.71 is out -- check out the changelog on page 1.

:)

Not much new stuff of course, it's just that I need to make sure I can remove the SSI safety.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Pescao on March 18, 2009, 04:20:33 PM
Quote from: Nao 尚 on March 18, 2009, 02:34:37 PM
v6.0.71 is out -- check out the changelog on page 1.

:)

Not much new stuff of course, it's just that I need to make sure I can remove the SSI safety.

Curiouse, i don't have any problems, with "Disable Aeva in SSI function calls" option enable or disable (and of course, compression enable ^_^ )
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 18, 2009, 04:54:46 PM
Not surprising, since I modified the output compression stuff in v70...

Basically, this is what happened: the "ob_clean" function seemed not to work correctly with PHP 5.2. If called, it normally would clean the current output buffer and reset it. However, if called, any data sent to the buffer afterwards would appear to be un-decompressed garbage. (i.e. it's gzipped, but the server doesn't recognize it as gzipped, so it's showing it as binary stuff.)

Once I forced the use of ob_end_clean instead, it started working. However I used not to be able to say what the current output buffer was (gzip or SMF's ob_sessrewrite...), so I could only guess. I discovered a function in PHP (ob_get_status) that returns the name of the current buffer, so I just needed to call ob_end_clean (= clean the current buffer and delete it) and set ob_start (= create a new buffer) with the associated function that used to be in effect. It worked on all servers I tried it on, so I figured it should work everywhere.

I'm not sure all SSI problems are due to the output buffer though, so I added the workaround as an option.

Also, I tried the stuff on the first server I discovered 500 Errors on, and I was, curiously, unable to "touch" the output buffer this time, so I can't say for sure it works perfectly. But I think it does.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JamesD01 on March 18, 2009, 06:43:22 PM
Got a problem, the option in the settings "Show copyright in forum footer" don't work, I tried to disable but it doesn't disable the copyright in the footer..

Sometimes the copyright is in the footer and sometimes it isn't... Check my site.. Link in sig.

SMF 2.0 RC1, latest version of Aeva.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on March 18, 2009, 08:31:15 PM
@ Nao 尚:

Quick note. I personally really really appreciate the long erudite explanations. Seriously. Extremely interesting and informative.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ryanebelhar on March 18, 2009, 08:57:23 PM
for some reason youtube videos just show up as a URL and a line that says (External Embedding Disabled)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: KirkhamsEbooks on March 18, 2009, 09:37:42 PM
Since I have this in other forums. Seems to me I should be able to list those files, download them from one forum and upload them into another, unless those php files control other things as well

Rick
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on March 18, 2009, 10:19:10 PM
Quote from: ryanebelhar on March 18, 2009, 08:57:23 PM
for some reason youtube videos just show up as a URL and a line that says (External Embedding Disabled)

I'm getting the same thing even after the upgrade.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 19, 2009, 05:52:06 AM
@RoarinRow> Of course you do... And you always will. Just click on the link. It says "Embedding disabled by request" in the embed area. What more do you need? The video author doesn't want you to embed it. Would you rather get a YouTube window, click on it and see that it says "No video available"?

@ryan> Same comment. Although I don't have your page to test. Click on your link and see if it says it's disabled.
Isn't the comment clear enough? What should I do, eh?

@Tiribulus> And I like explaining my work from time to time, eh. Although I'm not sure this was anything near "understandable" in case the reader doesn't know a thing about stackable output buffers ;)

@James> Uncheck the "Disable Javascript engine" option (i.e. re-enable the JS engine). There's a combination of JS engine + Show Copyright that ends up showing both. I don't remember which or why though, lol.

Quote from: KirkhamsEbooks on March 18, 2009, 09:37:42 PM
Since I have this in other forums. Seems to me I should be able to list those files, download them from one forum and upload them into another, unless those php files control other things as well

Rick
Sorry, what are you talking about?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 19, 2009, 06:47:18 AM
Nao: Is it possible to have aeva_safe_passage enabled for a page but disabled for specific part of that page. For example, having it enabled for the news article but disabled for the comments.

I'd ideally like it disabled for $comment['body']

<?php

require_once('forum/SSI.php');
 
$context['aeva_safe_passage'] = true

$ssi_layers = array('main');
$context['page_title'] = 'View Article';

$article_id = !empty($_REQUEST['article']) ? (int) $_REQUEST['article'] : 0;

if (empty(
$article_id))
   
fatal_error('No article selected!'false);

$article ssi_topic($article_id100'array');

if (empty(
$article))
   
fatal_error('Article does not exist!'false);
   
  

$title $article['subject'];

include(
'header.php');

echo 
'
<div id="newswrapper">
  
         <div class="news_body">
            <h1><a class="news_h1" href="/news/article/'
$article['id'], '/">'$article['subject'], '</a></h1>
            <div class="date">Published: '
.$article['time']. ' | Author: '.$article['poster']['name'], '</div>
            '
$article['body'], '
         </div>'
;

if (!empty(
$article['replies']))
{
   echo 
'
        <div align="center" style="margin-bottom: 11px;">' 
$article['link']. ' | ' .$article['comment_link'], '</div>
'
;

   foreach (
$article['replies'] as $comment)
      echo 
'
          <div class="news_comment">
                       '
$comment['body'], '
     <div class="date">By '
$comment['poster']['name'], '</div>
         </div>

         <br />'
;
}

echo 
' <div align="center">' $article['link']. ' | ' .$article['comment_link'], '</div>
'
;

?>

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 19, 2009, 06:52:07 AM
Mark,
safe_passage is only a temp settings around the SSI workaround. Now that the SSI workaround is disabled by default (and I have yet to see any feedback about it not working, so it's looking good), I'll probably remove safe_passage altogether in v6.1.

What you want is to use the aeva_disable feature, which has been there for quite some time now ;) On SSI functions it won't work though (because it only bypasses embedding once, and SSI will generally call parse_bbc several times in a row), so you should precisely unset aeva_enable right before the SSI call, and reset it right after.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 19, 2009, 07:00:50 AM
OK thanks, can you tell me the code I need to use?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 19, 2009, 07:35:02 AM
The usual one...

http://aeva.noisen.com/support/5198/aeva-500-forum-error/msg229646/#msg229646

(Make sure $modSettings is globaled first, of course.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 19, 2009, 07:46:06 AM
I'm a bit of a noob at this, so I've failed to get it working, this is what I did:

<?php

require_once('forum/SSI.php');
 
$context['aeva_safe_passage'] = true

$ssi_layers = array('main');
$context['page_title'] = 'View Article';

$article_id = !empty($_REQUEST['article']) ? (int) $_REQUEST['article'] : 0;

if (empty(
$article_id))
   
fatal_error('No article selected!'false);

$article ssi_topic($article_id100'array');

if (empty(
$article))
   
fatal_error('Article does not exist!'false);
   
   
global 
$modSettings;
    
$title $article['subject'];


include(
'header.php');

echo 
'
<div id="newswrapper">
  
         <div class="news_body">
            <h1><a class="news_h1" href="/news/article/'
$article['id'], '/">'$article['subject'], '</a></h1>
            <div class="date">Published: '
.$article['time']. ' | Author: '.$article['poster']['name'], '</div>
            '
$article['body'], '
         </div>'
;

if (!empty(
$article['replies']))
{
   echo 
'
        <div align="center" style="margin-bottom: 11px;">' 
$article['link']. ' | ' .$article['comment_link'], '</div>
'
;

   foreach (
$article['replies'] as $comment)
   
 
$modSettings['aeva_enable'] = 0;
      echo 
'
          <div class="news_comment">
                       '
$comment['body'], '
     <div class="date">By '
$comment['poster']['name'], '</div>
         </div>

         <br />'
;
}

echo 
' <div align="center">' $article['link']. ' | ' .$article['comment_link'], '</div>
'
;

?>

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 19, 2009, 08:25:41 AM
Actually, your ssi_topic() function is a custom one, not an SSI function.
You should do the manipulations over there... Also, the safe_passage variable is no longer needed, and your global is not needed either in that place ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 19, 2009, 08:54:58 AM
Meh, this is beyond me but thanks anyway lol
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 19, 2009, 08:57:56 AM
ssi_topic() will call parse_bbc() on both article & comments, so to differentiate between them, you need to edit ssi_topic() itself. You may even be able to get away with a simple $context['aeva_disable'] = 1; here.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 19, 2009, 09:00:38 AM
This is probably the code it needs to be placed in but no idea where:

// --- Begin modification - SSI Topic and Replies ---
// Grab posts from a certain topic
function ssi_topic($topic = null, $num_replies = null, $start = null,  $output_method = 'echo')
{
global $scripturl, $db_prefix, $txt, $settings, $modSettings, $context;
global $func, $memberContext;

loadLanguage('Stats');

// Topic variable set?
if ($topic !== null)
// Yes, let's use it (integer, please)
$topic = (int) $topic;
// No? What about a GET variable?
elseif (isset($_GET['topic']))
$topic = (int) $_GET['topic'];
// Well, what else are we going to do?
else
if ($output_method == 'echo')
return $txt['ssiTopic_no_id'];
// !!! Return some error code rather than a blank array?
else
return array();

// Number of replies per page
if ($num_replies === null)
//$num_replies = isset($_GET['num_replies']) ? (int) $_GET['num_replies'] : 10;
$num_replies = 10;
else
$num_replies = (int) $num_replies;


// Reply to start at
if ($start === null)
$start = isset($_GET['start']) ? (int) $_GET['start'] : 0;
else
$start = (int) $start;

$num_replies = max(0, $num_replies);
$start = max(0, $start);
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 19, 2009, 09:05:00 AM
This would be further down inside that function.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 19, 2009, 09:09:26 AM
// --- Begin modification - SSI Topic and Replies ---
// Grab posts from a certain topic
function ssi_topic($topic = null, $num_replies = null, $start = null,  $output_method = 'echo')
{
global $scripturl, $db_prefix, $txt, $settings, $modSettings, $context;
global $func, $memberContext;

loadLanguage('Stats');

// Topic variable set?
if ($topic !== null)
// Yes, let's use it (integer, please)
$topic = (int) $topic;
// No? What about a GET variable?
elseif (isset($_GET['topic']))
$topic = (int) $_GET['topic'];
// Well, what else are we going to do?
else
if ($output_method == 'echo')
return $txt['ssiTopic_no_id'];
// !!! Return some error code rather than a blank array?
else
return array();

// Number of replies per page
if ($num_replies === null)
//$num_replies = isset($_GET['num_replies']) ? (int) $_GET['num_replies'] : 10;
$num_replies = 10;
else
$num_replies = (int) $num_replies;


// Reply to start at
if ($start === null)
$start = isset($_GET['start']) ? (int) $_GET['start'] : 0;
else
$start = (int) $start;

$num_replies = max(0, $num_replies);
$start = max(0, $start);

// Get some information about the topic (ie. the first post)
// !!! This should check logged in user's permissions, rather than checking if guests are allowed.
$result = db_query("
SELECT
t.ID_TOPIC, t.ID_BOARD, t.ID_FIRST_MSG, t.ID_LAST_MSG,
t.ID_MEMBER_STARTED, t.numReplies, t.locked, m.ID_MEMBER,
m.icon, m.subject, m.posterTime, m.body, m.smileysEnabled,
m.ID_MSG,
IFNULL(mem.realName, m.posterName) AS posterName,
b.name AS board_name
FROM ({$db_prefix}topics AS t, {$db_prefix}messages AS m, {$db_prefix}boards AS b)
LEFT JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)
WHERE t.ID_TOPIC = $topic
AND m.ID_MSG = t.ID_FIRST_MSG
AND b.ID_BOARD = t.ID_BOARD
AND FIND_IN_SET(-1, b.memberGroups)", __FILE__, __LINE__);

// No results? That's not good!
if (mysql_num_rows($result) == 0)
{
if ($output_method == 'echo')
// !!! Maybe use fatal_lang_error()?
echo $txt['ssiTopic_notfound'];
else
return array();
}


// Get the topic info
$row = mysql_fetch_assoc($result);
mysql_free_result($result);

// Censor it
censorText($row['body']);
censorText($row['subject']);

// Parse BBC in the message
$row['body'] = parse_bbc($row['body'], $row['smileysEnabled'], $row['ID_MSG']);

// Start our array of information
$return = array(
'id' => $row['ID_TOPIC'],
'id_msg' => $row['ID_MSG'],
'icon' => '<img src="' .  $settings['images_url'] . '/post/' . $row['icon'] . '.gif" align="middle" alt="' . $row['icon'] . '" border="0" />',
'subject' => $row['subject'],
'body' => $row['body'],
'time' => timeformat($row['posterTime']),
'timestamp' => forum_time(true, $row['posterTime']),
'href' => $scripturl . '?topic=' . $row['ID_TOPIC'] . '.0',
'link' => '<a href="' . $scripturl . '?topic=' . $row['ID_TOPIC'] . '.0">' . $row['numReplies'] . ' ' . ($row['numReplies'] == 1 ? $txt['smf_news_1'] : $txt['smf_news_2']) . '</a>',
'reply_count' => $row['numReplies'],
'comment_href' => !empty($row['locked']) ? '' : $scripturl . '?action=post;topic=' . $row['ID_TOPIC'] . '.' . $row['numReplies'] . ';num_replies=' . $row['numReplies'],
'comment_link' => !empty($row['locked']) ? '' : '<a href="' . $scripturl . '?action=post;topic=' . $row['ID_TOPIC'] . '.' . $row['numReplies'] . ';num_replies=' . $row['numReplies'] . '">' . $txt['smf_news_3'] . '</a>',
'locked' => !empty($row['locked']),
'poster' => array(
'id' => $row['ID_MEMBER'],
'name' => $row['posterName'],
'href' => !empty($row['ID_MEMBER']) ? $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] : '',
'link' => !empty($row['ID_MEMBER']) ? '<a href="' . $scripturl . '?action=profile;u=' . $row['ID_MEMBER'] . '">' . $row['posterName'] . '</a>' : $row['posterName'],
),

// !!! Better way to do this?
'pageindex' => constructPageIndex('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] . '?start=%d', $start, $row['numReplies'], $num_replies, true),

'replies' => array(),

);

// Get each post and poster in this topic
$result = db_query("
SELECT m.ID_MSG, m.ID_MEMBER
FROM {$db_prefix}messages AS m, {$db_prefix}topics AS t
WHERE m.ID_TOPIC = $topic
AND t.ID_TOPIC = $topic
AND m.ID_MSG != t.ID_FIRST_MSG
ORDER BY m.ID_MSG ASC
LIMIT $start, $num_replies", __FILE__, __LINE__);

// Was there any replies?
if (mysql_num_rows($result) != 0)
{
$messages = array();
$posters = array();
// Loop through each post
while ($row = mysql_fetch_assoc($result))
{
// If it wasn't a guest, add them to the posters array
if (!empty($row['ID_MEMBER']))
$posters[] = $row['ID_MEMBER'];
// Add this message to the messages array
$messages[] = $row['ID_MSG'];
}
mysql_free_result($result);
$posters = array_unique($posters);

// Load the member data of all the members that posted in this topic
loadMemberData($posters);

// Now, let's get all the replies (posts)
$result = db_query("
SELECT
m.ID_MSG, m.posterTime, m.ID_MEMBER, m.subject,
IFNULL(mem.realName, m.posterName) AS posterName,
m.posterIP, m.smileysEnabled, m.modifiedTime,
m.modifiedName, m.body, m.icon
FROM {$db_prefix}messages AS m
LEFT JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER = m.ID_MEMBER)
WHERE ID_MSG IN (" . implode(', ', $messages) . ")
ORDER BY m.ID_MSG ASC", __FILE__, __LINE__);

$counter = $start;
// Loop through each reply
// !!! This will probably use way too much memory for large topics!!
// !!! Callbacks instead?
while ($row = mysql_fetch_assoc($result))
{
// Try loading the member's data.
//If it couldn't load, or the user was a guest, use some failsafe values
if (!loadMemberContext($row['ID_MEMBER']))
{
// Notice this information isn't used anywhere else....
$memberContext[$row['ID_MEMBER']]['name'] = $row['posterName'];
$memberContext[$row['ID_MEMBER']]['id'] = 0;
$memberContext[$row['ID_MEMBER']]['group'] = $txt[28];
$memberContext[$row['ID_MEMBER']]['link'] = $row['posterName'];
$memberContext[$row['ID_MEMBER']]['email'] = $row['posterEmail'];
$memberContext[$row['ID_MEMBER']]['hide_email'] = $row['posterEmail'] == '' || (!empty($modSettings['guest_hideContacts']) && $user_info['is_guest']);
$memberContext[$row['ID_MEMBER']]['is_guest'] = true;
}
else
{
$memberContext[$row['ID_MEMBER']]['can_view_profile'] = allowedTo('profile_view_any') || ($row['ID_MEMBER'] == $ID_MEMBER && allowedTo('profile_view_own'));
$memberContext[$row['ID_MEMBER']]['is_topic_starter'] = $row['ID_MEMBER'] == $return['poster']['id'];
}

$memberContext[$row['ID_MEMBER']]['ip'] = $row['posterIP'];

// Censor it
censorText($row['body']);
censorText($row['subject']);

// Parse BBC in the message
         parsesmileys($row['body']);
         $row['body'] = parse_bbc(strip_tags($row['body']), $row['smileysEnabled'], $row['ID_MSG']);

         // Add this to our messages array
$return['replies'][] = array(
'number' => $counter + 1,
'alternate' => $counter % 2,
'id' => $row['ID_MSG'],
'href' => $scripturl . '?topic=' . $topic . '.msg' . $row['ID_MSG'] . '#msg' . $row['ID_MSG'],
'link' => '<a href="' . $scripturl . '?topic=' . $topic . '.msg' . $row['ID_MSG'] . '#msg' . $row['ID_MSG'] . '">' . $row['subject'] . '</a>',
'poster' => &$memberContext[$row['ID_MEMBER']],
'icon' => '<img src="' .  $settings['images_url'] . '/post/' . $row['icon'] . '.gif" align="middle" alt="' . $row['icon'] . '" border="0" />',
'subject' => $row['subject'],
'time' => timeformat($row['posterTime']),
'timestamp' => forum_time(true, $row['posterTime']),
'modified' => array(
'time' => timeformat($row['modifiedTime']),
'timestamp' => forum_time(true, $row['modifiedTime']),
'name' => $row['modifiedName']
),
'body' => $row['body'],
'new' => empty($row['isRead']),
'first_new' => isset($context['start_from']) && $context['start_from'] == $counter,
'can_modify' => allowedTo('modify_any') || (allowedTo('modify_replies') && $context['user']['started']) || (allowedTo('modify_own') && $row['ID_MEMBER'] == $ID_MEMBER && (empty($modSettings['edit_disable_time']) || $row['posterTime'] + $modSettings['edit_disable_time'] * 60 > time())),
'can_remove' => allowedTo('delete_any') || (allowedTo('delete_replies') && $context['user']['started']) || (allowedTo('delete_own') && $row['ID_MEMBER'] == $ID_MEMBER && (empty($modSettings['edit_disable_time']) || $row['posterTime'] + $modSettings['edit_disable_time'] * 60 > time())),
'can_see_ip' => allowedTo('moderate_forum') || ($row['ID_MEMBER'] == $ID_MEMBER && !empty($ID_MEMBER)),
'is_last' => false,
);

$counter++;
}

mysql_free_result($result);

// The last post
$return['replies'][count($return['replies']) - 1]['is_last'] = true;
}

// If we're not echoing, return this information
if ($output_method != 'echo')
return $return;

// OK, if we're here, we need to echo the data.
// Output the first post
echo '
<div>
<a href="', $return['href'], '">', $return['icon'], '<b>', $return['subject'], '</b></a>
<div class="smaller">', $return['time'], ' ', $txt[525], ' ', $return['poster']['link'], '</div>

<div class="post" style="padding: 2ex 0;">', $return['body'], '</div>

', $return['locked'] ? '' : $return['comment_link'], '<br /><br />
</div>

<h2>', $txt['ssiTopic_replies'], ':</h2>
', $return['pageindex'];

// Loop through each post
foreach ($return['replies'] as $post)
{
echo '
<div>
<a href="', $post['href'], '">', $post['icon'], ' <b>', $post['subject'], '</b></a>
<div class="smaller">', $txt['ssiTopic_reply'], ' ', $post['number'], ': ', $post['time'], ' ', $txt[525], ' ', $post['poster']['link'], '</div>

<div class="post" style="padding: 2ex 0;">', $post['body'], '</div>
</div>';

// The last post? Let's put the page numbers
if ($post['is_last'])
echo '
', $return['pageindex'];
else
echo '
<hr style="margin: 2ex 0;" width="100%" />';

}

}
// --- End modification ---
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on March 19, 2009, 09:39:13 AM
Quote from: Nao 尚 on March 19, 2009, 05:52:06 AM
@RoarinRow> Of course you do... And you always will. Just click on the link. It says "Embedding disabled by request" in the embed area. What more do you need? The video author doesn't want you to embed it. Would you rather get a YouTube window, click on it and see that it says "No video available"?

Thanks Nao I didn't realize that was a new feature with this mod   :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 19, 2009, 09:44:09 AM
@Roarin> That "new feature" was added by Karl, probably around v3, so it's at least a year old or something... ;)

@mark> Easy as pie! Just look for the second parse_bbc call, and add
$context['aeva_disable'] = 1;
in the line before. You're done.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 19, 2009, 09:46:29 AM
Quote from: Nao 尚 on March 19, 2009, 09:44:09 AM
@Roarin> That "new feature" was added by Karl, probably around v3, so it's at least a year old or something... ;)
If so, then I must be blind... After .69 was the first time I saw it I think...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 19, 2009, 09:49:04 AM
Quote from: Nao 尚 on March 19, 2009, 09:44:09 AM
@Roarin> That "new feature" was added by Karl, probably around v3, so it's at least a year old or something... ;)

@mark> Easy as pie! Just look for the second parse_bbc call, and add
$context['aeva_disable'] = 1;
in the line before. You're done.
That worked, thanks! :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 19, 2009, 09:53:15 AM
@mark> You're welcome.

@Lex> I assure you it's always been there... ;)
The only new similar thing is the "Embedding limit reached" message that shows up next to a link when there are too many videos on a page. This is something I added in v69 or so, after I rewrote the "limit" code to allow me to go through the usual embed process (to only show that text, of course) even after the limit was reached.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on March 19, 2009, 09:55:03 AM
Quote from: Nao 尚 on March 19, 2009, 09:44:09 AM
@Roarin> That "new feature" was added by Karl, probably around v3, so it's at least a year old or something... ;)

@mark> Easy as pie! Just look for the second parse_bbc call, and add
$context['aeva_disable'] = 1;
in the line before. You're done.

I guess I was just lucky with finding videos that did allow me to embed  :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 19, 2009, 09:57:23 AM
Quote from: Nao 尚 on March 19, 2009, 09:53:15 AM
@Lex> I assure you it's always been there... ;)
Ok, I believe you - I think I've just missed it by chance then :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on March 19, 2009, 10:20:07 AM
Quote from: Nao 尚 on March 19, 2009, 05:52:06 AM
@Tiribulus> And I like explaining my work from time to time, eh. Although I'm not sure this was anything near "understandable" in case the reader doesn't know a thing about stackable output buffers ;)

I wouldn't be able to do it at this point, but I'm pretty sure I understood it once you spelled it out. You guys can't be EXPECTED to do that, but it's cool when you do. I'd rather know why something is what it is than just have somebody fix it for me, in general, when possible.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 19, 2009, 10:47:30 AM
@Roarin & Lex> I'd say that 95% of all videos are embeddable... It's rare when it's not. It oftens mostly depends on the nature of the video.

@Tiribulus> Yeah, it's that famous "Give a man a fish..." thing ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JamesD01 on March 19, 2009, 12:28:25 PM
Quote from: Nao 尚 on March 19, 2009, 05:52:06 AM
@James> Uncheck the "Disable Javascript engine" option (i.e. re-enable the JS engine). There's a combination of JS engine + Show Copyright that ends up showing both. I don't remember which or why though, lol.
Doesn't work.

Copyright is still there..

Sometimes it disappears then re-appears again. ???
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 19, 2009, 12:30:43 PM
Can you tell me what settings are enabled (checked) in your admin area?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JamesD01 on March 19, 2009, 12:35:11 PM
Quote from: Nao 尚 on March 19, 2009, 12:30:43 PM
Can you tell me what settings are enabled (checked) in your admin area?
Yeah;

Enable lookups
Store & show video titles: Yes, lookup and show
Try to find titles in all sites
Show title inside video thumbnails: Only if the title isn't already stored
Center videos horizontally
Enable Embedding in Quotes
Fix uses of the embed HTML with an embeddable link
Show Flash express installer
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 19, 2009, 12:54:25 PM
Ah yes, that's it, I remember now... It's the "Include original link" option.
If you disable it, it means it won't show the link, thus it won't show the video's title associated to it, and it won't show the "powered by Aeva" mention either. So it shows it in the footer is all.

I guess I could make sure that the link shows up below the video even if "Include original link" is disabled...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: deZio on March 19, 2009, 06:42:38 PM
Quote from: Nao 尚 on March 18, 2009, 10:52:02 AM
@deZio> What is your installed mod list?
In these lines(at the end of ManageSettings.php) are code from "Sitemap" and "AJAX Chat Integration".
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 19, 2009, 06:57:59 PM
Previous versions of Ajax Chat were incompatible with Aeva (because it didn't follow SMF's guidelines in terms of adding code to the end of a file). Make sure to uninstall/install the newer version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: deZio on March 20, 2009, 09:12:29 AM
Quote from: Nao 尚 on March 19, 2009, 06:57:59 PM
Previous versions of Ajax Chat were incompatible with Aeva (because it didn't follow SMF's guidelines in terms of adding code to the end of a file). Make sure to uninstall/install the newer version.
Yes, I notice that. I have earlier make some changes in installation of ACI and maybe I have caussed this error. Never mind, now I know where the problem is if he repeat.. Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: KirkhamsEbooks on March 20, 2009, 10:01:55 PM
Quote from: KirkhamsEbooks on March 18, 2009, 09:37:42 PM
Since I have this in other forums. Seems to me I should be able to list those files, download them from one forum and upload them into another, unless those php files control other things as well

Rick
Sorry, what are you talking about?
[/quote]

If the files effect nothing but this mod can I copy them over from another forum I have instead of trying to edit the files by hand?

Rick
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Waffadrunker on March 22, 2009, 02:50:13 AM
Quote from: Nao 尚 on March 18, 2009, 06:38:44 AM
Well, it's long and complicated, but it can be done:

Click on the Fullscreen button at the right of the YT video's interface.


really funny - but for second thought - not :)

No ****** i can look videos full screen when i am ON youtube website or any other video website. I am here not about asking these web services but about your product, dooh.

As i hope you know - your mod does not enable full youtube(for example) player  so its impossible to look it full screen white out leaving from original site & go to youtube (or whatever) website.  - there is NO control for full screen.  But for many websites there is full screen options for youtube and other web videos.


Instead of making dry jokes please try to answer to obvious question next time, thank you :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Waffadrunker on March 22, 2009, 03:08:27 AM
http://patt.waffa.ee/foorum/testid/test-18/

& there you can see this huge empty spaces before video starts, how can i get a rid of these?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on March 22, 2009, 05:58:40 AM
Waffadrunker: The full screen button issue was with an older version of AEVA, you need to upgrade. Once you upgrade, if you want to fix some of your older videos, just click 'Edit' and then 'Save' and it will fix it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Claud on March 22, 2009, 04:40:16 PM
Aw.. when i go to admin -> modifications -> avea i get the following error:
// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END

Fatal error: Call to undefined function ModifyAevaSettings() in /home/***/public_html/***/Sources/ManageSettings.php on line 222
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Pescao on March 22, 2009, 05:16:57 PM
Quote from: Claud on March 22, 2009, 04:40:16 PM
Aw.. when i go to admin -> modifications -> avea i get the following error:
// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END

Fatal error: Call to undefined function ModifyAevaSettings() in /home/***/public_html/***/Sources/ManageSettings.php on line 222

Look if you have the aeva files in your Sources subdir,
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PalmBeachPreps on March 22, 2009, 05:50:24 PM
Good mod.  Works ok on my forum, but not as I expected.  Anyone know of a mod that actually embeds the video? 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on March 22, 2009, 06:13:17 PM
Quote from: AlreeGator on March 22, 2009, 05:50:24 PM
Good mod.  Works ok on my forum, but not as I expected.  Anyone know of a mod that actually embeds the video? 

Explain.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Claud on March 22, 2009, 06:16:46 PM
Quote from: Pescao on March 22, 2009, 05:16:57 PM
Quote from: Claud on March 22, 2009, 04:40:16 PM
Aw.. when i go to admin -> modifications -> avea i get the following error:
// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END

Fatal error: Call to undefined function ModifyAevaSettings() in /home/***/public_html/***/Sources/ManageSettings.php on line 222

Look if you have the aeva files in your Sources subdir,
Shouldn't it just be working after installing via package manager without any errors?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MissyNL on March 22, 2009, 07:03:22 PM
just wanted to say..... GREAT MOD!!! (http://www.bimeiden.nl/Smileys/default/hailing.gif)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MissyNL on March 22, 2009, 07:04:13 PM
Quote from: AlreeGator on March 22, 2009, 05:50:24 PM
Good mod.  Works ok on my forum, but not as I expected.  Anyone know of a mod that actually embeds the video? 

did you enable the mod?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PalmBeachPreps on March 22, 2009, 10:52:58 PM
I enabled the mod.  i just expected the videos to actually be "embedded" and not a link.
Here's what it's looking like on my forum:
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 23, 2009, 02:19:07 AM
Quote from: AlreeGator on March 22, 2009, 10:52:58 PM
I enabled the mod.  i just expected the videos to actually be "embedded" and not a link.
Here's what it's looking like on my forum:
Just a hunch, but I heard from couple of my users that certain add-ons like NoScript and AdBlocker might effect some of the major video sites, and block the actual videos from showing. Are you by any chance using some browser add on like that?

Looking at your screenshot, I'd say it is working OK, but something is blocking the actual video from showing to you, others might just see it still.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Pescao on March 23, 2009, 09:05:06 AM
Quote from: Claud on March 22, 2009, 06:16:46 PM
Shouldn't it just be working after installing via package manager without any errors?

Maybe or maybe not, and in the time that you answer me, you already can saw it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: perro88 on March 23, 2009, 09:38:18 AM
Why the mod adds this code after every link(without the url tag) [url=http://][/url]
for example I created a test forum and when I only install this mod and post for example this "www.simplemachines.com"
if I click "modify" the text will appear www.simplemachines.com[url=http://][/url].. I know this seems insignificant because that empty url tag shows nothing in most of the forum but if for example someone have a site preview kind of mod it might conflict with the mod. Thanks for the great mod :)  .... btw forum version v1.1.8 and aeva 6.0.71
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PalmBeachPreps on March 23, 2009, 12:53:53 PM
Quote from: LexArma on March 23, 2009, 02:19:07 AM
Quote from: AlreeGator on March 22, 2009, 10:52:58 PM
I enabled the mod.  i just expected the videos to actually be "embedded" and not a link.
Here's what it's looking like on my forum:
Just a hunch, but I heard from couple of my users that certain add-ons like NoScript and AdBlocker might effect some of the major video sites, and block the actual videos from showing. Are you by any chance using some browser add on like that?

Looking at your screenshot, I'd say it is working OK, but something is blocking the actual video from showing to you, others might just see it still.
yes, I use firefox w/adblock but it doesn't affect it at all when I view embedded vids on other sites(vbull) and adblock must be manually applied, it doesn't auto-block it..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Pescao on March 23, 2009, 01:02:32 PM
Quote from: AlreeGator on March 23, 2009, 12:53:53 PM
yes, I use firefox w/adblock but it doesn't affect it at all when I view embedded vids on other sites(vbull) and adblock must be manually applied, it doesn't auto-block it..

Try ie or opera. And try to disable Javascript function in the aeva settings.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 23, 2009, 01:07:44 PM
Quote from: perro88 on March 23, 2009, 09:38:18 AM
Why the mod adds this code after every link(without the url tag) [url=http://][/url]
for example I created a test forum and when I only install this mod and post for example this "www.simplemachines.com"
if I click "modify" the text will appear www.simplemachines.com[url=http://][/url]..
Just noticed the same as well. If I post an url without the http:// part the link comes out looking like http://www.example.comhttp://
and editing the post it looks like www.example.com[url=http://][/url]
BUT, if I post the link correctly with the http:// in place, no problem. It comes out just as it should.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Joe N on March 23, 2009, 01:32:59 PM
Hi

Do this have a bbc tab?

I don't really understand how to put it in posts

Joe
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 23, 2009, 01:34:51 PM
No bbc, just post a link to a eg. youtube video, and the mod will do the rest. ( If it is enabled in the AdminCP )
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Joe N on March 23, 2009, 01:36:20 PM
Quote from: LexArma on March 23, 2009, 01:34:51 PM
No bbc, just post a link to a eg. youtube video, and the mod will do the rest. ( If it is enabled in the AdminCP )

Does it work with bbc videos?

Joe
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 23, 2009, 01:41:42 PM
Quote from: WBA Dude on March 23, 2009, 01:36:20 PM
Quote from: LexArma on March 23, 2009, 01:34:51 PM
No bbc, just post a link to a eg. youtube video, and the mod will do the rest. ( If it is enabled in the AdminCP )

Does it work with bbc videos?

Joe
You have read this post, (http://www.simplemachines.org/community/index.php?topic=200401.msg1273821#msg1273821) haven't you? This should be pretty simple to understand and use :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Joe N on March 23, 2009, 03:19:44 PM
Quote from: LexArma on March 23, 2009, 01:41:42 PM
Quote from: WBA Dude on March 23, 2009, 01:36:20 PM
Quote from: LexArma on March 23, 2009, 01:34:51 PM
No bbc, just post a link to a eg. youtube video, and the mod will do the rest. ( If it is enabled in the AdminCP )

Does it work with bbc videos?

Joe
You have read this post, (http://www.simplemachines.org/community/index.php?topic=200401.msg1273821#msg1273821) haven't you? This should be pretty simple to understand and use :)

Done


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 24, 2009, 05:06:08 AM
Back from my weekend in Brittany.

@Waffa> Oh, what a nice chap you are...  :-\

Quote from: KirkhamsEbooks on March 20, 2009, 10:01:55 PM
If the files effect nothing but this mod can I copy them over from another forum I have instead of trying to edit the files by hand?
No. It only works when you update an existing Aeva install. Except of course if your other boards use exactly the same files as the first one -- then you can also copy the SMF files that were modified.

@WBA Dude> And.....?
And when you say BBC videos, do you mean BBCode or BBC.co.uk?

@Claud> You're using another mod that doesn't respect the SMF guidelines for installing in SMF files. That's probably Ajax Chat. Uninstall it and reinstall its latest version which should be fixed.

@perro> What are you talking about.....?

@AlreeGator> URL please?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 24, 2009, 02:57:30 PM
Up. Anyone awake? ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: perro88 on March 24, 2009, 03:42:37 PM
I mean if you write a link without the url tag.. this mod dunno why adds this code after the link: [url=http://][/url] (it's not vissible though but might get troubles when other mods are installed)
this is what I did to test:
- made a new forum smf 1.1.18
- Intalled this mod latest version (only this mod so the url thing is related to this mod odviously)
- made a post with this content for example: www.simplemachines.org note: no url tags used
- then clicked modify post and this is what appears www.simplemachines.org[url=http:\\][/url]
note: each time you click modify it adds the same useless url code after the link..

regards
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 24, 2009, 05:19:59 PM
Uh... Thanks.
This is due to the fact that I never type a URL without the opening "http://", so I didn't test it that way.
The autolink code from Aeva would, when http:// was not found, skip to the second replacement pattern, which was still using some older regex that wasn't valid anymore. I updated the regex and it now works just fine.

This will be, of course, in v6.1.72.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 24, 2009, 06:58:31 PM
Nothing biggy, but it fixes perro88's bug, supports Apple trailers and it officially says "looks like Aeva 6's crash-prone behavior is behind us now."

Version 6.1.72                                    24th March 2009
-----------------------------------------------------------------
@ Updating version number to 6.1 because all Aeva6 crashes are now
  officially gone (well, no such report in a week anyway.)
! Links posted without specifying the http protocol would go through
  an outdated regex pattern and thus show an empty link after the URL
* Added a quick hack (yeah, I hate those, too) to allow for Apple's
  QT vids to be enlarged by 16 pixels where required (embed code fix)

+ Added tentative support for Apple Trailers
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xavi-Nena on March 25, 2009, 02:20:27 AM
forgive my confusion but i have a quick question, i have Current version: 5.2.56 and want to upgrade...now it says I do not need to uninstall if i have 5.2 just to overwrite eva source and language files with newer versions..I just want to make sure that is correct for 5.2.56 also?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 25, 2009, 02:28:21 AM
Now, this is no big deal to me, but I kind of wondered how this happens. Updated to the .72 and the original URL-problem is fixed - Thank you :)

But now,


[url=http://www.example.com]example.com[/url]
[url=http://www.example.com]www.example.com[/url]

Shows up like
example.com (http://www.example.com)
http://www.example.com (http://www.example.com)

Notice the extra http:// in the latter...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 25, 2009, 03:07:15 AM
@NenaGb> Yes, correct for any v5.2.xx, v6.0.xx and v6.1.xx.

@Lex> Sorry, no, I don't see any problem with your code...??
http://aeva.noisen.com/dev/5060/tests-video-embedding/msg230040/#msg230040
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 25, 2009, 03:18:57 AM
Quote from: Nao 尚 on March 25, 2009, 03:07:15 AM
@Lex> Sorry, no, I don't see any problem with your code...??
http://site.noisen.com/aeva-dev/5060/tests-video-embedding/msg230040/#msg230040
No I mean if I want use the url tags to hide the http:// part from showing, it won't let me.
This:
www.example.com (http://www.example.com)
Shows http://www.example.com not www.example.com
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xavi-Nena on March 25, 2009, 03:21:10 AM
Quote from: Nao 尚 on March 25, 2009, 03:07:15 AM
@NenaGb> Yes, correct for any v5.2.xx, v6.0.xx and v6.1.xx.

thank you :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 25, 2009, 04:38:00 AM
Quote from: LexArma on March 25, 2009, 03:18:57 AM
Quote from: Nao 尚 on March 25, 2009, 03:07:15 AM
@Lex> Sorry, no, I don't see any problem with your code...??
http://aeva.noisen.com/dev/5060/tests-video-embedding/msg230040/#msg230040
No I mean if I want use the url tags to hide the http:// part from showing, it won't let me.
This:
www.example.com (http://www.example.com)
Shows http://www.example.com not www.example.com
It not only works fine for me as per the example given in the link above, but the regex itself is being turned into this pattern: $1[url=http://$2]$2[/url]
So, if you give www.example.com, it will spit out "[url=http://www.example.com]www.example.com[/url]"... Really!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 25, 2009, 04:44:27 AM
Quote from: Nao 尚 on March 25, 2009, 04:38:00 AM
It not only works fine for me as per the example given in the link above, but the regex itself is being turned into this pattern: $1[url=http://$2]$2[/url]
So, if you give www.example.com, it will spit out "[url=http://www.example.com]www.example.com[/url]"... Really!
It does work just like you said, but it just doesn't show like that on the post...
The URL-tags are ok, and the text used in it doesn't change - but still reading the post, it shows the http:// part as well.... But anyhow, it's not a big problem as I said, only wanted to point out that it does that for some reason. At least I haven't noticed it doing it before...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cobra97 on March 25, 2009, 09:54:03 AM
I just installed version (Aeva) v6.1.72 on a new install of SMF 2.0 RC1 on my test forum.  The install went fine had no errors at all, however after installation I get this.....The first file is on the very top of the screen, and the second when I try to click on the Aeva tab in my Admin panel?

Any ideas of what went wrong?

Thanks




// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END




// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Fatal error: Call to undefined function ModifyAevaSettings() in /home/****/public_html/ghost/Sources/ManageSettings.php on line 223
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: backend on March 25, 2009, 10:38:49 AM
I have this installed and it looks like a great mod.

But I am not sure how to use it exactly? all configuration is done, but when I try to post an .swf flash document or video, it doesnt work.

for example, i would like to post this SCRIBD document:  http://d.scribd.com/ScribdViewer.swf?document_id=2919675

but it is not working, it is just returning a URL.


I have enable "look up" too in options.

plz advise.

thanks a lot
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PalmBeachPreps on March 25, 2009, 03:16:33 PM
Quote from: backend on March 25, 2009, 10:38:49 AM
I have this installed and it looks like a great mod.

But I am not sure how to use it exactly? all configuration is done, but when I try to post an .swf flash document or video, it doesnt work.

for example, i would like to post this SCRIBD document:  http://d.scribd.com/ScribdViewer.swf?document_id=2919675

but it is not working, it is just returning a URL.


I have enable "look up" too in options.

plz advise.

thanks a lot

^^^^^^^ The exact same thing I worried about!  It doesn't "embed" the vids, it just links them.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 25, 2009, 03:24:36 PM
@Cobra97> Did you install Ajax Chat?

@Lex> I'll need to see your problem in context... If it works on Noisen, and it works in theory in the source code, I really can't do anything else...

@backend> You should post either the URL to the actual web page, or the entire embed code -- not simply the URL that is given inside the embed code.

@AlreeGator> Link?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PalmBeachPreps on March 25, 2009, 03:35:53 PM
http://forum.palmbeachpreps.com/index.php?topic=34.0 (http://forum.palmbeachpreps.com/index.php?topic=34.0)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 25, 2009, 03:42:57 PM
It wants me to register. (I have a no-registration policy for testing sites.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on March 25, 2009, 04:04:19 PM
I am using 6.1.72
How to disable the Quality-Links under the Youtube-Videos ?
And i also want to disable the additional link under each you-tube video - i have 'Include the Original Link' disabled.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PalmBeachPreps on March 25, 2009, 04:13:24 PM
Quote from: Nao 尚 on March 25, 2009, 03:42:57 PM
It wants me to register. (I have a no-registration policy for testing sites.)
Try this one: http://forum.palmbeachpreps.com/index.php?topic=48.0 (http://forum.palmbeachpreps.com/index.php?topic=48.0)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: perro88 on March 25, 2009, 04:20:20 PM
thanks for the fast feedback and for the small bug fix. Nice support :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Claud on March 25, 2009, 04:47:13 PM
Awesome! Thanks nao
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cobra97 on March 25, 2009, 05:11:37 PM
Quote from: Nao 尚 on March 25, 2009, 03:24:36 PM
@Cobra97> Did you install Ajax Chat?



Yes, that is installed on this test forum too....I was playing with that also.

AjaxChat Integration 3.0 

Do these two not play nice together?   ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 25, 2009, 05:23:12 PM
@AllMassive> Check the "disable Javascript engine" option. Although I don't know WHY you would do that... Everyone loves it. It's pretty much become my favorite feature in Aeva, too!

@AlreeGator> Looks like your headers don't have the Javascript stuff in them, so obviously nothing will be loaded... Did you change something in your Aeva settings? Did you enable the SSI compatibility option? Try disabling it.

@Cobra97> Well, AjaxChat is not following the SMF guidelines when it comes to installing. I thought v3.0 fixed the problem, though... The author told me he would apply my fix. I can't do anything, except to tell you to uninstall Aeva, uninstall AjaxChat, install Aeva, install Ajax Chat. (In that order.)

@Claud, perro> You're welcome.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on March 25, 2009, 05:31:40 PM
Well - i dont like it at all - i only want the videos - nothing else. 'everyone loves it' - so it has to be a good feature ? ,)

Also your 'powered by aeva' thing is very annoying - dont get me wrong - i know you put a lot of work and effort to it - but it dont like it - i've put it into the footer which looks not good.

Couldnt you put it directly after the smf-forum text ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 25, 2009, 05:56:13 PM
Quote from: AllMassive on March 25, 2009, 05:31:40 PM
Well - i dont like it at all - i only want the videos - nothing else. 'everyone loves it' - so it has to be a good feature ? ,)
Yes it's genuinely a good feature, if only because it offers more functionality than YouTube itself does. But you don't have to like all good features.

QuoteAlso your 'powered by aeva' thing is very annoying - dont get me wrong - i know you put a lot of work and effort to it - but it dont like it - i've put it into the footer which looks not good.
It looks not good what?

You just need to check "Show copyright in footer". That way it won't show up on all videos. The default is to show it everywhere -- it's up to the user's choice. If you have a forum where a lot of videos are posted, it's advisable to put the copyright in the footer. Otherwise, just leave it as is.

QuoteCouldnt you put it directly after the smf-forum text ?
It *is* put after the SMF copyright... But only if you don't use some crappy theme that doesn't follow the SMF theming guidelines (i.e. doesn't have a "copywrite" or "footerarea" place in the source code.) Otherwise, it will show up at the bottom of the body. Which isn't a good place, but there's nowhere else to go so...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: quiz_modder on March 25, 2009, 07:13:29 PM
Hi,

The latest version seems to fix the issues related to "show unread messages" etc, thanks!

However, the only (relatively minor) point now is that all the text is a font size or two larger when clicking the "show unread posts" link. So, you click the link and the list comes back but the font is bigger than it should be. I disabled the Aeva mod and this doesn't happen.

Any ideas?

FYI the thing it seemed to conflict with before was the PortaMx portal.

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PalmBeachPreps on March 25, 2009, 07:21:09 PM
Thanks Nao, working fine now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cobra97 on March 25, 2009, 07:29:34 PM
Quote from: Nao 尚 on March 25, 2009, 05:23:12 PM

@Cobra97> Well, AjaxChat is not following the SMF guidelines when it comes to installing. I thought v3.0 fixed the problem, though... The author told me he would apply my fix. I can't do anything, except to tell you to uninstall Aeva, uninstall AjaxChat, install Aeva, install Ajax Chat. (In that order.)


Thanks, I did as you said and it works fine now.........

Also, thank you for such a quick response!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 26, 2009, 03:53:34 AM
@Alree> So, you mean that unchecking the SSI option (i.e. disabling the workaround) fixed your problem? Then I definitely should remove the compatibility option, lol... (which is disabled by default, anyway.)

@Modding> I don't have an account on your forum (where anyway?) so I can't test. All I can say is -- bigger font size usually means there is some text written to the page *before* the <body> tag, so check the top of your page (or in its source code) and see if something is suspicious there.

@Cobra97> And please tell the author of Ajax Chat to remember fixing his mod as I told him to ;) (i.e., position="end")
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xavi-Nena on March 26, 2009, 05:59:33 AM
one more quick question...if I do uninstall and reinstall will I lose my data/pics?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 26, 2009, 06:11:21 AM
Yes, it will wipe out your entire SMF install, and your server will self-explode. There is also a 50% chance that your country will be destroyed by a nuclear explosion in the seconds following the uninstall.

(Of course no.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: snookstah on March 26, 2009, 06:54:20 AM
Does this mod allow the Admin to give or take away Permissions for this function to Membergroups, or even individuals? That would be cool.  :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xavi-Nena on March 26, 2009, 06:59:12 AM
Quote from: Nao 尚 on March 26, 2009, 06:11:21 AM
Yes, it will wipe out your entire SMF install, and your server will self-explode. There is also a 50% chance that your country will be destroyed by a nuclear explosion in the seconds following the uninstall.

(Of course no.)

[GASP] .........

exhale...thanks so much ... i like to double and triple check what i think i might know to make sure im correct and understand my own conclusions :) thanks again. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 26, 2009, 07:09:16 AM
Quote from: snookstah on March 26, 2009, 06:54:20 AM
Does this mod allow the Admin to give or take away Permissions for this function to Membergroups, or even individuals? That would be cool.  :D
No, and it never will. It's in the readme.
I hate permission stuff. When it comes to SMF Media Gallery, I left most of the coding to Dragooon when it came to permissions ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vampy on March 26, 2009, 10:38:57 AM
OK so for most of you this is probably a really really stupid question - but ... in the admin settings there's the option to "Embed Local Files [Excludes attachments]" ... what exactly are the local files - files held on my server?

Yes I am a moron :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 26, 2009, 10:56:51 AM
Yes, files linked like http://www.your-website.com/your-file.avi
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vampy on March 26, 2009, 11:13:19 AM
Ah thank you - I thought so, but thought it best to check :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: quiz_modder on March 26, 2009, 06:37:42 PM
Quote from: Nao 尚 on March 26, 2009, 03:53:34 AM
@Modding> I don't have an account on your forum (where anyway?) so I can't test. All I can say is -- bigger font size usually means there is some text written to the page *before* the <body> tag, so check the top of your page (or in its source code) and see if something is suspicious there.

Yep, you're right. I am getting the following before the html tag

<style type="text/css"><!--
.maeva { font: 8pt/11pt Tahoma, Arial, helvetica, sans-serif; overflow: auto }
.maeva a:link, .maeva a:visited { text-decoration: none !important; border-bottom: 0 !important }
.aeva_dq { font-weight: bold }
.aeva_t { text-align: left }
.aeva_q { text-align: right }
a.aeva_dq:link { color: inherit }
// --></style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js"></script>
<script type="text/javascript"><!-- // --><![CDATA[
aevams = {wmode:"transparent",quality:"high",allowFullScreen:"true",allowScriptAccess:"never",pluginspage:"http://www.macromedia.com/go/getflashplayer",autoplay:"false",autostart:"false"};
aeinst = "";
function aevatq(quality, id, w, h)
{
var yt = document.getElementById("aevayt"+id);
document.getElementById("sae"+id).style.width = w;
document.getElementById("saeva"+id).style.height = h;
var dat = yt.data != "" ? yt.data : yt.movie;
var aq = document.getElementById("aqc"+id).childNodes;
for (var i = 0; i < aq.length; i++)
if (aq.item(i).href)
aq.item(i).className = aq.item(i).href.indexOf("(" + quality + ",") > 0 ? "aeva_dq" : "";
swfobject.createSWF({ data: dat.replace(/fmt%3D\d+/, "fmt%3D" + quality), width: w, height: h }, aevams, "aevayt" + id);
document.cookie = "aeva_quality=" + quality + ";path=/";
}
// ]]></script>
</head>


I assume this is related to the mod? Anything I can turn off to fix it?

Cheers
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 26, 2009, 06:45:10 PM
Please give me a link to a page that exhibits this behavior.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 27, 2009, 06:17:21 AM
Quote from: Nao 尚 on March 25, 2009, 03:24:36 PM
@Lex> I'll need to see your problem in context... If it works on Noisen, and it works in theory in the source code, I really can't do anything else...
Bump ;)
(That's valid for everyone who said they had problems and who have yet to give extra feedback... I'm still waiting!)

I'll be releasing a new version today, so I'd like to incorporate as many "quick fixes" as humanly possible (i.e. any problem that actually exists)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: NO CARRIER on March 27, 2009, 07:10:37 AM
Hello!

The site: http://vbox7.com/play:aeb8d77c

The "embed" code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="450" height="403"><param name="movie" value="http://i47.vbox7.com/player/ext.swf?vid=aeb8d77c"><param name="quality" value="high"><embed src="http://i47.vbox7.com/player/ext.swf?vid=aeb8d77c" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="450" height="403"></embed></object>


My php code:

     array(
      'id' => 'vbox7',
      'title' => 'vbox7',
      'website' => 'http://vbox7.com',
      'type' => 'video',
      'added' => '6.0',
      'pattern' => 'http://(?:www.|i47.)?vbox7.com/flash:)([0-9a-z]{1,8})',
      'movie' => 'http://vbox7.com/flash:$2',
      'size' => array(450, 403),
      'fix-html-pattern' => '<embed src="$1(?:[^<>]*?)></embed>',
      'fix-html-url' => 'http://i47.vbox7.com/player/ext.swf?vid=$2',
   ),
What i'm doing wrong?

Thanks in advance. :-)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 27, 2009, 07:16:29 AM
Quote from: Nao 尚 on March 27, 2009, 06:17:21 AM
Quote from: Nao 尚 on March 25, 2009, 03:24:36 PM
@Lex> I'll need to see your problem in context... If it works on Noisen, and it works in theory in the source code, I really can't do anything else...
Bump ;)
(That's valid for everyone who said they had problems and who have yet to give extra feedback... I'm still waiting!)

I'll be releasing a new version today, so I'd like to incorporate as many "quick fixes" as humanly possible (i.e. any problem that actually exists)
PM'd you a very restricted profile and a link to test what I mean. Also made a couple of links already so you can see them on the forum...

EDIT: Though I still think this is not a big problem for us, and I am not 100% sure if it is aeva alone.
So you might get better results testing with perro88 who seemed to have the same problem...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: NO CARRIER on March 27, 2009, 10:44:57 AM
Sorry for the noob posting above.

This one works and if you wish, you could add it to the next version of Aeva.

Thanks, Nao 尚 for everything!


   array(
      'id' => 'vbox7',
      'title' => 'vbox7',
      'website' => 'http://vbox7.com',
      'type' => 'video',
      'added' => '6.0',
      'pattern' => 'http://(?:i47\.|www\.)?vbox7.com\/(?:player\/ext.swf\?vid=|play:)([0-9a-z]{1,8})',
      'movie' => 'http://i47.vbox7.com/player/ext.swf?vid=$2',
      'size' => array(450, 403),
      'fix-html-pattern' => '<object [^>]*><param name="movie" value="http://(?:i47.)?vbox7.com\/player\/ext.swf\?vid=([0-9a-z]{1,8})?">.*?</object>',
      'fix-html-url' => 'http://vbox7.com/play:$1',
   )
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 27, 2009, 01:39:18 PM
@No Carrier> Is it their official embed code?
(And -- at last someone who can figure out how to make a valid entry without my help! Kudos!)

@Lex> See my PM.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 27, 2009, 01:59:06 PM
v6.1.74 is out. It's a bit late to incorporate some of the stuff I wanted to do anyway, and I won't have much free time this weekend so I'd rather release sooner than later.

Version 6.1.74                                    27th March 2009
-----------------------------------------------------------------
! Don't use Javascript engine on posts inside RSS feeds (action=.xml)
! Allow [center/li/td]www.url.com[/] just like the http:// version is
! Fixed warning notice when using "Find titles in all sites" option
! Fixed Aeva headers appearing too early if called before </head> is
  written to the buffer but isn't actually empty (which shouldn't happen)
- Removed SSI hack and option, as it looks like it's all fixed now
* Better cleanup job (space/tag trimming) on retrieved video titles

+ Added support for Last.fm titles (Artist, Video, YT and Audio pages)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shaitanfr on March 27, 2009, 02:17:12 PM
Hi Nao,

Version number is wrong in the Package.

Thank for your work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 27, 2009, 02:21:07 PM
Fixed.

I thought no one used the package manager anymore, eheh...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shaitanfr on March 27, 2009, 02:36:41 PM
French poeple are Faithfull package manager users!    I do not understand a quarter of your discussions.  :D

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AllMassive on March 27, 2009, 03:01:07 PM
Quote from: Nao 尚 on March 25, 2009, 05:56:13 PM
It *is* put after the SMF copyright... But only if you don't use some crappy theme that doesn't follow the SMF theming guidelines (i.e. doesn't have a "copywrite" or "footerarea" place in the source code.) Otherwise, it will show up at the bottom of the body. Which isn't a good place, but there's nowhere else to go so...

Well - it looks like this (http://img25.imageshack.us/img25/9854/aevafooter.png) using the default Theme.

Couldnt it be the same fontsize like the smf-ones ? Also it looks very seperated from the default footer.

BTW - there are two 6.1.74 download links.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 27, 2009, 07:21:31 PM
@AllMassive> Why don't you publish a link instead of a screenshot? I don't really bother how your browser renders a page... I'm more interested in debugging DOM trees/page layouts. And yes it should show the text with the same font size.
Thanks for the duplicate notice. I missed that.

@LexArma> The problem is that you're using a mod called "Show Local URLs" that seems to be buggy.

At the end of Subs.php, your mod returns (in case of failure) the contents of $url, to which a temp "http://" had been added. Just replace with something like:

   return preg_match('~^http://.+?/~', $url) ? $url : substr($url, 7);

Basically, it just says, "if this URL only has a domain name, trim the http://, otherwise return the entire URL, including the http:// and things like index.php."

I don't know why I'm fixing bugs from *other* mods, but, well. I won't do that every day.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 27, 2009, 07:31:50 PM
The "fix" I mentioned in my previous post should be applied to all three "return $url;" calls in that mod function, BTW.

Still, it will always return www.something.com even if you typed http://www.something.com manually.

A better alternative would be to just give up on the return $url replacements, and replace that instead:

// Run the url through the get_ShowUrlTitle() function, if we need to.
if(in_array($data[1], array(strtr($data[0], array('<br />' => '')), 'http://'.strtr($data[0], array('<br />' => '')))))
$data[0] = get_ShowUrlTitle($data[1]);


Replace with:

// Run the url through the get_ShowUrlTitle() function, if we need to.
$clean_url = strtr($data[0], array('<br />' => ''));
if (in_array($data[1], array($clean_url, 'http://' . $clean_url)))
$data[0] = get_ShowUrlTitle($clean_url);


Now this will keep your typed URL but it will break your mod, lol. It's not like that mod is a masterpiece of programming anyway. If I were you I'd just toss it away... There's another mod that does pretty much the same thing, it's probably better than that. Or at least it didn't waste one hour of my life <_< Or maybe I should complain to you, I don't know. Why are you complaining about the http:// stuff anyway? Who gives a crap about that?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: xxwckdxx on March 27, 2009, 07:57:03 PM
Iam using Rss feed poster and one of the feeds i have posts videos and when it posts them it posts "http://feedproxy.google.com/~r/dog-whisperer/~3/oUjboxvODxc/090116_06281_00_Desperate-Husban_006.m4v" anyway to get these videos embeded?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 28, 2009, 03:05:08 AM
Uh... I don't know much, if anything, about FeedBurner. And how do I tell this is an embeddable video anyway? m4v? It's not some format I support...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on March 28, 2009, 04:43:01 AM
@nao Thanks for taking a look anyhow, but I did not really complain now did I, and it was you who wanted to take a look at it :) I only mentioned that I seem to have a problem possibly related to what Perro mentioned earlier. ;) I did say it's not a big deal anyways... Now I know what caused it, and thank you for that. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: xxwckdxx on March 28, 2009, 01:16:28 PM
thanks anyways Nao
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 28, 2009, 05:10:00 PM
You didn't answer my question, though ;) (what's m4v here?)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vampy on March 29, 2009, 02:42:04 AM
Sorry to butt in, but I wondered too - according to wikipedia - "Raw MPEG-4 Visual bitstreams are named .m4v."
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 29, 2009, 06:11:28 AM
So... That's supposed to be a streaming MP4 file? So basically it's a raw MP4 file?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 29, 2009, 07:13:45 AM
FYI, TrailerAddict seemed to be broken, so I fixed it. (Automatic sitelist updates are great, eheh.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: xxwckdxx on March 29, 2009, 01:33:13 PM
Quote from: Nao 尚 on March 28, 2009, 05:10:00 PM
You didn't answer my question, though ;) (what's m4v here?)

I didnt know myself i figured ur the expert u would know
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 30, 2009, 02:36:45 AM
I'm not an expert... I took over the project, I didn't create it. I rarely, if ever, post videos on my own boards. I had a YouTube account where I posted a few Roger Waters, Polnarref and Kaamelott videos but that was it. I actually never visited YouTube for the sake of visiting YouTube, I only followed links to YT.

Actually I'm much happier playing Drakensang right now than working on Aeva, ah ah! (Except that my eyes are red. Or maybe that's the timezone change from last Sunday.)

(Why am I talking about all that?)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: xxwckdxx on March 30, 2009, 02:39:04 AM
Ill just put it this way ur alot closer to being a expert about this kind of stuff then me :) i still need to learn php
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 30, 2009, 07:48:10 AM
I just realized I hadn't removed the SSI hack from Aeva, contrary to what was indicated in the 6.1.74 changelog.

I'll need to know, therefore, whether any users here are still using this hack (which can be enabled in the admin area)? If yes, can you please disable it (if you're using v6.1.74) and post it ASAP if it breaks your site? Because I'm definitely removing that in v6.2.75...

Also, I added the ability to disable embedding in sentences (I don't know who requested that, but I always wanted an option along the likes of that so I figured I should do it now). It works pretty well, as can be seen over at Noisen.

Finally, I'm working on improving the sitelist update script. Hopefully, I should be able to update it even if you don't go to the admin area. So, if a site gets broken, chances are you'll never even realize it because your sitelist will have been updated in the meantime, eheh. It's still a work in progress though, I can't promise it'll work out of the box.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Pescao on March 30, 2009, 08:21:12 AM
Quote from: Nao 尚 on March 30, 2009, 07:48:10 AM
I'll need to know, therefore, whether any users here are still using this hack (which can be enabled in the admin area)? If yes, can you please disable it (if you're using v6.1.74) and post it ASAP if it breaks your site? Because I'm definitely removing that in v6.2.75...

I dont have any problems with 6.1.74.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vampy on March 30, 2009, 12:39:39 PM
I have to say you're doing a brilliant job Nao - I've got this running successfully on my test site - just fiddling with things waiting to make the big switch soon - and AEVA will definitely be one of the mods coming across with the big move :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 30, 2009, 12:51:51 PM
@Vampy> Thanks ;)

@Okay guys...!

I'm looking for fearless testers interested in test-driving the new build :) I spent hours implementing the improved sitelist updater. Updating from topic pages was not an issue in itself -- it was much harder to make sure the sitelist would regenerate without having to go to the admin area, lol. I think I managed to do it in a smart way, so I'm quite happy with the result. I tested and re-tested, it works for me -- but what about you?

Rev 75 -- can be downloaded only from the SVN server
http://smf-media.com/community/index.php?action=svn;rep=3

+ Added "Enable Embedding in Sentences" setting, where videos are embedded even when they're in a sentence. Disabled by default.
+ Site list updates are now performed every time a video is shown (instead of on admin area visits), but no more than once a day
* Site lists are now saved automatically after being downloaded
- Removed SSI hack and option, as it looks like it's all fixed now (was already mentioned in the rev 74 changelog but I forgot to commit it)
! Fixed some rare malformed URLs when embedding was disabled
! Stopped relying on ob_get_length() to replace headers or not
+ Added support for vbox7.com, for a total of 200 sites supported :)
! Fixed support for TrailerAddict.com, added support for titles


I'll be uploading the updated sitelist in a second (it has a modified TrailerAddict, and adds support for vbox7 to bring up the total to 200 sites). What you want to do is this:

- Download the package,
- Unzip it somewhere,
- Upload Subs-Aeva.php and Subs-Aeva-Admin.php (only these!) to your Sources folder,
- Upload the language file(s) to your languages folder,

Now go visit any page on your forum that has a video,
And add ";fvt" to the URL (http://mysite.com/index.php?topic=123.0;fvt for instance)
Normally, it SHOULD update the sitelist. Now go to the admin area and see if you see the "site list updated" message. Sitelist tests are no longer performed on the admin area itself, so if you're seeing that message, it means you no longer need to visit the admin area to get fixes for existing sites. You just need to wait for, at most, 24 hours after a new sitelist is released, and view a video. It *should* work, immediately.

Feel free to test the new "embed in sentences" feature as well!

If everything goes well, I will release the "official" update later today.
This *should* be the last major feature addition for a while. Really, today I did the last two features I wanted to add to Aeva. It doesn't mean new site additions won't force me to add some tweaks to Aeva and release new versions, but ideally, I will not release more new versions, and will only release sitelist updates.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on March 30, 2009, 03:34:19 PM
The sitelist update worked fine, but am I to assume that the unlabeled area is the checkbox for embedding in sentences? :)
(http://gregnmary.gotdns.com/pix/forum9.jpg)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 30, 2009, 03:56:37 PM
Did you think of copying the updated language files to your languages folder?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on March 30, 2009, 05:25:54 PM
Yeah, I did. I know you already copped to being a cantankerous ol boy, but I'm not being critical at all. You asked for adventurous souls and I'm trying to be helpful. I'll check again.

AHA, I missed the Aeva.english.php file that is not in the language folder. It's there now. My mistake.

Embed in sentences works fine for me too.
(http://gregnmary.gotdns.com/pix/forum10.jpg)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 30, 2009, 06:29:29 PM
Actually your screenshot is what it shows when embedding is enabled... Which was the default behavior in v6.1 and earlier ;)
What's interesting is when you leave it off. It works fine though, so, well... I guess I'll just release it now :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 30, 2009, 06:35:03 PM
Okay, it's out on the mod site!
As usual -- the changelog is one page 1 of this topic.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on March 30, 2009, 06:49:56 PM
If I now disable "embedding in sentences" the video isn't displayed. This is the desired behavior? This is a humongous thread. Forgive me if I missed it somewhere.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 30, 2009, 06:56:38 PM
Yes, it is the desired behavior.

Let's say I wanted to show you a great music video (http://www.lastfm.fr/music/Comus/+videos/+1-RY8pJbQSmxs)... Should I assume that I want my link to be embedded directly? If I took time to write a sentence around that link, do I want it to be embedded? If I do, then I'd just say: hey guys, check out this video:

http://www.lastfm.fr/music/Comus/+videos/+1-RY8pJbQSmxs

And then I'd be done. Aeva would also do me the pleasure of turning that http link into a clickable video title, so that would be more like:

Down (Like A Movie Star) (http://www.lastfm.fr/music/Comus/+videos/+1-RY8pJbQSmxs)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on March 30, 2009, 10:15:03 PM
Ok, but this must be done as edits in the post itself right? There aren't tag buttons for this in the reply dialog. On a side note, I just realized that you are a Frenchman. Your English is quite good . I know some other French folks online and it sometimes causes me severe facial contortions while attempting to decipher what they are saying  ;D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shaitanfr on March 30, 2009, 11:07:22 PM
Quote. Sitelist tests are no longer performed on the admin area itself, so if you're seeing that message, it means you no longer need to visit the admin area to get fixes for existing sites. You just need to at most 24 hours after a new sitelist is released, and view a video. It *should* work, immediately.

Bravo !


Quote- Download the package,
- Unzip it somewhere,
- Upload Subs-Aeva.php and Subs-Aeva-Admin.php (only these!) to your Sources folder,
- Upload the language file(s) to your languages folder,

Ah, I will never use package manager. My backup folder is bigger than my whole site with frequent Aeva releases :)

QuoteI will not release more new versions

Mon oeil  ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Father Luke on March 31, 2009, 06:25:26 AM
Okay.
I give up.

Why is there no uninstaller for ver. 6.1.72?

An Error Has Occurred!
This package cannot be uninstalled, because there is no uninstaller!

Please contact the mod author for more information.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 31, 2009, 07:31:29 AM
Are you using a corrupted version of SMF or something? Because there's an installer/uninstaller in the package... You probably did something wrong. Uninstall manually.

@shaitan> we'll see! Personally, I think my job is done on Aeva... Maintaining the site list is an easy task compared to setting up everything that was needed to make it easy to update automatically. And the automatic updates are what they are -- a guarantee that I'm done with the mod itself, and only its sitelist shall be updated in the future.

@Tribulus> you just post the URL and that's all... You can put it inside a link as usual, though.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 31, 2009, 08:41:19 AM
1/ I've made it loud and clear since the release of v5.2 that all subsequent versions wouldn't need to be installed through the package manager anymore -- you just need to copy the Sources and language files manually to their respective folders, that's all.

2/ There aren't many lines of code in the install files really... I made sure it changed as little SMF core code as possible -- and most people will agree that for such a powerful mod, it's easy to install manually. It takes me about 3 minutes to uninstall a copy manually on remote websites when I'm asked to do it.

Anyway, you don't seem very sympathetic to the cause, so just handle this by yourself will ya?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 31, 2009, 08:51:37 AM
I told you to deal with it yourself. I don't have to take your constant nagging. I'm doing all this for free, I can do without that.
Ask the SMF support team. I don't use the package manager.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shaitanfr on March 31, 2009, 09:09:50 AM
Quote from: Nao 尚 on March 31, 2009, 07:31:29 AM


@shaitan> we'll see! Personally, I think my job is done on Aeva... Maintaining the site list is an easy task compared to setting up everything that was needed to make it easy to update automatically. And the automatic updates are what they are -- a guarantee that I'm done with the mod itself, and only its sitelist shall be updated in the future.


I understand! This system of automatic updating of the lists is fantastic.
An ambitious project that resulted in a final version so quickly is something exemplary.
Nao thank you for quickly repaired the mistakes that I made on my site and for all your work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vampy on March 31, 2009, 09:35:36 AM
Nao - Thank you so much for working so hard on this mod and making it absolutely wonderful :D

You say about future updates simply requiring language and sources files - will this be necessary to do the automatic updating and how will changes to the sources files affect other installed mods? OK so I'm dumb I admit it, but I don't want to screw anything up.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on March 31, 2009, 11:33:09 AM
Quote from: Father Luke on March 31, 2009, 08:42:41 AM
Quote from: Nao 尚 on March 31, 2009, 07:31:29 AM
You probably did something wrong. Uninstall manually.

I have unistalled every line of code.
I have deleted every file.

It still shows it installed.
It still will not allow the new instalation.

What's next?
It specifically tells me to ask you what I should do.

- -
Okay,
Father Luke

You missed something. I promise. The "oh there it is" moment is coming. Had plenty of em myself.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: shaitanfr on March 31, 2009, 12:28:34 PM
The package Manager write every installation / uninstallation in the file " installed.list" If you uninstall manually, this file don't change and it is normal that the Package Manager say Installed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Smoky "Rider" Blue on March 31, 2009, 03:51:50 PM
hey Nao... is the 6.2.75  current now?? im getting the red dot and no uninstall, and i did a fresh upgrade last night with a new aeva package..

just curious as i see nothing new yet on the downloads area..

Father Luke, i suggest be more like your name, patient, and backup before you install something on your site, that way if you dont like it, you can roll back.

if you dont know how to do that, then search the forums here. if you want to get rid of the mod, and can not, then perhaps ask someone nice or even offer a payment/thank you, cuz they dont have to do a thing.  ;)  we all do this cuz we like to.  :)

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 31, 2009, 04:00:25 PM
Thanks guys & girls

Quote from: Vampy on March 31, 2009, 09:35:36 AM
You say about future updates simply requiring language and sources files - will this be necessary to do the automatic updating and how will changes to the sources files affect other installed mods? OK so I'm dumb I admit it, but I don't want to screw anything up.
Maybe this is a bit unclear...

- You can update from any version between v5.2.xx and v6.2 (back and forth) by copying the Subs-Aeva***.php files to your Sources folder and the Aeva.(language).php files to your languages folder (don't forget Aeva.english.php which is not in the languages subfolder per Karl's choice, but I never got around to putting it there.)

- Doing the update manually like described above will *not* update the version number in the package manager. I could technically do it, but I don't see a real point in doing it, really. From the moment you update manually (because it's so fast once you get the hang of it), you won't want to go back to using the package manager for Aeva anyway. You can still use it later though -- if the package manager says Aeva 6.0.xx while v6.2.xx was manually installed, just uninstall "Aeva 6.0.xx" and it'll uninstall v6.2.

- Automatic sitelist updates don't require any action on your side, and are unrelated to the installation of Aeva itself. In every version before v6.2, you had to go to the admin section and click on "Save" to refresh the list. Now it's all done transparently whenever one of your users watches a video on your site and no update lookup has been performed in the last 24 hours. Currently, the only way to disable automatic updates is to disable lookups.

- If you don't get any mention of a new sitelist release while there has been one, then it means the sitelist is incompatible with your current version of Aeva -- just do the usual update process for Aeva.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on March 31, 2009, 04:09:11 PM
Thanks Nao.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Smoky "Rider" Blue on March 31, 2009, 04:11:37 PM
Nao, fresh files all the way around.. will try updating manual, but i shouldnt have gotten that as there were no aeva files there to begin with.

am i right?? or??  :o

just tried to update doing the ";fvt" at the end of a vid url from there, and it didnt change a thing either.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on March 31, 2009, 04:20:15 PM
Quote from: SmokyBlue on March 31, 2009, 04:11:37 PM
Nao, fresh files all the way around.. will try updating manual, but i shouldnt have gotten that as there were no aeva files there to begin with.

am i right?? or??  :o

just tried to update doing the ";fvt" at the end of a vid url from there, and it didnt change a thing either.
That's normal -- the latest sitelist is already there in the v6.2.75 package ;)

When I'll update the sitelist, any broken sites (that will have been reported to me and fixed, obviously) will work immediately again for you. And you won't even miss on the list of fixes -- even if you spend months without going to the admin area, the day you'll go, you'll see the complete list of changes that were made since you last visited. (It'll only show up once though, so don't refresh the page until you've at least glanced at it ;))
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Smoky "Rider" Blue on March 31, 2009, 04:28:45 PM
well i was thinking i had the latest, Nao, but like i said, its got a red dot out to the site and no uninstall..

not worried bout it, but i figured you show know.. the vids still work on the site so.. who knows??  ;)


mmm and its the beta.. rccccccc... wish they would release the next one!!!!!  >:(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vampy on March 31, 2009, 04:51:34 PM
Many thanks Nao - I get it now - no need to fiddle with the mod at all - just keep an eye out for updated versions of Subs-Aeva***.php and if needed overwrite the existing file via ftp ... least I hope I understand :P - would be so like me to get it wrong even after someone explains it as well as you did.

Like you SmokeyBlue - I can't wait for the official release of 2.0 - had RC1 on my test site for a while now but am loathe to switch my main site just yet ... waiting ...waiting
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Smoky "Rider" Blue on March 31, 2009, 05:01:27 PM
lol i have had the rc running live sine it was beta Vampy..

but like they say, unless you know how to handle and what to expect from it, dont go live with it ;)

im going to presume that Nao is ok with how it turned out on this site im working on.  O:)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: creepshow77 on March 31, 2009, 11:53:29 PM
First off, insane mod! Thank you for the time and effort, well worth it!

O.k., so looking at these posts .. I think I have a very easy question for you.
Is there anyway to selectively turn off the auto-embed?

As in ...

The issue I'm having is that I have [GFX] hyperlinked to my Youtube and Justin T.V.  channel in TP blocks ...

... the Youtube is fine as it's just a site URL [it just links to my youtube channel, not specific vids] and works as it should...,

... but for Justin T.V. no matter what combo of code I use .. it just auto-embeds the player into the block instead of showing the GFX and allowing you to click to go to the site ....

For now I'm guessing I can't do anything, and it's an issue with how J T.V. has their URL's set-up. But, like I said, it's a guess and I'm hoping you here can slap me up, call me stupid, and maybe give me a magic solution, lol.

Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PalmBeachPreps on April 01, 2009, 12:46:01 AM
I had this thing working fine, and then ... POOF! ... it no longer embeds the videos, just gives a link!

Nao, could this be because of the feeds?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: buckshot on April 01, 2009, 07:07:29 AM
Hi

I am new to this and I seem to do something wrong.
I have installed SMF 2.0 RC1 and the Aeva 6.2.75.
The installation works great but I don't get any configuration tab in the admin panel.
How do I set the mod up?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 01, 2009, 10:30:15 AM
@Creep> noembed tag. It's in the docs.........

@Alree> Are your links inside a sentence? If yes, just enable the new setting in the admin area.

@buckshot> Admin > Modifications > Aeva
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: creepshow77 on April 01, 2009, 11:20:21 AM
Quote from: creepshow77 on March 31, 2009, 11:53:29 PM
... I'm hoping you here can slap me up, call me stupid, and maybe give me a magic solution, ...

Thanks!

See? lol.

Thank you VERY much for such a quick response!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on April 01, 2009, 01:50:28 PM
Nao, found this article about Hulu.

http://www.milliesoft.co.uk/index.php?option=com_content&view=article&id=53:hulu-get-defensive&catid=2:latest-news&Itemid=13

They're being asses with their war against non-browser scripts like Boxee, but it just makes it harder for legitimate developers like you to write scripts to embed Hulu content in true websites.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 01, 2009, 02:02:16 PM
Does that mean I'll have to remove support for Hulu? I can't view any Hulu video anyway so how could I "fix" something? Also, don't have time to look into it...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on April 01, 2009, 02:47:42 PM
Tried latest .75 but BBC links do not embed, they just show as the grabbed title links. I tried doing it with the Sentance option checked but that still didn't work.

BBC links works in .74
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on April 01, 2009, 02:53:58 PM
Nao i don't understand embed in sentences mean. (sorry :( ) Do you have any explanation here?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on April 01, 2009, 03:42:04 PM
I don't know, Nao. I am willing to work with you to test out the problems, if there are any, and try to fix it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 01, 2009, 03:45:32 PM
Ozgur, I already provided a detailed explanation one or two pages ago.

Mark, BBC links work just fine on the Noisen topic (with Safari)... You should provide me with a link to a page on your site where it won't work. I tested on your site and it works the same. Did you rollback to 6.1?

Eliana, does Hulu work for you right now, or doesn't it? (with v6.2)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on April 01, 2009, 03:49:44 PM
I rolled back to .74 from .75

I tried a variations of settings but it always only showed the linked title, not the actual embed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 01, 2009, 04:52:13 PM
Uh, try to reinstall v75 because I can't see that in action on your server with it being uninstalled...
It works fine on Noisen, eh.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: edi67 on April 01, 2009, 05:46:18 PM
i have one problem i hope to explain better this:

sometimes posting links inside TAG CODE happen that aeva transform my topic and add in front of links the CODE URL, if i go to modify topic i see that before tag CODE added there is TAG AEVA that NEVER i wrote before i not understood because this happen, i insert one list of links that i CANNOT write in topic inside one TAG CODE because the AEVA mod add too the TAG URL here the list may be you can try to post them inside tag code in your forum if you have AEVA installed.:

i attached 3 screenshot:
in 1° you can view the result of the list above posted
in 2° you can view the tag AEVA added automatically in that topic
in 3° you can view the only way that i can post the list of link, for view them correctly i must SPLIT the list in 2 part in this way i can post the links without error and without the addiction of tag URL by AEVA

This is the list of link inside tag CODE:
    http://rapidshare.com/files/192719884/4_Games_In_1_Monopoly__Boggle__Yahtzee__Battleship.rar
    http://rapidshare.com/files/192720316/7_Wonders_Of_The_Ancient_World.rar
    http://rapidshare.com/files/192720481/42_All-time_Classics.rar
    http://rapidshare.com/files/192720675/100_Classic_Book_Collection.rar
    http://rapidshare.com/files/192722013/101_In_1_Games.rar
    http://rapidshare.com/files/192722274/1000_Bornes.rar
    http://rapidshare.com/files/192722327/Action_Loop.rar
    http://rapidshare.com/files/192722458/Actua_Pool.rar
    http://rapidshare.com/files/192722535/Addy_Do_You_Speak_English.rar
    http://rapidshare.com/files/192722642/Advance_Wars_Dark_Conflict.rar
    http://rapidshare.com/files/192723769/Advance_Wars_Dual_Strike.rar
    http://rapidshare.com/files/192724270/Age_Of_Empires_The_Age_Of_Kings.rar
    http://rapidshare.com/files/192725117/Alex_Rider_Stormbreaker.rar
    http://rapidshare.com/files/192725522/All_Star_Cheerleader.rar
    http://rapidshare.com/files/192726657/Alvin_And_The_Chipmunks.rar
    http://rapidshare.com/files/192728108/American_Dragon_Jake_Long.rar
    http://rapidshare.com/files/192728422/Americas_Next_Top_Model.rar
    http://rapidshare.com/files/192729716/Amf_Bowling_Pinbusters.rar
    http://rapidshare.com/files/192730214/Animal_Crossing_Wild_World.rar
    http://rapidshare.com/files/192730959/Animal_Genius.rar
    http://rapidshare.com/files/192732439/Animal_Paradise.rar
    http://rapidshare.com/files/192733013/Animaniacs_-_Lights_Camera_Action.rar
    http://rapidshare.com/files/192787755/Ankh_Curse_Of_The_Scarab_King.rar
    http://rapidshare.com/files/192733095/Anky_s_Ruiterschool.rar
    http://rapidshare.com/files/192733421/Anno_1701_Dawn_Of_Discovery.rar
    http://rapidshare.com/files/192733717/Another_Code_-_Two_Memories.rar
    http://rapidshare.com/files/192734446/Apollo_Justice_Ace_Attorney.rar
    http://rapidshare.com/files/192735692/Aquarium.rar
    http://rapidshare.com/files/192735754/Arctic_Tale.rar
    http://rapidshare.com/files/192735849/Are_You_Smarter_Than_A_10_Year_Old.rar
    http://rapidshare.com/files/192736572/Arkanoid_DS.rar
    http://rapidshare.com/files/192737582/Arthur_And_The_Minimoys.rar
    http://rapidshare.com/files/192737773/Asphalt_-_Urban_GT.rar
    http://rapidshare.com/files/192738250/Asphalt_Urban_Gt_2.rar
    http://rapidshare.com/files/192738808/Assassins_Creed_Altairs_Chronicles.rar
    http://rapidshare.com/files/192739672/Asterix_And_Obelix_Xxl_2_Mission_Wifix.rar
    http://rapidshare.com/files/192740176/Asterix_At_The_Olympic_Games.rar
    http://rapidshare.com/files/192740477/Asterix_Brain_Trainer.rar
    http://rapidshare.com/files/192740955/Atv_Quad_Frenzy.rar
    http://rapidshare.com/files/192741136/Atv_Thunder_Ridge_Riders_And_Monster_Trucks_Mayhem.rar
    http://rapidshare.com/files/192741251/Avatar_Into_The_Inferno.rar
    http://rapidshare.com/files/192741431/Avatar_The_Last_Airbender_The_Burning_Earth.rar
    http://rapidshare.com/files/192742266/Avatar_The_Legend_Of_Aang.rar
    http://rapidshare.com/files/192743289/B-17_Fortress_In_The_Sky.rar
    http://rapidshare.com/files/192743404/Baby_Pals.rar
    http://rapidshare.com/files/192743977/Back_At_The_Barnyard_Barnyardgames.rar
    http://rapidshare.com/files/192744336/Bakushow.rar
    http://rapidshare.com/files/192744357/Balls_Of_Fury.rar
    http://rapidshare.com/files/192744469/Bangai-o_Spirits.rar
    http://rapidshare.com/files/192744551/Barbie_As_The_Island_Princess.rar
    http://rapidshare.com/files/192745191/Barbie_Fashion_Show_An_Eye_For_Style.rar
    http://rapidshare.com/files/192746986/Barbie_In_The_12_Dancing_Princesses.rar
    http://rapidshare.com/files/192747048/Barnyard_Blast_Swine_Of_The_Night.rar
    http://rapidshare.com/files/192747164/Battles_Of_Prince_Of_Persia.rar
    http://rapidshare.com/files/192747573/Bee_Movie_Game.rar
    http://rapidshare.com/files/192748120/Beetle_Junior.rar
    http://rapidshare.com/files/192748146/Beetle_King.rar
    http://rapidshare.com/files/192748345/Bella_Sara.rar
    http://rapidshare.com/files/192748765/Ben_10_Protector_Of_Earth.rar
    http://rapidshare.com/files/192749143/Best_Friends_Dogs_And_Catz.rar
    http://rapidshare.com/files/192749310/Best_Of_Board_Games.rar
    http://rapidshare.com/files/192749427/Best_Of_Card_Games.rar
    http://rapidshare.com/files/192749494/Best_Of_Tests.rar
    http://rapidshare.com/files/192749535/Betty_Boops_Double_Shift.rar
    http://rapidshare.com/files/192749574/Bibi_Blocksberg_-_Neustadt_Im_Hex-chaos.rar
    http://rapidshare.com/files/192749931/Big_Brain_Academy.rar
    http://rapidshare.com/files/192749981/Big_Catch_Bass_Fishing.rar
    http://rapidshare.com/files/192750094/Big_Mutha_Truckers.rar
    http://rapidshare.com/files/192750206/Biker_Mice_From_Mars.rar
    http://rapidshare.com/files/192750544/Billiard_Action.rar
    http://rapidshare.com/files/192750587/Bionicle_Heroes.rar
    http://rapidshare.com/files/192751205/Bleach_The_Blade_Of_Fate.rar
    http://rapidshare.com/files/192753083/Bob_The_Builder_Festival_Of_Fun.rar
    http://rapidshare.com/files/192753552/Boing_Docomodake_.rar
    http://rapidshare.com/files/192753694/Bomberman_Land_Touch_2.rar
    http://rapidshare.com/files/192754148/Bomberman_Land_Touch_.rar
    http://rapidshare.com/files/192754384/Bomberman_Story.rar
    http://rapidshare.com/files/192754913/Bomberman.rar
    http://rapidshare.com/files/192755021/Boogie.rar
    http://rapidshare.com/files/192756713/Boulder_Dash_Rocks.rar
    http://rapidshare.com/files/192757150/Brain_Age.rar
    http://rapidshare.com/files/192757305/Brain_Assist.rar
    http://rapidshare.com/files/192757535/Brain_Buster_Puzzle_Pack.rar
    http://rapidshare.com/files/192757616/Brain_Challenge.rar
    http://rapidshare.com/files/192757780/Bratz_4_Real.rar
    http://rapidshare.com/files/192758319/Bratz_Girlz_Really_Rock.rar
    http://rapidshare.com/files/192758910/Bratz_Ponyz_2.rar
    http://rapidshare.com/files/192759205/Bratz_Ponyz.rar
    http://rapidshare.com/files/192759469/Bratz_Super_Babyz.rar
    http://rapidshare.com/files/192759892/Brick_Em_All.rar
    http://rapidshare.com/files/192759951/Brothers_In_Arms.rar
    http://rapidshare.com/files/192760280/Bubble_Bobble_Double_Shot.rar
    http://rapidshare.com/files/192760416/Bubble_Bobble_Revolution.rar
    http://rapidshare.com/files/192760498/Build_A_Bear_Workshop.rar
    http://rapidshare.com/files/192760647/Bunnyz.rar
    http://rapidshare.com/files/192760786/Burnout_Legends.rar
    http://rapidshare.com/files/192761389/Bust-a-move.rar
    http://rapidshare.com/files/192761607/Cake_Mania.rar
    http://rapidshare.com/files/192761848/Call_Of_Duty_4_Modern_Warfare.rar
    http://rapidshare.com/files/192762692/Call_Of_Duty_World_At_War.rar
    http://rapidshare.com/files/192763571/Carnival_Games.rar
    http://rapidshare.com/files/192764509/Cars_Mater_National.rar
    http://rapidshare.com/files/192764994/Cars_Multi4.rar
    http://rapidshare.com/files/192765170/Cartoon_Network_Racing.rar
    http://rapidshare.com/files/192766298/Casper_Scare_School_Classroom_Capers.rar
    http://rapidshare.com/files/192766542/Castlevania_Dawn_of_Sorrow.rar
    http://rapidshare.com/files/192767052/Castlevania_Order_Of_Ecclesia.rar
    http://rapidshare.com/files/192767712/Castlevania_Portrait_Of_Ruin.rar
    http://rapidshare.com/files/192768297/Catz_2.rar
    http://rapidshare.com/files/192768495/Catz.rar
    http://rapidshare.com/files/192768630/Charlottes_Web.rar
    http://rapidshare.com/files/192769595/Chess.rar
    http://rapidshare.com/files/192769617/Chessmaster_The_Art_Of_Learning.rar
    http://rapidshare.com/files/192769860/Chicken_Attack.rar
    http://rapidshare.com/files/192769889/Chicken_Little_Ace_In_Action.rar
    http://rapidshare.com/files/192770296/Chicken_Shoot.rar
    http://rapidshare.com/files/192770399/Children_Of_Mana.rar
    http://rapidshare.com/files/192771465/Chronos_Twin.rar
    http://rapidshare.com/files/192771527/City_Life.rar
    http://rapidshare.com/files/192771745/Clever_Kids_Dino_Land.rar
    http://rapidshare.com/files/192772130/Clever_Kids_Farmyard_Fun.rar
    http://rapidshare.com/files/192772969/Clever_Kids_Pirates.rar
    http://rapidshare.com/files/192773957/Clever_Kids_Pony_World.rar
    http://rapidshare.com/files/192774309/Cocoto_Racer_Readnfo.rar
    http://rapidshare.com/files/192774790/Code_Lyoko__Fall_Of_X.a.n.a.rar
    http://rapidshare.com/files/192775367/Code_Lyoko.rar
    http://rapidshare.com/files/192776441/Combat_Of_Giants_Dinosaurs.rar
    http://rapidshare.com/files/192776783/Command_And_Destroy.rar
    http://rapidshare.com/files/192776873/Contact.rar
    http://rapidshare.com/files/192777547/Cookie_And_Cream.rar
    http://rapidshare.com/files/192789682/Cooking_Guide_Cant_Decide_What_To_Eat.part1.rar
    http://rapidshare.com/files/192787472/Cooking_Guide_Cant_Decide_What_To_Eat.part2.rar
    http://rapidshare.com/files/192777768/Cooking_Mama_2_Dinner_With_Friends.rar
    http://rapidshare.com/files/192778128/Cooking_Mama.rar
    http://rapidshare.com/files/192511945/Cosmetic_Paradise.rar
    http://rapidshare.com/files/192778284/Crash__Mind_Over_Mutant.rar
    http://rapidshare.com/files/192077898/Crash_Boom_Bang.rar
    http://rapidshare.com/files/192079233/Crash_Of_The_Titans.rar
    http://rapidshare.com/files/192082737/Crayola_Treasure_Adventures.rar
    http://rapidshare.com/files/192083034/Crazy_Frog__Collectables_Art_School.rar
    http://rapidshare.com/files/192083526/Crazy_Frog_Racer.rar
    http://rapidshare.com/files/192083769/Crazy_Machines.rar
    http://rapidshare.com/files/192083864/Crazy_Pig.rar
    http://rapidshare.com/files/192083975/Crosswords.rar
    http://rapidshare.com/files/192084091/Csi_Dark_Motives.rar
    http://rapidshare.com/files/192085127/Custom_Robo_Arena.rar
    http://rapidshare.com/files/192087328/Danny_Phantom_Urban_Jungle.rar
    http://rapidshare.com/files/192087601/Dead_N_Furious.rar
    http://rapidshare.com/files/192088043/Deal_Or_No_Deal_The_Banker_Is_Back.rar
    http://rapidshare.com/files/192088194/Deal_Or_No_Deal.rar
    http://rapidshare.com/files/192088330/Death_Jr._And_The_Science_Fair_Of_Doom.rar
    http://rapidshare.com/files/192090474/Deep_Labyrinth.rar
    http://rapidshare.com/files/192092393/Devilish.rar
    http://rapidshare.com/files/192092542/Di_Gata_Defenders.rar
    http://rapidshare.com/files/192093102/Diddy_Kong_Racing.rar
    http://rapidshare.com/files/192094094/Dig_Dug_Digging_Strike.rar
    http://rapidshare.com/files/192094423/Diner_Dash.rar
    http://rapidshare.com/files/192094601/Dino_Master.rar
    http://rapidshare.com/files/192094831/Dinosaur_King.rar
    http://rapidshare.com/files/192096715/Disney_Fairies_Tinker_Bell.rar
    http://rapidshare.com/files/192098668/Disney_Friends.rar
    http://rapidshare.com/files/192100404/Disney_Princess_Magical_Jewels.rar
    http://rapidshare.com/files/192101723/Dogz_2.rar
    http://rapidshare.com/files/192102248/Dogz.rar
    http://rapidshare.com/files/192102476/Dolphin_Island.rar
    http://rapidshare.com/files/192103109/Donkey_Kong_Jungle_Climber.rar
    http://rapidshare.com/files/192103873/Donkey_Xote.rar
    http://rapidshare.com/files/192104991/Doodle_Hex.rar
    http://rapidshare.com/files/192106661/Dora_The_Explorer_Dora_Saves_The_Mermaids.rar
    http://rapidshare.com/files/192106935/Double_Sequence-the_Q-virus_Invasion.rar
    http://rapidshare.com/files/192107102/Dr_Reiner_Knizias_Brainbenders.rar
    http://rapidshare.com/files/192107816/Dr_Seuss_How_The_Grinch_Stole_Christmas.rar
    http://rapidshare.com/files/192107882/Draglade.rar
    http://rapidshare.com/files/192108450/Dragon_Ball_Origins.rar
    http://rapidshare.com/files/192109775/Dragon_Ball_Z_Goku_Densetsu.rar
    http://rapidshare.com/files/192110773/Dragon_Booster.rar
    http://rapidshare.com/files/192111522/Dragon_Hunters.rar
    http://rapidshare.com/files/192112271/Dragon_Quest_Monsters_Joker.rar
    http://rapidshare.com/files/192113806/Dragon_Quest_The_Chapters_Of_The_Chosen.rar
    http://rapidshare.com/files/192115774/Dragonball_Z_Supersonic_Warriors_2.rar
    http://rapidshare.com/files/192117165/Drawn_To_Life_Spongebob_Squarepants_Editon.rar
    http://rapidshare.com/files/192117641/Dream_Pinball_3d.rar
    http://rapidshare.com/files/192119609/Driving_Theory_Training.rar
    http://rapidshare.com/files/192120154/Dtm_Race_Driver_3_Create_And_Race.rar
    http://rapidshare.com/files/192122085/Ducati_Moto.rar
    http://rapidshare.com/files/192122697/Dynasty_Warriors_DS_Fighter_s_Battle.rar
    http://rapidshare.com/files/192124658/Ea_Playground.rar
    http://rapidshare.com/files/192125787/Ecolis_Save_The_Forest.rar
    http://rapidshare.com/files/192125997/Ed_Edd_N_Eddy_Scam_Of_The_Century.rar
    http://rapidshare.com/files/192126404/Ed_s_Farm.rar
    http://rapidshare.com/files/192126550/El_Tigre_The_Adventures_Of_Manny_Rivera.rar
    http://rapidshare.com/files/192127030/Electroplankton.rar
    http://rapidshare.com/files/192127345/Elite_Beat_Agents.rar
    http://rapidshare.com/files/192131950/Ellen_Whitaker_s_Horse_Life.rar
    http://rapidshare.com/files/192133248/Elvenland.rar
    http://rapidshare.com/files/192133391/Emma_At_The_Farm.rar
    http://rapidshare.com/files/192133901/Emma_In_The_Mountains.rar
    http://rapidshare.com/files/192134283/Enchanted.rar
    http://rapidshare.com/files/192135068/English_Training.rar
    http://rapidshare.com/files/192139547/Equestrian_Training.rar
    http://rapidshare.com/files/192140062/Equitation_Galops_1_A_7.rar
    http://rapidshare.com/files/192140679/Eragon.rar
    http://rapidshare.com/files/192142452/Essential_Sudoku.rar
    http://rapidshare.com/files/192142498/Etrian_Odyssey.rar
    http://rapidshare.com/files/192142913/Evolution_Gt.rar
    http://rapidshare.com/files/192143611/Exit.rar
    http://rapidshare.com/files/192144150/F-24_Stealth_Fighter.rar
    http://rapidshare.com/files/192144257/Fantastic_Four_Rise_Of_The_Silver_Surfer.rar
    http://rapidshare.com/files/192145904/Fantasy_Aquarium_by_DS.rar
    http://rapidshare.com/files/192146054/Farm_Life.rar
    http://rapidshare.com/files/192146336/Fashion_Designer_Style_Icon.rar
    http://rapidshare.com/files/192146851/Fashion_Dogz.rar
    http://rapidshare.com/files/192147701/Ferrari_Challenge.rar
    http://rapidshare.com/files/192148240/FIFA_06.rar
    http://rapidshare.com/files/192149614/Fifa_09.rar
    http://rapidshare.com/files/192151049/Fifa_2007.rar
    http://rapidshare.com/files/192152532/Fifa_Street_2.rar
    http://rapidshare.com/files/192153822/Fifa_Street_3.rar
    http://rapidshare.com/files/192155233/Fifa_World_Cup_2006.rar
    http://rapidshare.com/files/192156476/Final_Fantasy_Crystal_Chronicles_Ring_Of_Fates.rar
    http://rapidshare.com/files/192160142/Final_Fantasy_Fables_Chocobo_Tales.rar
    http://rapidshare.com/files/192161838/Final_Fantasy_III.rar
    http://rapidshare.com/files/192164638/Final_Fantasy_IV.rar
    http://rapidshare.com/files/192168912/Final_Fantasy_Xii_Revenant_Wings.rar
    http://rapidshare.com/files/192171563/Finding_Nemo_Escape_To_The_Big_Blue.rar
    http://rapidshare.com/files/192172366/Fire_Emblem_Shadow_Dragon.rar
    http://rapidshare.com/files/192174730/Fish_Tycoon.rar
    http://rapidshare.com/files/192175265/Fizz.rar
    http://rapidshare.com/files/192175331/Flipper_Critters.rar
    http://rapidshare.com/files/192175726/Flower_Sun_And_Rain.rar
    http://rapidshare.com/files/192177776/Flushed_Away.rar
    http://rapidshare.com/files/192178291/Football_Director.rar
    http://rapidshare.com/files/192178402/Ford_Racing_3.rar
    http://rapidshare.com/files/192178731/Fort_Boyard_V1.1.rar
    http://rapidshare.com/files/192179084/Fossil_League_Dino_Tournament_Championship.rar
    http://rapidshare.com/files/192179882/Franklins_Great_Adventure.rar
    http://rapidshare.com/files/192179952/Freedom_Wings.rar
    http://rapidshare.com/files/192180101/Freshly_Picked_Tingle_s_Rosy_Rupeeland.rar
    http://rapidshare.com/files/192181495/Frisbee_Disc_Sports_Golf_And_Ultimate.rar
    http://rapidshare.com/files/192181596/Frogger_Helmet_Chaos.rar
    http://rapidshare.com/files/192182969/Fullmetal_Alchemist_Dual_Sympathy.rar
    http://rapidshare.com/files/192184076/Fullmetal_Alchemist_Trading_Card_Game.rar
    http://rapidshare.com/files/192185002/Garfield_2.rar
    http://rapidshare.com/files/192185243/Garfield_A_Tale_Of_Two_Kitties__2.rar
    http://rapidshare.com/files/192185518/Garfield__s_Nightmare.rar
    http://rapidshare.com/files/192185796/Garfield_s_Fun_Fest.rar
    http://rapidshare.com/files/192186076/Geometry_Wars_Galaxies.rar
    http://rapidshare.com/files/192187118/George_Of_The_Jungle.rar
    http://rapidshare.com/files/192187909/Glory_Days_2.rar
    http://rapidshare.com/files/192188534/Go_Diego_Go_Safari_Rescue.rar
    http://rapidshare.com/files/192188859/Go_West.rar
    http://rapidshare.com/files/192190009/Go__Diego__Go__Safari_Rescue.rar
    http://rapidshare.com/files/192190419/Godzilla_Unleashed.rar
    http://rapidshare.com/files/192191749/Golden_Nugget_Casino.rar
    http://rapidshare.com/files/192192391/GoldenEye_Rogue_Agent.rar
    http://rapidshare.com/files/192192753/Greg_Hastings_Tournament_Paintball_Maxd.rar
    http://rapidshare.com/files/192196499/Guilty_Gear_Dust_Strikers.rar
    http://rapidshare.com/files/192197959/Guinness_Book_Of_Records_The_Videogame.rar
    http://rapidshare.com/files/192200125/Guitar_Hero_On_Tour_Decades.rar
    http://rapidshare.com/files/192205124/Guitar_Hero_On_Tour.rar
    http://rapidshare.com/files/192209736/Gunpey.rar
    http://rapidshare.com/files/192210716/Guru_Guru.rar
    http://rapidshare.com/files/192211128/Hamsterz_2.rar
    http://rapidshare.com/files/192211550/Hamsterz.rar
    http://rapidshare.com/files/192211862/Hannah_Montana_Music_Jam.rar
    http://rapidshare.com/files/192212538/Hannah_Montana.rar
    http://rapidshare.com/files/192213208/Happy_Feet.rar
    http://rapidshare.com/files/192214155/Happy_Hippos.rar
    http://rapidshare.com/files/192214389/Harlem_Globetrotters_World_Tour.rar
    http://rapidshare.com/files/192214468/Harry_Potter_and_the_Goblet_of_Fire.rar
    http://rapidshare.com/files/192215684/Harry_Potter_And_The_Order_Of_The_Phoenix.rar
    http://rapidshare.com/files/192217492/Harvest_Moon.rar
    http://rapidshare.com/files/192218386/Hello_Kitty_Big_City_Dreams.rar
    http://rapidshare.com/files/192219418/Hello_Kitty_Daily.rar
    http://rapidshare.com/files/192219518/Hells_Kitchen.rar
    http://rapidshare.com/files/192219913/Heracles_Battle_With_The_Gods.rar
    http://rapidshare.com/files/192220007/Herbie_Rescue_Rally.rar
    http://rapidshare.com/files/192220507/Heroes_Of_Mana.rar
    http://rapidshare.com/files/192222348/Hi_Hamtaro_Little_Hamsters_Big_Adventures.rar
    http://rapidshare.com/files/192222871/Hi_Hi_Puffy_Ami_Yumi_The_Genie_And_The_Amp.rar
    http://rapidshare.com/files/192224480/High_School_Musical_2_Work_This_Out.rar
    http://rapidshare.com/files/192225845/High_School_Musical_3_Senior_Year.rar
    http://rapidshare.com/files/192226943/High_School_Musical_Makin__The_Cut.rar
    http://rapidshare.com/files/192228528/Holly_Hobbie_And_Friends.rar
    http://rapidshare.com/files/192228723/Honeycomb_Beat.rar
    http://rapidshare.com/files/192229208/Horse_And_Pony_My_Stud_Farm.rar
    http://rapidshare.com/files/192229471/Horse_Life.rar
    http://rapidshare.com/files/192229816/Horseland.rar
    http://rapidshare.com/files/192230010/Horsez.rar
    http://rapidshare.com/files/192231166/Hoshigami_Ruining_Blue_Earth_Remix.rar
    http://rapidshare.com/files/192231968/Hot_Wheels_Beat_That.rar
    http://rapidshare.com/files/192233039/Hotel_Dusk_Room_215.rar
    http://rapidshare.com/files/192235871/Hotel_Giant.rar
    http://rapidshare.com/files/192236318/How_To_Pass_Your_Driving_Test.rar
    http://rapidshare.com/files/192237242/Hurry_Up_Hedgehog.rar
    http://rapidshare.com/files/192237320/I_Did_It_Mum_2_Boy.rar
    http://rapidshare.com/files/192237804/I_Did_It_Mum_Boy.rar
    http://rapidshare.com/files/192238329/I_Did_It_Mum_Girl.rar
    http://rapidshare.com/files/192238796/I_Did_It_Mum__2_Girl.rar
    http://rapidshare.com/files/192239325/I_Did_It_Mum__Picture_Book.rar
    http://rapidshare.com/files/192240976/I_Love_Horses.rar
    http://rapidshare.com/files/192241275/I_Spy_Fun_House.rar
    http://rapidshare.com/files/192241869/Ice_Age_2_The_Meltdown.rar
    http://rapidshare.com/files/192243185/Imagine__Baby_Club.rar
    http://rapidshare.com/files/192243961/Imagine__Fashion_Model.rar
    http://rapidshare.com/files/192246616/Imagine__Modern_Dancer.rar
    http://rapidshare.com/files/192248708/Imagine_Babies.rar
    http://rapidshare.com/files/192249164/Imagine_Dream_Weddings.rar
    http://rapidshare.com/files/192250018/Imagine_Fashion_Designer.rar
    http://rapidshare.com/files/192250782/Imagine_Figure_Skater.rar
    http://rapidshare.com/files/192251764/Imagine_Girl_Band.rar
    http://rapidshare.com/files/192252840/Imagine_Gymnast.rar
    http://rapidshare.com/files/192253160/Imagine_Happy_Cooking.rar
    http://rapidshare.com/files/192253499/Imagine_Pet_Vet.rar
    http://rapidshare.com/files/192254008/Imagine_Teacher.rar
    http://rapidshare.com/files/192254247/Impossible_Mission.rar
    http://rapidshare.com/files/192254519/Ironman.rar
    http://rapidshare.com/files/192255870/Izuna_Legend_Of_The_Ninja.rar
    http://rapidshare.com/files/192256084/Jackass_The_Game.rar
    http://rapidshare.com/files/192258789/Jam_Sessions.rar
    http://rapidshare.com/files/192259947/James_Bond_Quantum_Of_Solace.rar
    http://rapidshare.com/files/192260764/James_Pond_Codename_Robocod.rar
    http://rapidshare.com/files/192260869/Jenga_World_Tour.rar
    http://rapidshare.com/files/192261235/Jetix_Puzzle_Buzzle.rar
    http://rapidshare.com/files/192261342/Jewel_Master_Cradle_Of_Rome.rar
    http://rapidshare.com/files/192261553/Journey_To_The_Center_Of_The_Earth.rar
    http://rapidshare.com/files/192262693/Justice_League_Heroes.rar
    http://rapidshare.com/files/192264282/Kakuromaniacs.rar
    http://rapidshare.com/files/192264334/Kameleon.rar
    http://rapidshare.com/files/192264404/Kid_Paddle_Blorks_Invasion.rar
    http://rapidshare.com/files/192264665/Kim_Possible_Global_Gemini.rar
    http://rapidshare.com/files/192264902/Kim_Possible_Kimmunicator.rar
    http://rapidshare.com/files/192265093/King_Kong.rar
    http://rapidshare.com/files/192265698/Kira_Kira_Pop_Princess.rar
    http://rapidshare.com/files/192266438/Kirby_Canvas_Curse.rar
    http://rapidshare.com/files/192267124/Kirby_Mouse_Attack.rar
    http://rapidshare.com/files/192267498/Kirikou_And_The_Wild_Beasts.rar
    http://rapidshare.com/files/192268219/Koh-lanta.rar
    http://rapidshare.com/files/192268534/Konami_Classics_Series_Arcade_Hits.rar
    http://rapidshare.com/files/192268964/Korg_Ds_10_Synthesizer.rar
    http://rapidshare.com/files/192268996/Kung_Fu_Panda_Legendary_Warriors.rar
    http://rapidshare.com/files/192269551/Kung_Fu_Panda.rar
    http://rapidshare.com/files/192270304/Labyrinth.rar
    http://rapidshare.com/files/192270408/Lanfeust_Of_Troy.rar
    http://rapidshare.com/files/192271186/Lara_Croft_Tomb_Raider_Legend.rar
    http://rapidshare.com/files/192272920/Learn_To_Play_Chess_With_Fritz___Chesster_Aka_Fritz_Und_Fertig.rar
    http://rapidshare.com/files/192273176/Left_Or_Right_Ambidextrous_Challenge.rar
    http://rapidshare.com/files/192273477/Lego_Batman.rar
    http://rapidshare.com/files/192275102/Lego_Indiana_Jones_The_Original_Adventures.rar
    http://rapidshare.com/files/192277010/Lego_Star_Wars_II_The_Original_Trilogy.rar
    http://rapidshare.com/files/192277776/Lego_Star_Wars_The_Complete_Saga.rar
    http://rapidshare.com/files/192279754/Lets_Yoga.rar
    http://rapidshare.com/files/192282646/Lionel_Trains_On_Track.rar
    http://rapidshare.com/files/192282753/Littlest_Pet_Shop_Garden.rar
    http://rapidshare.com/files/192283755/Littlest_Pet_Shop_Jungle.rar
    http://rapidshare.com/files/192284859/Littlest_Pet_Shop_Winter.rar
    http://rapidshare.com/files/192285935/Locks_Quest.rar
    http://rapidshare.com/files/192286556/Looney_Tunes_Cartoon_Concerto.rar
    http://rapidshare.com/files/192288808/Looney_Tunes_Duck_Amuck.rar
    http://rapidshare.com/files/192289914/Lost_In_Blue_2.rar
    http://rapidshare.com/files/192290484/Lost_In_Blue_3.rar
    http://rapidshare.com/files/192291667/Lost_in_Blue.rar
    http://rapidshare.com/files/192292089/Lost_Magic.rar
    http://rapidshare.com/files/192292324/Love_Fashion_And_Friends.rar
    http://rapidshare.com/files/192292553/Lucky_Luke_Les_Dalton.rar
    http://rapidshare.com/files/192292808/Luminous_Arc.rar
    http://rapidshare.com/files/192295033/Lunar_Genesis.rar
    http://rapidshare.com/files/192295418/Lunar_Knights.rar
    http://rapidshare.com/files/192297240/Luxor_Pharaohs_Challenge.rar
    http://rapidshare.com/files/192297398/Madagascar.rar
    http://rapidshare.com/files/192297725/Madden_NFL_06.rar
    http://rapidshare.com/files/192298194/Madden_Nfl_07.rar
    http://rapidshare.com/files/192298725/Madden_Nfl_08.rar
    http://rapidshare.com/files/192299398/Madden_Nfl_09.rar
    http://rapidshare.com/files/192300036/Magical_Starsign.rar
    http://rapidshare.com/files/192301015/Mahjong_2.rar
    http://rapidshare.com/files/192301127/Mahjong_Readnfo.rar
    http://rapidshare.com/files/192301198/Mahjongg_Ancient_Mayas.rar
    http://rapidshare.com/files/192301296/Make_10_A_Journey_Of_Numbers.rar
    http://rapidshare.com/files/192302824/Making_Magic_Fun.rar
    http://rapidshare.com/files/192303586/March_Of_The_Penguins.rar
    http://rapidshare.com/files/192303651/Margot_s_Word_Brain.rar
    http://rapidshare.com/files/192303712/Mario_And_Luigi_Partners_In_Time.rar
    http://rapidshare.com/files/192304670/Mario_And_Sonic_At_The_Olympic_Games.rar
    http://rapidshare.com/files/192306548/Mario_Kart.rar
    http://rapidshare.com/files/192306913/Mario_Party.rar
    http://rapidshare.com/files/192307411/Mario_Slam_Basketball.rar
    http://rapidshare.com/files/192308206/Mario_Vs_Donkey_Kong_2__March_Of_The_Minis.rar
    http://rapidshare.com/files/192308790/Martin_Mystery_Monster_Invasion.rar
    http://rapidshare.com/files/192309033/Marvel_Nemesis_Rise_of_the_Imperfects.rar
    http://rapidshare.com/files/192310043/Marvel_Trading_Card_Game.rar
    http://rapidshare.com/files/192310581/Mary_Kings_Riding_School.rar
    http://rapidshare.com/files/192310645/Matchstick_Puzzle.rar
    http://rapidshare.com/files/192310675/Maths_Made_Simple.rar
    http://rapidshare.com/files/192310708/Maths_Play-have_Fun_With_Numbers.rar
    http://rapidshare.com/files/192310828/Mazes_Of_Fate.rar
    http://rapidshare.com/files/192311747/Mechanic_Master.rar
    http://rapidshare.com/files/192311871/Mechassault_Phantom_War.rar
    http://rapidshare.com/files/192312915/Meet_The_Robinsons.rar
    http://rapidshare.com/files/192313117/Megaman_2_Starforce_Zerker_X_Ninja.rar
    http://rapidshare.com/files/192313495/Megaman_Battle_Network_5_Double_Team.rar
    http://rapidshare.com/files/192313755/Megaman_Star_Force_2_Zerker_X_Saurian.rar
    http://rapidshare.com/files/192314145/Megaman_Star_Force_Dragon.rar
    http://rapidshare.com/files/192314539/Megaman_Star_Force_Leo.rar
    http://rapidshare.com/files/192314909/Megaman_Star_Force_Pegasus.rar
    http://rapidshare.com/files/192315286/Megaman_Zx_Advent.rar
    http://rapidshare.com/files/192316035/Megaman_Zx.rar
    http://rapidshare.com/files/192316743/Metal_Slug_7.rar
    http://rapidshare.com/files/192317665/Meteos_Disney_Magic.rar
    http://rapidshare.com/files/192318212/Meteos.rar
    http://rapidshare.com/files/192319080/Metroid_Prime_Hunters.rar
    http://rapidshare.com/files/192320068/Metroid_Prime_Pinball.rar
    http://rapidshare.com/files/192320577/Miami_Nights_Singles_In_The_City.rar
    http://rapidshare.com/files/192320980/Micro_Machines_V4.rar
    http://rapidshare.com/files/192321321/Midnight_Play__Pack.rar
    http://rapidshare.com/files/192321952/Mind_Quiz_Your_Brain_Coach.rar
    http://rapidshare.com/files/192322092/Mindstorm.rar
    http://rapidshare.com/files/192322131/Miss_Spider_Harvest_Time_Hop_And_Fly.rar
    http://rapidshare.com/files/192322289/Monster_Bomber.rar
    http://rapidshare.com/files/192322404/Monster_House.rar
    http://rapidshare.com/files/192322644/Monster_Jam.rar
    http://rapidshare.com/files/192323326/Monster_Lab.rar
    http://rapidshare.com/files/192325297/Monster_Puzzle.rar
    http://rapidshare.com/files/192325417/Moorhuhn.rar
    http://rapidshare.com/files/192325490/Moorhuhn-jewel_Of_Darknesss.rar
    http://rapidshare.com/files/192325517/More_Brain_Training_From_Dr_Kawashima_How_Old_Is_Your_Brain.rar
    http://rapidshare.com/files/192326132/More_Touchmaster.rar
    http://rapidshare.com/files/192326522/Moto_Racer.rar
    http://rapidshare.com/files/192326875/Mots_Croises_2.rar
    http://rapidshare.com/files/192326924/Mr_Bean.rar
    http://rapidshare.com/files/192327082/Mr._Driller_-_Drill_Spirits.rar
    http://rapidshare.com/files/192327242/Mr._Slime_Jr.rar
    http://rapidshare.com/files/192327434/Mtv_Fan_Attack_Readnfo.rar
    http://rapidshare.com/files/192328234/Music_Monstars.rar
    http://rapidshare.com/files/192328371/Mx_Vs_Atv_Untamed.rar
    http://rapidshare.com/files/192328599/My_Animal_Centre_In_Africa.rar
    http://rapidshare.com/files/192328749/My_Animal_Centre_In_Australia.rar
    http://rapidshare.com/files/192329081/My_Animal_School.rar
    http://rapidshare.com/files/192329429/My_Baby_Boy.rar
    http://rapidshare.com/files/192329667/My_Baby_Girl.rar
    http://rapidshare.com/files/192329915/My_Best_Friends_Dogs___Cats.rar
    http://rapidshare.com/files/192330052/My_Boyfriend.rar
    http://rapidshare.com/files/192330220/My_Dress-up.rar
    http://rapidshare.com/files/192330255/My_Farm_Around_The_World.rar
    http://rapidshare.com/files/192330320/My_French_Coach.rar
    http://rapidshare.com/files/192330610/My_Frogger_Toy_Trials.rar
    http://rapidshare.com/files/192330958/My_Health_Coach_Stop_Smoking_With_Allen_Carr.rar
    http://rapidshare.com/files/192331343/My_Horse_And_Me.rar
    http://rapidshare.com/files/192331512/My_Little_Baby.rar
    http://rapidshare.com/files/192331733/My_Make-up.rar
    http://rapidshare.com/files/192331770/My_Own_Pet_Shelter.rar
    http://rapidshare.com/files/192331896/My_Pet_Dolphin_2.rar
    http://rapidshare.com/files/192332117/My_Pet_Dolphin.rar
    http://rapidshare.com/files/192332255/My_Pet_Hotel_2.rar
    http://rapidshare.com/files/192332660/My_Pet_Hotel.rar
    http://rapidshare.com/files/192332840/My_Puppy_Shop.rar
    http://rapidshare.com/files/192333238/My_Riding_Stables.rar
    http://rapidshare.com/files/192333395/My_Secret_Diary.rar
    http://rapidshare.com/files/192333408/My_Secret_World_By_Imagine_Aka_Sofies_Freunde.rar
    http://rapidshare.com/files/192333611/My_Spanish_Coach.rar
    http://rapidshare.com/files/192333916/My_Vet_Practice.rar
    http://rapidshare.com/files/192334069/My_Western_Horse.rar
    http://rapidshare.com/files/192334425/My_Word_Coach.rar
    http://rapidshare.com/files/192334823/Mysims_Kingdom.rar
    http://rapidshare.com/files/192335546/Myst.rar
    http://rapidshare.com/files/192337934/Mystery_Detective_II.rar
    http://rapidshare.com/files/192338264/Mystery_Detective.rar
    http://rapidshare.com/files/192338440/Mystery_Dungeon-shiren_The_Wanderer.rar
    http://rapidshare.com/files/192338634/Mystery_Mansion.rar
    http://rapidshare.com/files/192338714/Nacho_Libre.rar
    http://rapidshare.com/files/192339717/Nadia_Megafun_Land.rar
    http://rapidshare.com/files/192339994/Nadias_World.rar
    http://rapidshare.com/files/192340238/Namco_Museum.rar
    http://rapidshare.com/files/192340425/Nancy_Drew_The_Deadly_Secret_Of_Olde_World_Park.rar
    http://rapidshare.com/files/192340747/Nanostray_2.rar
    http://rapidshare.com/files/192341088/Nanostray.rar
    http://rapidshare.com/files/192341331/Naruto_Ninja_Council_2.rar
    http://rapidshare.com/files/192342034/Naruto_Ninja_Council.rar
    http://rapidshare.com/files/192342488/Naruto_Ninja_Destiny.rar
    http://rapidshare.com/files/192342817/Need_For_Speed_-_Underground_2.rar
    http://rapidshare.com/files/192343042/Need_For_Speed_Carbon_Own_The_City.rar
    http://rapidshare.com/files/192343548/Need_For_Speed_Most_Wanted.rar
    http://rapidshare.com/files/192343930/Need_For_Speed_Prostreet.rar
    http://rapidshare.com/files/192345257/Need_For_Speed_Undercover.rar
    http://rapidshare.com/files/192346089/Nervous_Brickdown.rar
    http://rapidshare.com/files/192346227/Neves.rar
    http://rapidshare.com/files/192346288/New_International_Track___Field.rar
    http://rapidshare.com/files/192346849/New_Super_Mario_Bros.rar
    http://rapidshare.com/files/192347143/New_Touch_Party_Game.rar
    http://rapidshare.com/files/192347173/New_Zealand_Story_Revolution.rar
    http://rapidshare.com/files/192347254/Nicktoons_Attack_Of_The_Toybots.rar
    http://rapidshare.com/files/192347604/Ninja_Gaiden_Dragon_Sword.rar
    http://rapidshare.com/files/192350227/Ninja_Reflex.rar
    http://rapidshare.com/files/192351562/Ninjatown.rar
    http://rapidshare.com/files/192352040/Nintendo_DS_Browser.rar
    http://rapidshare.com/files/192352131/Nintendo_Touch_Golf.rar
    http://rapidshare.com/files/192352839/Nintendogs_Chihuahua__And_Friends.rar
    http://rapidshare.com/files/192353245/Nintendogs_Dachshund__And_Friends.rar
    http://rapidshare.com/files/192353671/Nintendogs_Dalmatian_And_Friends.rar
    http://rapidshare.com/files/192354076/Nintendogs_Labrador__And_Friends.rar
    http://rapidshare.com/files/192354452/Open_Season.rar
    http://rapidshare.com/files/192354919/Operation_Vietnam.rar
    http://rapidshare.com/files/192355065/Orcs_And_Elves.rar
    http://rapidshare.com/files/192355305/Over_The_Hedge_Hammy_Goes_Nuts.rar
    http://rapidshare.com/files/192356341/Over_The_Hedge.rar
    http://rapidshare.com/files/192356994/Pac_N_Roll.rar
    http://rapidshare.com/files/192357342/Pac-man_World_3.rar
    http://rapidshare.com/files/192358048/Pac-Pix_E.rar
    http://rapidshare.com/files/192358215/Paint_By_DS_Military_Vehicles.rar
    http://rapidshare.com/files/192358517/Paint.rar
    http://rapidshare.com/files/192358756/Panzer_Tactics.rar
    http://rapidshare.com/files/192359330/Party_Carnival.rar
    http://rapidshare.com/files/192359403/Pass_The_Pigs.rar
    http://rapidshare.com/files/192359901/Pawly_Pets_My_Pet_Hotel.rar
    http://rapidshare.com/files/192360113/Pawly_Pets_My_Vet_Practice.rar
    http://rapidshare.com/files/192360315/Peppa_Pig__The_Game.rar
    http://rapidshare.com/files/192360420/Personal_Yoga_Training.rar
    http://rapidshare.com/files/192360736/Pet_Alien.rar
    http://rapidshare.com/files/192360891/Pet_Vet.rar
    http://rapidshare.com/files/192361105/Pets_Rescue_Wildlife_Vet.rar
    http://rapidshare.com/files/192361812/Petz__My_Puppy_Family.rar
    http://rapidshare.com/files/192362130/Phoenix_Wright_Ace_Attorney_-_Trials_And_Tribulations.rar
    http://rapidshare.com/files/192362466/Phoenix_Wright_Ace_Attorney_Justice_For_All.rar
    http://rapidshare.com/files/192362845/Phoenix_Wright_Ace_Attorney.rar
    http://rapidshare.com/files/192364085/Pic_Pic.rar
    http://rapidshare.com/files/192364204/Picross.rar
    http://rapidshare.com/files/192364345/Pictoimage.rar
    http://rapidshare.com/files/192364680/Ping_Pals.rar
    http://rapidshare.com/files/192364868/Pipemania.rar
    http://rapidshare.com/files/192365268/Pippa_Funnell_2_Farm_Adventures.rar
    http://rapidshare.com/files/192366320/Pippa_Funnell.rar
    http://rapidshare.com/files/192367263/Pirates_Duels_On_The_High_Seas.rar
    http://rapidshare.com/files/192367398/Pirates_Of_The_Caribbean_At_World_s_End.rar
    http://rapidshare.com/files/192368659/Pirates_Of_The_Caribbean_Dead_Mans_Chest.rar
    http://rapidshare.com/files/192370081/Planet_Rescue__Animal_Emergency.rar
    http://rapidshare.com/files/192370948/Planet_Rescue__Endangered_Island.rar
    http://rapidshare.com/files/192371196/Planet_Rescue__Ocean_Patrol.rar
    http://rapidshare.com/files/192371862/Platinum_Sudoku.rar
    http://rapidshare.com/files/192371951/Playmobil__Pirate___L_abordage__.rar
    http://rapidshare.com/files/192372755/Plop_En_De_Pinguin.rar
    http://rapidshare.com/files/192373175/Pogo_Island.rar
    http://rapidshare.com/files/192373731/Point_Blank.rar
    http://rapidshare.com/files/192374140/Pokemon_Dash.rar
    http://rapidshare.com/files/192374538/Pokemon_Diamond_Version__v1.13_.rar
    http://rapidshare.com/files/192375181/Pokemon_Link.rar
    http://rapidshare.com/files/192375518/Pokemon_Mystery_Dungeon_Blue_Rescue_Team.rar
    http://rapidshare.com/files/192375886/Pokemon_Mystery_Dungeon_Explorers_Of_Darkness.rar
    http://rapidshare.com/files/192376870/Pokemon_Mystery_Dungeon_Explorers_Of_Time.rar
    http://rapidshare.com/files/192377839/Pokemon_Pearl_Version__v1.13_.rar
    http://rapidshare.com/files/192378479/Pokemon_Ranger_Shadow_Of_Almia.rar
    http://rapidshare.com/files/192379603/Pokemon_Ranger.rar
    http://rapidshare.com/files/192380079/Polarium_E.rar
    http://rapidshare.com/files/192380229/Pony_Friends.rar
    http://rapidshare.com/files/192380933/Pony_Luv.rar
    http://rapidshare.com/files/192381620/Postman_Pat.rar
    http://rapidshare.com/files/192382013/Power_Rangers_Super_Legends.rar
    http://rapidshare.com/files/192382293/Powershot_Pinball_Constructor.rar
    http://rapidshare.com/files/192382427/Practice_English.rar
    http://rapidshare.com/files/192385776/Prey_The_Stars_Gabu_Gabu_Planet.rar
    http://rapidshare.com/files/192386521/Prince_Of_Persia_The_Fallen_King.rar
    http://rapidshare.com/files/192387194/Princess_Lillifee.rar
    http://rapidshare.com/files/192387758/Princess_Natasha_Student__Secret_Agent__Princess.rar
    http://rapidshare.com/files/192387876/Princess_On_Ice.rar
    http://rapidshare.com/files/192389014/Prism_Light_The_Way.rar
    http://rapidshare.com/files/192389140/Pro_Evolution_Soccer_6.rar
    http://rapidshare.com/files/192389836/Pro_Evolution_Soccer_08.rar
    http://rapidshare.com/files/192391265/Professor_Brainmaniac.rar
    http://rapidshare.com/files/192391381/Professor_Heinz_Wolff_s_Gravity.rar
    http://rapidshare.com/files/192391745/Professor_Kageyamas_Maths_Training.rar
    http://rapidshare.com/files/192392153/Professor_Layton_And_The_Curious_Village.rar
    http://rapidshare.com/files/192394225/Professors_Brain_Trainer_The_Logic.rar
    http://rapidshare.com/files/192394410/Professors_Brain_Trainer_The_Memory.rar
    http://rapidshare.com/files/192394628/Project_Rub.rar
    http://rapidshare.com/files/192395162/Puppy_Luv_Animal_Tycoon.rar
    http://rapidshare.com/files/192395236/Puppy_Luv_Spa_And_Resort.rar
    http://rapidshare.com/files/192395283/Purr_Pals.rar
    http://rapidshare.com/files/192396551/Puyo_Pop_Fever.rar
    http://rapidshare.com/files/192397428/Puzzle_League.rar
    http://rapidshare.com/files/192397951/Puzzle_Quest_Challenge_Of_The_Warlords.rar
    http://rapidshare.com/files/192398177/Questions_Pour_Un_Champion.rar
    http://rapidshare.com/files/192398382/Race_Driver_Grid.rar
    http://rapidshare.com/files/192399858/Rafa_Nadal_Tennis.rar
    http://rapidshare.com/files/192400537/Rainbow_Island_Revolution.rar
    http://rapidshare.com/files/192400669/Ratatouille_Food_Frenzy.rar
    http://rapidshare.com/files/192400819/Ratatouille.rar
    http://rapidshare.com/files/192401460/Rayman_Raving_Rabbids_2.rar
    http://rapidshare.com/files/192402078/Rayman_Raving_Rabbids_Tv_Party.rar
    http://rapidshare.com/files/192402718/Rayman_Raving_Rabbids.rar
    http://rapidshare.com/files/192403349/Rayman.rar
    http://rapidshare.com/files/192403894/Real_Adventures_Pet_Vet.rar
    http://rapidshare.com/files/192404431/Real_Adventures_Wild_Horses.rar
    http://rapidshare.com/files/192404877/Real_Football_08.rar
    http://rapidshare.com/files/192405403/Real_Football_2009.rar
    http://rapidshare.com/files/192406039/Real_Stories_Babies.rar
    http://rapidshare.com/files/192406389/Real_Stories_Mission_Equitation.rar
    http://rapidshare.com/files/192406760/Real_Stories_Veterinaire.rar
    http://rapidshare.com/files/192407564/Red_Bull_Bc_One.rar
    http://rapidshare.com/files/192407980/Resident_Evil_Deadly_Silence.rar
    http://rapidshare.com/files/192411918/Retro_Atari_Classics.rar
    http://rapidshare.com/files/192412060/Rhythm__n_Notes.rar
    http://rapidshare.com/files/192412219/Riding_Star_3.rar
    http://rapidshare.com/files/192412784/Rijexamen_Training.rar
    http://rapidshare.com/files/192413268/Robbie_Konijn.rar
    http://rapidshare.com/files/192414099/Robots.rar
    http://rapidshare.com/files/192414986/Rubiks_Puzzle_World.rar
    http://rapidshare.com/files/192415168/Runaway_The_Dream_Of_The_Turtle.rar
    http://rapidshare.com/files/192419206/Sam_Power_Handyman.rar
    http://rapidshare.com/files/192420200/Samantha_Oups.rar
    http://rapidshare.com/files/192420814/Sbk_Snowboard_Kids.rar
    http://rapidshare.com/files/192421593/Schaakmat.rar
    http://rapidshare.com/files/192421663/Schach.rar
    http://rapidshare.com/files/192421753/Scooby-Doo_21_Unmasked.rar
    http://rapidshare.com/files/192421954/Scooby-doo__Who_S_Watching_Who.rar
    http://rapidshare.com/files/192422491/Scotland_Yard.rar
    http://rapidshare.com/files/192423104/Scrabble_Interactive_2007_Edition.rar
    http://rapidshare.com/files/192423547/Scurge_Hive.rar
    http://rapidshare.com/files/192423736/Sea_Monsters.rar
    http://rapidshare.com/files/192423926/Secret_Files-tunguska.rar
    http://rapidshare.com/files/192426120/Sega_Casino.rar
    http://rapidshare.com/files/192426257/Sega_Presents_Touch_Darts.rar
    http://rapidshare.com/files/192426378/Sega_Superstars_Tennis.rar
    http://rapidshare.com/files/192428328/Settlers.rar
    http://rapidshare.com/files/192429027/Shamus_Deep_Sea_Adventures.rar
    http://rapidshare.com/files/192429263/Shaun_The_Sheep.rar
    http://rapidshare.com/files/192429745/Shaun_White_Snowboarding.rar
    http://rapidshare.com/files/192430326/Shining_Stars_Super_Starcade.rar
    http://rapidshare.com/files/192430472/Showtime_Championship_Boxing.rar
    http://rapidshare.com/files/192430872/Shrek_Carnival_Craze.rar
    http://rapidshare.com/files/192432332/Shrek_Ogres_And_Dronkeys.rar
    http://rapidshare.com/files/192433507/Shrek_Smash__n_Crash_Racing.rar
    http://rapidshare.com/files/192435230/Shrek_Super_Slam.rar
    http://rapidshare.com/files/192435830/Shrek_The_Third.rar
    http://rapidshare.com/files/192436672/Sid_Meiers_Civilization_Revolution.rar
    http://rapidshare.com/files/192437529/Sight_Training.rar
    http://rapidshare.com/files/192438063/Simcity_Creator.rar
    http://rapidshare.com/files/192438550/Simcity.rar
    http://rapidshare.com/files/192438921/Skate_It.rar
    http://rapidshare.com/files/192440430/Snk_Vs_Capcom_Card_Fighters.rar
    http://rapidshare.com/files/192441329/Snood_2_On_Vacation.rar
    http://rapidshare.com/files/192441450/Sokoban.rar
    http://rapidshare.com/files/192441517/Solitaire.rar
    http://rapidshare.com/files/192441711/Sonic_Chronicles_The_Dark_Brotherhood.rar
    http://rapidshare.com/files/192445520/Sonic_Rush_Adventure.rar
    http://rapidshare.com/files/192447206/Sonic_Rush.rar
    http://rapidshare.com/files/192448874/Soul_Bubbles.rar
    http://rapidshare.com/files/192449994/Space_Chimps.rar
    http://rapidshare.com/files/192451350/Space_Invaders_Extreme.rar
    http://rapidshare.com/files/192452645/Space_Invaders_Revolution.rar
    http://rapidshare.com/files/192452911/Spectrobes_-_Beyond_The_Portals.rar
    http://rapidshare.com/files/192457772/Spectrobes.rar
    http://rapidshare.com/files/192459234/Speed_Racer.rar
    http://rapidshare.com/files/192460990/Spellbound.rar
    http://rapidshare.com/files/192463843/Spiderman_2.rar
    http://rapidshare.com/files/192464567/Spiderman_3.rar
    http://rapidshare.com/files/192466733/Spider-man_Battle_For_New_York.rar
    http://rapidshare.com/files/192469194/Spider-man_Friend_Or_Foe.rar
    http://rapidshare.com/files/192471787/Spiderman_Web_Of_Shadows.rar
    http://rapidshare.com/files/192454317/Spongebob_Squarepants_And_Friends_Battle_For_Volcano_Island.rar
    http://rapidshare.com/files/192473496/Spongebob_Squarepants_And_Friends_Unite.rar
    http://rapidshare.com/files/192513169/Spongebob_Squarepants_Creature_From_The_Krusty_Krab.rar
    http://rapidshare.com/files/192515518/Spongebob_Squarepants_Featuring_Nicktoons_Globs_Of_Doom.rar
    http://rapidshare.com/files/192517083/Spongebob_Squarepants_The_Yellow_Avenger.rar
    http://rapidshare.com/files/192518946/Spongebobs_Atlantis_Squarepantis.rar
    http://rapidshare.com/files/192520648/Spore_Creatures.rar
    http://rapidshare.com/files/192522507/Sprung_-_The_Dating_Game.rar
    http://rapidshare.com/files/192523053/Spyro_Shadow_Legacy.rar
    http://rapidshare.com/files/192524897/Star_Fox_Command.rar
    http://rapidshare.com/files/192526656/Star_Trek_Tactical_Assault.rar
    http://rapidshare.com/files/192526931/Star_Wars_Episode_III_Revenge_Of_The_Sith.rar
    http://rapidshare.com/files/192527780/Star_Wars_Lethal_Alliance.rar
    http://rapidshare.com/files/192528507/Star_Wars_The_Clone_Wars_Jedi_Alliance.rar
    http://rapidshare.com/files/192535883/Star_Wars_The_Force_Unleashed.rar
    http://rapidshare.com/files/192537619/Starz.rar
    http://rapidshare.com/files/192537875/Steel_Horizon.rar
    http://rapidshare.com/files/192538949/Stratego_Next_Edition.rar
    http://rapidshare.com/files/192539560/Strawberry_Shortcake_Strawberryland_Games.rar
    http://rapidshare.com/files/192539818/Strawberry_Shortcake_The_Four_Seasons_Cake.rar
    http://rapidshare.com/files/192540191/Street_Football.rar
    http://rapidshare.com/files/192541744/Subbuteo.rar
    http://rapidshare.com/files/192542032/Sudoku_Gridmaster.rar
    http://rapidshare.com/files/192542256/Sudokumaniacs.rar
    http://rapidshare.com/files/192542362/Sudokuro.rar
    http://rapidshare.com/files/192542433/Super_Black_Bass_Fishing.rar
    http://rapidshare.com/files/192542673/Super_Fruit_Fall.rar
    http://rapidshare.com/files/192542822/Super_Fun_Sudoku.rar
    http://rapidshare.com/files/192542890/Super_Mario_64.rar
    http://rapidshare.com/files/192543443/Super_Monkey_Ball.rar
    http://rapidshare.com/files/192544831/Super_Princess_Peach.rar
    http://rapidshare.com/files/192545240/Superman_Returns_The_Videogame.rar
    http://rapidshare.com/files/192546906/Surf_s_Up.rar
    http://rapidshare.com/files/192547745/Sushi_Academy.rar
    http://rapidshare.com/files/192548092/Syberia.rar
    http://rapidshare.com/files/192551398/Tak_The_Great_Juju_Challenge.rar
    http://rapidshare.com/files/192552601/Tamagotchi_Connection_Corner_Shop_3.rar
    http://rapidshare.com/files/192554575/Tamagotchi_Connexion_Corner_Shop_2.rar
    http://rapidshare.com/files/192555835/Tamagotchi_Connexion_Corner_Shop.rar
    http://rapidshare.com/files/192556562/Tangram_Mania.rar
    http://rapidshare.com/files/192556703/Tank_Battles.rar
    http://rapidshare.com/files/192558146/Taos_Adventure_Curse_Of_The_Demon_Seal.rar
    http://rapidshare.com/files/192559668/Tecktonik_World_Tour.rar
    http://rapidshare.com/files/192561891/Teenage_Mutant_Ninja_Turtles_3.rar
    http://rapidshare.com/files/192562455/Teenage_Mutant_Ninja_Turtles.rar
    http://rapidshare.com/files/192563238/Teenage_Zombies_Invasion_Of_The_Alien_Brain_Thingys.rar
    http://rapidshare.com/files/192564248/Telly_Addicts.rar
    http://rapidshare.com/files/192565060/Tenchu_Dark_Secret.rar
    http://rapidshare.com/files/192567778/Tennis_Elbow.rar
    http://rapidshare.com/files/192567950/Tennis_Masters.rar
    http://rapidshare.com/files/192568046/Tetris.rar
    http://rapidshare.com/files/192568348/Texas_Hold_Em_Poker_Pack.rar
    http://rapidshare.com/files/192568735/Texas_Hold_Em_Poker.rar
    http://rapidshare.com/files/192569567/The_Aly_And_Aj_Adventure.rar
    http://rapidshare.com/files/192569894/The_Chronicles_Of_Narnia_Prince_Caspian.rar
    http://rapidshare.com/files/192571324/The_Chronicles_of_Narnia_The_Lion_The_Witch_and_The_Wardrobe.rar
    http://rapidshare.com/files/192574965/The_Golden_Compass_Readnfo.rar
    http://rapidshare.com/files/192576274/The_Incredible_Hulk.rar
    http://rapidshare.com/files/192578183/The_Incredibles_Rise_Of_The_Underminer.rar
    http://rapidshare.com/files/192578462/The_Legend_Of_Spyro_A_New_Beginning.rar
    http://rapidshare.com/files/192580832/The_Legend_Of_Spyro_Dawn_Of_The_Dragon.rar
    http://rapidshare.com/files/192584050/The_Legend_Of_Spyro_The_Eternal_Night.rar
    http://rapidshare.com/files/192585087/The_Legend_Of_Zelda_Phantom_Hourglass.rar
    http://rapidshare.com/files/192587808/The_Little_Mermaid_Ariels_Undersea_Adventure.rar
    http://rapidshare.com/files/192588441/The_Magical_Unicorn.rar
    http://rapidshare.com/files/192588688/The_Rub_Rabbits.rar
    http://rapidshare.com/files/192592452/The_Simpsons_Game.rar
    http://rapidshare.com/files/192598816/The_Sims_2_Apartment_Pets.rar
    http://rapidshare.com/files/192599667/The_Sims_2_Castaway.rar
    http://rapidshare.com/files/192601189/The_Sims_2_Pets.rar
    http://rapidshare.com/files/192601773/The_Sims_2.rar
    http://rapidshare.com/files/192605562/The_Spiderwick_Chronicles.rar
    http://rapidshare.com/files/192607866/The_Suite_Life_Of_Zack_And_Cody-circle_Of_Spies.rar
    http://rapidshare.com/files/192608636/The_Sun_Crossword_Challenge.rar
    http://rapidshare.com/files/192608820/The_Urbz_Sims_in_the_City.rar
    http://rapidshare.com/files/192610949/The_Water_Horse__Legend_Of_The_Deep.rar
    http://rapidshare.com/files/192611506/The_Wild_Chicks_And_The_Hunt_For_The_Ruby_Heart.rar
    http://rapidshare.com/files/192611690/The_World_Ends_With_You.rar
    http://rapidshare.com/files/192617171/Theme_Park.rar
    http://rapidshare.com/files/192618413/Think_Kids.rar
    http://rapidshare.com/files/192619093/Think_Logic_Trainer.rar
    http://rapidshare.com/files/192619545/Thrillville_Off_The_Rails.rar
    http://rapidshare.com/files/192624374/Tiger_Woods_Pga_Tour_08.rar
    http://rapidshare.com/files/192626840/Tiger_Woods_PGA_Tour.rar
    http://rapidshare.com/files/192628444/Tigerz.rar
    http://rapidshare.com/files/192629308/Tim_Power_Fire-fighter.rar
    http://rapidshare.com/files/192631035/Tim_Power_Policeman.rar
    http://rapidshare.com/files/192632681/Tim_Stockdale_s_Riding_Star.rar
    http://rapidshare.com/files/192633648/Titeuf_Megafun_Land.rar
    http://rapidshare.com/files/192634324/Titeuf_Mission_Nadia.rar
    http://rapidshare.com/files/192634932/Tom_And_Jerry_Tales.rar
    http://rapidshare.com/files/192635831/Tom_Clancy_s_Splinter_Cell_-_Chaos_Theory.rar
    http://rapidshare.com/files/192637980/Tom_Clancys_Endwar.rar
    http://rapidshare.com/files/192638755/Tomb_Raider_-_Underworld.rar
    http://rapidshare.com/files/192642306/Tony_Hawk__s_American_Sk8land.rar
    http://rapidshare.com/files/192644902/Tony_Hawk__s_Downhill_Jam.rar
    http://rapidshare.com/files/192647436/Tony_Hawks_Motion_Featuring_Hue_Pixel_Painter.rar
    http://rapidshare.com/files/192650171/Tony_Hawks_Proving_Ground.rar
    http://rapidshare.com/files/192652781/Toon-doku.rar
    http://rapidshare.com/files/192653318/Tootuffs_World.rar
    http://rapidshare.com/files/192653776/Top_Gun.rar
    http://rapidshare.com/files/192654281/Top_Spin_2.rar
    http://rapidshare.com/files/192654910/Top_Spin_3.rar
    http://rapidshare.com/files/192655715/Top_Trumps_Doctor_Who.rar
    http://rapidshare.com/files/192656040/Top_Trumps_Dogs___Dinosaurs.rar
    http://rapidshare.com/files/192656525/Top_Trumps_Horror___Predators.rar
    http://rapidshare.com/files/192656981/Totally_Spies_2_Undercover.rar
    http://rapidshare.com/files/192657425/Totally_Spies__3_Secret_Agents.rar
    http://rapidshare.com/files/192658049/Touch_Mechanic.rar
    http://rapidshare.com/files/192658714/Touchmaster.rar
    http://rapidshare.com/files/192660348/Tout_Savoir_Cp.rar
    http://rapidshare.com/files/192660527/Toy_Shop_Tycoon.rar
    http://rapidshare.com/files/192660884/Trackmania.rar
    http://rapidshare.com/files/192662117/Transformers_Animated_The_Game.rar
    http://rapidshare.com/files/192665518/Transformers_Autobots.rar
    http://rapidshare.com/files/192667340/Transformers_Decepticons.rar
    http://rapidshare.com/files/192669108/Trauma_Center_Under_The_Knife.rar
    http://rapidshare.com/files/192669474/Trioncube.rar
    http://rapidshare.com/files/192669703/Tsumiki_The_Infernal_Tower.rar

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 01, 2009, 06:22:33 PM
Aeva is not exactly optimized for posting hundreds of links in a single post... You're better off using [noembed] on this list. Really.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on April 02, 2009, 03:50:01 AM
hi Nao got a problem with the mod seems the new version isn't changing the links into vids it's just showing the link

as you can see here http://wewantsport.com/index.php?topic=132.0

Any suggestions why this is like that ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vampy on April 02, 2009, 03:55:23 AM
Quote from: Özgür´ on April 01, 2009, 02:53:58 PM
Nao i don't understand embed in sentences mean. (sorry :( ) Do you have any explanation here?

Ozgur ... Admin > Configuration > Modifications > Aeva >  Enable Embedding in Sentences (check or uncheck the box)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on April 02, 2009, 04:09:05 AM
Never mind,didn't realise you had to have the Enable Embedding in Sentences box ticked
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Pescao on April 02, 2009, 04:51:40 AM
Quote from: Özgür´ on April 01, 2009, 02:53:58 PM
Nao i don't understand embed in sentences mean. (sorry :( ) Do you have any explanation here?

It's simple. AEVA don't embed if you write before your link in the same line (only before, not after), only embed if you write link in a new line, unless you enable de "Enable embed in sentences" option.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 02, 2009, 06:11:29 AM
kingkingston, that's because you centered the video. If you want all videos to be centered, just say it in the admin area. Otherwise, use the center tag, and then print the URL in a new lines, and close the center tag (on a new line or the same line, it doesn't matter here.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on April 02, 2009, 08:10:18 AM
Quote from: Nao 尚 on April 02, 2009, 06:11:29 AM
kingkingston, that's because you centered the video. If you want all videos to be centered, just say it in the admin area. Otherwise, use the center tag, and then print the URL in a new lines, and close the center tag (on a new line or the same line, it doesn't matter here.)

The problem was only the links were showing so i ticked the box and the vids started to show again,everythings fine now thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 02, 2009, 08:12:23 AM
Made a silent update to the 6.2.75 package... No need to redownload.
It simply updates the readme file to match the new one (see page 1), and explicitly adds aeva_incontext ("embed in sentences") as enabled in the database installer -- I just don't want to get thousands of support messages saying that Aeva doesn't work because it disables embedding inside sentences. But, of course, I strongly encourage everyone to disable that feature, as it's much cleaner that way.

@kingkingston> As I'm telling you -- untick the box and start making sure your videos are at the beginning of a line -- no text, no tags before them. If you need to center your vids, either use the "center all" option, or add a newline between the center tag and your link.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: edi67 on April 02, 2009, 09:51:29 AM
Quote from: Nao 尚 on April 01, 2009, 06:22:33 PM
Aeva is not exactly optimized for posting hundreds of links in a single post... You're better off using [noembed] on this list. Really.

what means? please eplain me better the use of code  EMBED
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 02, 2009, 10:00:32 AM
Ever used SMF.....?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: edi67 on April 02, 2009, 03:50:04 PM
Quote from: Nao 尚 on April 02, 2009, 10:00:32 AM
Ever used SMF.....?

sometimes in the last 4 years of smf forum that i have, this not means that i must use every TAG CODE, i begin with yabbse for finish with smf rc1 but NEVER used EMBED code so please dont be hilarious if you want help me ok im very glad about but if you want joke dont worry not problem i will find somebody that can help me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 02, 2009, 04:02:56 PM
No I'm not joking, and I wasn't even aggressive, I don't need that.
And no it's not an SMG default tag. I'm just saying, if you can use SMF, you can use a new tag.
And I never said "EMBED", I'm talking about the NOEMBED code. The one that is mentioned in the mod site. You did read it, didn't you? Because you use SMF, and when you install mods, you're aware that some of them have documentations available, so that you don't come and ask the same stupid question again and again?

Did I say "stupid" already? And "aggressive"? Okay then I've said it all...
¬_¬
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: edi67 on April 02, 2009, 05:04:40 PM
Thx for you gently help
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: NO CARRIER on April 02, 2009, 05:44:57 PM
Quote from: Nao 尚 on March 27, 2009, 01:39:18 PM
@No Carrier> Is it their official embed code?
(And -- at last someone who can figure out how to make a valid entry without my help! Kudos!)

Thanks. :-)

Yes, it is their official code.
I added Bulgarian translation in Noisen forum.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on April 02, 2009, 05:52:05 PM
Glad you did the Sentences feature! :) I asked for this a few weeks back and you seemed dead against it and instead just told me to tell my users how to use noembed code, glad you changed your mind.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 02, 2009, 06:15:06 PM
Quote from: mark7144 on April 02, 2009, 05:52:05 PM
Glad you did the Sentences feature! :) I asked for this a few weeks back and you seemed dead against it and instead just told me to tell my users how to use noembed code, glad you changed your mind.
Actually I wasn't too sure it could be implemented easily... And then it struck me that it was just a matter of adding a few more bytes to the main regex pattern. Of course it turned out to be a bit more complicated, but still, I did it in half a day, so it was definitely doable. I figured that would have to be one of the last two features I would add to Aeva. <sob>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on April 02, 2009, 06:19:08 PM
I'm very happy you included it although I will unfortunately have to miss out on the benefits because with Sentencing unchecked, the videos in my javascript show/hide links do not embed, and that is what I use for all my news articles. My application to Google News got accepted the other day so my articles are very important to me.

[mi]Murray not looking for revenge (1 audio)[/mi][m] http://news.bbc.co.uk/sport1/hi/tennis/7975908.stm[/m]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 02, 2009, 06:33:14 PM
As I explained above -- just hit Return and put your video in a single line if you want it to embed.

[mi]Murray not looking for revenge (1 audio)[/mi][m]
http://news.bbc.co.uk/sport1/hi/tennis/7975908.stm[/m]


I'm not sure what your [m] does, though.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Pescao on April 02, 2009, 06:58:30 PM
Nao, I make a translation to Spanish, if you want it, tell me how to send to you.

And don't worry, I read English  better than write it ^_^
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 03, 2009, 05:03:18 AM
Translations are to be posted here:
http://site.noisen.com/aeva-trans/

There is already an existing translation for v5.2.56. Of course it seriously needs to be updated. Please try to mix both translations and use the best of each.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on April 03, 2009, 05:50:11 AM
Quote from: Nao 尚 on April 02, 2009, 06:33:14 PM
As I explained above -- just hit Return and put your video in a single line if you want it to embed.

[mi]Murray not looking for revenge (1 audio)[/mi][m]
http://news.bbc.co.uk/sport1/hi/tennis/7975908.stm[/m]


I'm not sure what your [m] does, though.
Thanks a lot! :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Pescao on April 03, 2009, 06:35:50 AM
Quote from: Nao 尚 on April 03, 2009, 05:03:18 AM
Translations are to be posted here:
http://site.noisen.com/aeva-trans/

There is already an existing translation for v5.2.56. Of course it seriously needs to be updated. Please try to mix both translations and use the best of each.

OK ^_^
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eliana Tamerin on April 03, 2009, 12:53:17 PM
Quote from: edi67 on April 02, 2009, 05:04:40 PM
Thx for you gently help

Nao's an arrogant French bastard, what do you expect? :P

Nao: This is really meant to be funny. Cheer up!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on April 03, 2009, 06:58:13 PM
You're actually right though, Nao probably is an arrogant French bastard but at least his arrogance is justified to some degree, so it's not so bad :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on April 03, 2009, 07:37:16 PM
@Vampy, @Nao and Big thanks.
@Pescao I understand now. I never have noticed before. So thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 05, 2009, 04:44:31 PM
How strange to see so few new messages in here... Glad to see that the latest version is entirely bug-free :)

Feel free to test embedding for every site you see, and post here if you see anything that doesn't work correctly!
I'd also like to update the complete site list with titles. Some of the sites will accept titles, while some won't -- why waste time looking up a site that doesn't need lookups, when it doesn't bring up a title either?

Things like that..... ^^
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on April 05, 2009, 09:15:34 PM
I assume "embed local videos" which I do have enabled, refers to embedding files from the server itself. Maybe I'm a dunce, but I haven't been able to figure out to do that. When I post a local path it just shows up as a sentence. Unless, as just this second occurred to me, you need to have it in a published directory and post a link to it there?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 06, 2009, 01:45:56 AM
Yes. It has to be a http link...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 06, 2009, 03:50:59 AM
[Sitelist update] Fixed slide.com lookups
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sudhakar Arjunan on April 06, 2009, 04:38:44 AM
Hi Nao, i have upgraded from 6.0.66 to latest 6.2.75.

And which it is redirected to Aeva page settings,

It ends up with error.

Fatal error: Cannot redeclare modifyaevasettings() (previously declared in /home/itacumen/public_html/discuss/Sources/ManageSettings.php:2144) in /home/itacumen/public_html/discuss/Sources/ManageSettings.php on line 2159
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 06, 2009, 04:43:26 AM
You forgot to uninstall before reinstalling. You'll have to uninstall everything manually.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sudhakar Arjunan on April 06, 2009, 04:44:34 AM
Quote from: Nao 尚 on April 06, 2009, 04:43:26 AM
You forgot to uninstall before reinstalling. You'll have to uninstall everything manually.

Great. I did uninstalled the previous installed version.

That time it said this error.

Fatal error: Cannot redeclare modifyaevasettings() (previously declared in /home/itacumen/public_html/discuss/Sources/ManageSettings.php:2133) in /home/itacumen/public_html/discuss/Sources/ManageSettings.php on line 2148

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sudhakar Arjunan on April 06, 2009, 04:46:57 AM
Tell you what i did,

First uninstalled old version and installed new version.

Now it shows this error.

Fatal error: Cannot redeclare modifyaevasettings() (previously declared in /home/itacumen/public_html/discuss/Sources/ManageSettings.php:2144) in /home/itacumen/public_html/discuss/Sources/ManageSettings.php on line 2159

Then uninstalled the latest and installed the old version again, then it showed me this error.

Fatal error: Cannot redeclare modifyaevasettings() (previously declared in /home/itacumen/public_html/discuss/Sources/ManageSettings.php:2133) in /home/itacumen/public_html/discuss/Sources/ManageSettings.php on line 2148

Again installed the latest version over the old version and when i click modification it shows this error .

Fatal error: Cannot redeclare modifyaevasettings() (previously declared in /home/itacumen/public_html/discuss/Sources/ManageSettings.php:2144) in /home/itacumen/public_html/discuss/Sources/ManageSettings.php on line 2159
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 06, 2009, 05:00:38 AM
I told you once, I won't tell you thrice: you have to uninstall the leftovers *manually*. It's not my fault you don't remember forgetting to uninstall it at some point. You did. The modifyaevasettings() function is only declared once. If it's declared twice, then it means Aeva is installed twice in your SMF core files.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sudhakar Arjunan on April 06, 2009, 08:37:19 AM
Quote from: Nao 尚 on April 06, 2009, 05:00:38 AM
I told you once, I won't tell you thrice: you have to uninstall the leftovers *manually*. It's not my fault you don't remember forgetting to uninstall it at some point. You did. The modifyaevasettings() function is only declared once. If it's declared twice, then it means Aeva is installed twice in your SMF core files.

The Word you said manually. Made me to think.

Searched throughout your topic and do not find any note to uninstall the file clearly.

Then checked the code on managesettings.php and found this code and removed it manually to work properly.

// Aeva - START
function ModifyAevaSettings($return_config = false)
{
   global $sourcedir;
   @require_once($sourcedir .'/Subs-Aeva-Admin.php');
   return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : '');
}
// Aeva - END

Thanks Nao for this great mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on April 06, 2009, 08:39:32 AM
Quote from: A.SK on April 06, 2009, 08:37:19 AM
The Word you said manually. Made me to think.
All and every mod for smf include instruction to install / uninstall manually. You just need to find them. The easiest way to find them, is on the mod download page. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 06, 2009, 09:11:22 AM
Quote from: A.SK on April 06, 2009, 08:37:19 AM
The Word you said manually. Made me to think.

Searched throughout your topic and do not find any note to uninstall the file clearly.
It's the first sentence in clear black bold in the readme file, which can be viewed in the first post of this topic, in the mod site's Aeva page, and in Aeva's readme.txt file which is also shown when installing it.

What more do you need? Do you want me to show it in

a more visible way?

Lol.

QuoteThen checked the code on managesettings.php and found this code and removed it manually to work properly.
Removing that function isn't enough. Because Aeva is installed twice, it'll execute twice, screwing your embeds/lookups, taking twice more time to run, and growing pot in your messages. Which may or may not be illegal in your country.

QuoteThanks Nao for this great mod.
You're welcome, man. But still... Read the text in bold.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sudhakar Arjunan on April 06, 2009, 09:46:14 AM
Quote from: Nao 尚 on April 06, 2009, 09:11:22 AM


QuoteThen checked the code on managesettings.php and found this code and removed it manually to work properly.
Removing that function isn't enough. Because Aeva is installed twice, it'll execute twice, screwing your embeds/lookups, taking twice more time to run, and growing pot in your messages. Which may or may not be illegal in your country.


Ahh... I was really worried.

I do not want any such issues. Whatever you have mentioned is right. I said there is no clear instructions for manually uninstall through package uninstall.

I have removed the code only on managesettings.php

Guide me through it, so i will go and manually uninstall and install the latest version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on April 06, 2009, 10:05:37 AM
I'm gonna try n save Nao from having an apocalyptic seizure right here on international television :P

Go HERE (http://custom.simplemachines.org/mods/index.php?mod=977), select your verion of SMF in the dropdown on the right and click "parse". Next you will see the INSTALL instructions. You need to carefully do them in REVERSE to manually uninstall. Find what is added or changed and remove or change it back.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 06, 2009, 10:33:39 AM
Quote from: A.SK on April 06, 2009, 09:46:14 AM
I do not want any such issues. Whatever you have mentioned is right. I said there is no clear instructions for manually uninstall through package uninstall.
Yes there are.
When you attempt to install Aeva, the readme file shows up. With the mention in bold. Only after the readme file you can see the list of files that will be installed and you can process the installation.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Arveles on April 06, 2009, 11:52:54 AM
please add support: www.uzmantv.com
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: genusis on April 07, 2009, 04:59:47 PM
ok i installed the newest version after uninstalling the older version but now when i install any version i get this error.

// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END

Fatal error: Call to undefined function: modifyaevasettings() in /home/genusis/spirea.flphost.com/forum/Sources/ManageSettings.php on line 233

Anyway to fix this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 07, 2009, 05:17:36 PM
You probably have an old version of AjaxChat installed. Uninstall Aeva, uninstall AC, reinstall Aeva, reinstall AC. In that order.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: genusis on April 07, 2009, 06:14:34 PM
Quote from: Nao 尚 on April 07, 2009, 05:17:36 PM
You probably have an old version of AjaxChat installed. Uninstall Aeva, uninstall AC, reinstall Aeva, reinstall AC. In that order.

OK i uninstalled AC and AEVA then reinstalled them since i had the newest version of ajaxchat and i have the newest version of aeva.
but after reinstalling them like you said i get this error

// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Fatal error: Call to undefined function: modifyaevasettings() in /home/genusis/spirea.flphost.com/forum/Sources/ManageSettings.php on line 237

on line 237 is

// Call the right function for this sub-acton.
   $subActions[$_REQUEST['sa']]();
}
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on April 07, 2009, 07:41:17 PM
Quote from: genusis on April 07, 2009, 06:14:34 PM
Quote from: Nao 尚 on April 07, 2009, 05:17:36 PM
You probably have an old version of AjaxChat installed. Uninstall Aeva, uninstall AC, reinstall Aeva, reinstall AC. In that order.

OK i uninstalled AC and AEVA then reinstalled them since i had the newest version of ajaxchat and i have the newest version of aeva.
but after reinstalling them like you said i get this error

// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Fatal error: Call to undefined function: modifyaevasettings() in /home/genusis/spirea.flphost.com/forum/Sources/ManageSettings.php on line 237

on line 237 is

// Call the right function for this sub-acton.
   $subActions[$_REQUEST['sa']]();
}


Can you attachment this file ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cobra97 on April 07, 2009, 07:51:21 PM
Hi Nao,

  Is there any way I can get a MP3 to auto-play on a page with your mod.  I have MP3's on various posts and they embed just fine, but if possibility I would like a couple of them to auto-play.

Like you can in this MP3 mod here:  http://custom.simplemachines.org/mods/index.php?mod=829

I didn't want to just install this on top of yours, because yours does so much more and I didn't want to goof it up.

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 08, 2009, 03:07:34 AM
Uhhh well it's technically possible of course, but it would require a few edits to the source files. The trick is that you don't want everything to autoplay. You don't even want all mp3s to autoplay. You want to be able to autoplay ONE file you choose, right? So it should be set as an option, like adding #autoplay to the link. Do I understand correctly?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: genusis on April 08, 2009, 08:27:27 AM
ok well i tried it again i uninstalled Ajaxchat 3.0 and uninstalled aeva again then just reinstalled aeva.  i get this error

// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Fatal error: Call to undefined function: modifyaevasettings() in /home/genusis/spirea.flphost.com/forum/Sources/ManageSettings.php on line 220

i attached the file below
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 08, 2009, 09:17:04 AM
Then it's "Affiliates Mod by NIBOGO" which is badly programmed. (Boo!)
Do the same with that mod.

Alternatively, just move the ?> from where it is, to the very end.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: zinkox on April 08, 2009, 09:28:32 AM
Hi

I just installed this because the youtube mod didn't work anymore

Now the funky part. I installed it via package upload&install.. everything was ok.

Now the index.php?action=featuresettings;sa=aeva is the same as index.php?action=featuresettings

Where is the control panel for aeva? This url was created automatically after I installed it but it's the same as before.

Oh yes, and [youtube] tags now work perfectly.... If I just copy/paste a youtube url it is only a url not the video.


Thanks :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: genusis on April 08, 2009, 09:43:44 AM
thank you all i had to do is move the ?> to the end and it worked =].
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 08, 2009, 09:48:47 AM
Of course it would work. But these mods that don't use position="end" in their install scripts -- it's a tragedy.

@zinkox> I don't understand what your problem is.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: zinkox on April 08, 2009, 11:04:53 AM
I don't know  where to access the preferences in admin panel for aeva...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 08, 2009, 11:58:27 AM
What version of SMF?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jiveturkey on April 08, 2009, 07:36:02 PM
I got an old version uninstalled and the latest one installed without any errors.  I like when that happens.

But I still can't get the HD version to embed (YouTube).  I added the #ws-hd and lookup is enabled.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: godboko on April 08, 2009, 11:55:13 PM
Any chance for ustream support?

Also thank you for such a great script!!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 09, 2009, 02:08:12 AM
@Jive> does that video support HD at all?
@godboko> what's that?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: godboko on April 09, 2009, 02:26:21 AM
http://www.ustream.tv
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 09, 2009, 03:20:08 AM
Yes but what is it, what's its point, why should I add it?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: godboko on April 09, 2009, 03:27:38 AM
Going to borrow from there Getting started page:

What is Ustream.tv?

Ustream.tv quickly and easily allows anyone with a camera    to broadcast to the world.  Our users consist of bloggers, podcasters, radio    stations, DJ's, citizen journalist, talk show hosts, celebrities, rock bands,    entertainers, comedians, churches, political candidates, government officials,    conferences, event sponsors, record labels, television networks, colleges,  university organizations, fraternities, sororities, charities, community groups,    websites, civic groups, priests, monks, bird lovers, ghost hunters, dog    watchers, weddings, lifecasters, professionals and amateurs.     

As to your question why to add it, because it lets users have shows and stream them, its fairly useful for gaming sites, an inexpensive way to have fresh media content for there sites, both live and recorded.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on April 09, 2009, 03:48:33 AM
Quote from: Nao 尚 on April 09, 2009, 03:20:08 AM
Yes but what is it, what's its point, why should I add it?

it's a bit like justin.tv
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 09, 2009, 03:49:31 AM
Yeah but not as popular, am I right?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on April 09, 2009, 03:56:08 AM
Quote from: Nao 尚 on April 09, 2009, 03:49:31 AM
Yeah but not as popular, am I right?

yeah not as popular
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 09, 2009, 04:13:18 AM
Added support for ustream.
Interestingly, they probably share the same player as justin.tv... It has the same issue (demands that flashvars are put in a separate flashvars parameter, instead of being simply added to the embed URL.) So I used justin.tv's workaround, lol.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: godboko on April 09, 2009, 02:50:44 PM
Quote from: Nao 尚 on April 09, 2009, 04:13:18 AM
Added support for ustream.
Interestingly, they probably share the same player as justin.tv... It has the same issue (demands that flashvars are put in a separate flashvars parameter, instead of being simply added to the embed URL.) So I used justin.tv's workaround, lol.

Thanks for Adding!!! I notice pages like http://www.ustream.tv/recorded/1162405 do not embed though. But Channel pages like http://www.ustream.tv/channel/fox-news-talk seem to embed correctly.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 09, 2009, 03:31:29 PM
You asked me to add support for ustream, nothing else. You didn't follow the rules for website integration. You didn't even give a list of example URLs to embed. You can't exactly complain now. I still added support for the first video I saw, lol.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: godboko on April 10, 2009, 12:45:39 AM
I am sorry I didn't see I was supposed to request on your site.

Site addition requests should go to the Aeva and websites board. I apologize.

Also I will admit I thought I was making a bug report and not a complaint.

Anyway thank you again for the wonderful product. 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 10, 2009, 02:48:43 AM
Okay, do I have to spell it out?
Give me a complete list of URLs you want enabled?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cobra97 on April 10, 2009, 02:04:36 PM
Quote from: Nao 尚 on April 08, 2009, 03:07:34 AM
Uhhh well it's technically possible of course, but it would require a few edits to the source files. The trick is that you don't want everything to autoplay. You don't even want all mp3s to autoplay. You want to be able to autoplay ONE file you choose, right? So it should be set as an option, like adding #autoplay to the link. Do I understand correctly?

Right, more like a option I guess, I  definitely don't want all them  to auto-play.  I was thinking like a manual edit on the one I wanted.....Right like #autoplay

Thanks for your time

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 10, 2009, 03:17:36 PM
It's still quite a lot of changes to apply... Wouldn't even know where to start.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cobra97 on April 10, 2009, 04:22:44 PM
Quote from: Nao 尚 on April 10, 2009, 03:17:36 PM
It's still quite a lot of changes to apply... Wouldn't even know where to start.

Don't worry about, I was just seeing if It could be done..........

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Killer-B on April 11, 2009, 12:52:24 AM
bonjour...

GREAT mod - love it - and works like a champion!! :)

Quick YouTube question though...

Do you know why sometimes an "embedded" video within a post comes up and says "Video no longer available" but then, when I go and paste it into my Portal/HTML it works fine???!!! (So, that means, the "video" is really OK) -

Is this an Aeva thing? I don't fully understand how your services (Aeva) tie into all the 100+ sites you "work" with... but just know 98% of the time it works brilliantly... But seems lately, we're getting that YT error message more and more - even though we can watch it outside of a post, or directly on YT -

Thoughts?

TIA -

KB :)

Whoops - forgot the link... http://www.f-1chat.com/forum/index.php/topic,4.0.html is a good example of other sites working well... Seems to only happen with YT vids :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 11, 2009, 03:38:13 AM
This is already addressed in the readme file...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vekseid on April 11, 2009, 08:43:02 AM
Any plans for TED embedding?

E.G. http://www.ted.com/talks/view/id/509

Also, does world-writable really need to be forced? I run FCGI so I have no need for it and the security risk (however slight) just annoys me : /
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 11, 2009, 09:01:49 AM
What's TED? Concept, etc. Please convince me ;) (it's a website that requires lookups -- ie longer to implement.)

What's world-writable?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Caosul on April 11, 2009, 09:57:32 PM
Is there a way just to be able to use the <embed> tags? Using the embed tags in BCC mode only publishes the code as text.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Killer-B on April 11, 2009, 11:18:59 PM
Quote from: Nao 尚 on April 11, 2009, 03:38:13 AM
This is already addressed in the readme file...

Thanks for that brilliant tip and help mate... I'll dig thru 212 pages and find it....
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vampy on April 11, 2009, 11:32:49 PM
Quote from: Killer-B on April 11, 2009, 11:18:59 PM
Quote from: Nao 尚 on April 11, 2009, 03:38:13 AM
This is already addressed in the readme file...

Thanks for that brilliant tip and help mate... I'll dig thru 212 pages and find it....

I think Nao means the readme file that comes with the mod if you unpack it ... or am I missing the point?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: jdvarner on April 11, 2009, 11:37:54 PM
how do you embed local files?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Killer-B on April 11, 2009, 11:47:51 PM
Quote from: Vampy on April 11, 2009, 11:32:49 PM
Quote from: Killer-B on April 11, 2009, 11:18:59 PM
Quote from: Nao 尚 on April 11, 2009, 03:38:13 AM
This is already addressed in the readme file...

Thanks for that brilliant tip and help mate... I'll dig thru 212 pages and find it....

I think Nao means the readme file that comes with the mod if you unpack it ... or am I missing the point?

That's exactly my point... I always use the Package Installer on SMF... so have never had to unzip something - so - assume the readme file is either here on the site, or on his Aeva site - or, as you've just said, is packed within the zip file - Then again, maybe it's set up to reside on my site under programs... Still hunting for it.... I thought it was a simple Q.... to a link or the likes, never asked for a detailed explanation.... just some assistance.

Either way -

HAPPY EASTER eveyone....
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: laren on April 12, 2009, 12:00:43 AM
congratulations the latest version works so good
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on April 12, 2009, 12:32:56 AM
Quote from: jdvarner on April 11, 2009, 11:37:54 PM
how do you embed local files?

I've never actually done it, but I'm betting you do something like make a folder in the public web directory somewhere, put files in it and use that as the link. For example if your site is http://www.blahblah.com, create a folder named say, media and put a file in there named blahblah.avi. The link in the post would be http://www.blahblah.com/media/blahblah.avi or maybe even http://localhost/media/blahblah.avi would work, not sure.

Of course, like I say, never having done it I may be wrong, but that would seem to be the deal.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TheListener on April 12, 2009, 12:51:42 AM

Hi for the forum I use I would be looking at youtube and international news video clips.

Is the BBC the only news available?

What about Sky News or US?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Killer-B on April 12, 2009, 01:00:10 AM
Quote from: TheListener on April 12, 2009, 12:51:42 AM

Hi for the forum I use I would be looking at youtube and international news video clips.

Is the BBC the only news available?

What about Sky News or US?

Depends where YOU live... as the BBC/BBCA lock down their videos very tight and only allow UK IP's to "view" their online clips.. I know they have their own media player... but doubt you'd be able to get any BBC video source legally... Don't know about Sky .... Check FOX.com for their videos... maybe they're more open.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kizer on April 12, 2009, 03:16:13 AM
just updated from I think 5.2 to the newest. Man it doesn't get any easier than copying a few files and then visiting what websites are new in the list and clicking the check boxes.

I wish all of the mods where that easy.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on April 12, 2009, 01:35:02 PM
I've been noticing some YouTube videos are showing "Video not available" when they are fine... the only cause I can see is if the URL contains the "feature" stuff. When you remove the stuff at the end of the URL then it plays fine.

http://www.youtube.com/watch?v=ehhCvk03tNI&feature=related
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 12, 2009, 01:55:32 PM
@Caosul> What?
@Vampy> Yes. It can be found in the mod page, in page 1 of this very topic, in the package (readme.txt), and on your screen when you attempt to install Aeva. Duh.
@Tiribulus> That's it, except for the localhost thingy.
@mark> Works fine on my setup. I assume you're using v6.2? lol. Well it's really working for me... I'll try tomorrow if you remind me. No time for now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gffb on April 13, 2009, 01:01:47 AM
JUST INSTALLED 6.2.75 and get the following when adding youtube video
[url=http://www.youtube.com/watch?v=_Tu0PAbW75A#noexternalembed-ws-lq-lq2-hq]Stavros Flatley (BEST quality) - Britains Got Talent[/url]
No video is displayed and I think all setting are correct.

I know this might be because the video poster will not allow embedding, so can someone give me a youtube video that works just to make sure all is well with my site.... :)

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TheListener on April 13, 2009, 01:48:05 AM
Try this one

http://www.youtube.com/watch?v=Xr1pWzoLvT8
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gffb on April 13, 2009, 01:50:12 AM
Yep works fine thanks :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TheListener on April 13, 2009, 02:14:40 AM
Thats what I like about this site.

Everyones here for help.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: godboko on April 13, 2009, 02:24:27 AM
Quote from: Nao 尚 on April 10, 2009, 02:48:43 AM
Okay, do I have to spell it out?
Give me a complete list of URLs you want enabled?

Ustream has two kinds of pages it seems, live streams (channels http://www.ustream.tv/channel/fox-news-talk which already work) and recorded shows like http://www.ustream.tv/recorded/1343756 (not yet added.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vekseid on April 13, 2009, 09:19:36 AM
Quote from: Nao 尚 on April 11, 2009, 09:01:49 AM
What's TED? Concept, etc. Please convince me ;) (it's a website that requires lookups -- ie longer to implement.)

What's world-writable?

By default when updating through the package manager, files are chmoded to 666 instead of 664 or 644. Subs-Aeva-Generated-Sites.php insists on being 777.

TED talks are probably the most famous intellectual talks, at least as far as I know. It's the source of things like Bill Gate's infamous mosquito release stunt:

http://www.ted.com/index.php/talks/bill_gates_unplugged.html
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JMantis on April 13, 2009, 09:37:02 AM
When I tried to install this mod I got the following error:

Execute Modification ./Sources/Load.php Test failed

I'm running SMF 1.1.8 with a custom theme.

Is it safe to continue the installation?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 13, 2009, 11:00:27 AM
@JMantis> Yes, you'll just need to insert the signature disable code yourself in Load.php. Or you can just do without that feature.

Quote from: Vekseid on April 13, 2009, 09:19:36 AM
By default when updating through the package manager, files are chmoded to 666 instead of 664 or 644. Subs-Aeva-Generated-Sites.php insists on being 777.
That's because that file constantly rewrites itself. There's that "chmod to 0777" line indeed, it was made by Karl, I'm not sure changing it to 0666 would work everywhere.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wilsy on April 13, 2009, 12:39:10 PM
This is a bit of a long shot but I have VBGamers RSS Feed Poster mod on my site which takes an rss field and posts the title in the forum topic title field and the rest of the feed in the body of the post.

Here's an example of a YouTube rss feed thats looking for videos tagged with the word 'bikini'.

http://www.youtube.com/rss/tag/bikini.rss

Is anybody aware of how the YouTube rss feed can be amended just to return the title and the url for the video?

E.G.

Happy Valentines! My Sister & Her Roomate In Red Lingerie

http://www.youtube.com/watch?v=-HGSvTw-h4A

If we had this then we could have embedded videos posted on our sites automatically - content of the highest quality, especially when you can specify tags such as 'bikini' ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dekay on April 15, 2009, 05:51:39 AM
Tried to install Glossary on SMF 2 RC1. It failed and I guess that AVEA has something to do with it...


Quote43.   Modifikation ausführen   ./Sources/Admin.php   Test fehlgeschlagen
      1.   Davor einfügen   ./Sources/Admin.php   Test fehlgeschlagen

   44.   Modifikation ausführen   ./Sources/ManageSettings.php   Test fehlgeschlagen
      1.   Danach einfügen   ./Sources/ManageSettings.php   Test fehlgeschlagen
      2.   Davor einfügen   ./Sources/ManageSettings.php   Erfolgreich
      3.   Davor einfügen   ./Sources/ManageSettings.php   Erfolgreich

./Sources/Admin.php
Found out that Glossary can't make the changes because of AEVA Mod:

'general' => array($txt['mods_cat_modifications_misc']),
// Aeva - START
'aeva' => array(loadlanguage('Aeva') == false ? 'Aeva' : $txt['aeva']),
'aevasites' => array(!isset($txt['aeva_sites']) ? 'Aeva Sites' : $txt['aeva_sites']),
// Aeva - END
// Mod Authors for a "ADD AFTER" on this line. Ensure you end your change with a comma. For example:
// 'shout' => array($txt['shout']),
// Note the comma!! The setting with automatically appear with the first mod to be added.


because Glossary is searching for:

'general' => array($txt['mods_cat_modifications_misc']),
// Mod Authors for a "ADD AFTER" on this line. Ensure you end your change with a comma. For example:
// 'shout' => array($txt['shout']),
// Note the comma!! The setting with automatically appear with the first mod to be added.



./Sources/ManageSettings.php

AEVA was here, too...

$subActions = array(
'general' => 'ModifyGeneralModSettings',
'aeva' => 'ModifyAevaSettings',
'aevasites' => 'ModifyAevaSettings',
// Mod authors, once again, if you have a whole section to add do it AFTER this line, and keep a comma at the end.
);



So, who made the mistake?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on April 15, 2009, 06:00:44 AM
Quote from: dekay on April 15, 2009, 05:51:39 AM
So, who made the mistake?
No-one, it's pretty normal that mod's interfere a little in the install/uninstall of other mods.
You will simply have to make the edits manually, to the files that fail.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 15, 2009, 06:03:01 AM
Glossary is searching for too much information. It should only be looking for a single line, the comments that say "...this line...". So I guess Glossary is to blame. Generally speaking though, SMF should change their package manager to allow for better introduction of mod admin settings in the Modifications tab. It would be for everyone's benefit if they added some custom instruction like <search position="modtab"></search>. In the meantime, try uninstalling Aeva, installing Glossary, then reinstalling Aeva. It should work.

@wilsy> Missed your post. Basically, what you're asking for is a big stretch for Aeva... You want it to parse a RSS feed and show the videos accordingly? To me this would be matter for a separate mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ferrin on April 15, 2009, 07:29:49 AM
When i enable aeva in Admin settings. The Site will be go blank and it cannot be accessed on the settings.
Where can the problem? Hoster? On my local PC works perfectly.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mobilephone2003 on April 15, 2009, 07:41:27 AM
This has probably been asked quite a lot of times, so sorry, but with this modification, when I embed a YouTube video, it defaults to HD and ends up being too wide for the post area.

My theme is quite thin, and the box ends up with a horizontal scroll bar.

Can I get this to default to high quality? am i missing some options here?


Thanks for any help.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dekay on April 15, 2009, 08:07:37 AM
Quote from: Nao 尚 on April 15, 2009, 06:03:01 AM
Glossary is searching for too much information. It should only be looking for a single line, the comments that say "...this line...". So I guess Glossary is to blame.

I was wondering because SMF says:

// Mod authors, once again, if you have a whole section to add do it AFTER this line, and keep a comma at the end.

... and AVEA adds before this line?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 15, 2009, 09:13:40 AM
@Ferrin> I don't know... Host, probably. Do you have any error showing up in your Aeva admin logs? Or Apache error logs?

@mobile> Follow the instructions on Subs-Aeva-Custom-Example.php to resize any video site to your desired max width.

@dekay> Karl did it that way. I kept it that way as well, because I figure it's a trick to keep compatibility with other mods that wouldn't do things correctly (such as looking for that comment + the next line).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Ferrin on April 15, 2009, 09:35:09 AM
Where can I find the log? Could it be that any PHP Aeva feature needed? If so what...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MissyNL on April 15, 2009, 09:40:43 AM
Hello...

I wanted to post this issue in your forum, but i still have not received the activation link in the mail.. and no.. it's not in my spambox.. :D

However.. we use a lot of photobucket.... however... everytime a user places an video, it will turn up twice.. please see attached image...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 15, 2009, 10:21:18 AM
I don't see two videos on your screenshot.
Also, you don't need to be registered to post on the Aeva boards. Even if you want to post a new topic.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dekay on April 15, 2009, 01:16:45 PM
Quote from: Nao 尚 on April 15, 2009, 06:03:01 AM
In the meantime, try uninstalling Aeva, installing Glossary, then reinstalling Aeva. It should work.

Works :)

Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nina-nina on April 15, 2009, 02:14:50 PM
I installed this mod and tried several times and it was working fine. Today, I tried to post a Youtube video and the video is not showing. Only the link to the video is shown and to the right side of the link I am getting the following message:

External Embedding Disabled

I am opening my forum next week and would like to have this mod up and running. Thank you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on April 15, 2009, 03:11:52 PM
That means that the video owner has forbidden external embedding, viewing the clip anywhere but youtube, and has nothing to do with the mod working or not.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: nina-nina on April 15, 2009, 03:26:13 PM
Quote from: Tiribulus on April 15, 2009, 03:11:52 PM
That means that the video owner has forbidden external embedding, viewing the clip anywhere but youtube, and has nothing to do with the mod working or not.

Oh God, you are right!  I was so upset that this nice Mod was not working for me that I missed that one. Thank you for your prompt response.  Big relief.   :)

BTW, I like what you have done with Simple Portal.  I would like to install it and add taps at the top the way you did so I can separate the portal from the forum. I am working on that. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 15, 2009, 04:14:19 PM
Maybe I should add an icon that says the error message when hovering it, it'd be cooler to look at. And I could put a longer message, such as "Embedding disabled BY REQUEST"...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on April 15, 2009, 04:40:40 PM
Quote from: Nao 尚 on April 15, 2009, 04:14:19 PM
Maybe I should add an icon that says the error message when hovering it, it'd be cooler to look at. And I could put a longer message, such as "Embedding disabled BY REQUEST"...

BRILLIANT!!!!!!

By dinner time or you're fired  :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 15, 2009, 05:47:19 PM
If I risk being fired, then does it mean I'm being paid? 8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on April 15, 2009, 06:22:37 PM
Surely you jest!!!!

I would never insult you by implying that you slave away day and night on these projects out of any motivation beyond your philanthropic desire to serve your fellow man O:)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MissyNL on April 17, 2009, 05:04:33 AM
Quote from: Nao 尚 on April 15, 2009, 10:21:18 AM
I don't see two videos on your screenshot.

Well..please look at attached. The first video dislplays the link underneath it...

The second video is double.

Quote from: Nao 尚 on April 15, 2009, 10:21:18 AM
Also, you don't need to be registered to post on the Aeva boards. Even if you want to post a new topic.

Oke.. do you want me to adress the problem now there? Since i started it here?


* EDIT:
I see that with the first option, the titel suppose to show there... made a test with an other videohost.  But.. somehow with photobucket, it shows the link...

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 17, 2009, 06:05:32 AM
As you like.
I can't help you without a link to your original posts, really. I couldn't care less about screenshots... :-/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gffb on April 17, 2009, 03:15:01 PM
Hiya, it might not be an AEV issue but I would like to ask anyway.

I have this mod installed and is working correctly apart from this.

When I post a quick-time movie it will show in Google Chrome and in IE but it wont show if FF.
I have tested to FF with other embedded quick-time movies and they seem to play ok.
The movie seems to embed fine through AEV and FF as I get what seems to be a player area come up, but like I say no movie plays in FF.

Just one thing to add I am using FF3.1 beta3
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 17, 2009, 05:49:15 PM
Support for non-FLV/non-HD codecs is limited. I mean, they're fully supported, but OS-dependent players are used for Quicktime, Real, WMV, etc. As a result, it may not work on your browser, depending on what default player your codec is calling.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vampy on April 19, 2009, 08:03:55 AM
Quote from: Killer-B on April 11, 2009, 11:18:59 PM

That's exactly my point... I always use the Package Installer on SMF... so have never had to unzip something - so - assume the readme file is either here on the site, or on his Aeva site - or, as you've just said, is packed within the zip file - Then again, maybe it's set up to reside on my site under programs... Still hunting for it.... I thought it was a simple Q.... to a link or the likes, never asked for a detailed explanation.... just some assistance.

Either way -

HAPPY EASTER eveyone....

Here is the readme file

For future reference any mods you download and install via the package manager can be found in the Packages folder - you can always download them to your HD via FTP if you find that easier than downloading the mod from here. If  for some reason you don't know how to unpack an archived file then may I suggest you grab this piece of software http://www.7-zip.org/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: fitbb.com on April 19, 2009, 08:51:28 AM
For error , my Global Moderator has delete Avea witout uninstall it.
And know it's impossible to use it or install it again.

What can I do ???
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Killer-B on April 19, 2009, 09:58:20 AM
Quote from: Vampy on April 19, 2009, 08:03:55 AM
Quote from: Killer-B on April 11, 2009, 11:18:59 PM

That's exactly my point... I always use the Package Installer on SMF... so have never had to unzip something - so - assume the readme file is either here on the site, or on his Aeva site - or, as you've just said, is packed within the zip file - Then again, maybe it's set up to reside on my site under programs... Still hunting for it.... I thought it was a simple Q.... to a link or the likes, never asked for a detailed explanation.... just some assistance.

Either way -

HAPPY EASTER eveyone....

Here is the readme file

For future reference any mods you download and install via the package manager can be found in the Packages folder - you can always download them to your HD via FTP if you find that easier than downloading the mod from here. If  for some reason you don't know how to unpack an archived file then may I suggest you grab this piece of software http://www.7-zip.org/

Thank you so much - I'm on Mac - so know all the compression files... I simply did not know where it was located... and since then been working on other issues and not spent much time on this... but will look it over now - Many thanks!

I did have a user ask about a site that uses their own QT .mov files... I doubt it's possible (well, anythng is possible) but if you have a remote link to a QT/.mov file, can one get that to "play" in a post?

Thanks -

KB

The site is giving 500 server errors right now - otherwise I'd give you the .mov link - sorry :(  www.forceindiaf1.com

Now it's back up LOL - http://cast.forceindiaf1.com/pit_practice_online_edit.mov
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 19, 2009, 11:04:17 AM
@Vampy> The readme file is available, formatted, on the mod site page... ^^
http://custom.simplemachines.org/mods/index.php?mod=977

@killer> if your mov file (not QT) is hosted on your forum's server (like your example link), yes. Otherwise, no. I'm not sure about the subdomain, though. I think it works but it's been long since I've reviewed that part of the code.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Killer-B on April 19, 2009, 11:52:27 AM
Quote from: Nao 尚 on April 19, 2009, 11:04:17 AM
@killer> if your mov file (not QT) is hosted on your forum's server (like your example link), yes. Otherwise, no. I'm not sure about the subdomain, though. I think it works but it's been long since I've reviewed that part of the code.

OK, but no, unfortunately it's not my site or .mov file (thought .mov was QT?) - guess it just plays in QT... Either way, will see if it's downloadable... and then will save to our server -

Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 19, 2009, 12:17:17 PM
I'm talking about the .qt file format, if that exists. Not about QuickTime itself.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 19, 2009, 01:59:17 PM
Hmmmmm I don't remember mentioning it here, so let's get done with it ;)

If you're interested in my work, I released my first actual mod (i.e. not something that was started by another), it's pretty small but adds a feature I can't believe I lived without for so many years on SMF ;)

http://custom.simplemachines.org/mods/index.php?mod=1771

Footnotes v1.02

- What does it do?
- This mod adds a "nb" button to your message editor. The new [nb] tag allows you to show footnotes (aka nota bene) in a message, just like in Wikipedia or Spip.

(And yes, of course it's free, as usual.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dzinerfusion on April 19, 2009, 04:50:31 PM
question with this mod,how do you add your ''embed code to your smf forums? because  i want my vids to be wider,not just that small screen
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 19, 2009, 06:25:25 PM
Can you elaborate?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 19, 2009, 07:03:59 PM
Wow, that's so cool!
I may have found a new bug in Aeva! I'm so happy!

Okay maybe not, but I was starting to think Aeva was boring, with it working so well and everything... ;)

Apparently, putting a quote inside a message, in non-Wysiwyg mode, and then a regular link inside that quote, and switching to Wysiwyg mode THEN back to non-Wysiwyg mode will break the link.
Can anyone try to reproduce this?

[quote author=Nao/Gilles]This [url=http://www.google.com]link[/url] should be enough to break it.[/quote]

If going to Wysiwyg and then going back to non-Wysiwyg doesn't break your link, then it's due to another problem on my site.
I tried to test on smf-media.com but I don't know what version of Aeva is installed on it. (sigh)
Of course the target forum should be using SMF2, since it's Wysiwyg we're talking about.

Thanks in advance!

Edit -- see next page.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: chrishicks on April 19, 2009, 07:33:43 PM
I tried doing a search on this so forgive me if I missed this question. I have no idea if this question even belongs in this spot or not but since Nao is always great with helping us as much as he can I figured I'd ask here first. I have the dozen pages mod and I have a video embedded on one of the pages. I have the centering turned on via the aeva settings which works in every browser I have tried(firefox, opera, safari, chrome) minus one(IE7). In IE the video always stays to the left which kinda kills the look of what I wanted on the page with everything centered. Is it possible to fix this somehow? If not, can I block all people on my site from using IE? lol. wishful thinking...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dzinerfusion on April 19, 2009, 10:39:40 PM
ok what i want to do is copy and paste the embed code of a youtube vid,so i can have its desired height lenght,not just the youtube link which gives me a remarkably small video screen
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: sandmannd on April 20, 2009, 12:56:08 AM
I am running 1.1.8 with the default theme and tiny portals. I get filled up with erros a lot.

I get a lot of this error:
8: Undefined variable: message
File: /homepages/22/d258088114/htdocs/forum/Sources/Subs-Aevac.php
Line: 223

But when I go in the Subs-Aevac.php this is what I see:
222   // Grab all the matches to count the no. of replacements that will be made
223      if(preg_match_all($regex2, $message, $out, PREG_PATTERN_ORDER))
224         $count = count($out[0]);

Any help on this would be great,

My forums are at www.uppermidwestoutdoors.com
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 20, 2009, 02:01:56 AM
(No one using SMF2 + Aeva here? :-/)

Edit -- I'm now 100% sure that the bug is due to a change in one of the latest revs. So it doesn't touch RC1 but will be found on RC2. It's quite hard to track down the culprit, though.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 20, 2009, 02:08:13 AM
@sandmannd> You're using a very old version. Please update to v6.2.75.

@bluesinjid> If you want all YT vids to have a specific size, you can set it via Subs-Aeva-Custom.php. If you want just one of them to have a specific size, you can set it in the video options (w and h).
Like: [url=http://www.youtube.com/watch?v=ZHwNF9nhPsI#w800-h600]Link[/url]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 20, 2009, 02:57:24 AM
Quote from: chrishicks on April 19, 2009, 07:33:43 PM
I tried doing a search on this so forgive me if I missed this question. I have no idea if this question even belongs in this spot or not but since Nao is always great with helping us as much as he can I figured I'd ask here first. I have the dozen pages mod and I have a video embedded on one of the pages. I have the centering turned on via the aeva settings which works in every browser I have tried(firefox, opera, safari, chrome) minus one(IE7). In IE the video always stays to the left which kinda kills the look of what I wanted on the page with everything centered. Is it possible to fix this somehow? If not, can I block all people on my site from using IE? lol. wishful thinking...
Uh, I dunno... I never use IE7 so my testing is very limited on it. Did you try the "center" option in the per-video options?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on April 20, 2009, 04:20:43 AM
No problem here with IE7 or IE8.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: TheListener on April 20, 2009, 04:48:55 AM
Can this be used on the smf portal?

If so how is it done?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 20, 2009, 05:39:39 AM
Yes. Automatically.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jerri Blank on April 20, 2009, 08:44:51 AM
I know from the README file that there's a way to disable embedding in the shoutbox:

QuoteJust find the position, in the relevant source file, where data is put through the "parse_bbc" function. Then on the line BEFORE it, add:
      $context['aeva_disable'] = 1;

Can someone tell an idiot like me which is the relevant source file for Advanced Shout Box?

Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on April 20, 2009, 09:20:55 AM
Quote from: Nao 尚 on April 19, 2009, 07:03:59 PM
Wow, that's so cool!
I may have found a new bug in Aeva! I'm so happy!

Okay maybe not, but I was starting to think Aeva was boring, with it working so well and everything... ;)

Apparently, putting a quote inside a message, in non-Wysiwyg mode, and then a regular link inside that quote, and switching to Wysiwyg mode THEN back to non-Wysiwyg mode will break the link.
Can anyone try to reproduce this?
[...]

I think, that this is not an Aeva bug, but a problem with the WYSIWYG editor.
I have reported an error which sounds similar.
In my case I use the code-tag and not the quote-tag while trying to show image-links and not Aeva-links.
Thing is, that switching between the two editor options will break the link.
Thread:
http://www.simplemachines.org/community/index.php?topic=298476.0

As mentioned before, in my opinion the new WYSIWYG editor is a kind of black magic, causing a lot of problems.


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 20, 2009, 09:45:20 AM
Quote from: ianus on April 20, 2009, 09:20:55 AM
I think, that this is not an Aeva bug, but a problem with the WYSIWYG editor.
I forgot to update my previous posts.
Since nobody had reported the problem, I thought it wasn't in RC1, only in RC2. Actually I reproduced it in a fresh RC1 install. And I fixed it, and PMed Karl (who is now a SMF dev) about a possible related problem in SMF.
Basically, look at this:

<www.google.com>
>www.google.com<

Logic should tell that the second link would be autolinked as well. It isn't. Additionally, in Subs.php, the "switch out" routine replaces both < and > prior to the autolinking code. The fact that one works, and not the other, may be due to an old fix that broke long ago without anybody noticing.
As long as I removed the ability (within Aeva) to autolink something starting with "<", my bug was fixed. I have no idea how that "<" could appear in front of the URL when switching between Wysiwyg modes, but that's how it is. (And it's reproduceable on SMF2 RC1.)

I have v6.2.76 ready for release, but I'm waiting for Karl's feedback before I release it. I wouldn't want my fix to only be a temporary workaround.

QuoteIn my case I use the code-tag and not the quote-tag while trying to show image-links and not Aeva-links.
Thing is, that switching between the two editor options will break the link.
Thread:
http://www.simplemachines.org/community/index.php?topic=298476.0
Nice catch.
I had an even more similar experience this morning. I removed a line of code from Aeva and it ended up removing my entire link when I switched between modes. A lol moment. I'm not sure it would be that funny if I had written some actual contents to describe the link, of course.

It's also interesting to note that the img tag is shown as a picture in wysiwyg mode, even though it's set inside code tags. Code inside these tags should *never* be parsed.

QuoteAs mentioned before, in my opinion the new WYSIWYG editor is a kind of black magic, causing a lot of problems.
I never use it, it's for newbies really. But you shouldn't understimate its quality. This editor is an absolute work of art, in terms of size/speed efficiency. TinyMCE is also very good, and I wonder why it wasn't used in the first place. But for newbies, SMF's wysiwyg editor is really a good addition. As long as you come back to the normal edit mode in the end, of course. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: sandmannd on April 20, 2009, 09:54:22 AM
Quote from: Nao 尚 on April 20, 2009, 02:08:13 AM
@sandmannd> You're using a very old version. Please update to v6.2.75.

@bluesinjid> If you want all YT vids to have a specific size, you can set it via Subs-Aeva-Custom.php. If you want just one of them to have a specific size, you can set it in the video options (w and h).
Like: [url=http://www.youtube.com/watch?v=ZHwNF9nhPsI#w800-h600]Link[/url]

I removed the old version and installed the new, I'll let you know how it goes, thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on April 20, 2009, 10:59:53 AM
QuoteI never use it, it's for newbies really. But you shouldn't understimate its quality. This editor is an absolute work of art, in terms of size/speed efficiency.

I'm more of a purist too and avoid the editor, but sometimes it's hard to notice what mode this thing is actually on.
I don't know enough about coding something like this, so I don't want to comment it's quality.
On the other hand.
A friend had written a bulletin-board 5 years ago and in his software he used a WYSIWYG editor also. In his version the text-field was showing the "normal" tag formatting, while the WYS-part was located above the text field. This way  he managed to keep the "known behavior" of a text field while writing and show the direct result at the same time.
(It's a shame that he quit only because a big company offer him money for his work. ;-) )

This is what I would like to see and not an additional button, especially not next to a "remove formatting" button and in a row with bb-code buttons.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JamesD01 on April 20, 2009, 03:37:03 PM
QuoteChangelog:

Version 6.2.76 - 20th April 2009
Footer copyright now chosen by default, over per-video copyright
So the copyright is now in the footer? I don't mind it being next to the embedded video, but I don't like it in the footer.

Can't there be a option in the settings to choose either option?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 20, 2009, 03:53:52 PM
Quote from: JamesD01 on April 20, 2009, 03:37:03 PM
So the copyright is now in the footer? I don't mind it being next to the embedded video, but I don't like it in the footer.

Can't there be a option in the settings to choose either option?
That option has been there in all Aeva 6 releases...
I moved the copyright to the footer "by default" because of that annoying discussion over at the YTBBC topic. If you update manually (ie just update the Aeva files & languages), nothing will be changed anyway.

Oh, and yeah, I forgot to announce it...

Version 6.2.76                                    20th April 2009
-----------------------------------------------------------------
* Changed ";fvt" query string to ";checkaeva", and added ability
  to restrict this feature (immediate sitelist update) to admins
! Switching between Wysiwyg and non-Wysiwyg mode would sometimes
  break links due to the autolinker not being restrictive enough
! Fixed HTML validation for SMF2 RC2 and above (as a result though,
  SMF2 RC1's validation will be broken, but it won't last forever)
* Footer copyright now chosen by default, over per-video copyright
- Alternative sitelist download URLs should no longer be needed
! Fixed a <noembed> bug dating back to version 4.x

+ Added support for Ustream, with titles
! Fixed support for GoEar.com, added support for titles
! Fixed support for Yahoo Video
! Fixed support for Slide.com
! Fixed support for iMDb.com
! Fixed support for SouthParkStudios.com (embed code, titles)
! Fixed minor issues and/or titles for Clipster, CollegeHumor,
  Guba, TheHub, Seeqpod, Streetfire, U-tube and vbox7
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: hapuzi on April 20, 2009, 08:54:12 PM
Hi there Nao! just saying "Thank You" again for reviving this mod and making it better.  ;)

- Howard
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vampy on April 20, 2009, 10:13:52 PM
Oooh a new version - not just a case of downloading the latest subs-aeva.php file this time, I take it I'll need to take the whole mod because of the bug fixes
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on April 20, 2009, 10:21:19 PM
I just copied the sources/subs and the language file to themes/default/languages and it works fine which is pretty much how all updates to this mod are done at least for now as I also had to be told a couple times :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 21, 2009, 02:17:28 AM
@Vampy> What do you mean? Are you saying you're downloading Subs-Aeva-Sites.php from the mod site manually? There's no need for that... The file is there to be found and downloaded by Aeva (the script itself). It does everything by itself ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Vampy on April 21, 2009, 06:37:17 AM
Quote from: Nao 尚 on April 21, 2009, 02:17:28 AM
@Vampy> What do you mean? Are you saying you're downloading Subs-Aeva-Sites.php from the mod site manually? There's no need for that... The file is there to be found and downloaded by Aeva (the script itself). It does everything by itself ;)
No I meant in reference to your post above regarding the WYSIWYG fix etc - will I need to redownload the mod?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 21, 2009, 06:51:24 AM
I would recommend updating the files, but you don't have to do it. Unless some of your users post a lot of videos and use Wysiwyg, in which case, yes, please update.
You don't need to uninstall/reinstall through the package manager though.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on April 21, 2009, 07:00:44 AM
I have strange bug O_o.
If aeva enabled smg video page get "Stack overflow at line: 67" but if aeva disabled page normally.
Mozilla showing
too much recursion
[Break on this error] window.onload = function() { if (typeo... == "function") oldLoad(); aevacopy(); }

this. And no error showing. But ie7 show pop-up error.
This is only for me ?
http://www.rockayseri.net/galeri/medya/608/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 21, 2009, 08:18:41 AM
There seems to be an incompatibility between one of your scripts and Aeva.
Try disabling the footer copyright setting.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on April 21, 2009, 09:53:37 AM
Thank you Nao. My html header is corrupt and i don't know why but seems twice all scripts code. So i replace to index.template to old one problem solved.

One question I use this url in gallery :
[url=http://www.youtube.com/watch?v=NKrWuQN-REE#hq-lq]Duman - Dibine Kadar[/url]
hq and lq button seems but title not showing.
[in admin panel
Store & show video titles : lookup and show]

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 21, 2009, 11:04:12 AM
URL please?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on April 21, 2009, 11:05:24 AM
http://www.rockayseri.net/galeri/medya/608/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on April 21, 2009, 11:36:56 AM
Notice: This is worked in forum post but not work smg.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 21, 2009, 12:25:42 PM
Strange. I used your URL in my gallery and it worked just fine. The title showed up...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: lpforever2001 on April 21, 2009, 04:02:18 PM
I have a problem here. I hope you guys can help me out. I'm a newbie with this kind of forum.

I have 2.0 SMF and installed Aeva 6.2.76. Everything works just fine, except one thing that: if I poste a youtube video or any videos and after that i reply to that topic (no matter what with the quote that has video or not ), i can't use any bbc like smileys, or <b>, or <i>.... even font

Thank you a lot , I hope you guys can understand my situation.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 21, 2009, 05:01:49 PM
I don't have this problem...
URL? Test account?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: lpforever2001 on April 21, 2009, 07:28:32 PM
Quote from: Nao 尚 on April 21, 2009, 05:01:49 PM
I don't have this problem...
URL? Test account?

Here's the URL: www.dojofunk.com/forum
Account: test/test
Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 22, 2009, 05:26:59 AM
You're using a custom theme. Custom theme = custom install process.

Your theme (or one of your mods) doesn't use the SMF guidelines so of course it fails loading some stuff correctly. There are plenty of validation errors so I won't look into it, it's boring crap.
Try disabling the copyright footer option in Aeva admin. It may fix your problem. Although with a YouTube video it'll probably just move it somewhere else.

And not, it's not an Aeva problem. It's a Javascript bug somewhere. Not in Aeva, my own Javascript code is short enough to ensure that, lol.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Walgermo on April 22, 2009, 07:10:56 AM
Can you add this site to AEVA:
http://www.ironscene.com/

Powerlifting videos.

Example, link
Quotehttp://www.ironscene.com/videos/2334_daiki_kodama_281kg_benchpress

Example, Embed
Quote<embed src="http://www.ironscene.com/flvplayer.swf" quality="high" width="450" height="367" name="VideoPlayer" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" FlashVars="config=http://www.ironscene.com/explayconfig.php?v=2334&width=450&height=367&displaywidth=450&displayheight=347&autostart=false&callback=/embedcount.php&backcolor=0xFFFFFF&image=http://www.ironscene.com/uploads/thumbs/5eoKwM3NmusGZPADEmjd.jpg&link=http://www.ironscene.com/play.php?vid=2334" wmode="transparent" border="0"></embed>

Thanks for a great mod :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 22, 2009, 08:44:06 AM
No way I'm doing this, for many, many reasons.

Next site I'll do is ted.com, I think.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: learjet45 on April 23, 2009, 12:01:41 AM
Hello there.
It appears as though an older verrsion of AEVA (v 3.1.2 from when it was AEVAC) is giving me major issues now. I figure this is the best place to get help.

I honestly dont think I remembered to uninstall my old version of AEVAC before installing newer ones. I believe I have 3.1.2, 4.0.2, and 5.0.18 installed, and 3.1.2 is the culprit. I am getting an error after switching hosts. I am getting an error stating:
Fatal error: Call to undefined function ProtectSections() in /home/content/c/9/7/c977th/html/clanless/Sources/Subs.php on line 1730
Which has to do with a bit of code added by 3.1.2. I need to get this fixed ASAP.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 23, 2009, 02:16:42 AM
Well obviously you would open Subs.php and go to line 1730 and remove everything in the block surrounded by "Auto embed audio video" (or similar) comments... Making sure to leave everything that says Aeva, instead.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: learjet45 on April 23, 2009, 04:57:20 PM
Thanks, I will try that. I just wanted to be sure before I went and did something that would screw it up even more.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: simply sibyl on April 23, 2009, 06:36:17 PM
Quote from: lpforever2001 on April 21, 2009, 04:02:18 PM
I have a problem here. I hope you guys can help me out. I'm a newbie with this kind of forum.

I have 2.0 SMF and installed Aeva 6.2.76. Everything works just fine, except one thing that: if I poste a youtube video or any videos and after that i reply to that topic (no matter what with the quote that has video or not ), i can't use any bbc like smileys, or <b>, or <i>.... even font

Thank you a lot , I hope you guys can understand my situation.

I'ld like to note that I have this exact same issue.
It all worked fine with the  previous version of Aeva.
I uninstalled the previous version and installed 6.2.76
Now in any thread that does have a video embedded the bbcode buttons/smileys will not work.
They work fine in all other areas/threads.

No other changes, mods installed..  as stated it worked perfectly until I installed 6.2.76

Yes I am also using Custom Themes..   however it DID work fine until this new version.
And - I have NO Validation errors.

So -  I just uninstalled .76 .. downloaded .75 and reinstalled it and NOW it works fine..  it has to be something with the new version
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: learjet45 on April 23, 2009, 07:12:14 PM
That worked! Thanks Nao 尚!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on April 23, 2009, 07:21:57 PM
Hey Nao...

I am not sure if it is the Gallery or AEVA mod...   but after installing the two of them,  any url in my forum that is entered as a url (not text with a link) in messages isshowing the [ url] tags. (the links still work, but it looks like it is double filling the bbc tags.)

If I edit the message using the quickedit link, the extra tags go away...   if I modify the message with the full editor, or post a new message, the tags display. :(

Any ideas?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Black_Paolo on April 24, 2009, 07:22:41 AM
This is a great mod, but I have sth to ask the creator.

I saw that can be set the max width for HD videos, and I would like to know if it's possible to do this: for example I set max width for HD videos to "800px". If someone put in the code (this code: [ytb]link[/ytb]) "[ytb special_tag="1"]" that means that the result will be a 1280*720p video, but in the "spoiler" tag..
Is that possible?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 24, 2009, 07:41:20 AM
@Black_Paolo> First of all, there is no tag for embedding videos. You just paste the URL. You can set a custom width on every single video by specifying it in the URL options. #w1280-h720 will force width & height to 1280x720.

@kindred> Can you post an example?

@sibyl> Example link please? Also, same answer as before: this is a script incompatibility. Someone wrote a script that doesn't respect other mods. I can't find out which one it is until you post an example link. The problem should go away by disabling "copyright footer" in the admin area.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Black_Paolo on April 24, 2009, 02:33:54 PM
Sorry NAO, I didn't realize that.. I haven't tryed it yet, because I've to manually uninstall di other one..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 24, 2009, 06:56:07 PM
Tried what? Uninstall what?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on April 24, 2009, 07:37:53 PM
hey Nao...

http://www.40konline.com/community/index.php?topic=61502.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 24, 2009, 07:53:13 PM
Hmm... Strange. Are you positive it's caused by Aeva?
I take it I can't have ftp access to your site?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on April 24, 2009, 08:27:06 PM
I am not certain that it is AEVA.... it could be SMG...   but those are the only two mods that I can see that made modifications to the BBC code in subs.

very odd...

I'll PM you an ftp account tomorrow...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on April 24, 2009, 10:33:27 PM
There is also a bug related to the url bbc code, maybe related to really long links or links ending in shtml.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Black_Paolo on April 25, 2009, 05:49:44 AM
Quote from: Nao 尚 on April 24, 2009, 06:56:07 PM
Tried what? Uninstall what?
I haven't tried your mod yet, I just read about it.. I have to remove the Youtube Tag modification, before install AEVA, that's why I didn't know that you don't have to use tags like "[ytb]".

Anyways, there is a way to know if a video is in HD? Sth like $context['HD'], so I can edit the code on my own, and I can set that if a video is in HD, then put it in a spoiler tag.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 25, 2009, 06:12:23 AM
Quote from: Black_Paolo on April 25, 2009, 05:49:44 AM
Quote from: Nao 尚 on April 24, 2009, 06:56:07 PM
Tried what? Uninstall what?
I haven't tried your mod yet, I just read about it.. I have to remove the Youtube Tag modification, before install AEVA,
You don't have to remove it immediately. You can simply run the upgrade script (that's included in the package archive), and your links will work just fine.
Or you could disable the "Don't embed links within a sentence" feature. IIRC that's the reason why [youtube] tags no longer transform before you run the upgrade script.

QuoteAnyways, there is a way to know if a video is in HD? Sth like $context['HD'], so I can edit the code on my own, and I can set that if a video is in HD, then put it in a spoiler tag.
Nope... I don't really see a way to do that. Again, I think it's best to have a set max width for your videos if your layout isn't a liquid one.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Black_Paolo on April 25, 2009, 12:52:08 PM
My layout is liquid, but it would mess everything with a 1024*768 resolution..

Never mind, thank you for the mod and the support ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 25, 2009, 03:14:35 PM
How about using "overflow: hidden" on Aeva divs? That way, they'll never break your layout -- at worse, your unlucky users will get only part of the video frame.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: atdforum on April 26, 2009, 01:41:03 AM
I searched this topic but only found this one reference on "max width".

I'd like to set the max width of the embedded videos... I see some youtube clips are well over 500px.  Is there an option to set the max width?  I didn't see it - thought I remembered it in a previous version.  Maybe you can point me to the code change, if necessary?

Thanks!  Great mod!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Black_Paolo on April 26, 2009, 05:22:29 AM
@Nao: I think it would be better to set the horizontal scrollbar, but I can't because I don't know the width (it's a liquid layout)...

@atdforum:  In the admin panel there should be what you are looking for.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 26, 2009, 05:52:19 AM
@atd> "max-width" is a CSS setting. It allows you to set a max width on a div. What else can I say? It won't work on anything <IE7.

@BP> Then it would be overflow: auto (it will create scrollbars if/when needed.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Black_Paolo on April 26, 2009, 06:07:51 AM
Thank you...Anyways, I use TyneMce on my website, and I would like to know how can you automatically "know" what the better quality is..
Because I would like to do the same on my website: if there is HD, use it. If there is HQ, use it, and so on.. I don't care about the width, I mean, f it's HD I will set a fixed width, and the same with the HQ..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ɔɔɔɔɔɔuɥoɾ on April 26, 2009, 01:33:22 PM
hi nice mod, thanks.

i get a error when trying to go to the settings page for the mod, just a buch of text, i have uninstalled the mod now, just want to know if this has happened before and is there a fix so i can install it, thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 26, 2009, 01:51:41 PM
@BP> Checking for available qualities is made by doing a remote query on the YT site so you can't do it "like that". It's a complex implementation (one that has never been done before -- even the YouTube website doesn't offer you ALL qualities available, only "LQ" and "HQ" or "LQ" and "HD" at best.)

@john> Just a bunch of text?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ɔɔɔɔɔɔuɥoɾ on April 26, 2009, 02:15:24 PM
Quote from: Nao 尚 on April 26, 2009, 01:51:41 PM

@john> Just a bunch of text?

i installed it agan to produce the error:

// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Fatal error: Call to undefined function: modifyaevasettings() in /home/reque4/public_html/Sources/ManageSettings.php on line 223

any ideas?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 26, 2009, 03:28:40 PM
That's not "just a bunch of text"... That's an actual error that explains itself.

Aeva was improperly installed, either because you installed manually and made an error, or because another mod is installed that doesn't respect the SMF package creation guidelines. Uninstall Aeva, then uninstall that other mod (if you have lots, look for AjaxChat, it's probably the culprit), reinstall Aeva, reinstall the other mod. In that other.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ɔɔɔɔɔɔuɥoɾ on April 26, 2009, 03:40:53 PM
Well, to me (not familiar with code) its a bunch of text..

its ok, I have used another mod for my youtube embedding

thanks anyways
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 26, 2009, 03:55:42 PM
I like to think of Aeva as more than a mod for "youtube embedding" ;)
Did you read through the feature list? lol.
Anyway-- I took a minute to explain how to fix your problem, just take a minute to test it now. I'd like to know if your conflicting mod is AjaxChat or something else. Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ɔɔɔɔɔɔuɥoɾ on April 26, 2009, 04:04:52 PM
well, I would like to help, but uninstalling the ajax shoutbox would require some manual edits, as i said before im not really familiar with coding so I would much rather not do that, thanks for the help anyways
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 26, 2009, 05:50:43 PM
So, that's AjaxChat, as I suspected.
You can just install Aeva and dismiss the warning. Then, add the related code at the end of the file. Before the "?>". Just look at the xml install file. It's easy.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ɔɔɔɔɔɔuɥoɾ on April 26, 2009, 06:35:42 PM
there was no warning, every file "test passed", install was 100% perfect, just going to settings for the mod is not, its ok really, i was only gonna use itfor youtube anyway, the other mod is installed already, thanks for your extensive help lol...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on April 26, 2009, 07:03:06 PM
Every time I try to add video from videos.sapo.pt and some similiar sites I get this message:

QuoteThe following error or errors occurred while posting this message:
The message body was left empty.

I have latest AEVA mod installed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on April 26, 2009, 07:54:34 PM
Quote from: AlenNS on April 26, 2009, 07:03:06 PM
Every time I try to add video from videos.sapo.pt and some similiar sites I get this message:

QuoteThe following error or errors occurred while posting this message:
The message body was left empty.

I have latest AEVA mod installed.

This just a guess, but you do have it enabled right?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on April 26, 2009, 08:17:39 PM
Of course I do.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: godboko on April 26, 2009, 08:51:08 PM
Quote from: godboko on April 13, 2009, 02:24:27 AM
Quote from: Nao 尚 on April 10, 2009, 02:48:43 AM
Okay, do I have to spell it out?
Give me a complete list of URLs you want enabled?

Ustream has two kinds of pages it seems, live streams (channels http://www.ustream.tv/channel/fox-news-talk which already work) and recorded shows like http://www.ustream.tv/recorded/1343756 (not yet added.)

Wanted to say thanks for the new release, very nice so far!!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on April 26, 2009, 09:33:35 PM
Quote from: AlenNS on April 26, 2009, 08:17:39 PM
Of course I do.

It's worth askin and an easy thing to overlook.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: atdforum on April 26, 2009, 11:57:06 PM
Quote@atd> "max-width" is a CSS setting. It allows you to set a max width on a div. What else can I say? It won't work on anything <IE7.

Ah, ya... kinda snarky, eh?  I should have explained, I'm a web developer and know css well.

Just thougt I saw the option in your previous autoembed video/audio clips mod (in another one of my forums it's version 3.1.2... maybe it wasn't yours?) to set the max width of the video clips.  Turned out it was a video mod in my blog with those options, not your mod (see attached).

No worries, I'll hard code it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 27, 2009, 04:14:41 AM
@AlenNS> What are your other installed mods? Are you in Wysiwyg mode?
I just tried the example sapo link (all alone in a message of course), and it worked just fine. Does it work when you insert a space before the URL? And/or after?

@johnccccc> I've PMed Hunter (again) about the AjaxChat bug, sending him (again, again) the small change he should apply to his install script for this not to happen again.

@atdforum> Your screenshot shows me a "default" width, not "max" width. If you want to overwrite Aeva's default width, it can be done in a minute, again. You don't have to hardcode anything (hardcoding it wouldn't work anyway, as your stuff would be overwritten by Aeva's automatic sitelist updates), you just need to use the Subs-Aeva-Custom.php file, as explained in Subs-Aeva-Custom-Example.php's comments. Please read them carefully.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: AlenNS on April 27, 2009, 01:16:19 PM
I've tried with a space before and same thing happens.
I have Wysiwyg on with smiles and BBC buttons.
Also I have over 60 mods installed.

QuoteMod Name     Version     
1.    Enhanced Dropdown    1.1    [ Uninstall ] [ List Files ] [ Delete ]
2.    MCLegendII RC1    3.0    [ Uninstall ] [ List Files ] [ Delete ]
3.    Hide Tag    2.3.0    [ Uninstall ] [ List Files ] [ Delete ]
4.    Birthday on Profile Summary    1.0    [ Apply Mod ] [ List Files ] [ Delete ]
5.    Pretty URLs    0.9.1    [ Uninstall ] [ List Files ] [ Delete ]
6.    Simple Image Upload    1.1.0    [ Uninstall ] [ List Files ] [ Delete ]
7.    Show Local Url Titles    1.1    [ Uninstall ] [ List Files ] [ Delete ]
8.    Top Stats    1.0    [ Uninstall ] [ List Files ] [ Delete ]
9.    Topics list support [Taby]    1.04    [ Uninstall ] [ List Files ] [ Delete ]
10.    Custom Fields On Memberlist    1.0    [ Uninstall ] [ List Files ] [ Delete ]
11.    Custom Action Mod    3.0    [ Uninstall ] [ List Files ] [ Delete ]
12.    Aeva ~ Auto-Embed Video & Audio    6.2.76    [ Uninstall ] [ List Files ] [ Delete ]
13.    Dynamic_Memberlist    2.0    [ Apply Mod ] [ List Files ] [ Delete ]
14.    Separate Sticky and Normal Topic    1.0    [ Apply Mod ] [ List Files ] [ Delete ]
15.    New Style Message Icon    1.1    [ Uninstall ] [ List Files ] [ Delete ]
16.    SmileyLimit    1.1    [ Apply Mod ] [ List Files ] [ Delete ]
17.    MessagePreviewOnHover    1.7    [ Uninstall ] [ List Files ] [ Delete ]
18.    Latest Members RC1    1.1    [ Uninstall ] [ List Files ] [ Delete ]
19.    RSS Feed Icon    1.1    [ Uninstall ] [ List Files ] [ Delete ]
20.    Table Plus BBCodes    1.0    [ Uninstall ] [ List Files ] [ Delete ]
21.    PM to New Members    1.0    [ Uninstall ] [ List Files ] [ Delete ]
22.    jQLightbox    0.5    [ Uninstall ] [ List Files ] [ Delete ]
23.    Google Talk Profile Field    1.1    [ Uninstall ] [ List Files ] [ Delete ]
24.    Off-Topic_BBC_Tag    1.1.1    [ Uninstall ] [ List Files ] [ Delete ]
25.    April_Fools    2009    [ Uninstall ] [ List Files ] [ Delete ]
26.    Enhance Recent Post    1.0    [ Uninstall ] [ List Files ] [ Delete ]
27.    Yet Another Global Announcements Mod    1.4    [ Uninstall ] [ List Files ] [ Delete ]
28.    Display Location on posts    1.0    [ Uninstall ] [ List Files ] [ Delete ]
29.    Avatar Online Offline    1.0    [ Uninstall ] [ List Files ] [ Delete ]
30.    RateThatTopic    2.1.7    [ Uninstall ] [ List Files ] [ Delete ]
31.    Users Online Today    1.5.4    [ Uninstall ] [ List Files ] [ Delete ]
32.    Copy Topics    1.4    [ Uninstall ] [ List Files ] [ Delete ]
33.    Sitemap    2.0.0    [ Uninstall ] [ List Files ] [ Delete ]
34.    OS & Browser Detection    1.2    [ Uninstall ] [ List Files ] [ Delete ]
35.    User Info Above Posts    1.0    [ Uninstall ] [ List Files ] [ Delete ]
36.    Quote Source    1.3    [ Uninstall ] [ List Files ] [ Delete ]
37.    Images On Board    2.0    [ Uninstall ] [ List Files ] [ Delete ]
38.    AllCaps Notifier    1.0    [ Uninstall ] [ List Files ] [ Delete ]
39.    Share this topic - SMF Mod    1.3    [ Apply Mod ] [ List Files ] [ Delete ]
40.    nneonneo's AJAX ShoutBox    1.22    [ Apply Mod ] [ List Files ] [ Delete ]
41.    Flags_MOD    1.0    [ Uninstall ] [ List Files ] [ Delete ]
42.    Reflection Avatar    1.1    [ Uninstall ] [ List Files ] [ Delete ]
43.    Reflection Img BBC    1.2    [ Uninstall ] [ List Files ] [ Delete ]
44.    Box BBCode    1.0    [ Uninstall ] [ List Files ] [ Delete ]
45.    Balloon-shaped frame quote    1.1    [ Uninstall ] [ List Files ] [ Delete ]
46.    Zuper Admin RC1    1.5    [ Apply Mod ] [ List Files ] [ Delete ]
47.    More Spiders    1.2    [ Uninstall ] [ List Files ] [ Delete ]
48.    Member Color Link    3.0.6    [ Uninstall ] [ List Files ] [ Delete ]
49.    Load Standard Language    1.0.2    [ Uninstall ] [ List Files ] [ Delete ]
50.    PM Notification Bar    1.0    [ Uninstall ] [ List Files ] [ Delete ]
51.    Todays Birthday RC1 - MColorLink    1.1    [ Uninstall ] [ List Files ] [ Delete ]
52.    Age,Gender,Location on Registation    1.0    [ Uninstall ] [ List Files ] [ Delete ]
53.    Child Dropdown for Board Index    1.1    [ Uninstall ] [ List Files ] [ Delete ]
54.    EmailFlash    2.0    [ Uninstall ] [ List Files ] [ Delete ]
55.    SimplePortal    2.1.1    [ Uninstall ] [ List Files ] [ Delete ]
56.    SMF Staff Page    1.6    [ Uninstall ] [ List Files ] [ Delete ]
57.    Wysiwyg Quick Reply    1.1    [ Uninstall ] [ List Files ] [ Delete ]
58.    Quick PM    1.0    [ Uninstall ] [ List Files ] [ Delete ]
59.    Profil Moderator Managment    1.0.0    [ Uninstall ] [ List Files ] [ Delete ]
60.    Attachment Icon File    1.0    [ Uninstall ] [ List Files ] [ Delete ]
61.    New Topic Button    1.0    [ Uninstall ] [ List Files ] [ Delete ]
62.    Age on post    1.0    [ Uninstall ] [ List Files ] [ Delete ]
63.    Hide 'Last Active'    1.0    [ Uninstall ] [ List Files ] [ Delete ]
64.    Notify Modification Last Post    1.1    [ Uninstall ] [ List Files ] [ Delete ]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: donjoe on April 27, 2009, 02:20:08 PM
Dude, it's broken. When I reach my "number of embedded videos per page" limit, suddenly all quote tags in any new post containing (among other things) at least one video link are surrounded with [aeva] and [/aeva].

Plus that for a while now all YouTube video title links have had the same text: "YouTube - Broadcast yourself" (instead of the video title).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 27, 2009, 05:12:20 PM
@AlenNS> That's way too many mods... It's not surprising you're having problems. I suspect Aeva is not the only mod being broken by this accumulation...

@donjoe> Limit: I'll have a look. Title: do your videos have adult content?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 27, 2009, 05:34:12 PM
@donjoe> Limit: this is due to a couple of lines I forgot to remove.

At the beginning of Subs-Aeva.php, look for:

// Reached out maximum no of embedded objects for this page
if (isset($context['aeva']['remaining_per_page']) && $context['aeva']['remaining_per_page'] === 0)
return $message;


Replace with:

// Reached out maximum no of embedded objects for this page
if (isset($context['aeva']['remaining_per_page']) && $context['aeva']['remaining_per_page'] === 0)
return aeva_reverse_protection($message);


You can also simply remove these 3 lines. I will probably do it. Removing them will make the mod a tad slower when dealing with overlimit links, but it will add the "Embedding disabled" warning, in case users would wonder why their link won't embed.

Hmm, is there anything left I should add? I guess this minor bug (which has been there in all 6.xx versions, only it never happened to me because my embed limit is the default one and I don't spend my days posting videos) virtually warrants a v6.2.78. I might as well add something to it. And I'm not in a big hurry anyway.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: donjoe on April 28, 2009, 01:55:14 AM
Quote from: Nao 尚 on April 27, 2009, 05:12:20 PMTitle: do your videos have adult content?
Nope. I've disallowed it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 28, 2009, 03:33:34 AM
No, you didn't get it.

Okay, simple: please post some example Youtube links that fail to get a proper title for you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: donjoe on April 28, 2009, 05:09:54 AM
Quote from: Nao 尚 on April 28, 2009, 03:33:34 AMplease post some example Youtube links that fail to get a proper title for you.
http://www.youtube.com/watch?v=VGK_61omGYs
http://www.youtube.com/watch?v=TzwAMYApUwE
http://www.youtube.com/watch?v=QjA5faZF1A8
etc. etc.
It seems to be the same with all of them.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on April 28, 2009, 06:06:12 AM
Those videos works fine for me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LadyC on April 28, 2009, 07:51:39 PM
i'm having a rather odd problem that i'm wondering if anyone else is experiencing.

now bear in mind, this mod was working fine on my forum (RC1) prior to now, and i have not installed any new mods or anything. but suddenly when someone embeds a video from youtube, nothing displays in FF except the link. the video does seem to display in IE, however, in both browsers, nobody can post anything in a thread that has had a video embedded. it's like the reply form gets disabled.

i only noticed this happening today. it wasn't happening last week.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: f3 on April 28, 2009, 09:49:10 PM
I'm having a problem on my forum. I had version 5.2.56 installed, uninstalled it to upgrade to version 6.2.76. Everything said test successful, but it doesn't work at all. I can't even get to the Features and Options page when it's installed. When I uninstall it, I can access that page and there are still two link that say "Aeva" and "Aeva Sites". When I click those, obviously nothing happens. So I reinstall again and the same thing, videos aren't displayed and I can't get to Features and Options. I just want it to work right again! hah

Thanks in advance  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 29, 2009, 02:36:13 AM
@donjoe> These videos work fine. Post link to problem in context please.

@LadyC> Post link to problem in context please.

@f3> I'll need a temporary admin account to have a look at your thing. And your URL, of course.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 29, 2009, 10:25:23 AM
Quote from: weightman on April 24, 2009, 10:33:27 PM
There is also a bug related to the url bbc code, maybe related to really long links or links ending in shtml.
Are you kidding me?
You broke the Aeva licence agreement by publishing a bigot website. I explicitly told you I don't want to see you here, and Aeva 6 on any of your sites, and you actually said you'd comply.
And now you're asking me to support your Aeva 6 issues?!
And you're actually using it! For spreading bigot or bigotry-related videos! You really have some nerve!
http://weightliftingexchange.com/index.php?option=com_smf&Itemid=39&topic=5228.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LadyC on April 29, 2009, 12:55:44 PM
Quote from: Nao 尚 on April 29, 2009, 02:36:13 AM
@donjoe> These videos work fine. Post link to problem in context please.

@LadyC> Post link to problem in context please.

@f3> I'll need a temporary admin account to have a look at your thing. And your URL, of course.

do you mean post a link to where it is occurring on my site? http://2glorify.com/community/index.php?topic=348.0

we cleared out the cache and stuff, the videos are appearing again, but still can't post any responses in a thread where there is a video.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on April 29, 2009, 01:00:24 PM
LadyC: Seems you are using an older version of AEVA...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 29, 2009, 01:05:16 PM
There is a probable incompatibility with your Highslide module. Although your theme has many issues (36 errors when trying to validate at w3c! Some of them being due to Aeva using the non-Javascript engine. Try enabling it.) And your "highslide.english.js" script isn't found. The correct URL is "highslide.js".

Also try to disable the "show copyright in footer" setting in Aeva admin. Should work again.

@akyhne> No she isn't...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LadyC on April 29, 2009, 01:07:47 PM
hmmm, i just realized something. i hadn't noticed the fine print about it being disabled in the wysiwyg editor. is that what is freezing us up? and can i enable it for use in the wysiwyg? (i'd be hard pressed to make a decision which one i'd like to keep turned on!)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LadyC on April 29, 2009, 01:10:07 PM
Quote from: Nao 尚 on April 29, 2009, 01:05:16 PM
There is a probable incompatibility with your Highslide module. Although your theme has many issues (36 errors when trying to validate at w3c! Some of them being due to Aeva using the non-Javascript engine. Try enabling it.) And your "highslide.english.js" script isn't found. The correct URL is "highslide.js".

Also try to disable the "show copyright in footer" setting in Aeva admin. Should work again.

@akyhne> No she isn't...

ok, i'll try those things and let ya know what i find out... i'm a little confused on the highslide issue though, do i need to move a file or upload one that is missing? (or disable it?)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 29, 2009, 01:15:16 PM
I don't know. I didn't program that mod. If you didn't change anything in it, then my guess is that the programmer should be more careful before releasing broken mods in public... lol.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LadyC on April 29, 2009, 01:18:17 PM
ok, i disabled the footer copyright.... i tried the javascript-less version both ways, enabled and disabled. with it enabled, still can't post responses but CAN see the videos.

with it disabled, can post responses but vids disappear. i'm so confuzzled.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: X3mE on April 29, 2009, 02:28:05 PM
Hi Nao,

When using your converter to convert from old bbcodes, it messes up unicode non-latin characters in every message (replacing them with a "?" char).

Could you make it work with UTF-8 posts? Thanks in advance.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Black_Paolo on April 30, 2009, 11:32:25 AM
Quote from: Nao 尚 on April 26, 2009, 01:51:41 PM
@BP> Checking for available qualities is made by doing a remote query on the YT site so you can't do it "like that". It's a complex implementation (one that has never been done before -- even the YouTube website doesn't offer you ALL qualities available, only "LQ" and "HQ" or "LQ" and "HD" at best.)

And where can I find this query? You should have done it, if your mod allows this kind of quality chose
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on April 30, 2009, 12:36:25 PM
Version 6.2.77                                    30th April 2009
-----------------------------------------------------------------
- Removed "unlimited" in max items per post/page descriptions (it's
  been disabled for a while because it's the sensible thing to do.)
! Make sure the error message is shown for every video over the
  embedding limits (instead of just videos inside the message
  where the limit was reached.)

* Enlarged Dailymotion videos to be close to the onsite equivalent
* Added support for titles in sapo


At least it's done... So I don't have to wonder whether I'm publishing it now with that single fix, or later with more fixes. Well, there's nothing else to fix so far, so...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Crazy F on April 30, 2009, 04:15:25 PM
Apple trailers isn't working for me with the last version. Any help?

QuoteEnable Lookups YES
Most of Aeva's features require a lookup
This feature WILL work on your server


Thank for this great mod!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: vickiing on April 30, 2009, 11:40:51 PM
hello

I have [ Aeva v6.2.77 ] witch include youku and the case is checked but when i try to put a youku video in my post

i have the url words like here for exemple

[  http://ceiress.phpzilla.net/index.php?topic=10.msg11#msg11  ]

can anyone help me please ? / and thank you su much
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xavi-Nena on May 01, 2009, 11:23:25 PM
Ok sorry for asking im sure its been covered but I searched and all the blip.tv results did not yeild results for me. I cannot get blip.tv vids to work....

Im using 1.1.8 on default theme fresh install and the latest version of aeva. Im at loss for what to do.

=========
edited: i can get other blip videos to show just not mine...and its been loaded a few hours now. what should my blip url look like? im lost as to why others are working but mine  is not.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xavi-Nena on May 02, 2009, 12:05:10 AM
ok scratch that it seems for whatever reason the high resolution video i uploaded was not working but I uploaded a smaller version and its working now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Antechinus on May 02, 2009, 10:13:22 PM
I'm locking this thread while I split off the derails so that people who actually want support on this excellent mod can get it without digging through piles of rubbish. It will re-open for business in approximately ten minutes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Amacythe on May 02, 2009, 10:25:18 PM
ENOUGH IS ENOUGH!

This topic is for SUPPORT of the AEVA mod.  If you are not requesting support, please take the discussion out of this topic.

antechinus, thank you for cleaning up this topic.  Future off topic posts will be deleted not moved.

weightman, if you don't like the license on Nao's mod, then don't use his mod... simple.
I'm not going to tolerate you arguing with the author and/or our Team Members.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Antechinus on May 02, 2009, 10:35:10 PM
Derail has been split to here: http://www.simplemachines.org/community/index.php?topic=308016.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LadyC on May 02, 2009, 10:39:11 PM
i figured out the problem i was having.... it wasn't with the mod or with the forum, it was with my FF browser. i installed an add-on called MediaWrap and it worked fine. i have no idea why i needed this now but never did before.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 03, 2009, 02:41:53 AM
LadyC, are you sure you're using the latest Aeva? Ask Kindred, he knows what I'm talking about lol...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LadyC on May 03, 2009, 11:30:41 AM
kinda... i upgraded the other day but it was before you updated it again during the course of this thread.

kindred, can you fill me in?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: chrishicks on May 03, 2009, 11:47:23 AM
I'm using 6.2.76 on a 1.1.8 board and for some odd reason now when I visit the AEVA tabs in Admin I trigger these errors:

http://rejectsreststop.com/forum/index.php?action=featuresettings;sa=aeva;sesc
8: Undefined variable: mod_url
File: /Sources/Subs-Aeva-Admin.php
Line: 85

http://rejectsreststop.com/forum/index.php?action=featuresettings;sa=aevasites;sesc
8: Undefined variable: mod_url
File: /Sources/Subs-Aeva-Admin.php
Line: 85

Lines 84-86:

84  $warning_message = (empty($warning_message) ? '' : $warning_message . '<br />') . (strrchr(AEVA_VERSION, '.') < strrchr(@$modSettings['aeva_latest_version'], '.') ?
85   '<span style="color: red">' . sprintf($txt['aeva_new_version'], $mod_url, $modSettings['aeva_latest_version']) .
86   '</span> - ' . sprintf($txt['aeva_current_version'], AEVA_VERSION) : sprintf($txt['aeva_current_version'], AEVA_VERSION));


Is this just because I haven't upgraded to .77 yet or is it something else?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on May 03, 2009, 01:53:25 PM
I had the same errors yesterday. They caused by a user of my forum.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on May 03, 2009, 09:29:28 PM
Quote from: LadyC on May 03, 2009, 11:30:41 AM
kinda... i upgraded the other day but it was before you updated it again during the course of this thread.

kindred, can you fill me in?
I had some issues with old code that had not been completely uninstalled... it was messing up the display.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LadyC on May 03, 2009, 09:40:07 PM
i upgraded to the .77 today, hoping that i'd be able to use the copyright in footer option, but i still can't. using it in the footer interferes with being able to post responses in threads where a video has been embedded.

the visual display was an issue with my browser though, and that was resolved after i installed the media wrap extension for firefox. apparently i was the only person on the forum who was having problems with seeing it!

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on May 04, 2009, 02:50:13 AM
 :-\

Just upgraded to your version from Karls.
Great work Nao!!
I've missed all of the spoken 'upgrades' you've included since I've been away, but I am particularly impressed with the automatic update of the sites.
My hat goes off to you and your efforts mate (http://www.kolobok.us/forums/style_emoticons/kolobok-light/hi.gif)

Now back to my holiday chair (http://i147.photobucket.com/albums/r315/elusivelyyours/smilies%202/sultan.gif)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 04, 2009, 03:30:41 AM
@everyone> Bug reports are to be posted over at http://aeva.noisen.com/dev/ -- not on this topic. It's easier for me to track down and I've been asking for this ever since I took over Aeva. Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Afro on May 04, 2009, 03:18:41 PM
what can i do to make videos autostat instead of having to click on the play icon?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Julio Alejandro on May 04, 2009, 03:21:19 PM
Why am I getting this error? It won't let me use it.

// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END // Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on May 04, 2009, 06:31:21 PM
where do you see that text?    If it is displayed at the top of your forum page, then it looks like something installed before or after the PHP defintion tags (<?php and ?>)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Julio Alejandro on May 04, 2009, 09:19:36 PM
It's in the section where you would change your AEVA features.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on May 04, 2009, 09:57:05 PM
how did you install? Manually or via the package manager?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Julio Alejandro on May 04, 2009, 10:43:17 PM
Package manager
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Centreflunk on May 05, 2009, 01:06:03 AM
Hi All

I just finished "manually" installing this mod & came across the following -

In the ./Sources/Subs.php

Searching for this
$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '' => "\n"));


But could only find this
$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '&#13;' => "\n"));

Not sure if it's a bug or not!!!
1.1.8 & it's the 1st mod I've done on a new site
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on May 05, 2009, 01:40:29 AM
Has this mod been abandoned? Who has the rights to it? Karl Bensen and/or Nao together or separate? I have someone in mind that would do a great job if it is abandoned and in need.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 05, 2009, 02:03:21 AM
It hasn't changed, but I'm censored every time I say it.
Aeva is on hiatus (support+updates) until either:
1/ you're definitely banned from simplemachines.org
2/ you comply to the TOS and uninstall Aeva 6 from your sites
3/ you suddenly become a normal guy and remove all hate-spreading messages from your sites (all Muslim-related messages)

The fact that you would suggest who could take over the very mod you made me abandon is a unfunny at best.
I have complete rights (I easily rewrote 90% of it anyway), and my TOS indicate that no one can take over it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: weightman on May 05, 2009, 02:23:09 AM
Geez.....whatever dude.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 05, 2009, 02:44:11 AM
I'm not your dude, and don't act like you didn't know any of it. You're craving for attention -- again.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: aswin_j1 on May 05, 2009, 04:22:21 AM
Hi everyone,

I'd installed AEVA 5.2.56 and now I can post youtube movie. The point is if I want it to be autoplay, do anyone know how to?

This is my site www.atthaioxford.com , feel free to visit (the show one left handside are playlist from youtube where i wanted to be autoplay).

Look at what Duncan85 advised me. Originally, on Youtube BBCode 2.5.1 but since problem faced, now I changed to install AEVA instead.

Help please!!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on May 05, 2009, 05:14:22 AM
Hey.... why was my question to Nao removed?
It involved the updates to this mod.
Isnt that what the thread is for??  Support.. knowledge of the mod??

Cheers.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on May 05, 2009, 05:21:41 AM
Quote from: Sabre™ on May 05, 2009, 05:14:22 AM
Hey.... why was my question to Nao removed?
So - not this one then? http://www.simplemachines.org/community/index.php?topic=200401.msg2043237#msg2043237
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on May 05, 2009, 05:34:54 AM
Nah mate, I asked about updates and that later on that day....
I cant see how I offended a team member, or broke any 'rules' by asking about the development of this mod.
* scratches head
Since many posts within this thread are being deleted, or edited, I guess there are bound to be casualties lol
It may have been erased by a delete happy chappy lol
nvm..  I'll ask via pm
cheers :)
o.O
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jez on May 05, 2009, 10:02:55 AM
Such a cool mod. I felt the need to post a big THANKS!!! Worked straight away. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Stef001 on May 05, 2009, 01:28:28 PM
Don`t go.
Thanks for all the great job.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on May 05, 2009, 04:11:00 PM
-DELETED-
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dekay on May 05, 2009, 05:07:09 PM
something is going incredibly wrong here...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: JBlaze on May 05, 2009, 05:09:17 PM
Quote from: dekay on May 05, 2009, 05:07:09 PM
something is going incredibly wrong here...

Are you experiencing a problem with Aeva? Or are you commenting about the current standing of the mods author?

If you are having troubles with Aeva, please post it here. this thread is for support only.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: C4G-TK on May 05, 2009, 05:21:26 PM
Thanks for your Modification.  I've used it on two sites and with very little problems if ever there was one.  The only hate I have is the hate to see the end of such an excellent mod.  ;) 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on May 05, 2009, 06:16:12 PM
dang this was one of my favorite and most used mods on my forum  >:(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dekay on May 05, 2009, 06:28:20 PM
Quote from: JBlaze on May 05, 2009, 05:09:17 PM
Quote from: dekay on May 05, 2009, 05:07:09 PM
something is going incredibly wrong here...

Are you experiencing a problem with Aeva?

Yeah, surely. I was hoping this whole issue would come to an better end and Nao would probably find the motivation to throw an eye on my issue (allowing to embed a flash/mp3-Player locally).

And of course, a reaction to searchgr post, which was probably OT too, but what do you expect...  :-X
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dekay on May 06, 2009, 06:00:21 PM
Ok, I just read that other Devs probalby giving support here while Nao is out.

This is my issue:

I successfully hacked the AEVA mod to use players for locally stored mp3 and flash movies that I uploaded to on my server (the players), so they didn't had to be loaded from the others sites. Especially archive.org (where the flash video player comes from) seems a bit slow sometimes.

Problem: with the next update of the AEVA site list, all changes were gone.

Nao brought up the solution to use Subs-Aeva-Custom.php to implement my "hack", but it seems that AEVA does not implement the changes made in Subs-Aeva-Custom.php in case of the players for locally stored files.

Has anyone an idea?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on May 06, 2009, 06:42:54 PM
re=apply your hacks to the new version?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Granular on May 07, 2009, 09:27:42 AM
Hi there,

Just wanted to say what a fantastic addition this is to my forum.  I have a band who use a section of it for their private and public threads and they can now post youtube videos of gigs etc.

I had one question, in the 'terms of use' part of the mod page it says that you shouldn't remove the copyright.....that's absolutely fine, all credit is well due....my question is could I make it a little smaller (font size) to match the other text at the bottom of the page?

Thanks again

G
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on May 07, 2009, 09:40:07 AM
There's an option in the mod to move the copyright to the footer.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on May 07, 2009, 09:47:55 AM
@akyhne, not anymore. The latest update forces it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on May 07, 2009, 11:47:29 AM
From Nao:

@Granular on the official topic: you can edit the source file to make the font smaller, as long as it's at least the same size as the rest of the footer copyrights and you PM me your URL.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on May 07, 2009, 11:49:27 AM
Quote from: LexArma on May 07, 2009, 09:47:55 AM
@akyhne, not anymore. The latest update forces it.
Oh, wasn't aware about that.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xavi-Nena on May 08, 2009, 03:08:35 AM
yes this newest update forces it and this is my issue, on the xmas theme its showing in the news area. any advise?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Antechinus on May 08, 2009, 03:55:13 AM
Use the previous version? 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on May 08, 2009, 07:20:11 AM
Quote from: Antechinus on May 08, 2009, 03:55:13 AM
Use the previous version? 
That's the funny part. If you don't have it saved - you can't. Actually none of the old versions are available anymore.
Not even the ver 5 downloads that Nao told people to use, if they don't like the tos etc...
Aeva-6.9.99.zip is the only one up for download at the moment...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Antechinus on May 08, 2009, 07:22:27 AM
Well tbh I'm still running Karl's old AEVC 3 and it works just fine. :D
Oh and I do have a copy of 5.2.52 stashed away as well but I've never used it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: FragaCampos on May 08, 2009, 12:16:39 PM
I'm sorry if this was already answered before, but 221 pages.. ouch.

Is it normal when i embed a google video to show the video and the link under it?
You can see what i mean here (http://www.docspt.com/index.php/topic,3652.0.html).

Thanks for this stupendous mod.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on May 08, 2009, 12:17:53 PM
Yes that's normal. Usually AEVA seeks out the title to show there, but sometimes when it can't find it - it will only show the link. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: FragaCampos on May 08, 2009, 01:34:14 PM
Thanks for answering.
Anyway, i found out that i can edit the post and put the link back in the place where the title is to hide it.
Sometimes is useful.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xavi-Nena on May 08, 2009, 02:34:47 PM
It did that with the older versions of it too i have most of them on my computer and have tried but when they are set as in footer that is what i get .... but the footer is where i want the copyright...

i updated the version because it was doing that with the older versions in the xmas theme the default theme of course it works perfectly.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pompeybrum on May 10, 2009, 06:33:43 AM
I have installed AEVA via package manager with no problems - but as soon as page switches to admin area I get blank screen with:
// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Fatal error: Call to undefined function ModifyAevaSettings() in /home/blogbug/public_html/smf2/Sources/ManageSettings.php on line 223

This also happens if I goto admin > Modifications > AVEA

Same error on AEVA sites page

Thanks
Tony
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on May 10, 2009, 07:12:14 AM
smf version?  AEVA version?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pompeybrum on May 10, 2009, 07:23:27 AM
Quote from: Kindred on May 10, 2009, 07:12:14 AM
smf version?  AEVA version?
Sorry!
2.00Rc1
AEVA 6.2.76
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: CodeDev on May 10, 2009, 09:53:00 AM
Hi!

I have AEVA installed and works fine in regular boards, but in child boards is not working at all.

AEVA Version: 6.0.71
SMF Version: 1.1.8

Any suggestions?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on May 10, 2009, 10:02:40 AM
Upgrade to newest version.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: CodeDev on May 10, 2009, 11:20:24 AM
I have unisntalled previous version, deleted it's files and than installed the new version, however I always get "Embedding disabled, limit reached" even when there is only one post in the topic with one video only in a child board

I have the limit at 12, so that makes no sense. On regular boards workd fine.

Any ideas on how to solve this??

Also I notice that I cannot remove MySoccerMedia site from appear in the AEVA sites configurations! Even when I uncheck the checkbox and submit, it always return checked, thus is not on the Aeva-Generated-Sites file! That also happened in the previous version. It's a minor bug, but you should take a look at it.

Thanks in advance!


I also have a tip for the AEVA developer(s);

I was having problems with TinyPic videos, specially becouse some useres were using their portuguese interface, so I have changed the TinyPic regular expression a little bit:

array(
'id' => 'tin',
//'pattern' => 'http://(?:www\.)?tinypic\.com/player\.php\?v=([0-9a-z-]{1,12})',
//'movie' => 'http://v3.tinypic.com/player.swf?file=$2',
    'pattern' => 'http://(www.|pt-br.)?tinypic\.com/(player\.php\?v=|r/)([0-9a-z-]{1,12})',
'movie' => 'http://v5.tinypic.com/player.swf?file=$4',
'size' => array(440, 420),
'fix-html-pattern' => '<embed [^>]*src="http://v3\.tinypic\.com/player\.swf\?file=([0-9a-z-]{1,12})(?:[^\<\>]*?)?>(?:\</embed>)?(?:\<br><font size="1"><a href="http://tinypic\.com/.*?</font>)?(?:\<img style="visibility:hidden;[^\<\>]*?>)?',
'fix-html-url' => 'http://tinypic.com/player.php?v=$1&s=3',
),


You can change the regex to something like this to handle all languages (not tested):
'http://([a-z\-\.]{2,9}.)?tinypic\.com/(player\.php\?v=|r/)([0-9a-z-]{1,12})'

I know, most of the times you don't need to escape characters inside "[]", but sometimes the isolated "-" can play some tricks, that's why I have escape them!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: diontoradan on May 10, 2009, 01:26:31 PM
i have aeva 3.9 and then i upgraded to 6.xx

i've noticed that embedding link from divshare not working... the script skip the addition of the clip ID... here's what i get :


<embed type="application/x-shockwave-flash" [b]src="http://www.divshare.com/flash/playlist?myId="[/b] width="335px" height="85px" wmode="transparent" quality="high" allowFullScreen="true" allowScriptAccess="never" pluginspage="http://www.macromedia.com/go/getflashplayer" autoplay="false" autostart="false" /><noembed><a href="http://www.divshare.com/download/7334480-3f0" target="_blank" class="aeva_link bbc_link new_win">http://www.divshare.com/download/7334480-3f0</a></noembed>


as you can see no ID for the clip, so theres no player embedded...

can you tell me the solutions?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Magicjax on May 10, 2009, 03:04:29 PM
Forgive me if this is an obvious question but I'm new to this and trying to figure it all out.

No where in any of the "Installation Instructions" or even the Parser do I see anything that tells me what files I have to upload and where to upload them.

In other words I downloaded the ZIP folder and unzipped it. Inside is 16 files and one "Languages" folder.

Do I upload the entire Aeva-6.9.99 folder into the root directory of my forum?

Do I upload it into the root directory of my theme?

Or do I upload each of the files in the folder? If so which one?

BTW - I'm using CuteFTP Pro.

I understand the Change file parts and all that. I just don't see anywhere that tells me what to upload and where. I just want to make sure I understand before taking a crack at it. I tried using the "Package Installer" from my admin and it won't install anything for me. Every single one I tried (including this Aeva one) gave me the fallowing error.

Quote
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

Thanks for any help you can give me. An easy way to say it is I need a "For dummies" walk through. :)

I'm using version 1.1.8

Ron
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Father Luke on May 11, 2009, 07:47:41 AM
Quote from: Magicjax on May 10, 2009, 03:04:29 PM
Forgive me if this is an obvious question but I'm new to this and trying to figure it all out.

That's okay.



QuoteNo where in any of the "Installation Instructions" or even the Parser do I see anything that tells me what files I have to upload and where to upload them.

In other words I downloaded the ZIP folder and unzipped it. Inside is 16 files and one "Languages" folder.

Do I upload the entire Aeva-6.9.99 folder into the root directory of my forum?

Do I upload it into the root directory of my theme?

Or do I upload each of the files in the folder? If so which one?

Much simpler than that.

Log into your forum and then go to Admin.
Once in admin then look for Packages - click that link.
Once inside the packages section of the admin section of your Forum look for:
Download Packages - click that
Inside there look for: Upload a Package - choose the zip file - upload it.

Once you get that far you should see what's happening and be able to feel
your way from there.


(http://img4.imageshack.us/img4/43/smfg.jpg)


QuoteBTW - I'm using CuteFTP Pro.

I understand the Change file parts and all that. I just don't see anywhere that tells me what to upload and where. I just want to make sure I understand before taking a crack at it. I tried using the "Package Installer" from my admin and it won't install anything for me. Every single one I tried (including this Aeva one) gave me the fallowing error.

Quote
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

Thanks for any help you can give me. An easy way to say it is I need a "For dummies" walk through. :)

I'm using version 1.1.8

Ron


Oh my.


- -
Okay,
Father Luke
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on May 11, 2009, 08:12:56 AM
in the archive, if you find install.xml, it will tell you what files need to be run (for database edits) and what files need to be copied into what directories.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pompeybrum on May 11, 2009, 10:46:51 AM
Quote from: pompeybrum on May 10, 2009, 06:33:43 AM
I have installed AEVA via package manager with no problems - but as soon as page switches to admin area I get blank screen with:
// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Fatal error: Call to undefined function ModifyAevaSettings() in /home/blogbug/public_html/smf2/Sources/ManageSettings.php on line 223

This also happens if I goto admin > Modifications > AVEA

Same error on AEVA sites page

2.00Rc1
AEVA 6.2.76

Thanks
Tony
Can anyone suggest anything causing this?

Thanks
Tony
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on May 11, 2009, 10:48:56 AM
Are you absolutely sure you didn't have an older version of aeva already installed?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pompeybrum on May 11, 2009, 10:54:42 AM
No, the Forum is only a few days old.

Tony
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on May 11, 2009, 11:00:28 AM
Try uninstalling for kicks, see if it gives any error when testing the uninstall...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pompeybrum on May 11, 2009, 11:11:30 AM
That's interesting...
When I go to "browse packages" I get the following line:

12.     Aeva ~ Auto-Embed Video & Audio      6.9.99       [ List Files ]  [ Delete ]
After the 6.9.99 I've got a little red icon and no uninstall link beofre [list files]

Should I try delete and reinstall?

Tony[/list]
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on May 11, 2009, 11:18:44 AM
No - some of the edits are definitely made, since you get an error related to aeva.
Then simply deleting and reapplying would mess you up even further.
I'd suggest you take a look at the manual install instructions, and make sure the edit's
were done correctly..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pompeybrum on May 11, 2009, 11:24:31 AM
ok, thanks, I try that

Tony
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pompeybrum on May 11, 2009, 12:53:28 PM
OK, I've been through and all edits are as the parser says they should be:

Still getting
// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Fatal error: Call to undefined function ModifyAevaSettings() in /home/blogbug/public_html/smf2/Sources/ManageSettings.php on line 223


on configuation>modification>aeva & aeva sites

smf 2.00Rc1
AEVA 6.2.76

Tony

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Joe N on May 11, 2009, 12:55:09 PM
doh! lol
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pompeybrum on May 11, 2009, 01:42:55 PM
Quote from: pompeybrum on May 11, 2009, 12:53:28 PM
OK, I've been through and all edits are as the parser says they should be:

Still getting
// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Fatal error: Call to undefined function ModifyAevaSettings() in /home/blogbug/public_html/smf2/Sources/ManageSettings.php on line 223


on configuation>modification>aeva & aeva sites

smf 2.00Rc1
AEVA 6.2.76

Tony

Noticing that when I am in admin>configuaration most ages have

// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END

printed at top of page.

Don't know if that helps anyone see my problem   ;)

Tony
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: primetime on May 11, 2009, 10:07:01 PM
I get the following error after the install was completed...

// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Fatal error: Call to undefined function ModifyAevaSettings() in /home/"mysite"/public_html/dev/Sources/ManageSettings.php on line 222

I see that this is a pretty common bug.

I am running SMF 2.0RC1
latest version of Aeva

Board is less than a week old so no other version installed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on May 12, 2009, 01:39:20 AM
Do you have any other mods installed?

And no - as far as I know, there really isn't any "common bugs" in Aeva :)
Most problems I've seen have come from either a conflicting mod, or double installations...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: primetime on May 12, 2009, 07:41:03 AM
Quote from: LexArma on May 12, 2009, 01:39:20 AM
Do you have any other mods installed?

And no - as far as I know, there really isn't any "common bugs" in Aeva :)
Most problems I've seen have come from either a conflicting mod, or double installations...

Yes, I have other MODS installed. They are as follows:

SMF media Gallery
eArcade
AdManagement
Casino
Lock Color Topic
Simple Theme Change
Mood Bobels
Leaders
jqlightbox
Ajax Chat
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on May 12, 2009, 07:46:35 AM
Ajax Chat is known to give installation troubles to other mods, especially AEVA
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on May 12, 2009, 08:01:10 AM
I'd try uninstalling AEVA, then uninstalling Ajax Chat.
After that, install AEVA before Ajax Chat :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: primetime on May 12, 2009, 08:01:33 AM
Quote from: akyhne on May 12, 2009, 07:46:35 AM
Ajax Chat is known to give installation troubles to other mods, especially AEVA

So is there a workaround for this issue?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on May 12, 2009, 08:06:49 AM
Quote from: LexArma on May 12, 2009, 08:01:10 AM
I'd try uninstalling AEVA, then uninstalling Ajax Chat.
After that, install AEVA before Ajax Chat :)

Yeah, I think that was the way Nao said it should be done.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Joe N on May 12, 2009, 08:08:46 AM
Quote from: primetime on May 11, 2009, 10:07:01 PM
I get the following error after the install was completed...

// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Fatal error: Call to undefined function ModifyAevaSettings() in /home/"mysite"/public_html/dev/Sources/ManageSettings.php on line 222

I see that this is a pretty common bug.

I am running SMF 2.0RC1
latest version of Aeva

Board is less than a week old so no other version installed.

That is the same error pompeybrum gets
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 12, 2009, 09:30:11 AM
Quote from: akyhne on May 12, 2009, 08:06:49 AM
Yeah, I think that was the way Nao said it should be done.
Yes.

@IceBurn> Support requests are better served when you give a direct link to see the problem in action.
Re: MySoccerMedia, this is a due to a conflict in site IDs with MySpace. I'll change it to "myso" and update the sitelist. The site will then be unchecked for everyone by default, because it'll be considered as a new site. Better than having to uncheck MySpace for everyone I guess.
You don't have to escape dashes. Just make sure they're at the end of the [] block. Doing [a-z-] will correctly understand "a to z, or a dash".
@diontoradan> Real-life links please.
@dekay> the Custom file wasn't thought for modifying local files embedding. I may look into it in the future though. Maybe I'll find a solution that doesn't involve adding more code. Otherwise you'll have to hack into the Aeva code yourself.
@NenaGb> PM me for support on your News issue. I need to see it in action.




ModifyAevaSettings() errors.

Please refer to this every time someone posts an error message mentioning that function.

"Undefined function" error -> this is AjaxChat screwing up your install. AjaxChat doesn't follow SMF guidelines for its install script. I PMed its author months ago telling him what to do (a few bytes to change), he said he'd update it, he never it. I PMed him again a couple of weeks ago, he didn't answer either. AjaxChat is badly programmed. It's not Aeva's fault. Quick workaround: make sure to install Aeva before you install AjaxChat. Longer workaround: try to lobby the author for taking 12 seconds to make the change. It's already cost me hours in explaining the same thing again and again, I will no longer be replying to this kind of request.

"Already defined" error -> this is a SMF limitation. It doesn't try to check whether you already installed a mod before. As a result, if you don't uninstall a mod before reinstalling it, everything will be copied twice. This is a problem on ALL PACKAGES and can only be fixed by educating yourself on how to install packages in current versions of SMF. Quick workaround: apart from being careful next time, there is none. You'll have to uninstall Aeva manually, file by file. It's not a big mod though, so it shouldn't take more than 10 minutes.




Ending Aeva development.

As you may have noticed, my week-long post-ban was finally lifted. For reasons partly related to this ban, which I already explained elsewhere, I'm putting an end to the development of Aeva. I'm afraid it's not revokable so please don't waste time trying to convince me to resume it. I will however continue my other activities: SMF Media Gallery (SMG) until at least SMG 2.0 Final gets out, French translation until at least SMF 2.0 Final gets out, and Beta Testing (no idea when or if I will stop).

Here's what I will KEEP doing on the Aeva front:

- bug fixes, in case any bugs are due to my programming, and any support related to possible bugs on my side.
- sitelist updates, in case a site happens to break overnight, or a successful website enters the market and everybody requests it (and I'm willing to add it.)

Here's what I will no longer be doing:

- Sitelist updates for adding new sites. I won't do it. Use the Custom file for adding sites for yourself. It's not that hard.
- New features. My to-do-list for Aeva was getting unrealistically too long. Now it's empty. I like that.
- Basic support. It's always the same questions anyway. By the way, supposedly the team had "arranged for help to be provided for [my] mod [during my ban]." Well, I'm not sure who was supposed to provide it but they didn't. As for "downgrading", this isn't an advice. Especially when I am no longer distributing previous versions (nor willing to see them out, because of how my TOS were abused).

So, next time I get banned, please remind the team to lock this topic and redirect users to aeva.noisen.com. It'll save time for everyone.

Thanks for reading.


Edit: Topic cleanup - Motoko-chan
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ɔɔɔɔɔɔuɥoɾ on May 12, 2009, 12:00:01 PM
Welcome back Nao 尚
I hop I can get support when needed, Im sure my site does not have any videos like that lol..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 12, 2009, 12:03:22 PM
@john> Thanks. And lol.



Edit: Topic cleanup - Motoko-chan
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pompeybrum on May 12, 2009, 01:05:26 PM
Thanks guys, my problem is solved - it was the Ajax Chat

Tony
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Joe N on May 12, 2009, 01:08:22 PM
Quote from: pompeybrum on May 12, 2009, 01:05:26 PM
Thanks guys, my problem is solved - it was the Ajax Chat

Tony

Glad its solved
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 12, 2009, 01:31:42 PM
Quote from: pompeybrum on May 12, 2009, 01:05:26 PM
Thanks guys, my problem is solved - it was the Ajax Chat
Just as I said in my red-colore post ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Smoky "Rider" Blue on May 12, 2009, 02:29:20 PM
well solved..

welcome back Nao.. good to see you.. sorry i havent been around, my grandmother is sick in the hosptial and not sure if she will make it..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Joe N on May 12, 2009, 02:33:46 PM
Quote from: SmokyBlue on May 12, 2009, 02:29:20 PM
well solved..

welcome back Nao.. good to see you.. sorry i havent been around, my grandmother is sick in the hosptial and not sure if she will make it..

Hope she gets well soon
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Donnie_K on May 12, 2009, 02:47:00 PM
not sure if this has been discussed on one of these 224 pages or not... lol... I am using 2.0 RC1 and when I try to install Aeva it installs fine, then says it's redirecting me to the settings page... and then I get this...

function ModifyAllCapsSettings($return_config = false) { global $txt, $scripturl, $context, $settings, $sc; $config_vars = array( array('text', 'allcaps_number_of_chars', '6'), array('check', 'allcaps_prevent_posting'), array('check', 'allcaps_show_more_than_once'), ); if ($return_config) return $config_vars; if (isset($_GET['save'])) { checkSession(); saveDBSettings($config_vars); writeLog(); redirectexit('action=admin;area=modsettings;sa=allcaps'); } $context['post_url'] = $scripturl . '?action=admin;area=modsettings;save;sa=allcaps'; $context['settings_title'] = $txt['allcaps_settings_title']; prepareDBSettingContext($config_vars); } // Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Fatal error: Call to undefined function ModifyAevaSettings() in /home5/darksie0/public_html/forum/Sources/ManageSettings.php on line 222

any idea why??
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on May 12, 2009, 06:15:53 PM
Good to see Nao 尚 back. (http://gregnmary.gotdns.com:8080/pix/sf.gif)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: primetime on May 12, 2009, 09:00:53 PM
Uninstall Ajax Chat? It took me a while to get it working in different styles I have... don't want to go thru that again. I will have to see if there is anther MOD that will allow vids to be embedded. Thank you everyone for the advice.

Prime
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on May 12, 2009, 10:03:19 PM
Don't know if anyone else has had this trouble but i get this message when i put justin.tv clips on my site

Invalid embed code (error 1337):  Please use the embed code exactly as it appears below

now i only get this message in IE,justin works in firefox

example http://wewantsport.com/index.php?action=forum
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 13, 2009, 02:17:50 AM
Quote from: primetime on May 12, 2009, 09:00:53 PM
Uninstall Ajax Chat? It took me a while to get it working in different styles I have... don't want to go thru that again.
Go through reinstalling Ajax Chat? Well, if you can customize/hack through a mod after you installed it, you surely can follow an xml install script (for a package) and add a function manually, can't you?
Simply edit the source file (ManageSettings, ModSettings...?) and add the function manually at the end.

QuoteI will have to see if there is anther MOD that will allow vids to be embedded.
Yes, but it will only accept one video site and won't offer the different quality levels in case of YT vids.

As a reminder: Aeva won't be updated after this. And even if it were, you wouldn't need to uninstall/reinstall, just overwrite your existing Aeva files in your ftp folders.

@donniek> you don't need to read 224 pages to see the giant-sized red-colored fix to your problem... 7-8 posts above yours. O:) O:) O:)

@kingkingston> uh, you got the leet error? ;) Anyway, it seems to work for me... It just says "not broadcasting".
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Donnie_K on May 13, 2009, 04:16:31 PM
I assume you're referring to "ModifyAevaSettings() errors." in your post... I have tried uninstalling ajaxchat, and then installing aeva, and I'm still having the same problem.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 13, 2009, 05:23:48 PM
Attach your file here...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Donnie_K on May 13, 2009, 07:48:18 PM
I'm sorry... I guess I'm a bit of a n00b, which file do you need me to attach?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on May 13, 2009, 11:14:05 PM
Quote from: Nao 尚 on May 13, 2009, 02:17:50 AM
Quote from: primetime on May 12, 2009, 09:00:53 PM
Uninstall Ajax Chat? It took me a while to get it working in different styles I have... don't want to go thru that again.
Go through reinstalling Ajax Chat? Well, if you can customize/hack through a mod after you installed it, you surely can follow an xml install script (for a package) and add a function manually, can't you?
Simply edit the source file (ManageSettings, ModSettings...?) and add the function manually at the end.

QuoteI will have to see if there is anther MOD that will allow vids to be embedded.
Yes, but it will only accept one video site and won't offer the different quality levels in case of YT vids.

As a reminder: Aeva won't be updated after this. And even if it were, you wouldn't need to uninstall/reinstall, just overwrite your existing Aeva files in your ftp folders.

@donniek> you don't need to read 224 pages to see the giant-sized red-colored fix to your problem... 7-8 posts above yours. O:) O:) O:)

@kingkingston> uh, you got the leet error? ;) Anyway, it seems to work for me... It just says "not broadcasting".
leet error ?

on mine it says
Invalid embed code (error 1337):  Please use the embed code exactly as it appears below, or visit www.justin.tv to watch this stream.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on May 13, 2009, 11:21:38 PM
1337 is leet speak for leet :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kingkingston on May 14, 2009, 12:22:07 AM
Quote from: Tiribulus on May 13, 2009, 11:21:38 PM
1337 is leet speak for leet :)
how do i fix it ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 14, 2009, 02:09:46 AM
Quote from: Donnie_K on May 13, 2009, 07:48:18 PM
I'm sorry... I guess I'm a bit of a n00b, which file do you need me to attach?
Did you read the error message....? :-/

@kingkingston> I told you, it works for me so I can't help. Check out the embed code they provide because they didn't give it to me and I don't really care anyway. (Allow me to think that justin.tv, as a platform, is a huge pile of dog crap.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: pc_doctor on May 14, 2009, 09:11:17 AM
Will this support Stickam files, it uses embed codes for websites, and it runs via flash
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 14, 2009, 09:15:34 AM
.message your understand don't I


PS -- reminder for those mentioned below:

Quote from: Nao 尚 on May 12, 2009, 09:30:11 AM
@IceBurn> Support requests are better served when you give a direct link to see the problem in action.
Re: MySoccerMedia, this is a due to a conflict in site IDs with MySpace. I'll change it to "myso" and update the sitelist. The site will then be unchecked for everyone by default, because it'll be considered as a new site. Better than having to uncheck MySpace for everyone I guess.
You don't have to escape dashes. Just make sure they're at the end of the [] block. Doing [a-z-] will correctly understand "a to z, or a dash".
@diontoradan> Real-life links please.
@dekay> the Custom file wasn't thought for modifying local files embedding. I may look into it in the future though. Maybe I'll find a solution that doesn't involve adding more code. Otherwise you'll have to hack into the Aeva code yourself.
@NenaGb> PM me for support on your News issue. I need to see it in action.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Donnie_K on May 14, 2009, 10:52:43 AM
Quote from: Nao 尚 on May 14, 2009, 02:09:46 AM
Quote from: Donnie_K on May 13, 2009, 07:48:18 PM
I'm sorry... I guess I'm a bit of a n00b, which file do you need me to attach?
Did you read the error message....? :-/


yeah, I read it, just wanted to make sure I was sending the right one. I'm assuming ManageSettings.php is the file you need, so here it is.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 14, 2009, 11:25:37 AM
Hmm... Yet another mod that doesn't follow the guidelines. Does "All caps" ring a bell to you?

Anyway-- quick fix: look for the ?> near the end of the file.

}?>function ModifyAllCapsSettings($return_config = false)

Replace with

}

function ModifyAllCapsSettings($return_config = false)


At the end of the file, add

?>

See-- not related to Aeva...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Donnie_K on May 14, 2009, 12:42:50 PM
Thanks, you're the man!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on May 14, 2009, 03:35:40 PM
(Aeva) Does it add the copright for main page? O_o
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 14, 2009, 04:29:13 PM
It adds it if you're using Aeva in the main page.
For instance, calling ssi_recentPosts() on it will call Aeva if one of the posts has a video in it -- even if you don't show the actual post but only the title. Can't do much on that. The only way to avoid this would be to disable parse_bbc() on the recentPosts (or equivalent) function, if you don't plan to show bodies anywhere at all.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on May 14, 2009, 04:41:17 PM
I don't use parse_bbc function on my main page.
http://www.rockayseri.net/rk/
This problem is "Aczimendi Headbangers" topic (last topics area). This topic have a embedded video.
I found :
Recent.php
$row['body'] = parse_bbc($row['body'], $row['smileys_enabled'], $row['id_msg']);
Subs-Recent.php
$row['body'] = strip_tags(strtr(parse_bbc($row['body'], $row['smileys_enabled'], $row['id_msg']), array('<br />' => '')));
But this codes smf core code. I don't worried for this. But i think this is a mini bug.
So how can i disable parse_bbc on boardindex?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 14, 2009, 06:09:30 PM
Of course you can also use the techniques indicated in the Aeva readme file to disable embedding on these.... ;)

I would really, really recommend that you do it. Although Aeva is quite the fast one, it still takes some processing power to turn links into embedded videos. If you're not going to show bodies, then it's time wasted on something that could have been used elsewhere. Disabling the whole parse_bbc() is going to really speed up your code. Disabling Aeva only -- not much, but still it'll eliminate the footer copyright.

I'd try with the two files you mentioned and remove the parse_bbc in one of them, and then try with the other, until the copyright disappears. I guess the only place you might wanna check is the "latest posts" link in the stats center. Because it does show the contents of posts over there.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dzinerfusion on May 14, 2009, 06:59:56 PM
i do not know why this is happening when i install the aeva mod onto my 2.0 rc1 mod it gives this when it redirects me to the settings


// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eclipse16V on May 15, 2009, 12:34:01 AM
Nice Mod,

have any one this in German lang.?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on May 15, 2009, 01:37:28 AM
blouesinjid,

did you READ any of the previous pages of questions and answers?   Nao has alreayd answered that a number of times.

(hint, ajaxchat?)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 15, 2009, 02:34:07 AM
It's actually even in the readme (= mod page + 1st post in this topic) now...
Also, seems like Ajaxchat is not the only mod that screws up everything. Any mod that doesn't you the regular <search position="end"> SMF command to look for a file's end will trigger the same issue.
And, it could also be combined with a double install of the Aeva mod... (Headaches ahead.)

@eclipse> yes there is. In the place where it should be...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on May 15, 2009, 07:29:36 AM
OFF TOPIC: Does anyone check the mods before to get published?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on May 15, 2009, 07:36:46 AM
Quote from: searchgr on May 15, 2009, 07:29:36 AM
OFF TOPIC: Does anyone check the mods before to get published?
Yes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Neverhurry on May 15, 2009, 08:09:09 AM
hello,

when i wanted to install the latest version 6.9.99 i was told to uninstall the earlier version, then when i wanted to uninstall the previous version, i got this:

1.     Execute Modification     ./Sources/ModSettings.php     Test failed
2.    Execute Modification    ./Sources/Load.php    Test successful
3.    Execute Modification    ./Sources/Post.php    Test successful
4.    Execute Modification    ./Sources/Subs.php    Test successful

what can i do, i installed the following mods:

1.      Thank-O-Matic       1.2.5       
2.     Remove MySQL, PHP & W3C images to minimize footer size     1.2     
3.     AvatarOnBoard     2.1     
4.     Anti-Spam Verification Questions     1.02     
5.     Last Topics of Person     1.1     
6.     Karma Buttons     1.1     
7.     Hide Post     1.1     
8.     Smf Logo Clickable     1.0     
9.     Aeva ~ Auto-Embed Video & Audio     6.9.99     
10.     Aeva ~ Auto-Embed Video & Audio     6.2.75     
11.     Attachment File Renamer     1.1.2     
12.     LocationOnReg     1.0     
13.     Invite     1.14     
14.     SimplePortal     2.2     
15.     Load Standard Language     1.0.2     
16.     Topics list support [Taby]     1.03     
17.     Affiliates     1

thank you!!!
(http://www.cinask.com/Smileys/skype/rose.gif)(http://www.cinask.com/Smileys/skype/rose.gif)(http://www.cinask.com/Smileys/skype/rose.gif)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on May 15, 2009, 08:29:00 AM
Quote from: Nao 尚 on May 14, 2009, 11:25:37 AM
Hmm... Yet another mod that doesn't follow the guidelines.

Where do you find these guidelines?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on May 15, 2009, 08:33:12 AM
Quote from: akyhne on May 15, 2009, 08:29:00 AM
Quote from: Nao 尚 on May 14, 2009, 11:25:37 AM
Hmm... Yet another mod that doesn't follow the guidelines.

Where do you find these guidelines?

http://www.simplemachines.org/community/index.php?topic=117819.0
http://www.simplemachines.org/community/index.php?topic=214513.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 15, 2009, 09:22:45 AM
@neverhurry> Proceed with the installation, and just do a manual install for ManageSettings.php...

@Akyhne> I searched for it, but couldn't find it. I clearly remember reading an advice to use position="end" in order not to clash with other mods. I made sure Aeva and SMG would use it where needed. But not all other mods are so nice. I would say though that it might be possible to solve this by updating the package manager to take these conflicts into account. How on Earth is it possible to add code after ?>, for instance? I mean-- it should be checked before saving the modifications, and then the user should be prompted that the mod is trying to do some bad stuff to the SMF core files. Just my $.2!

PS: the position="end" is mentioned here but what it does isn't actually explained... The doc should be reworded ;)
http://www.simplemachines.org/community/index.php?topic=299670.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Neverhurry on May 15, 2009, 12:49:21 PM
Quote from: Nao 尚 on May 15, 2009, 09:22:45 AM
@neverhurry> Proceed with the installation, and just do a manual install for ManageSettings.php...
Thank you!

I will try. But please didn't you make a mistake, it is the
ManageSettings.php that has problem, not ModSettings.php. i am confused.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on May 15, 2009, 02:42:35 PM
position="end"... I know how it works, just never saw any docs about it ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 15, 2009, 06:10:45 PM
Quote from: neverhurry on May 15, 2009, 12:49:21 PM
Quote from: Nao 尚 on May 15, 2009, 09:22:45 AM
@neverhurry> Proceed with the installation, and just do a manual install for ManageSettings.php...
Thank you!

I will try. But please didn't you make a mistake, it is the
ManageSettings.php that has problem, not ModSettings.php. i am confused.
ModSettings (SMF1) = ManageSettings (SMF2).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xavi-Nena on May 15, 2009, 10:38:19 PM
Quote from: Nao 尚 on May 12, 2009, 09:30:11 AM
@NenaGb> PM me for support on your News issue. I need to see it in action.

sent, thanks in advance.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 16, 2009, 03:02:22 AM
@NenaGb and users of the "xmas" theme: there is a bug in that theme. Ask the author to fix it.

It says at one point:

<div id="logo"/>

Replace with:

<div id="logo"></div>

Browsers will ignore the closing "/", so effectively the page will be broken, even though it does validate.
Also, author uses <div id="footer"> at the end. For maximum compatibility with Aeva (this is for you NenaGb), you simply want to rename it to <div id="footerarea"> (like the SMF default theme). This is valid for all themes really. This should be edited in your current theme's index.template.php file.

(Now isn't this slightly better advice than "Downgrade to previous version"? :P)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on May 16, 2009, 05:31:30 AM
(http://www.augk18.dsl.pipex.com/Smileys/supercool.gif)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xavi-Nena on May 16, 2009, 05:52:52 AM
Quote from: Nao 尚 on May 16, 2009, 03:02:22 AM
@NenaGb and users of the "xmas" theme: there is a bug in that theme. Ask the author to fix it.

It says at one point:

<div id="logo"/>

Replace with:

<div id="logo"></div>

Browsers will ignore the closing "/", so effectively the page will be broken, even though it does validate.
Also, author uses <div id="footer"> at the end. For maximum compatibility with Aeva (this is for you NenaGb), you simply want to rename it to <div id="footerarea"> (like the SMF default theme). This is valid for all themes really. This should be edited in your current theme's index.template.php file.

(Now isn't this slightly better advice than "Downgrade to previous version"? :P)

Oh SWEET Nao 尚 thank you thank you thank you..i will go make these changes now :) kisses muaa.. THANK YOU! That was driving me nuts!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 16, 2009, 06:20:09 AM
Don't forget to go tell the theme author!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: oops on May 16, 2009, 11:53:44 AM
This mod is great, we are really enjoying it's functions.  Thanks for your efforts.

I've been trying to add a custom site with no luck.  I've tried numerous times and thouroughly confused myself, could someone with the know-how please help me add HobbyZip.com

video url
http://www.hobbyzip.com/videos/850/watson-rd-bash.html

video external embed code
<embed type="application/x-shockwave-flash" width="450" height="375" wmode="transparent" allowScriptAccess="always" src="http://www.hobbyzip.com/videowatchproplayer_offsite.swf?file=http://www.hobbyzip.com/vdata/850.flv&vid=850&baseurl=http://www.hobbyzip.com/&e=y"><param name="movie" value="http://www.hobbyzip.com/videowatchproplayer_offsite.swf?file=http://www.hobbyzip.com/vdata/850.flv&vid=850&baseurl=http://www.hobbyzip.com/&e=y"><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /></embed>

my Subs-Aeva-Custom code
sites[] = array(
'id' => 'hobbyzip',
'title' => 'HobbyZip',
'website' => 'http://www.hobbyzip.com',
'type' => 'custom',
'added' => '5.2',
'pattern' => 'http://(?:www\.)?hobbyzip\.com/video/([0-9a-z]{8})',
'movie' => 'http://www.hobbyzip.com/videowatchproplayer_offsite.swf?id=$2',
'size' => array(450, 375),
'show-link' => true,
// http://www.hobbyzip.com/videos/850/watson-rd-bash.html
'lookup-title' => '<title>(.*?)</title>',
'fix-html-pattern' => '<object [^>]*><param name="movie" value="$1">.*?</object>',
);


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 16, 2009, 05:26:28 PM
Your pattern is looking for video/, not videos/. Also, you're looking for a 8-character alpha-numeric when you should simply be looking for (\d+)
The movie is looking for a vid, not an id, and it also requires a file variable (which seems to be based on the vid so you don't need a lookup).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Neverhurry on May 16, 2009, 05:42:49 PM
Quote from: Nao 尚 on May 15, 2009, 09:22:45 AM
@neverhurry> Proceed with the installation, and just do a manual install for ManageSettings.php...


Thank you Nao, the update was successful.

May I ask how to change the default youtube width and heighth, I am sorry if you've already answered such question. The SMF in topic seaching is useless, i read more than 2 hours in this super long topic for answers but i didn't find, maybe i just missed them somewhere. Can you help? I really appreciate your help, and this is such a great mod. (http://www.cinask.com/Smileys/skype/rose.gif)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 17, 2009, 04:41:45 AM
It's said in the readme file really... look for Subs-Aeva-Custom-Example.php
Remember that YouTube has three different "default sizes"... 4/3, 16/9 and HD.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on May 17, 2009, 06:09:02 AM
(sitelist) Izlesene.com not working. Player loading but video not found. Nao can you update regexp?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 17, 2009, 06:34:55 AM
I don't see any change in the embed code.
Although there's a small bug in the pattern.
a-z0-9-_ should be \w-
Can you try and change it? Don't forget to regenerate. If it works, I'll update the sitelist immediately.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on May 17, 2009, 06:51:05 AM
This is worked. =)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 17, 2009, 07:30:25 AM
Good. I'll post the new sitelist then. A lot of sites had that buggy pattern. I'm guessing they all had the problem, then...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Neverhurry on May 17, 2009, 07:58:50 AM
Quote from: Nao 尚 on May 17, 2009, 04:41:45 AM
It's said in the readme file really... look for Subs-Aeva-Custom-Example.php
Remember that YouTube has three different "default sizes"... 4/3, 16/9 and HD.

THANK YOU!
BUT i am so bad at coding, can anybody here give me a hand?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on May 17, 2009, 08:04:51 AM
Custom Youtube:


foreach ($sites as $si => $te)
{
if ($te['id'] == 'ytb') {
$sites[$si]['size']['normal'] = array(594, 480); //425, 344
$sites[$si]['size']['ws'] = array(800, 480);
}
if ($te['id'] == 'str')
$sites[$si]['size'] = array(640, 518);
}


Just remember to keep the aspect ratios.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on May 17, 2009, 08:17:37 AM
(Site normal height / site normal width) x wanted width = should height :p
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 17, 2009, 09:21:05 AM
YouTube's UI has to be taken into account when calculating the new height.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Neverhurry on May 17, 2009, 02:01:12 PM
Quote from: akyhne on May 17, 2009, 08:04:51 AM
Custom Youtube:


foreach ($sites as $si => $te)
{
if ($te['id'] == 'ytb') {
$sites[$si]['size']['normal'] = array(594, 480); //425, 344
$sites[$si]['size']['ws'] = array(800, 480);
}
if ($te['id'] == 'str')
$sites[$si]['size'] = array(640, 518);
}


Just remember to keep the aspect ratios.

Hello akyhne,

you are really nice, but after i copied and pasted your code in Subs-Aeva-Custom-Example.php, and saved as Subs-Aeva-Custom.php, and uploaded to its folder, but it doesn't help.

i am really helpless. Where is my mistake? I attached my Subs-Aeva-Custom.php file.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on May 17, 2009, 02:11:25 PM
Did you save your Aeva site list?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 17, 2009, 02:35:45 PM
Yeah, after uploading the custom file, you need to regenerate the sitelist. Or you can force it via '?checkaeva' in any page of your forum that has a video in it. Although this'll only work if you have a pending external sitelist to download... But it probably is the case since I uploaded a new one today.
Anyway!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: oops on May 17, 2009, 03:42:20 PM
Quote from: Nao 尚 on May 16, 2009, 05:26:28 PM
Your pattern is looking for video/, not videos/. Also, you're looking for a 8-character alpha-numeric when you should simply be looking for (\d+)
The movie is looking for a vid, not an id, and it also requires a file variable (which seems to be based on the vid so you don't need a lookup).

Thanks Nao, almost have it working.

$sites[] = array(
'id' => 'hobbyzip',
'title' => 'HobbyZip',
'website' => 'http://www.hobbyzip.com',
'type' => 'custom',
'added' => '5.2',
'pattern' => 'http://(?:www\.)?hobbyzip\.com/videos/(\d+)',
'movie' => 'http://www.hobbyzip.com/videowatchproplayer_offsite.swf?file=$2',
'size' => array(450, 375),
'show-link' => true,
// http://www.hobbyzip.com/videos/850/watson-rd-bash.html

);


It embeds the video but does not play it...
I'm thinking it's the movie line but not sure.  I have no coding skills, just looking at the sites file, I'm guessing I need to add some settings maybe.  Is the 'fix-html-pattern' required?

I really appreciate your help Nao 8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 17, 2009, 03:48:23 PM
fix-html-pattern is not needed, unless you want to account for people who post embed code.
Your movie link should be taken straight from the embed code, really. I don't know while you're still using file=$2 when it requires a full URL, and you're not setting vid either.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: oops on May 17, 2009, 04:20:10 PM
Quote from: Nao 尚 on May 17, 2009, 03:48:23 PM
fix-html-pattern is not needed, unless you want to account for people who post embed code.
Your movie link should be taken straight from the embed code, really. I don't know while you're still using file=$2 when it requires a full URL, and you're not setting vid either.

ok, having the fix-html-pattern seems like a good idea.
I switched to the link from the embed code, but am not sure which variable to use for the vid id (seems to me the link points to a specific vid and I should be using a variable so it works for others)
vid appears to be set in that link,  what would I need to replace the "850" with?


$sites[] = array(
'id' => 'hobbyzip',
'title' => 'HobbyZip',
'website' => 'http://www.hobbyzip.com',
'type' => 'custom',
'added' => '5.2',
'pattern' => 'http://(?:www\.)?hobbyzip\.com/videos/(\d+)',
'movie' => 'http://www.hobbyzip.com/videowatchproplayer_offsite.swf?file=http://www.hobbyzip.com/vdata/850.flv&vid=850&baseurl=http://www.hobbyzip.com/&e=y',
'size' => array(450, 375),
'show-link' => true,
// http://www.hobbyzip.com/videos/850/watson-rd-bash.html
'fix-html-pattern' => '<object [^>]*><param name="movie" value="$1">.*?</object>',
);


Sorry if my questions and attempts are noobish, I really have no coding skills;  that and communications is not one of strong points (about par with coding lol)
It's great that you are willing to help me with this Nao, most peeps don't have the patience;  and I get to learn something instead of you doing it for me  :).  Much appreciated  8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: oops on May 17, 2009, 04:44:35 PM
think i got it  ;D

it seems to be working with no errors, how does it look Nao?


$sites[] = array(
'id' => 'hobbyzip',
'title' => 'HobbyZip',
'website' => 'http://www.hobbyzip.com',
'type' => 'custom',
'added' => '5.2',
'pattern' => 'http://(?:www\.)?hobbyzip\.com/videos/(\d+)',
'movie' => 'http://www.hobbyzip.com/videowatchproplayer_offsite.swf?file=http://www.hobbyzip.com/vdata/$2.flv&vid=$2&baseurl=http://www.hobbyzip.com/&e=y',
'size' => array(450, 375),
'show-link' => true,
// http://www.hobbyzip.com/videos/850/watson-rd-bash.html
'fix-html-pattern' => '<object [^>]*><param name="movie" value="$1">.*?</object>',
);
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on May 17, 2009, 04:51:23 PM
Actually i want to add only one site. mtv.com/video.
<embed src="http://media.mtvnservices.com/mgid:uma:video:mtv.com:61231" width="512" height="319" type="application/x-shockwave-flash" flashVars="configParams=type%3Dnetwork%26vid%3D61231%26uri%3Dmgid%3Auma%3Avideo%3Amtv.com%3A61231%26startUri=mgid%3Auma%3Avideo%3Amtv.com%3A61231" allowFullScreen="true" allowScriptAccess="always" base="."></embed>
But embed flashVars have a %2, %3 character. Have can i replace to true character?


Edit: i add now.
$sites[] = array(
   'id' => 'mtvg',
   'title' => 'mtvideo',
   'website' => 'http://www.mtv.com',
   'type' => 'custom',
   'added' => '5.2',
// http://www.mtv.com/videos/kelly-clarkson/374518/i-do-not-hook-up.jhtml
   'pattern' => 'http://(?:www.)?mtv.com/videos/.*?/(d+)/.*?.jhtml',
   'movie' => 'http://media.mtvnservices.com/mgid:uma:video:mtv.com:$2',
   'size' => array(512, 319),
   'show-link' => false,
);


But i have a mini problem..
Please look attachment
or
http://www.rockayseri.net/rk/sarki-onerileri/the-subways-rock%27n-roll-queen/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: NFG on May 18, 2009, 02:04:55 AM
Installation didn't work for me.  I'm running 1.1.8, brand new install.  I received a memory error during auto-install, so opted for manual.   

I uploaded all the source files and language files, and put the expressinstall.swf file in the forum root.  I made all the edits as shown in the manual instructions on the SMF mod page (http://custom.simplemachines.org/mods/index.php?mod=977).  I wasn't sure what to do with aeva_install.php, since the mod instructions say only that it should be executable, so I put it in the forum root.  Running it, I got the message "database updated OK!" or similar.

No new options appear in the admin panel.

There was a problem in the manual installation too.  In subs.php, the SEARCH FOR line:

$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '' => "\n")); doesn't exist.  I found one similar, removing whitespace, so I think I got it right.  I don't think this is the cause of the problem.

Can anyone offer some suggestions?  What should I check?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 18, 2009, 02:14:29 AM
@Ozgur> It's a Netscape icon that says "not found" for multimedia items... But it evens appears on Opera so I'm guessing that's their way of saying they didn't find a thumbnail to show.

@NFG> the Aeva tab in the admin area is in "Features & Settings". Technically it's stored in the ModSettings.php file, I think.

QuoteSorry if my questions and attempts are noobish, I really have no coding skills;  that and communications is not one of strong points (about par with coding lol)
It's great that you are willing to help me with this Nao, most peeps don't have the patience;  and I get to learn something instead of you doing it for me  :).  Much appreciated  8)
I actually don't have much patience but at least the current topic is not too busy right now so I'm not losing it.

Honestly, I'm doing it because old habits are sometimes hard to lose when you're transitioning towards a non-basic-support state for Aeva, but if you want me to integrate a site, the price will be $10 by PayPal for easy sites (or your own site is non-profit), and $20 for the rest.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: NFG on May 18, 2009, 02:28:49 AM
Thanks Nao, I see it there.  The screenshot in the installer wasn't really clear.  =/

Now to play with it.  Fun times ahoy.  =)

UPDATE - the admin panels are BLANK, with only a single checkbox and SAVE button beneath. 

Also, what am I to do with the Subs-Aeva-Sites.php file?  There's no reference to it in the instructions...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: oops on May 18, 2009, 02:44:50 AM
well thanks for having enough patient to help Nao

We've got some happy members because of you, we all appreciate it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 18, 2009, 03:38:39 AM
Quote from: NFG on May 18, 2009, 02:28:49 AM
Thanks Nao, I see it there.  The screenshot in the installer wasn't really clear.  =/
There is no screenshot in the installer.

QuoteUPDATE - the admin panels are BLANK, with only a single checkbox and SAVE button beneath. 
Apparently, people's curiosity has gone to zero overnight, lol.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Neverhurry on May 18, 2009, 03:39:35 AM
Quote from: akyhne on May 17, 2009, 02:11:25 PM
Did you save your Aeva site list?

Quote from: Nao 尚 on May 17, 2009, 02:35:45 PM
Yeah, after uploading the custom file, you need to regenerate the sitelist. Or you can force it via '?checkaeva' in any page of your forum that has a video in it. Although this'll only work if you have a pending external sitelist to download... But it probably is the case since I uploaded a new one today.
Anyway!

Please advise me how to save (or regenerate) Aeva site list. Thank you. 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Neverhurry on May 18, 2009, 03:40:35 AM
Quote from: akyhne on May 17, 2009, 02:11:25 PM
Did you save your Aeva site list?

Quote from: Nao 尚 on May 17, 2009, 02:35:45 PM
Yeah, after uploading the custom file, you need to regenerate the sitelist. Or you can force it via '?checkaeva' in any page of your forum that has a video in it. Although this'll only work if you have a pending external sitelist to download... But it probably is the case since I uploaded a new one today.
Anyway!


Please advise me how to save (or regenerate) Aeva site list. Thank you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: NFG on May 18, 2009, 04:13:23 AM
QuoteThere is no screenshot in the installer.
Correct, my bad.  There is a screenshot on the mod page (http://custom.simplemachines.org/mods/index.php?mod=977) showing only the higlighted admin tab and the aeva page of the admin panel.

QuoteApparently, people's curiosity has gone to zero overnight, lol.
I'm not in the habit of clicking undescribed buttons on busy live forums.  Is that a behaviour you'd really like to encourage? 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 18, 2009, 04:28:24 AM
<****** mode>
@neverhurry> How about reading the readme file or doing a Google search on "aeva regenerate", experimenting with the admin area and generally trying things by yourself?

@NFG> How about reading the readme file or doing a brain search on "enabling Aeva"? If you get an Aeva admin area with a single checkbox that says "Enable Aeva", what exactly can you tell me is unlikely to make you click it? Really?  O:)

As for the screenshot, it's very old anyway. I should drop it. Look at it, it says "AEVAC". That's an old version from Karl's.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: NFG on May 18, 2009, 05:26:41 AM
QuoteIf you get an Aeva admin area with a single checkbox that says "Enable Aeva"
The problem is it's BLANK, it's an unlabeled box and a SAVE button. 

QuoteHow about reading the readme file
I'm sure you mean the one I didn't get in the zipfile, not the one that's in there that doesn't say anything about save buttons and admin pages (blank or otherwise) but instead focuses on how to use it AFTER the fact.

I appreciate your support, I do, but  there are legitimate reasons I'm here asking for help instead of randomly mashing at the keyboard hoping something works.

UPDATE:
After clicking the unlabelled box and pressing SAVE, I got this helpful screen:

(http://www.parkour.com.au/trouble-1.jpg)

Does this perhaps suggest any course of action?  Or should I be doing another 'brain search'?  ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 18, 2009, 05:40:10 AM
Quote from: NFG on May 18, 2009, 05:26:41 AM
QuoteIf you get an Aeva admin area with a single checkbox that says "Enable Aeva"
The problem is it's BLANK, it's an unlabeled box and a SAVE button. 
Language issue.
Did you do a manual install?
At any rate, copy the Aeva language files to the proper folder.

I'm not going to do this kind of low-level support forever, please. It takes away time from my development schedule.

QuoteDoes this perhaps suggest any course of action?  Or should I be doing another 'brain search'?  ;)
I'm thinking a brain search is still something you could do. This is not an Aeva bug, you just didn't install it correctly.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: NFG on May 18, 2009, 05:52:23 AM
I really do appreciate the help.

Yes, it was a manual install.  As mentioned earlier, the auto install didn't work on my freshly installed 1.1.8 SMF forum.  The manual instructions were flawed (my default files didn't match the the instructions), and didn't fully explain things (the extra files), probably 'cause the auto install usually works. 

When I got the blank pages I suspected the language files were missing, despite my having uploaded them to Themes/default/language as instructed.  I copied them also to Themes/<current theme>/language, to no avail.  I grasped at straws, and CHMOD'd 'em to 755 and then 777.

Really, is my install so f**ked up that this stuff just doesn't work?  What am I missing?  =/

EDIT: (removed, irrelevent)

EDIT 2:
Checked 'em all, and all four files were modded properly.  Checked all the uploads: They're in the right place (CHMOD'd 'em all to 777 just to rule that out).

The solution!
Another thing wrong:  The manual install instructions tell me to upload SIX language files (4 English, 2 French).  One of the English files is not in the archive I downloaded today:  Aeva.english.php is missing.

Renamed the Aeva.british-english.php file to Aeva.english.php and it worked fine.

So, might want to update that archive, eh?

Also, the install instructions are looking for this line in Subs.php:

$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '' => "\n"));

but in a fresh install, that line is now actually

$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '&#13;' => "\n"));

Doubt that's why the auto-install failed, but the instructions are still wrong.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Neverhurry on May 18, 2009, 06:17:37 AM
Quote from: Nao 尚 on May 18, 2009, 04:28:24 AM

@neverhurry> How about reading the readme file or doing a Google search on "aeva regenerate", experimenting with the admin area and generally trying things by yourself?

Thanks. You are right, i am happy that i made it. It works now! You made a fantastic mod.
(http://www.cinask.com/Smileys/skype/flower.gif)
(http://www.cinask.com/Smileys/skype/thanks.gif)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 18, 2009, 08:36:53 AM
@everyone> I'm willing to release a silent update for Aeva 6.9.99 (silent = no version number change, and no notification on the mod page) where I would use the smalltext class for the copyright (to make sure it doesn't appear too large), and maybe change the local file players to point to a different one. So the question is: I remember someone mentioning "better" remote players for local files than the existing ones. Could this person come back and post about them? Thanks.

Quote from: NFG on May 18, 2009, 05:52:23 AM
When I got the blank pages I suspected the language files were missing, despite my having uploaded them to Themes/default/language as instructed.  I copied them also to Themes/<current theme>/language, to no avail.  I grasped at straws, and CHMOD'd 'em to 755 and then 777.
Did you try copying to your default theme as well?
Are you using UTF8? (This shouldn't have an influence though.) Or maybe another language?

QuoteThe solution!
Another thing wrong:  The manual install instructions tell me to upload SIX language files (4 English, 2 French).  One of the English files is not in the archive I downloaded today:  Aeva.english.php is missing.

Renamed the Aeva.british-english.php file to Aeva.english.php and it worked fine.
The file isn't missing. It's just that it's located in the top level of the folder, instead of being inside the languages subfolder. Don't ask me why, Karl did it this way, I just never cared/came around to changing it.
I'll change this behavior in the silent update though. It's not like it's important to keep it in the root folder.

Quote$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '' => "\n"));

but in a fresh install, that line is now actually

$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '&#13;' => "\n"));

Doubt that's why the auto-install failed, but the instructions are still wrong.
Not my fault. When I install my mods manually, I do it via the xml install files.
Apparently, most people use the manual parser on the mod site, which is probably a recent feature because I never used it before.
So what you're telling me is that the "correct" line is not in the parsed instructions. I can assure you that it is in the install-both.xml file (you can check). So it means the parser is buggy and will hide &#13; entities from the results. I'll make a bug report out of it.

Edit:
http://dev.simplemachines.org/mantis/view.php?id=3455

Edit 2: lol, I'm on a roll with this post...
http://dev.simplemachines.org/mantis/view.php?id=3456
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on May 18, 2009, 10:29:13 AM
I couldn't find any reference to this in this thread and it's not a real big deal, but on the mass upload page the browse button has transformed itself into a plain white box. It works, it's just blank. If you get a chance or happen to know why this might be the case could you pretty please (how was that ;D) lemme know what to do?
Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 18, 2009, 11:00:17 AM
"Mass upload"? "Browse" button...? Are you sure you're talking about Aeva, not SMG? That may explain why you couldn't find any info here... :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on May 18, 2009, 11:15:06 AM
Quote from: Nao 尚 on May 18, 2009, 11:00:17 AM
"Mass upload"? "Browse" button...? Are you sure you're talking about Aeva, not SMG? That may explain why you couldn't find any info here... :P

I AM A MORON!!!(http://gregnmary.gotdns.com:8080/pix/moron.gif)

Yes, of course you are correct. Some sleep may aid my weary mind. I'll post this in that topic.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: daclina on May 20, 2009, 10:19:07 AM
Hi there - is there anyway to set maxwidth of videos?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 20, 2009, 12:11:53 PM
Yes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: oops on May 20, 2009, 12:33:45 PM
lol direct and straight to the point Nao  ;D


this might help daclina,

if you open the Subs-Aeva-Sites.php file you will see entries like this for each site included in the mod.




array(
  'id' => 'ggl',
  'title' => 'Google Video',
  'website' => 'http://video.google.com',
  'type' => 'pop',
  'added' => '<4.0',
  // http://video.google.com/videoplay?docid=-6377855743675143177
  'pattern' => 'http://video.google.(com|com?.[a-z]{2}|[a-z]{2})/(?:videoplay|url|googleplayer.swf)?[^"]*?docid=([w-]{1,20})',
  'movie' => 'http://video.google.$2/googleplayer.swf?docId=$3',
  'size' => array(400, 326),
  'show-link' => true,
  'lookup-title' => true,
  'fix-html-pattern' => '<embed id="VideoPlayback" src="$1"[^>]*>s</embed>',
),


I'm no expert and there might be a better way, but it seems to me the setting you want is "size"
You should be able to go through the Subs-Aeva-Sites.php file and set all the sites you embed to the size you want.  If you added custom sites, be sure to go through the Subs-Aeva-Custom.php file and make the adjustments there too.

if I'm wrong, please chime in and say so  :-\
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on May 20, 2009, 12:54:15 PM
... which is not the right way. To make Youtube play in a custom with, follow the instructions in Subs-Aeva-Custom-Example.php.

An example:
Quote from: akyhne on May 17, 2009, 08:04:51 AM
Custom Youtube:


foreach ($sites as $si => $te)
{
if ($te['id'] == 'ytb') {
$sites[$si]['size']['normal'] = array(594, 480); //425, 344
$sites[$si]['size']['ws'] = array(800, 480);
}
if ($te['id'] == 'str')
$sites[$si]['size'] = array(640, 518);
}


Just remember to keep the aspect ratios.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: oops on May 20, 2009, 01:10:07 PM
appologies, my bad ... thought I understood.

Subs-Aeva-Sites.php code for ytb


array(
  'id' => 'ytb',
  'title' => 'YouTube',
  'website' => 'http://www.youtube.com',
  'type' => 'pop',
  'added' => '<4.0',
  'pattern' => 'http://(?:video.google.(?:com|com?.[a-z]{2}|[a-z]{2})/[^"]*?)?(??:www|[a-z]{2}).)?youtube.com/[^"#[]*?(?:&|&amp;|/|?|;|%3F|%2F)(?:video_id=|v(?:/|=|%3D|%2F))([w-]{11})',
  'movie' => array(
   'normal' => 'http://www.youtube.com/v/$2&rel=0',
   'series' => 'http://www.youtube.com/v/$2&ap=%2526fmt%3D%aeva%&rel=0&fs=1',
   'dq' => 'http://www.youtube.com/v/$2&rel=0',
   'lq' => 5,
   'lq2' => 34,
   'hq1' => 6,
   'hq' => 18,
   'vhq' => 35,
   'hd' => 22,
  ),
  'size' => array(
   'normal' => array(480, 385), // official YT embed size is array(425, 344),
   'ws' => array(640, 385),
   'hd' => array(854, 505),
  ),
  // http://www.youtube.com/watch?v=-X8mD76W4F0 or v=MxGofCFHYCc (all hail Jochen Hippel!)
  // On Google - http://video.google.co.uk/url?docid=-8978185459530152475&ev=v&len=91&srcurl=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dg2cT5J0gxeU
  // http://www.youtube.com/watch?v=M29NUeffJNA - Example of "Embedding Disabled By Request"
  'fix-html-pattern' => '<object [^>]*><param name="movie" value="http://www.youtube.com/v/([w-]{11})(?:&[^"]*)?">.*?</object>',
  'fix-html-url' => 'http://www.youtube.com/watch?v=$1',
  'lookup-url' => 'http://(?:video.google.(?:com|com?.[a-z]{2}|[a-z]{2})/[^"]*?)?(??:www|[a-z]{2}).)?youtube.com/[^"#[]*?(?:&|&amp;|/|?|;|%3F|%2F)(?:video_id=|v(?:/|=|%3D|%2F))([w-]{11})[^]#[]*',
  'lookup-title' => true,
  'lookup-title-skip' => true,
  'lookup-pattern' => array(
   'noexternalembed' => '<inputsid="embed_code"sname="embed_code"stype="text"svalue=["'](?!&lt;object)',
   'ws' => 'isWidescreen = true',
   // 22 = HD MP4 1280x720
   // 35 = Q4 FLV (Q4 = 4/5 quality)
   // 18 = Q2 MP4
   // 6  = Q3 FLV mono
   // 34 = Q1 FLV
   // 5  = Q1 FLV mono
   'quality' => array('"fmt_map": "(?:d+(?:/d+){4}[,"]|null)*', '(d+)(?:/d+){4}[,"]', 22, 'hd', 35, 'vhq', 18, 'hq', 6, 'hq1', 34, 'lq2', 5, 'lq'),
  ),
),


your added Subs-Aeva-Custom.php code for ytb


foreach ($sites as $si => $te)
{
if ($te['id'] == 'ytb') {
$sites[$si]['size']['normal'] = array(594, 480); //425, 344
$sites[$si]['size']['ws'] = array(800, 480);
}


ok so one file configures the embed settings then another file adjusts them?

if you wouldn't mind a lil explaining, why is it necessary to write more code (added to Subs-Aeva-Custom-Example.php.) to alter the settings for the code in Subs-Aeva-Sites.php?



Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on May 20, 2009, 01:19:02 PM
Subs-Aeva-Sites.php is updated automatically from Nao whenever you go to the AEVA section in the admin center. So everything you edit there will be deleted when Nao resolves/adds new sites.
Subs-Aeva-Generated-Sites.php is the file the mod is actually using to find out what sites should be parsed.

So if you make some edits in Subs-Aeva-Sites.php and you don't *save* the aeva sites list in the admin center, nothing's changed.

Then to make it possible for people to make their own embed sites... or as in this case... edit size of the embed, there's a third file called Subs-Aeva-Custom.php - which you have to create on your own from the example file called Subs-Aeva-Custom-Example.php.

Everything is really explained in Subs-Aeva-Custom-Example.php.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: oops on May 20, 2009, 01:29:15 PM
Sweet, thanks for the explanation akyhne, I was overlooking the fact that Subs-Aeva-Sites.php is auto updated.

Your right, it is explained and I did read it, more than once ...  :-[

I guess my memory is a lil overwhelmed with all the new knowledge courtesy of this site ...

I will be sure to double check my understanding before trying to help again, thanks for setting me straight akyhne.

Sorry for the bad info daclina and everyone else

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MissyNL on May 20, 2009, 02:50:47 PM
Hello... i have still version 6.0.71 installed. I want to install the new version, only the uninstall link is gone... does anyone have a solution? adding ;version_emulate=1.1.4 in the URL does not work. :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 20, 2009, 05:03:59 PM
Just overwrite your existing Aeva files (Sources + langues) with the ones in the last package.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LHW on May 20, 2009, 11:20:35 PM
I love this Mod, and it works great for most of the vids we post.  However, I just tried posting a trailer off of TrailerAddict (which I noticed is on the Aeva Site list), and it's only showing as a link.  YouTube, Break.COM, etc... work just fine.  Any ideas as to why TA isn't working?

Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: daclina on May 21, 2009, 02:38:18 AM
LOL @ Nao - guess I deserve that :).

@ oops & akyhne - thanks for the help, I can see where I can see where I canmake the changes.

My problem is that I didn't exactly want to do it for each and every video source, I ideally wanetd to set a maxwidth for any video added. I'm running a site with "skinny" forums (about 530 width) and youtube is configured for 640width - so its sticks out from the right side. Is my understanding correct that I need to go and edit each video source's with in order to get it to fit correctly?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 21, 2009, 04:41:17 AM
@Essential Knight> Please post your problematic link... Everyone should do that when they have a problem.
@daclina> I do that regularly :P
Anyway. As for your problem, any time you see a video that is >530px, just look for the domain name, open the site list, and copy the domain-associated data to the custom file and use the format detailed in the comments. Usually this would only be for YouTube anyway, so you'll want to use the code that is already provided. You'll want to fix both HD and Widescreen formats (not 4/3).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LHW on May 21, 2009, 10:18:50 AM
Quote from: Nao 尚 on May 21, 2009, 04:41:17 AM
@Essential Knight> Please post your problematic link... Everyone should do that when they have a problem.

My apologies, Nao.  It was late, and I was tired.  It was for the new Sherlock Holmes (http://www.traileraddict.com/trailer/sherlock-holmes/trailer) movie.

One of the codes they offer is this:

<object width="450" height="314"><param name="movie" value="http://www.traileraddict.com/emd/11073"><param name="allowscriptaccess" value="always"></param><param name="wmode" value="transparent"></param><param name="allowfullscreen" value="true"></param><embed src="http://www.traileraddict.com/emd/11073" type="application/x-shockwave-flash" wmode="transparent" allowfullscreen="true" allowscriptaccess="always" width="450" height="314"></embed></object>

Out of that, I tried: http://www.traileraddict.com/emd/11073

If that's wrong, please let me know.

Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 21, 2009, 10:41:09 AM
Why didn't you just post the video page's URL? It works just fine:

http://www.traileraddict.com/trailer/sherlock-holmes/trailer
Which generates the URL you posted, but it starts with "emb", not "emd"...
I'll see what I can do about the embed code.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 21, 2009, 10:50:02 AM
Okay...
Embed code fixed. They changed it. They removed a </param> which effectively breaks the DOM layout (very smart, guys!). They also added another <param> set later, which also broke my embed fixer.
Well, I don't know who made all these changes, but they sure are in trouble.

Uploading to the mod site. Update your list by adding ";checkaeva" on the page where you posted your video.
Don't forget that the best way is to post the URL to your video page, not to post any embed code. URL to video page = title will be retrieved along with the correct embed code.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 21, 2009, 10:54:56 AM
Sorry for the triple post, but--

Warning!

Subs-Aeva-Sites.php (aka the automatic sitelist update) is currently unavailable from the SMF mod site. As I usually do, I edited my mod page, unchecked the current file and added my updated file. After I finished uploading it, I got an error message saying:

QuoteYour attachment couldn't be saved. This might happen because it took too long to upload or the file is bigger than the server will allow.

Please consult your server administrator for more information.

I never had this error message earlier, even when the file was much, much larger than 155KB.

I'll make sure to reupload the file as soon as this problem is fixed by the team.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LHW on May 21, 2009, 11:02:24 AM
Quote from: Nao 尚 on May 21, 2009, 10:41:09 AM
Why didn't you just post the video page's URL? It works just fine:

http://www.traileraddict.com/trailer/sherlock-holmes/trailer

Tried that, and it didn't work either, which is why I also tried the direct link.

Changed the "emd" to "emb" and it worked fine.  Thanks!

I'll update later, once your file is uploaded.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MissyNL on May 21, 2009, 11:11:27 AM
Quote from: Nao 尚 on May 20, 2009, 05:03:59 PM
Just overwrite your existing Aeva files (Sources + langues) with the ones in the last package.

Thank you... worked as a charm!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 21, 2009, 01:09:42 PM
Quote from: Essential Knight on May 21, 2009, 11:02:24 AM
Tried that, and it didn't work either, which is why I also tried the direct link.
It worked for me... (?)

QuoteI'll update later, once your file is uploaded.
I have yet to hear from the team. I'm sure it won't take long now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: daclina on May 21, 2009, 01:35:46 PM
Perfect! - thanx peeps :)

Thanks to all for the help.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: FragaCampos on May 21, 2009, 05:50:05 PM
Hi there.
I have this (http://custom.simplemachines.org/mods/index.php?mod=1459) mod installed, and in a particular board with more than 1000 topics, SMF takes more 10 seconds to enter after i install Aeva mod.

Don't know if it's easy to track down the problem, but i'm 100% sure it's because of Aeva, cause i tested with and without it. Does this seem reasonable?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 21, 2009, 06:06:46 PM
Nope.

And I'm afraid it's not Aeva.
Let's just say it's optimized to the max...
Anyway, try disabling unused sites in your sitelist. This is the only bottleneck in the mod (if you enable all sites I mean.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 21, 2009, 06:15:57 PM
Quote from: Nao 尚 on May 21, 2009, 10:54:56 AM
Warning!

Subs-Aeva-Sites.php (aka the automatic sitelist update) is currently unavailable from the SMF mod site. As I usually do, I edited my mod page, unchecked the current file and added my updated file. After I finished uploading it, I got an error message saying:
Haven't heard back from the team, but I managed to upload the file this time.
(Request still stands ;))
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: FragaCampos on May 21, 2009, 08:19:11 PM
Quote from: Nao 尚 on May 21, 2009, 06:06:46 PM
Nope.

And I'm afraid it's not Aeva.
Let's just say it's optimized to the max...
Anyway, try disabling unused sites in your sitelist. This is the only bottleneck in the mod (if you enable all sites I mean.)

Well, it worked.
I just activated the ones i use (three actually) and now all is ok.

Thank you very much!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 22, 2009, 02:22:27 AM
Good to know :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Matthew-me on May 23, 2009, 09:51:07 AM
I just installed the RC1.1 security patch on an SMF 2.0 site and the mod is no longer showing any video's but just turning them into links.

I uninstalled the mod before then reinstalled it after installing the security patch and am using a custom theme "Scarlet".

Anyone else had such an issue or a clue on a fix?

Matthew

ps Thanks for a brilliant mod ... it worked flawlessly until now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Smoky "Rider" Blue on May 23, 2009, 01:19:32 PM
did you re apply all mods?

did you update the mod to your theme? ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PRaDiUS on May 24, 2009, 01:52:14 AM
I was going to upgrade to your new version of Aeva but I see you have removed the admin option to have the copyright show beneath the videos instead of at the footer of the forum. As a result I have reverted back to the older version because I already have SMF and SimplePortal links on my footer and anything beyond that is frankly just taking away from the professional look of my forum. I definitely want you to recieve credit, but please add the option back to display your link below the videos instead of on the footer of my forum. Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 24, 2009, 07:19:51 AM
Quote from: PRaDiUS on May 24, 2009, 01:52:14 AM
I was going to upgrade to your new version of Aeva but I see you have removed the admin option to have the copyright show beneath the videos instead of at the footer of the forum. As a result I have reverted back to the older version because I already have SMF and SimplePortal links on my footer and anything beyond that is frankly just taking away from the professional look of my forum. I definitely want you to recieve credit, but please add the option back to display your link below the videos instead of on the footer of my forum. Thanks.
The Aeva footer link only appears on pages that feature videos, so I don't see what's the problem. If you have 10 videos on a page, you only get one extra link, instead of 10.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xarus on May 24, 2009, 07:41:56 AM
so Ive installed this script for many times and all the time ive got this error and the plugin didnt worked...
and if ive tried to uninstall it from packages all the time. and after uninstall the forum wasnt working any more... is there a way to solve this... what can be done?


here is the error log : // Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END /* RSS Feeder Settings */ function ModifyRSSFeedSettings() { global $context, $txt, $sourcedir, $scripturl, $smcFunc; loadTemplate('RSSFeeds'); $context['page_title'] = $txt['rss_feeder']; if (!empty($_REQUEST['feed']) && (isset($_REQUEST['enable']) || isset($_REQUEST['disable']))) { // Quick change on the status... $smcFunc['db_query']('', ' UPDATE {db_prefix}rssfeeds SET enabled = {int:option} WHERE id_feed = {int:feed}', array( 'option' => isset($_REQUEST['enable']) ? 1 : 0, 'feed' => (int) $_REQUEST['feed'], ) ); redirectExit('action=admin;area=modsettings;sa=rssfeeds'); } if (!empty($_REQUEST['feed']) || !empty($_REQUEST['add'])) { $context['sub_template'] = 'rss_feeder_add'; // Load the boards and categories for adding or editing a feed. $request = $smcFunc['db_query']('', ' SELECT b.id_board, b.name, b.child_level, c.name AS cat_name, c.id_cat FROM {db_prefix}boards AS b LEFT JOIN {db_prefix}categories AS c ON (c.id_cat = b.id_cat)', array() ); $context['categories'] = array(); while ($row = $smcFunc['db_fetch_assoc']($request)) { if (!isset($context['categories'][$row['id_cat']])) $context['categories'][$row['id_cat']] = array ( 'name' => strip_tags($row['cat_name']), 'boards' => array(), ); $context['categories'][$row['id_cat']]['boards'][] = array( 'id' => $row['id_board'], 'name' => strip_tags($row['name']), 'category' => strip_tags($row['cat_name']), 'child_level' => $row['child_level'], 'selected' => !empty($_SESSION['move_to_topic']) && $_SESSION['move_to_topic'] == $row['id_board'] && $row['id_board'] != $board, ); } $smcFunc['db_free_result']($request); if (empty($context['categories'])) fatal_lang_error('rss_feed_no_boards', false); // If we're just adding a feed, we can return, don't need to do anything further if (empty($_REQUEST['add'])) { // Lets get the feed from the database $request = $smcFunc['db_query']('', ' SELECT * FROM {db_prefix}rssfeeds WHERE id_feed = {int:feed} LIMIT 1', array( 'feed' => ((int) $_REQUEST['feed']), ) ); // No Feed?? ut oh... hacker!! if ($smcFunc['db_num_rows']($request) != 1) fatal_lang_error('rss_feed_not_found', false); $context['rss_feed'] = $smcFunc['db_fetch_assoc']($request); $context['rss_feed'] = htmlspecialchars__recursive($context['rss_feed']); $smcFunc['db_free_result']($request); } $context['icon'] = !empty($context['rss_feed']['icon']) ? $context['rss_feed']['icon'] : 'xx'; require_once($sourcedir . '/Subs-Editor.php'); // Message icons - customized icons are off? $context['icons'] = getMessageIcons(!empty($context['rss_feed']['id_board']) ? $context['rss_feed']['id_board'] : 0); if (!empty($context['icons'])) $context['icons'][count($context['icons']) - 1]['is_last'] = true; $context['icon_url'] = ''; for ($i = 0, $n = count($context['icons']); $i < $n; $i++) { $context['icons'][$i]['selected'] = $context['icon'] == $context['icons'][$i]['value']; if ($context['icons'][$i]['selected']) $context['icon_url'] = $context['icons'][$i]['url']; } if (empty($context['icon_url'])) { $context['icon_url'] = $settings[file_exists($settings['theme_dir'] . '/images/post/' . $context['icon'] . '.gif') ? 'images_url' : 'default_images_url'] . '/post/' . $context['icon'] . '.gif'; array_unshift($context['icons'], array( 'value' => $context['icon'], 'name' => $txt['current_icon'], 'url' => $context['icon_url'], 'is_last' => empty($context['icons']), 'selected' => true, )); } return; } // What about deleting one or more?? elseif (!empty($_REQUEST['delete'])) { //$_POST['checked_feeds'] // We already asked that they wanted to delete, so we'll just delete... no confirmation foreach ($_POST['checked_feeds'] as $key => $id) $_POST['checked_feeds'][$key] = (int) $id; $smcFunc['db_query']('', ' DELETE FROM {db_prefix}rssfeeds WHERE id_feed IN ({array_int:feed_list})', array( 'feed_list' => $_POST['checked_feeds'], ) ); } // Or are they saving one being modified?? elseif (!empty($_REQUEST['save']) && !empty($_POST['sc'])) { // First we check the session... checkSession(); // Put the insert array together... $insertOptions = array(); // Let's do the 'unrequireds' first... $insertOptions['id_board'] = (int)$_POST['feed_board']; $insertOptions['icon'] = isset($_POST['icon']) ? preg_replace('~[\./\\\\*\':"<>]~', '', $_POST['icon']) : 'xx'; $insertOptions['enabled'] = isset($_POST['feed_enabled']) ? 1 : 0; $insertOptions['keywords'] = trim($_POST['feed_keywords']) != '' ? trim($_POST['feed_keywords']) : ''; $insertOptions['locked'] = isset($_POST['feed_locked']) ? 1 : 0; $insertOptions['getfull'] = isset($_POST['feed_full']) ? 1 : 0; $insertOptions['approve'] = isset($_POST['feed_approve']) ? 1 : 0; $insertOptions['singletopic'] = isset($_POST['feed_singletopic']) ? 1 : 0; $insertOptions['topicprefix'] = trim($_POST['feed_prefix']) != '' ? trim($_POST['feed_prefix']) : ''; $insertOptions['footer'] = !empty($_POST['feed_footer']) ? trim($_POST['feed_footer']) : ''; $insertOptions['numbertoimport'] = trim($_POST['feed_import']) != '' ? (int) trim($_POST['feed_import']) : 0; $context['feed_errors'] = array(); // And now the requireds that we can throw errors on... if (empty($_POST['feed_title'])) $context['feed_errors']['feed_title'] = ($insertOptions['title'] = ''); else $insertOptions['title'] = preg_replace('~[&]([^;]{8}|[^;]{0,8}$)~', '&$1', $_POST['feed_title']); if (empty($_POST['feed_url'])) $context['feed_errors']['feed_url'] = ($insertOptions['feedurl'] = ''); else $insertOptions['feedurl'] = trim($_POST['feed_url']); if (empty($_POST['feed_poster'])) $context['feed_errors']['feed_poster'] = ($insertOptions['postername'] = ''); // Do a query to get the member's id else { $request = $smcFunc['db_query']('', ' SELECT id_member FROM {db_prefix}members WHERE real_name = {string:name} OR member_name = {string:name} LIMIT 1', array( 'name' => trim($_POST['feed_poster']), ) ); if ($smcFunc['db_num_rows']($request) != 1) $context['feed_errors']['feed_poster'] = ($insertOptions['postername'] = trim($_POST['feed_poster'])); else { $insertOptions['postername'] = trim($_POST['feed_poster']); list($insertOptions['id_member']) = $smcFunc['db_fetch_row']($request); } $smcFunc['db_free_result']($request); } $insertOptions['regex'] = trim($_POST['feed_regex']); if (!empty($insertOptions['getfull']) && empty($insertOptions['regex'])) $context['feed_errors']['feed_regex'] = ''; // if we had any errors, lets kick back a screen and highlight them... if (!empty($context['feed_errors'])) { $context['rss_feed'] = $insertOptions; if (!empty($_POST['feed_id'])) $_REQUEST['feed'] = $_POST['feed_id']; $_REQUEST['add'] = true; return ModifyRSSFeedSettings(); } // Looks like we're good. // Modifying an existing feed? if (!empty($_REQUEST['feed_id'])) { $smcFunc['db_query']('',' UPDATE {db_prefix}rssfeeds SET id_board = {int:id_board}, feedurl = {string:feedurl}, title = {string:title}, icon = {string:icon}, enabled = {int:enabled}, postername = {string:postername}, id_member = {int:id_member}, keywords = {string:keywords}, regex = {string:regex}, locked = {int:locked}, getfull = {int:getfull}, approve = {int:approve}, singletopic = {int:singletopic}, topicprefix = {string:topicprefix}, footer = {string:footer}, numbertoimport = {int:numbertoimport} WHERE id_feed = {int:id_feed}', array_merge(array('id_feed' => (int)$_REQUEST['feed_id']), $insertOptions) ); $context['feed_insert_success'] = $txt['rss_feed_update_success']; } // Or I guess we're inserting a new one else { // Fix up the stuff for insertion, make sure the arrays are aligned $insertRows = array( 'singletopic' => 'int', 'icon' => 'string', 'footer' => 'string', 'getfull' => 'int', 'id_board' => 'int', 'feedurl' => 'string', 'title' => 'string', 'enabled' => 'int', 'postername' => 'string', 'id_member' => 'int', 'keywords' => 'string', 'regex' => 'string', 'locked' => 'int', 'approve' => 'int', 'topicprefix' => 'string', 'numbertoimport' => 'int' ); ksort($insertRows); ksort($insertOptions); $smcFunc['db_insert']('', '{db_prefix}rssfeeds', $insertRows, $insertOptions, array('id_feed') ); $id_feed = $smcFunc['db_insert_id']('{db_prefix}rssfeeds', 'id_feed'); if (empty($id_feed)) $context['feed_insert_error'] = $txt['rss_feed_insert_error']; else $context['feed_insert_success'] = $txt['rss_feed_insert_success']; } } // If they deleted or saved, let's show the main list $context['sub_template'] = 'rss_feeder_list'; // Create the table that will display the feeds $listOptions = array( 'id' => 'rss_feeder_list', 'items_per_page' => 40, 'default_sort_col' => 'icon', 'base_href' => $scripturl . '?action=admin;area=modsettings;sa=rssfeeds', 'no_items_label' => $txt['rss_feed_none'], 'get_items' => array( 'function' => 'list_getFeeds', ), 'get_count' => array( 'function' => 'list_getNumFeeds', ), 'columns' => array( 'icon' => array( 'header' => array( 'value' => $txt['rss_feed_enabled'], ), 'data' => array( 'function' => create_function('$rowData', ' global $settings, $scripturl, $smcFunc, $txt; if (empty($rowData[\'name\']) && $rowData[\'enabled\']) { $smcFunc[\'db_query\'](\'\', \' UPDATE {db_prefix}rssfeeds SET enabled = 0 WHERE id_feed = {int:feed}\', array( \'feed\' => $rowData[\'id_feed\'], ) ); // Log an error about the issue, just so the user can see why their feed was disabled... log_error($txt[\'rss_feeder\'] . \': \' . $rowData[\'title\'] . \' (\' . $txt[\'rss_feed_board_error\'] . \')\'); $rowData[\'enabled\'] = 0; } return \'\';' ), 'style' => 'text-align: center; width: 130px;', ), 'sort' => array( 'default' => 'f.enabled', 'reverse' => 'f.enabled DESC', ), ), 'title' => array( 'header' => array( 'value' => $txt['rss_feed_title'], ), 'data' => array( 'db' => 'title', 'style' => 'text-align: center;', ), 'sort' => array( 'default' => 'f.title', 'reverse' => 'f.title DESC', ), ), 'url' => array( 'header' => array( 'value' => $txt['rss_feed_url'], ), 'data' => array( 'sprintf' => array( 'format' => '%1$s', 'params' => array( 'feedurl' => true, ), ), ), 'sort' => array( 'default' => 'f.feedurl', 'reverse' => 'f.feedurl DESC', ), ), 'board' => array( 'header' => array( 'value' => $txt['rss_feed_board'], ), 'data' => array( 'function' => create_function('$rowData', ' global $txt; return empty($rowData[\'name\']) ? \'<< \' . $txt[\'rss_feed_board_error\'] . \' >>\' : $rowData[\'name\'];' ), 'style' => 'text-align: center;', ), 'sort' => array( 'default' => 'b.name', 'reverse' => 'b.name DESC', ), ), 'count' => array( 'header' => array( 'value' => $txt['rss_feed_count'], ), 'data' => array( 'db' => 'importcount', 'style' => 'text-align: center;', ), 'sort' => array( 'default' => 'f.importcount', 'reverse' => 'f.importcount DESC', ), ), 'modify' => array( 'header' => array( 'value' => $txt['rss_feed_modify'], ), 'data' => array( 'sprintf' => array( 'format' => '' . $txt['rss_feed_modify'] . '', 'params' => array( 'id_feed' => false, ), ), 'style' => 'text-align: center; width: 50px;', ), ), 'check' => array( 'header' => array( 'value' => '', ), 'data' => array( 'sprintf' => array( 'format' => '', 'params' => array( 'id_feed' => false, ), ), 'style' => 'text-align: center; width: 32px;', ), ), ), 'form' => array( 'href' => $scripturl . '?action=admin;area=modsettings;sa=rssfeeds', 'name' => 'rssfeedForm', ), 'additional_rows' => array( array( 'position' => 'above_column_headers', 'value' => ' ', 'style' => 'text-align: right;', 'class' => 'titlebg', ), array( 'position' => 'below_table_data', 'value' => ' ', 'style' => 'text-align: right;', 'class' => 'titlebg', ), ), ); require_once($sourcedir . '/Subs-List.php'); createList($listOptions); } // Get information for the list above... grabs all of the feeds from the database function list_getFeeds($start, $items_per_page, $sort) { global $smcFunc; $request = $smcFunc['db_query']('', ' SELECT f.id_feed, b.name, f.title, f.feedurl, f.enabled, f.importcount FROM {db_prefix}rssfeeds AS f LEFT JOIN {db_prefix}boards AS b ON (b.id_board = f.id_board) ORDER BY {raw:sort} LIMIT ' . $start . ', ' . $items_per_page, array ( 'sort' => $sort, ) ); $feeds = array(); while ($row = $smcFunc['db_fetch_assoc']($request)) $feeds[] = $row; $smcFunc['db_free_result']($request); return $feeds; } // The number grabbed above could be limited at 40... this just gets a count of all of them. function list_getNumFeeds() { global $smcFunc; $request = $smcFunc['db_query']('', ' SELECT COUNT(*) FROM {db_prefix}rssfeeds', array( ) ); list($numFeeds) = $smcFunc['db_fetch_row']; $smcFunc['db_free_result']($request); return $numFeeds; }
Fatal error: Call to undefined function ModifyAevaSettings() in /home/jazzrock/hyperdimention.com/Sources/ManageSettings.php on line 226
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Matthew-me on May 24, 2009, 08:45:04 AM
Quote from: SmokyBlue on May 23, 2009, 01:19:32 PM
did you re apply all mods?

did you update the mod to your theme? ;)

yes, yes (to the extent I had to do something to the theme before , i.e nothing)

.. the mod is *working* to some extent - it converts links to hyperlinks with the video title and the lo lo+ hi options but ...

no videos appear.

Matthew
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PRaDiUS on May 24, 2009, 11:23:42 AM
Every page on my forum has videos.
So the footer link is everywhere, sticking out like a sore thumb.
I'd rather have the link 10 times because "by Aeva" looked neat, tidy, and not overbearing.
I just think that when you have too many copyright links at the footer then it starts to make the forum look amateur.
So.. can you pretty please add back the option to display link under vids instead of on my footer?

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 24, 2009, 11:43:35 AM
Quote from: PRaDiUS on May 24, 2009, 11:23:42 AM
Every page on my forum has videos.
So the footer link is everywhere, sticking out like a sore thumb.
Sticking out? You must be kidding me.
I just had a look at your website. I didn't see my link once, first of all.
Second of all, you have SMG installed (another of my mods), but you're not complaining that all pages using it have a link to our site.
Thirdly -- your credits section is in *black* over a very *dark* background. I actually had to select the text blindly to be able to read it.
Isn't this a case of blatant copyright violation on *SMF* itself? (Not to mention SMG and Aeva...)

QuoteI'd rather have the link 10 times because "by Aeva" looked neat, tidy, and not overbearing.
Yes, but then you will have to complain to that guy who used Aeva to post bigot videos and made me uncomfortable having a "by Aeva" link right below them..... -_-
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PRaDiUS on May 24, 2009, 12:06:47 PM
Ok, I decided to keep your link on the footer. But I made it look uniform with the other copyright links at the bottom so that yours does not stick out like a sore thumb. I can see how people were probably posting videos that did not express your views - and your name was right under it. I can understand and respect that. So I'm cool with this.

p.s. i don't mind the SMG copyright link because it only shows up in the media gallery itself. it does not show up on the footer of my main index. it just seems like adding these links to the footer is starting to become a trend around here on smf lately and in the future i don't want a forum with a page long list of links underneath it. so you can see where i am coming from, and you can see where this is going. before you know it - to have a decent smf forum admins will have to add 10 links to the forum footer just to have a nice forum... I feel like someone needs to speak up against this crap before our forums start looking like that. There has got to be a better way.

:-\


Quote from: Nao 尚 on May 24, 2009, 11:43:35 AM
Quote from: PRaDiUS on May 24, 2009, 11:23:42 AM
Every page on my forum has videos.
So the footer link is everywhere, sticking out like a sore thumb.
Sticking out? You must be kidding me.
I just had a look at your website. I didn't see my link once, first of all.
Second of all, you have SMG installed (another of my mods), but you're not complaining that all pages using it have a link to our site.
Thirdly -- your credits section is in *black* over a very *dark* background. I actually had to select the text blindly to be able to read it.
Isn't this a case of blatant copyright violation on *SMF* itself? (Not to mention SMG and Aeva...)

QuoteI'd rather have the link 10 times because "by Aeva" looked neat, tidy, and not overbearing.
Yes, but then you will have to complain to that guy who used Aeva to post bigot videos and made me uncomfortable having a "by Aeva" link right below them..... -_-
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xarus on May 24, 2009, 01:57:31 PM
ok nvm..Ive wiped the db again... thank you any way... take care all
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: CodeDev on May 24, 2009, 02:00:59 PM
For tinypic videos appear I had to change
'movie' => 'http://v3.tinypic.com/player.swf?file=$2',

to
'movie' => 'http://v5.tinypic.com/player.swf?file=$2',

You should verify that in the next update, as for tinypic the videos could be at v3 or v5 subdomains, and the ones hosted on v3 do not work as v5 and vice-versa.

Also, ate the end I've made a final modification that I already mentioned before, so now I have it like this...
      'pattern' => 'http://(?:www\.|\w[\w-]+\.)?tinypic\.com/(player\.php\?v=|r/)([0-9a-z-]{1,12})',
'movie' => 'http://v5.tinypic.com/player.swf?file=$3',

...and it's working just fine for me... as long as the videos come from v5 sub-domain ;)

Thank you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 24, 2009, 03:08:20 PM
Quote from: PRaDiUS on May 24, 2009, 12:06:47 PM
Ok, I decided to keep your link on the footer. But I made it look uniform with the other copyright links at the bottom so that yours does not stick out like a sore thumb.
I've said it before, I'll say it again: I don't mind if you make the copyright notice smaller, as long as it's not smaller than the SMF copyright notice.

QuoteI can see how people were probably posting videos that did not express your views - and your name was right under it. I can understand and respect that. So I'm cool with this.
Thanks.

Quotep.s. i don't mind the SMG copyright link because it only shows up in the media gallery itself. it does not show up on the footer of my main index.
You're using a portal. If you posted a video recently, your portal will show titles for the latest posts, and will call parse_bbc() on these messages, even though it doesn't need their bodies. It's just a waste of time. You can delete the parse_bbc() call in SSI.php where needed (usually in the recentTopics function, IIRC.) Then you won't have the copyright show up on your homepage, *and* you'll save a few milliseconds of processing time. Basically this is something that has to be dealt with by the portal author. They would be better off doing their message loading by themselves instead of using SSI or something. Faster.

Quoteit just seems like adding these links to the footer is starting to become a trend around here on smf lately
I don't think it is. But you see-- when you work fulltime on a popular mod (ie a mod that generates dozens of pages of support questions in a few week), and you add lots of new features, at some point you choose to get something back in exchange. I'm not in it for the money, I promised Karl Benson I wouldn't charge for Aeva itself anyway, so the link has to do.
As for SMG and portals, they're big mods, too. If you consider it normal that SMF has a link for the service it gives you, then you should consider it normal that any mod that required a large amount of work will add their copyright notice too. I don't think it's a big price to pay, and you can always use YTBBC if you don't want to "pay" it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 24, 2009, 03:17:32 PM
IceBurn, your change won't account for v3 videos.

Can you test with this instead? Hopefully this will work... I don't have much time available to test. (None at all, actually.)

array(
'id' => 'tin',
'title' => 'TinyPic',
'website' => 'http://www.tinypic.com',
'type' => 'pop',
'added' => '<4.0',
'pattern' => 'http://(?:www\.|\w[\w-]+\.)?tinypic\.com/player\.php\?v=([0-9a-z-]{1,12})(?:&s=(\d+))?',
'movie' => 'http://(v$3|v3).tinypic.com/player.swf?file=$2',
'size' => array(440, 420),
// http://tinypic.com/player.php?v=2prd7gk&s=3
'fix-html-pattern' => '<embed [^>]*src="http://v(\d+)\.tinypic\.com/player\.swf\?file=([0-9a-z-]{1,12})(?:[^\<\>]*?)?>(?:\</embed>)?(?:\<br><font size="1"><a href="http://tinypic\.com/.*?</font>)?(?:\<img style="visibility:hidden;[^\<\>]*?>)?',
'fix-html-url' => 'http://tinypic.com/player.php?v=$2&s=$1',
),
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PRaDiUS on May 24, 2009, 03:35:40 PM
Quote from: Nao 尚 on May 24, 2009, 03:08:20 PM
I've said it before, I'll say it again: I don't mind if you make the copyright notice smaller, as long as it's not smaller than the SMF copyright notice.

Thank you.

Quote from: Nao 尚 on May 24, 2009, 03:08:20 PM
You're using a portal. If you posted a video recently, your portal will show titles for the latest posts, and will call parse_bbc() on these messages, even though it doesn't need their bodies. It's just a waste of time. You can delete the parse_bbc() call in SSI.php where needed (usually in the recentTopics function, IIRC.) Then you won't have the copyright show up on your homepage, *and* you'll save a few milliseconds of processing time. Basically this is something that has to be dealt with by the portal author. They would be better off doing their message loading by themselves instead of using SSI or something. Faster.

Understood. Thank you for schooling me on that. Where would I go to locate SSI.php?

Quote from: Nao 尚 on May 24, 2009, 03:08:20 PM
I don't think it is. But you see-- when you work fulltime on a popular mod (ie a mod that generates dozens of pages of support questions in a few week), and you add lots of new features, at some point you choose to get something back in exchange. I'm not in it for the money, I promised Karl Benson I wouldn't charge for Aeva itself anyway, so the link has to do.
As for SMG and portals, they're big mods, too. If you consider it normal that SMF has a link for the service it gives you, then you should consider it normal that any mod that required a large amount of work will add their copyright notice too. I don't think it's a big price to pay, and you can always use YTBBC if you don't want to "pay" it.

I see where you are coming from. I would gladly pay for a premium edition of Aeva if you made it. ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Matthew-me on May 24, 2009, 03:46:37 PM
Quote from: Matthew-me on May 24, 2009, 08:45:04 AM
Quote from: SmokyBlue on May 23, 2009, 01:19:32 PM
did you re apply all mods?

did you update the mod to your theme? ;)

yes, yes (to the extent I had to do something to the theme before , i.e nothing)

.. the mod is *working* to some extent - it converts links to hyperlinks with the video title and the lo lo+ hi options but ...

no videos appear.

Matthew

Until you turn the mod on again  :-[

{solved}
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 24, 2009, 05:29:54 PM
Quote from: PRaDiUS on May 24, 2009, 03:35:40 PM
Understood. Thank you for schooling me on that. Where would I go to locate SSI.php?
Root folder.

QuoteI see where you are coming from. I would gladly pay for a premium edition of Aeva if you made it. ;)
Well I dunno what I could offer as premium in the first place ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PRaDiUS on May 24, 2009, 06:47:07 PM
Found it and looked around inside SSI.php - parse_bbc shows up a few times in there, but I have no idea which one to remove or how much of that code I would need to remove. I've attatched my SSI.php - if you can show me what you were talking about there it would be a big help. Thanks Nao.

Quote from: Nao 尚 on May 24, 2009, 05:29:54 PM
Quote from: PRaDiUS on May 24, 2009, 03:35:40 PM
Understood. Thank you for schooling me on that. Where would I go to locate SSI.php?
Root folder.

QuoteI see where you are coming from. I would gladly pay for a premium edition of Aeva if you made it. ;)
Well I dunno what I could offer as premium in the first place ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 25, 2009, 01:40:12 AM
I told you... recentTopics().
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MultiformeIngegno on May 25, 2009, 07:28:53 AM
Hi all!
I've a question... how to embed mp3tube songs? I've seen it's supported but I can't understand how to get it working...

Thanks in advance,
bye! :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rafferty on May 25, 2009, 08:04:09 AM
Good point Lorenz, I have tried to embed local files .flv & .avi with no success also
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on May 25, 2009, 08:08:55 AM
More information is needed to be able to help out.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rafferty on May 25, 2009, 08:29:07 AM
Well it's my understanding that with the relevant file types activated in embed local files & the file uploaded to the server, I need only to point to the file address & the file will run. It doesn't, I only get the address displaying as a link.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on May 25, 2009, 08:48:22 AM
As I remember, you have to generate your site list as well. Not sure though.. never used it, had my own mod to do it. Today SMF Media Gallery (http://www.simplemachines.org/community/index.php?topic=260821.0) does the trick for me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on May 25, 2009, 10:12:19 AM
Quote from: Rafferty on May 25, 2009, 08:29:07 AM
Well it's my understanding that with the relevant file types activated in embed local files & the file uploaded to the server, I need only to point to the file address & the file will run. It doesn't, I only get the address displaying as a link.

HMM. It appears that that's the way it is for me as well. If I use either the local address (http://localhost/path to file) or the public address to the local file (http://mydomain/path to file) I get a link in the post. However if I use the address to the same file, but on my other web server on the same network it embeds and runs fine. Makes no difference to me because I've been using the other server, but at least for the 2 of us there does appear to be an issue with linking the file from the same machine the forum is on.

Of course NAO may show up here in a minute, bop us on the head and point to an absurdly simple solution at which time I will feel silly, but as of now, I don't know what that solution would be.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 25, 2009, 10:27:55 AM
Local file = on the same domain name. Can be different subdomains.
That's all you there is to know...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on May 25, 2009, 10:45:51 AM
If I use http://gregnmary.gotdns.com:8080/pix/pb1.flv I get a link in the post. The link works if you click on it. It will ask if you want to save the file or open with an app of your choice.

If I use http://localhost/pix/pb1.flv same as above.

If I use http://gregnmary.gotdns.com/flix/pb1.flv it embeds as expected. Maybe in my case it's the forwarded port somehow causing it not to embed? You wouldn't think that would be the case, but I don't know everything so maybe it is. Like I say, for me personally, I don't care, I can use the other server just fine, but I thought it interesting that this other guy was seeing essentially the same thing.

Here's another thought. I wonder if some bit of security both our servers is running is preventing streaming from the inside.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Deal on May 25, 2009, 10:49:55 AM
FYI, when clicking on the 'Official Website and Demo' link on the first page I received this:

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /homez.50/cynagame/nao/Sources/ManageMaintenance.php on line 1589
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on May 25, 2009, 11:01:43 AM
Tiribulus: You are supposed to use a public link. Embedding locally just means embedding files placed on your own server.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on May 25, 2009, 12:34:04 PM
Quote from: Akyhne on May 25, 2009, 11:01:43 AM
Tiribulus: You are supposed to use a public link. Embedding locally just means embedding files placed on your own server.

Well, yeah, that's what this:

QuoteIf I use http://gregnmary.gotdns.com:8080/pix/pb1.flv I get a link in the post. The link works if you click on it. It will ask if you want to save the file or open with an app of your choice.

is.

Note that in the above 2 examples while the domain name is the same they are on 2 different machines. The one the forum is running on is indicated by the forwarded port 8080. When I use that public address embedding doesn't work. When I use a public address on the other machine which carries the same domain name minus the forwarded port it works fine. The forwarded port may or may not have anything to do with it, I tend to doubt it, but I could be wrong. Like I say, I'm wondering if some restriction is preventing media streaming from inside this Apache server and maybe something similar for this other guy.

I'm just good enough with this stuff to get it to do what I want pretty well. I have plenty left to learn so who knows?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on May 25, 2009, 12:50:22 PM
Without checking Nao's code, I'm sure it's the : after .com that is the issue. I would be surprised if Nao concidered that as a case.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on May 25, 2009, 01:00:40 PM
That could be exactly right.

BTW, what do you mean by "considered that as a case"? If you mean a case of a bug then neither do I. That's my problem. Forwarded ports for a forum site are practically nonexistent, I certainly wouldn't expect anybody change their code for that.
Thanks for the responses too BTW.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xarus on May 25, 2009, 01:15:20 PM
how can I manual uninstal this mod, what files i need to delete and where can i find them? can anyone help me with this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Eclipse16V on May 25, 2009, 03:09:37 PM
unzip the mod and read the .xml file
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on May 25, 2009, 03:21:16 PM
Actually going to http://custom.simplemachines.org/mods/index.php?mod=977 and select the proper SMF version at the "Manual Install Instructions for SMF" is a little easier. Then hit the [Parse] button.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: machmanx on May 25, 2009, 08:40:58 PM
I can't get the freakin' topic search feature for this topic to search beyond the first post...so sorry if this question has already been asked.

Is it possible to have this mod work only in certain areas of the forum?  I know I can add the disable code to where I don't want it to work, but that would be a LOT of disables.  But if the mod was disabled in all areas except for designated areas, that would be great.  So can you help me on this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rafferty on May 25, 2009, 10:39:04 PM
Quote from: Akyhne on May 25, 2009, 11:01:43 AM
Tiribulus: You are supposed to use a public link. Embedding locally just means embedding files placed on your own server.

Public Link doesn't work either
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xarus on May 26, 2009, 02:02:34 AM
Quote from: Eclipse16V on May 25, 2009, 03:09:37 PM
unzip the mod and read the .xml file
Thank you guys :)
Quote from: Akyhne on May 25, 2009, 03:21:16 PM
Actually going to http://custom.simplemachines.org/mods/index.php?mod=977 and select the proper SMF version at the "Manual Install Instructions for SMF" is a little easier. Then hit the [Parse] button.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 26, 2009, 03:36:52 AM
@Deal> Yeah that was because I had switched to PHP4 for a few minutes... You were in the wrong timeframe ;)

@Tiribulus> It's probably the port indeed. Actually I didn't write that code, Karl wrote it. I never touched it much, as the URL is parsed by PHP and I thought it should be working fine. I'm afraid I won't be able to fix this, unless you remind me next time a new major bug is found in Aeva and I'll deal with it at the same time.

@machmanx> Topic search? What's your problem exactly? I'm not a psychic unfortunately... Why would you want to disable Aeva in "a LOT" of areas? Is there an incompatibility with another of your mods?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on May 26, 2009, 05:31:34 AM
I'm getting a blank page for the Aeva admin pages after I installed the latest version... So I can't enable the mod now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on May 26, 2009, 05:42:56 AM
totally blank, or is there an error message?

if it's totally blank, check your server's error log for the problem.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on May 26, 2009, 05:53:21 AM
Completely blank and nothing in the error log... I think this has happened with a previous version quite a while back but can't remember how it was resolved.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on May 26, 2009, 05:54:09 AM
actually, blank admin:   I will bet that a) you are not running your forum in English (and english utf-8 is different from english)

Nao, what machmanx is asking is that he wants the embed to work only on one or two boards of his forum and not to auto-embed on the rest of them...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on May 26, 2009, 05:59:53 AM
I've fixed the problem... 6.9.99 was copying over an empty 'Subs-Aeva-Admin.php' file, so I had to manually upload that file via FTP to get things working.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 26, 2009, 08:20:09 AM
Quote from: Kindred on May 26, 2009, 05:54:09 AM
Nao, what machmanx is asking is that he wants the embed to work only on one or two boards of his forum and not to auto-embed on the rest of them...
I don't think so. I remember long ago someone reported an issue with topic searching + Aeva. After I looked into it, it was a problem caused by another mod. I don't remember the details though...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on May 26, 2009, 12:13:25 PM
Quote from: Nao 尚 on May 26, 2009, 03:36:52 AM
<<< @Tiribulus> It's probably the port indeed. Actually I didn't write that code, Karl wrote it. I never touched it much, as the URL is parsed by PHP and I thought it should be working fine. I'm afraid I won't be able to fix this, unless you remind me next time a new major bug is found in Aeva and I'll deal with it at the same time. >>>

No worries. Like I say I doubt if very many people use port forwarding and I have a perfectly elegant workaround. If you wanted the challenge at some point go ahead, but it's not bothering me anyway.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 26, 2009, 12:52:49 PM
Quote from: Tiribulus on May 26, 2009, 12:13:25 PM
No worries. Like I say I doubt if very many people use port forwarding and I have a perfectly elegant workaround. If you wanted the challenge at some point go ahead, but it's not bothering me anyway.
Fixing this is not a challenge, really...
A challenge is implementing friggin' playlists in SMG like I'm doing right now ;) Been working on these for the last 3 weeks now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on May 26, 2009, 04:01:53 PM
I don't how you find the time for everything (http://www.souliejolie.com/forum/style_emoticons/smilies/juggling.gif)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 26, 2009, 05:15:54 PM
I just work on my website for 80+ hours a week... (I know, it's silly.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: CodeDev on May 26, 2009, 11:24:45 PM
Quote from: Nao 尚 on May 24, 2009, 03:17:32 PM
IceBurn, your change won't account for v3 videos.

Can you test with this instead? Hopefully this will work... I don't have much time available to test. (None at all, actually.)

array(
'id' => 'tin',
'title' => 'TinyPic',
'website' => 'http://www.tinypic.com',
'type' => 'pop',
'added' => '<4.0',
'pattern' => 'http://(?:www\.|\w[\w-]+\.)?tinypic\.com/player\.php\?v=([0-9a-z-]{1,12})(?:&s=(\d+))?',
'movie' => 'http://(v$3|v3).tinypic.com/player.swf?file=$2',
'size' => array(440, 420),
// http://tinypic.com/player.php?v=2prd7gk&s=3
'fix-html-pattern' => '<embed [^>]*src="http://v(\d+)\.tinypic\.com/player\.swf\?file=([0-9a-z-]{1,12})(?:[^\<\>]*?)?>(?:\</embed>)?(?:\<br><font size="1"><a href="http://tinypic\.com/.*?</font>)?(?:\<img style="visibility:hidden;[^\<\>]*?>)?',
'fix-html-url' => 'http://tinypic.com/player.php?v=$2&s=$1',
),


No, that did not work either, but I've made some changes and I got it working fine now.
Here's what I come up with:

     array(
'id' => 'tin',
'title' => 'TinyPic',
'website' => 'http://www.tinypic.com',
'type' => 'pop',
'added' => '<4.0',
'pattern' => 'http://(?:www\.|\w[\w-]+\.)?tinypic\.com/(player\.php\?v=|r/|m/)([0-9a-z-]{1,12})(&s=|/)(\d+)?',
'movie' => 'http://(v$5|v3).tinypic.com/player.swf?file=$3&s=$5',
'size' => array(440, 420),
// http://tinypic.com/player.php?v=2prd7gk&s=3
'fix-html-pattern' => '<embed [^>]*src="http://v(\d+)\.tinypic\.com/player\.swf\?file=([0-9a-z-]{1,12})(?:[^\<\>]*?)?>(?:\</embed>)?(?:\<br><font size="1"><a href="http://tinypic\.com/.*?</font>)?(?:\<img style="visibility:hidden;[^\<\>]*?>)?',
'fix-html-url' => 'http://tinypic.com/player.php?v=$2&s=$1',
),


I know it's not perfect but I've just finish it, and the videos are working fine for now.

Just one question, what "'type' => 'pop'," does?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rgecy on May 27, 2009, 12:55:00 AM
My brightcove links are not working correctly.  I noticed the pattern was different.  Can this be fixed or what would be the code I need to insert to make them work?

http://link.brightcove.com/services/player/bcpid1336737916?bclid=1305060495&bctid=1290867911

Thanks,

RGecy
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 27, 2009, 05:32:19 AM
@IceBurn> Okay, can you test with this now?

'pattern' => 'http://(?:www\.|\w[\w-]+\.)?tinypic\.com/(?:player\.php\?v=|[rm]/)([0-9a-z-]{1,12})(?:(?:&s=|/)(\d+))?',
'movie' => 'http://(v$3|v3).tinypic.com/player.swf?file=$2&s=$3',


(I just don't like capturing data that isn't needed ;))

@rgecy> Can you open Subs-Aeva-Sites.php and replace the pattern in the Brightcove array with this?

'pattern' => 'http://link\.brightcove\.com/services/(?:link|player)/bcpid(\d+)[^">]*?bctid(\d+)',

Again-- untested. But from what I saw, it should be working.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rgecy on May 27, 2009, 09:09:03 AM
Nao,

That didn't work. Any suggestions?

Robert
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 27, 2009, 09:47:35 AM
Sorry, forgot the equal sign.

'pattern' => 'http://link\.brightcove\.com/services/(?:link|player)/bcpid(\d+)[^">]*?bctid=?(\d+)',

Now it works, but the embed size is clearly not good. Your little thing is a playlist, so it expects to have a larger playfield. I don't know if I'll ever fix this (it would require lookups and variable size arrays, which I've very scarcely done and would no longer do for free, as it kinda eats a lot of time.)
If you really need to embed this and you don't care about smaller Brightcove videos, you can still force a larger embed size through Subs-Aeva-Custom.php, to make sure it won't be overwritten by the next sitelist update.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: CodeDev on May 27, 2009, 11:46:25 AM
Quote from: Nao 尚 on May 27, 2009, 05:32:19 AM
@IceBurn> Okay, can you test with this now?

'pattern' => 'http://(?:www\.|\w[\w-]+\.)?tinypic\.com/(?:player\.php\?v=|[rm]/)([0-9a-z-]{1,12})(?:(?:&s=|/)(\d+))?',
'movie' => 'http://(v$3|v3).tinypic.com/player.swf?file=$2&s=$3',


(I just don't like capturing data that isn't needed ;))

It's perfect now! Thank you for your effort :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 27, 2009, 12:12:38 PM
Good, I'll make sure to update the sitelist then.

I made a lot of changes to it -- mainly regex simplification. I had to do the changes manually just to be sure I wouldn't break a site, so it should be safe, but if you meet a problem, please tell me here ASAP.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: CodeDev on May 27, 2009, 12:29:53 PM
Quote from: Nao 尚 on May 27, 2009, 12:12:38 PM
had to do the changes manually just to be sure I wouldn't break a site, so it should be safe, but if you meet a problem, please tell me here ASAP.

I will :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 27, 2009, 01:23:38 PM
Update sent. Just use the ;checkaeva method (or download & update manually) if you can't wait ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: picos on May 27, 2009, 03:36:12 PM
Hello, I seem to have some issues with embedding liveleak media on my forum...  The video simply says "click to play media".  The video is new and currently working on Liveleaks website so why would it not be playing on my forum correctly? It won't even play if I click the play button.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 27, 2009, 05:39:38 PM
Link in action please?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: picos on May 27, 2009, 06:31:38 PM
Hey Nao, I'm currently upgrading my forum to the latest version of SMF so this is a mirror of the active forum but using the upgrade.  Youtube works fine but Liveleak doesn't. 

http://www.err-clan.com/community/index.php/topic,4268.0.html

I tried in FF, Chrome and IE.

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MultiformeIngegno on May 27, 2009, 06:41:21 PM
Quote from: lorenzone92 on May 25, 2009, 07:28:53 AM
Hi all!
I've a question... how to embed mp3tube songs? I've seen it's supported but I can't understand how to get it working...

Thanks in advance,
bye! :)
Sorry to bump it... Nobody can help me..? :)

P.S.: Thanks for this awesome MOD!! ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on May 27, 2009, 06:53:00 PM
Quote from: lorenzone92 on May 27, 2009, 06:41:21 PM
Quote from: lorenzone92 on May 25, 2009, 07:28:53 AM
Hi all!
I've a question... how to embed mp3tube songs? I've seen it's supported but I can't understand how to get it working...

Thanks in advance,
bye! :)
Sorry to bump it... Nobody can help me..? :)

P.S.: Thanks for this awesome MOD!! ;)
Only one method : Just paste the mp3 link in your message.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on May 28, 2009, 02:34:24 AM
Quote from: Nao 尚 on May 18, 2009, 08:36:53 AM
@everyone> I'm willing to release a silent update for Aeva 6.9.99 (silent = no version number change, and no notification on the mod page) where I would use the smalltext class for the copyright (to make sure it doesn't appear too large), and maybe change the local file players to point to a different one. So the question is: I remember someone mentioning "better" remote players for local files than the existing ones. Could this person come back and post about them? Thanks.

Just out of curiosity, did you get around to make these changes? :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 28, 2009, 03:44:27 AM
@picos> Fixed... Updated sitelist. Let me guess... You disabled checkaeva for non-admins through the Aeva admin area, didn't you? Otherwise I'd have been able to test immediately on your site.

@LexArma> Nope. But you can do them and submit them ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on May 28, 2009, 03:45:09 AM
Quote from: Nao 尚 on May 28, 2009, 03:44:27 AM
@LexArma> Nope. But you can do them and submit them ;)
Thank's - I won't :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: picos on May 28, 2009, 04:21:56 AM
Hello, the following options are checked.

   Enable Aeva mod (Master Setting)     

   Enable Lookups
Most of Aeva's features require a lookup
This feature WILL work on your server    

   Store & show video titles
   
   Show title inside video thumbnails

   Center videos horizontally

   Enable Embedding in Sentences    
   
   Fix uses of the embed HTML with an embeddable link    

   Include the Original Link
   
   Show Flash express installer

   Aeva Debug Mode (Admin Only)

I checked firebug incase there was a conflict and I didn't see anything. 

Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 28, 2009, 06:15:30 AM
Hmm... Nope, you didn't enable it then -- hopefully the fix will still work for you.
Bump the topic if your problem isn't fixed in exactly 24 hours.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Turrican3 on May 28, 2009, 09:06:44 AM
Sorry if question sounds dumb, I've made a few searches but I guess either this hasn't been already asked, or (more likely) I'm not looking for the "right" keywords.

Anyway, I installed the mod switching (first disabled, then completely removed from package manager) from a veeeery old version, and it seems to work fine.

I only want to know if it is possible to embed two or more videos in the same row as the previuos version did. With the previous version I could simply left a space between the links, and it would embed them one after another on the same row assuming the browser window was large enough.

It seems AEVA 6.9.99 works a bit differently (or maybe there's some option I need to enable/disable?), as even with a space between links, it forces the embed on another row.

Just to be more clear (sorry, English is not my native language), with the same post content:

Quotevideourl1 videourl2

the results are:

before:
VIDEO1  VIDEO2

now:
VIDEO1
VIDEO2

I would really appreciate any help on this matter.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 28, 2009, 09:32:27 AM
Yes, Aeva 6.x is very complicated in that matter. I don't remember if it's possible to have two videos next to each other. I know you can center a video by adding the #center setting to its URL, but I don't think I made a "#left" option... ;)

You can still do it through table tags.


VIDEO1

VIDEO2

ie

[table][tr][td]
VIDEO1[/td][td]
VIDEO2[/td][/tr][/table]


(Follow this formatting process to ensure links are converted to embeds without having to disable the sentence setting in Aeva admin.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Turrican3 on May 28, 2009, 09:33:59 AM
Thanks. :)

EDIT: it works, thanks again!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 28, 2009, 09:57:01 AM
'course it works, eheh. I'm the Table Guy. You can call me anti-semantics. My stuff may be ugly, but it frigging works all the time and on every browser. :D
Every pro-semantics team needs at least one guy like me!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: www.SergioMora.net on May 28, 2009, 11:13:50 AM
YouTube embed feature?

YouTube has changed a bit in the past few months and there are several new features such as size, border color and so on but this only workds if you use the full strings of you tube embeding features. Is there a way to use Aeva so I can take advantage of these features available on youtube?
I just like the way youtube now let's us customize and I can't do it with Aeva because Aeva only is accepting the URL and not the EMBED.

Help, thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MultiformeIngegno on May 28, 2009, 12:22:50 PM
Quote from: Özgür´ on May 27, 2009, 06:53:00 PM
Quote from: lorenzone92 on May 27, 2009, 06:41:21 PM
Quote from: lorenzone92 on May 25, 2009, 07:28:53 AM
Hi all!
I've a question... how to embed mp3tube songs? I've seen it's supported but I can't understand how to get it working...

Thanks in advance,
bye! :)
Sorry to bump it... Nobody can help me..? :)

P.S.: Thanks for this awesome MOD!! ;)
Only one method : Just paste the mp3 link in your message.
It doesn't work...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 28, 2009, 01:56:04 PM
Quote from: www.SergioMora.net on May 28, 2009, 11:13:50 AM
YouTube embed feature?

YouTube has changed a bit in the past few months and there are several new features such as size, border color and so on but this only workds if you use the full strings of you tube embeding features. Is there a way to use Aeva so I can take advantage of these features available on youtube?
I just like the way youtube now let's us customize and I can't do it with Aeva because Aeva only is accepting the URL and not the EMBED.

Help, thanks.
Since Aeva is no longer under development, I'm afraid you can forget about this feature request.
You can still, as an admin, post custom YouTube embed code by using the  tag and your embed code. (I think Aeva won't interfere.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Joe N on May 29, 2009, 06:09:54 AM
Hi

FORUM VERSION: SMF 2.0 RC1

I installed aeva on my 2.0 forum. Sometimes, at the bottom of the page, it says Video embedding by Aeva, © Noisen. Image - (http://i396.photobucket.com/albums/pp45/WBADude/smf/aevaprob.gif)

How come?
Joe
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on May 29, 2009, 06:41:37 AM
Mmh? Let me guess...

Maybe it's an copyright?



This post embedding is ©ianus  8)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Joe N on May 29, 2009, 06:50:51 AM
But it is only like a bbc tag  8)  :o
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xarus on May 29, 2009, 09:13:20 AM
Is says somewhere... I think at first post that Nao wrote, that AjaxChat bugs AEVA, so if I uninstal AjaxChat and Install Aeva ... will it work? and if it shall work can I install after that AjaxChat? will I have problems?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 29, 2009, 09:32:26 AM
@Joe N> It only appears on pages that use Aeva. And it's not a BBC tag, that's the whole concept... If you don't like it, then uninstall it.

@Xarus> Yes, do it that way. I'm no longer trying to get AjaxChat's author to fix his error. He doesn't seem to care. Never replied my requests.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Joe N on May 29, 2009, 11:19:50 AM
Quote from: Nao 尚 on May 29, 2009, 09:32:26 AM
@Joe N> It only appears on pages that use Aeva. And it's not a BBC tag, that's the whole concept... If you don't like it, then uninstall it.

@Xarus> Yes, do it that way. I'm no longer trying to get AjaxChat's author to fix his error. He doesn't seem to care. Never replied my requests.

Just wondering. Joe
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: UFO on May 29, 2009, 10:38:08 PM
I just wanted to thank you for your hard work. This mod works great on my site, thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Xarus on May 30, 2009, 01:39:13 AM
Thank you Nao... now it works :)  ;D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tattoocu_Cartel on May 30, 2009, 05:24:16 AM
I want to publish the web site at the link below

demo link : http://akilli.tv/video/133984/Berker--Bilmezdim-Japon-Version.aspx

How do I edit?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mr.Rey on May 30, 2009, 06:43:04 AM
Hi, and thank you for this mod, because it worked well till now :).


Ok my problem is quite simple, the video does not appear anymore:
Here is my forum, on a thread where a video should appear: http://son-clan.m-rey.com/index.php?topic=56.0

The problem existed before I updated my forum to 1.1.9, and before I updated Aeva itself, so it's not related to version.

Concerning the option checked, well, they are all checked but:
Enable Embedding in Quotes
Use earlier, Javascript-less, embedding system
Aeva Debug Mode (Admin Only)
Restrict manual updates to admins


By advance, thank you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on May 30, 2009, 06:53:17 AM
@Tattoocu_Cartel
Have a look at
./Sources/Subs-Aeva-Custom-Example.php
Everything is explained there and with a little bit of coding$foo, you can make the magic happens.

Don't forget to rename (a copy of ) the file to Subs-Aeva-Custom.php.


@Mr.Rey
I can see a video.
Remember the  "Enable Embedding in Sentences" setting. Maybe the embed link is "part of a sentence". Try to disable this option or post the video-link to a new line.

Btw. You don't show any copyright! The Powered by SMF and the Aeva copyright must be shown!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 30, 2009, 06:56:13 AM
@Tatoo> Either learn by yourself, by studying the sitelist, or commission a conversion.

@Mr Rey> What a beautiful thief you make...

#footerarea
{
display: none;
background-color: #434343;
margin-top: 20px;
border-bottom: 5px solid #666666;
}


"display: none"... You're in direct and conscious violation of both Aeva's and SMF's licence.
PS: thanks ianus for pointing it out.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mr.Rey on May 30, 2009, 07:05:47 AM
Thank you for your answers, I guess it's me only who can't see the videos.

Concerning the Copy-righty thingy, i'd much apreciate if one of you could tell me how to put it back. I made the forum installed by a friend cause I suck at this.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 30, 2009, 08:31:37 AM
Remove the "display: none" line (and probably the background-color line too) from the end of your style.css file (it's linked on all your pages.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mr.Rey on May 30, 2009, 08:39:52 AM
Thank you, did not like the idea of being an outlaw.

I think it worked, even though there is a strange grey little bar below the copyrights
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on May 30, 2009, 08:48:09 AM
Not "strange"...
border-bottom: 5px solid #666666;
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mr.Rey on May 30, 2009, 09:16:35 AM
Thank you again, told you I was crap at it :).

Btw, I still can't see the video, I can just see all the links below where the video should be.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 30, 2009, 10:23:27 AM
Quote from: Mr.Rey on May 30, 2009, 09:16:35 AM
Thank you again, told you I was crap at it :).

Btw, I still can't see the video, I can just see all the links below where the video should be.
Either Javascript or Flash is disabled on your browser, I guess.

@jamz> Speak English please.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on May 30, 2009, 12:01:25 PM
@Nao,
I try to open new topic for links list. But Aeva add [aeva] tag and cut message end line.
My message in the attachment.
What is the [aeva] tag? =)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 30, 2009, 01:54:23 PM
Your message is 77KB... It's larger than the maximum post size usually allowed (64KB)... I'm not even sure it would work normally.

As for the aeva tag, it's a temporary tag that is added between code tags (and other tags) to prevent Aeva from embedding links inside these tags.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 30, 2009, 02:00:34 PM
Wow... Your file has pirate contents all over it! <_<
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rich-green on May 30, 2009, 09:04:06 PM
I did something wrong while trying to update. Does anyone have the Aeva 6.2.76 files so I can reload them and try again...

Thanks Rich-Green
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: blondeamon on May 30, 2009, 09:27:37 PM
Guys after i updated to 1.1.9 videos dont show....any idea whats wrong?

(i can see theμ with preview and i can see them when i am on the post area. But not when normally viewing the thread)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on May 31, 2009, 03:57:19 PM
Did you use the package manager to update?

@rich-green> Just overwrite the 6.2 files with the 6.9.99 ones...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rich-green on May 31, 2009, 04:26:43 PM
I did something stupid like deleted not un-install the 6.2
Not much in the know about this stuff
sorry...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: machmanx on June 01, 2009, 12:47:27 AM
Quote from: Nao 尚 on May 26, 2009, 03:36:52 AM

@machmanx> Topic search? What's your problem exactly? I'm not a psychic unfortunately... Why would you want to disable Aeva in "a LOT" of areas? Is there an incompatibility with another of your mods?

No, no incompatibility issues...it's just that on my site, I have a designated area for videos and that's the ONLY area that I'd like the feature to be used.  That's all, hence my question.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: www.SergioMora.net on June 01, 2009, 02:20:28 AM
Quote from: Nao 尚 on May 28, 2009, 01:56:04 PM
Quote from: www.SergioMora.net on May 28, 2009, 11:13:50 AM
YouTube embed feature?

YouTube has changed a bit in the past few months and there are several new features such as size, border color and so on but this only workds if you use the full strings of you tube embeding features. Is there a way to use Aeva so I can take advantage of these features available on youtube?
I just like the way youtube now let's us customize and I can't do it with Aeva because Aeva only is accepting the URL and not the EMBED.

Help, thanks.
Since Aeva is no longer under development, I'm afraid you can forget about this feature request.
You can still, as an admin, post custom YouTube embed code by using the  tag and your embed code. (I think Aeva won't interfere.)

Ok, thank you. Your work was a tremendous contribution to SMF. You did an outstanding job with this MOD.
You are a Master :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 01, 2009, 02:49:43 AM
Thanks. The sitelist is still under constant scrutiny though. I release at least one new version every week, including fixes to existing embeds. As long as video sites keep changing their embed code, I'll keep updating the sitelist ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rich-green on June 01, 2009, 06:02:52 AM
Quote from: Nao 尚 on May 31, 2009, 03:57:19 PM
@rich-green> Just overwrite the 6.2 files with the 6.9.99 ones...

Since I deleted 6.2.76 instead of uninstalling it is there anything can do to fix this?
Getting 6.2.76 working again or upgrading?
All help will be appreciated...

Thanks; rich-green
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Father Luke on June 01, 2009, 07:00:37 PM
@rich-green - Parse it for manual upgrade.

If you need help, ask.

- -
Okay,
Father Luke
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on June 01, 2009, 10:19:20 PM
Been using this mod for ages thanx.
Just updated to 6.9.99 I'm running smf 1.1.5
I'm having problems with some of the iPlayer content.
Some works and other not!
E.g.
Nope; http://www.bbc.co.uk/iplayer/episode/b00l2k6b/MotoGP_2009_Round_5_Mugello

Nope; http://www.bbc.co.uk/iplayer/episode/b00kvd0k/BBC_News_at_Six_01_06_2009/

Works; http://news.bbc.co.uk/weather/hi/news/newsid_7760000/7760850.stm#id7760000/7760800/7760850]BBC - Weather - London weather forecast

Nope;http://www.bbc.co.uk/iplayer/episode/b00l1xdf/The_Weather_Show_Spring_2009

Nope; http://www.bbc.co.uk/iplayer/episode/b00ks63z/South_Pacific_Series_1_Endless_Blue/

Nope; http://www.bbc.co.uk/iplayer/episode/b00kwdqr/South_Pacific_Series_1_Ocean_of_Volcanoes/

So it seems all the iplayer content wont run.
I do get the play button/arrow and the image for that clip so it looks like it's going to work.

It then displays the following text "This content doesn't seem to be working. Try again later" Tried many times but they don't play.
All my other clips from various sites are working fine after upgrading, but was hoping to get some new content working from iplayer.

Thanx in advance for any help
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on June 01, 2009, 10:54:31 PM
BTW: Upgrade from 1.1.5 ASAP
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 02, 2009, 03:26:08 AM
@Jaba> I can't debug this and never will, because iPlayer is not available to French users. Any volunteers to look into the patterns?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on June 02, 2009, 03:51:53 AM
Thanx Kindred, will do, been a bit lazy you might say on that!
Thanx Nao, Yeah I understand, I'm UK based so don't understand why it's not working!
My best MOD it must be said even without iplayer.
Many thanx
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on June 02, 2009, 10:14:35 AM
Quote from: Nao 尚 on June 02, 2009, 03:26:08 AM
@Jaba> I can't debug this and never will, because iPlayer is not available to French users. Any volunteers to look into the patterns?
It aggravates me when sites do this crap. We're in the middle of the Stanley Cup Finals over here with my beloved Red wings leading the series 2 zip for their 5th championship in 12 years and there's some Canadian sites where you go to view their videos and you get a message saying "Canadian users only". I don't know if that's the same kinda thing here, but it's aggravating nonetheless. Oh well, sorry for the diversion.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on June 02, 2009, 12:15:56 PM
it is...   BBC and ITV only allow users with a British identified IP address to view the online videos.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: chefjohnnie on June 02, 2009, 02:53:29 PM
Is it possible to only allow the admin or mods to post video i had a problem that i had a few that were embedding video but they were so off topic that i end up removing them . can i make it where video have to be approved . or should i turn it off after each time i place a video.
Dude this mod has made my site so cool i love it thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on June 02, 2009, 02:58:33 PM
Quote from: Nao 尚 on May 30, 2009, 02:00:34 PM
Wow... Your file has pirate contents all over it! <_<
Yes but i can't share it =) I try something (: and removed attachment (:
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on June 02, 2009, 05:33:29 PM
Quote from: Kindred on June 02, 2009, 12:15:56 PM
it is...   BBC and ITV only allow users with a British identified IP address to view the online videos.
My IP is UK based and I can view on the Beep site directly, but I can only watch limited content via my site. It starts ok, front end pic of video etc but then it says "This content doesn't seem to be working. Try again later" Tried many times but they don't play. Some stuff works like news and weather as long as it doesn't have iplayer in the link!!
Anyone else have the same issue?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 02, 2009, 05:50:15 PM
Quote from: chefjohnnie on June 02, 2009, 02:53:29 PM
Is it possible to only allow the admin or mods to post video i had a problem that i had a few that were embedding video but they were so off topic that i end up removing them . can i make it where video have to be approved . or should i turn it off after each time i place a video.
Dude this mod has made my site so cool i love it thanks.
Yes... Disable Aeva and use the  tag to embed videos. You'll have to go fetch the full embed code on the remote site every time you wish to embed a video, though... That pretty much defeats Aeva's purpose & spirit-- to enable everyone to easily post videos onto forums.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: chefjohnnie on June 02, 2009, 07:04:02 PM
thank you i see your point , What happened was a group of 5 put about 30 10sec videos that had nothing to do with nothing . our members get rewards off a point system from posted video on a certain topic . I got to figure something out any ideas
Thank again such a cool mod
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jerri Blank on June 02, 2009, 08:49:33 PM
Can someone help me with Gametrailers video?  I'm trying to embed a video with the following URL:

http://www.gametrailers.com/user-movie/left-4-dead-2-multiplayer/319543

But it's not showing up.  I believe 319543 is the video ID.  What might I be doing wrong?


Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 03, 2009, 02:09:23 AM
Fixed... Hopefully. Update with ;checkaeva as per usual.

@chefjohnnie> If you're asking that people upload as many vids as possible, why are you complaining that they're uploading crap, now?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: speedyuk7 on June 03, 2009, 05:33:07 AM
Man how could you forget probably the best music source site
wrzuta.pl
It has every song that has been ever created.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Benji on June 03, 2009, 06:40:30 AM
Hi, great mod!
I cant' embed this video
http://www.traileraddict.com/clip/bruno/mtv-movie-awards

And what can i do for update site list? I don't understand this point :(

Tnx
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jerri Blank on June 03, 2009, 07:55:24 AM
Quote from: Nao 尚 on June 03, 2009, 02:09:23 AM
Fixed... Hopefully. Update with ;checkaeva as per usual.

Sorry to be a pest, Nao, but gametrailers still isn't working.  It's enabled...  I uninstalled the Aeva I had (6.2.something) and installed the latest.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: MultiformeIngegno on June 03, 2009, 10:30:02 AM
MP3Tube has been moved to Yehplay.com... and so the urls don't work... :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on June 03, 2009, 10:45:24 AM
Quote from: Nao 尚 on June 02, 2009, 03:26:08 AM
@Jaba> I can't debug this and never will, because iPlayer is not available to French users. Any volunteers to look into the patterns?
Hi Nao
Just to clarify. Should the iplayer clips work on my UK IP based site? Or have the Beeb changed something!
I just want to be sure if iplayer is working or not for others in UK and not just a problem for myself only etc!

As matter of interest, if someone from outside the UK is looking at a Beeb embedded clip on a UK based site will they be able to play it? I assume not as the Beeb will be checking the viewers IP!
Cheers
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jerri Blank on June 03, 2009, 01:50:43 PM
Quote from: Jerri Blank on June 03, 2009, 07:55:24 AM
Sorry to be a pest, Nao, but gametrailers still isn't working.  It's enabled...  I uninstalled the Aeva I had (6.2.something) and installed the latest.

Okay, ignore me. :)  Apparently I had something cached on my home computer that kept me from seeing that Gametrailers is working now.  I can see the vids fine from my work machine.

Thanks for a great mod.  My users love it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 03, 2009, 06:16:50 PM
@lorenrozone> URL change? That entitles it to deletion... If you change a site's url, never break existing embed code. Bunch of amateurs!

@Jaba> I don't know. Since I can't test. See?

@Everyone> Please, has anyone been having trouble with the site list update today? I keep getting a 50KB file (exactly 50.000 bytes) instead of the usual 153KB file when doing the automatic update. I tried getting the file manually and it works, so I strongly believe this is a bug on my host's side. I would however appreciate that some of you look into your FTP and check whether their Subs-Aeva-Sites.php file is 153KB or 50KB. Thanks! I fixed this temporarily by exiting out of the automatic sitelist update code within Subs-Aeva-Admin.php... The author, kept out of his own updates? How silly...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Father Luke on June 03, 2009, 10:24:07 PM
Quote from: Nao 尚 on June 03, 2009, 06:16:50 PM


@Everyone> Please, has anyone been having trouble with the site list update today?

No problems.

- -
Okay,
Father Luke
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on June 03, 2009, 11:16:07 PM
153KB
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on June 03, 2009, 11:48:06 PM
Quote from: Nao 尚 on June 03, 2009, 06:16:50 PM
<<< @Everyone> Please, has anyone been having trouble with the site list update today? >>>

I had to run it manually as nothing happened when I went to the CP this time, but the update is 153kb.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 04, 2009, 02:30:09 AM
Thanks guys-- definitely my host then.

@speedyuk> No chance in Hell. That site crashed my Opera. No thanks to you. Plus, I don't speak a word of Polish. How should I be expected to integrate a non-English site that doesn't have an English version, seems to be largely based on piracy, and basically who are you to blame me for not integrating your unknown little sites?!
@Jerri> URL...?
@Benji> When did they start changing their URL format AGAIN? I'm tempted to drop them once and for all... It's not the first time they're forcing me to update... -_-
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on June 04, 2009, 02:54:07 AM
Quote from: Nao 尚 on June 03, 2009, 06:16:50 PM

@Jaba> I don't know. Since I can't test. See?
Yeah, I just checked your profile so somehow missed you were outside UK lol
Didn't spot that you are the "French Translator" lol
I don't blame you for not bothering with iplayer, I wouldn't either cos of them restricting its use outside UK.
I think you might be able to do a test perhaps using a Proxy! Maybe! Not sure if that would work & would probably be too slow!

Can anyone let me know if they can play BBC iplayer clips from within their UK IP based site?
I can not :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 04, 2009, 07:28:03 AM
Re: Traileraddict.com, they didn't change their URL system, they only added a "clip" type in addition to the "trailer" type. It's the same system, just not the same kind of contents, easy fix in the sitelist.

@Jaba> I'm not even trying, really. Tell the BBC guys to contact me if they want me to fix it, and give me access to their site. I doubt they will, but that's the only way I'm gonna bother. (Or someone else can do it, of course -- as I said, Karl is welcome to help. Maybe it's an easy fix.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 04, 2009, 08:21:16 AM
Quote from: Nao 尚 on June 04, 2009, 02:30:09 AM
Thanks guys-- definitely my host then.
Fixed on my side, apparently. So it really was my host.

Also uploaded a new sitelist with the fix for traileraddict.com clips.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Benji on June 04, 2009, 08:34:05 AM
Quote from: Nao 尚 on June 04, 2009, 07:28:03 AM
Re: Traileraddict.com, they didn't change their URL system, they only added a "clip" type in addition to the "trailer" type. It's the same system, just not the same kind of contents, easy fix in the sitelist.
Doesn't work yet, but if i put part of embed code
http://www.traileraddict.com/emd/11287
it works.

If i copy url from address bar doesn't work :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rgecy on June 04, 2009, 09:34:04 AM
Nao,

I have another site I would like to try and put into the subs-aeva-custom.php.  Here is the link and the embed.  What would be the pattern, etc to put in the custom file?

http://www.myoutdoortv.com/video/video.php?v=VBzg4D_yxL0oPzZc9WWTziCzXCEFmMHD

<iframe src="http://www.myoutdoortv.com/video-player/tipsplayer.php?videoURL=VBzg4D_yxL0oPzZc9WWTziCzXCEFmMHD"><iframe>

The video size looks to be 479x377.

Thanks,

RGecy
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 04, 2009, 12:27:10 PM
@Benji> Did you update with the checkaeva feature...?

@rgecy> I no longer do website integration for free. Please follow the readme explanation, find someone to help you, or buy it from me. (Although I really don't have time for this right now-- I'm way behind my schedule.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: The Schaef on June 04, 2009, 04:21:43 PM
Godtube.com is now tangle.com
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 04, 2009, 04:28:53 PM
This was updated months ago...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: speedyuk7 on June 04, 2009, 05:09:39 PM
Mate please add wrzuta.pl support for next update
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 04, 2009, 05:57:29 PM
Again: *Not for free*.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: speedyuk7 on June 04, 2009, 06:01:48 PM
How much ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rich-green on June 04, 2009, 07:22:11 PM
Quote from: Father Luke on June 01, 2009, 07:00:37 PM
@rich-green - Parse it for manual upgrade.

If you need help, ask.

- -
Okay,
Father Luke

I'm new to this stuff and need a lot of help as I do not even know some of the terminology, but I can follow instructions. ( most the time ) ...

What is parse and how do you overwrite files?
When I tried to apply the mod after deleting 6.2 I got an fatal error but was able to dig myself out of that by uninstalling the 6.9 mod...

If you or anyone can help it would be a life saver for me as my site relies on a lot of video for explanation and reference...

Thanks; rich-green   
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 05, 2009, 02:21:47 AM
@speedyuk7> 15€ for a basic addition. 30€ if you want full lookups (for showing the video thumbnail), which requires more work. Will add it to the automatic sitelist since it's < 1.000 in Alexa rank.

@rich-green> SMF support questions should be asked in a general support topic, rather than the Aeva topic in particular.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rgecy on June 05, 2009, 02:43:40 AM
Thanks Nao, I understand!

I am just not proficient enough to finish the custom site on my own and the documentation is not enough for a novice like me!

Not sure if there are any others out there who know how to do this but any help would be appreciated!

This is what I have so far.  Basically I need everything from Pattern Down! 



Link: http://www.myoutdoortv.com/video/video.php?v=VBzg4D_yxL0oPzZc9WWTziCzXCEFmMHD

Embed:  <iframe src="http://www.myoutdoortv.com/video-player/tipsplayer.php?videoURL=VBzg4D_yxL0oPzZc9WWTziCzXCEFmMHD"><iframe>

// Example: http://www.myoutdoortv.com/video/video.php?v=VBzg4D_yxL0oPzZc9WWTziCzXCEFmMHD

$sites[] = array(
'id' => 'myout',
'title' => 'My Outdoor TV',
'website' => 'http://www.myoutdoortv.com',
'type' => 'custom',
'added' => '5.2',
'pattern' => 'http://(?:www\.)?example\.com/video/([0-9a-z]{8})',
'movie' => 'http://www.example.com/player.swf?id=$2',
'size' => array(477, 379),
'show-link' => true,
'lookup-title' => '<title>(.*?)</title>',
'fix-html-pattern' => '<object [^>]*><param name="movie" value="$1">.*?</object>',
);


Thanks,

RGecy
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 05, 2009, 03:43:59 AM
Again... And that must be the 3rd time in 24 hours... I-am-no-longer-doing-site-integrations-for-free. I ended Aeva's development. Adding sites is part of this development.

For crying out loud, what is so hard to understand here?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Father Luke on June 05, 2009, 08:44:05 AM
Quote from: rich-green on June 01, 2009, 06:02:52 AM
Quote from: Nao 尚 on May 31, 2009, 03:57:19 PM
@rich-green> Just overwrite the 6.2 files with the 6.9.99 ones...

Since I deleted 6.2.76 instead of uninstalling it is there anything can do to fix this?
Getting 6.2.76 working again or upgrading?
All help will be appreciated...

Thanks; rich-green

Quote from: rich-green on June 04, 2009, 07:22:11 PM
Quote from: Father Luke on June 01, 2009, 07:00:37 PM
@rich-green - Parse it for manual upgrade.



I'm new to this stuff and need a lot of help as I do not even know some of the terminology, but I can follow instructions. ( most the time ) ...

What is parse and how do you overwrite files?
When I tried to apply the mod after deleting 6.2 I got an fatal error but was able to dig myself out of that by uninstalling the 6.9 mod...

If you or anyone can help it would be a life saver for me as my site relies on a lot of video for explanation and reference...

Thanks; rich-green

You deleted the package without uninstalling and now you want to upgrade.

Go to here: http://custom.simplemachines.org/mods/index.php?mod=977

Look for:

Manual Install Instructions for SMF - it's on the right hand side.


Pick your version of SMF in the drop down box.
Then press the "Parse" button

It will show you what needs to be done manualy.


Hope that helps.

- -
Okay,
Father Luke
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rgecy on June 06, 2009, 12:37:27 AM
Quote from: Nao 尚 on June 05, 2009, 03:43:59 AM
Again... And that must be the 3rd time in 24 hours... I-am-no-longer-doing-site-integrations-for-free. I ended Aeva's development. Adding sites is part of this development.

For crying out loud, what is so hard to understand here?

Nao,

Please read my post again!  I asked if there was anyone else who could help me!  I think the post was pretty clear and I am sure that we all understand you are no longer doing site integrations for free!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 06, 2009, 05:21:17 AM
I thought it was pretty clear, too, that no one around here seemed to be willing to do site integrations... But you're right, maybe someone'll do it for free for you. It'd save me time.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on June 06, 2009, 06:09:58 AM
rgecy: You could take your question to the coding discussion board. There you have a better chance of a coder helping you out.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: DirtRider on June 08, 2009, 06:53:18 AM
I have installed this mod on SMF 1.1.9 and it just does not work. I have enabled it setup all the options but nothing. I thought it may be a host issue so I created a new forum and installed it on that one and it worked straight off. I am now at a total loss as what more to look for and why it just does not work.

Aeva ~ Auto-Embed Video & Audio      6.9.99
MF Media Gallery      1.5.6

Other mods

eFloating Bar for Guest & Members      0.1  - Work on test site with this installed
TinyPortal      1.083 - Work on test site with this installed
Post Box Message      1.1  -  Never tried on test site but removed and it still did not work
Advanced Contact Form      1.1  - Work on test site with this
Welcome Topic Mod      2.0.2  - Never tried on test site but removed and it still did not work
Admins Can Post As Alternative User      1.0  - Never tried on test site but removed and it still did not work
Aligned and Bilateral Child Boards      1.4 - Work on test site with this installed
SMF Affiliates      v2 - Work on test site with this installed

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: henry74 on June 08, 2009, 09:03:02 AM
Hi all,

I am using SMF 2.0 RC1-1 , I have installed the last version of Aeva (6.9.99) and I get the following error when i get to the configuration :

Fatal error: Cannot redeclare modifyaevasettings() (previously declared in /home/nhwbittf/public_html/foro/Sources/ManageSettings.php:1994) in /home/nhwbittf/public_html/foro/Sources/ManageSettings.php on line 2009

Can you help ??

Thank you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on June 08, 2009, 09:08:01 AM
Open ManagaSettings.php
find modifyaevasettings() function, it looks like added twice. You must be remove one of them.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: henry74 on June 08, 2009, 09:16:06 AM
i found this code

// This my friend, is for all the mod authors out there. They're like builders without the ass crack - with the possible exception of... /cut short
function ModifyModSettings()
{
global $context, $txt, $scripturl, $modSettings, $settings;

$context['page_title'] = $txt['admin_modifications'];

$subActions = array(
'general' => 'ModifyGeneralModSettings',
'aeva' => 'ModifyAevaSettings',
'aevasites' => 'ModifyAevaSettings',
'aeva' => 'ModifyAevaSettings',
'aevasites' => 'ModifyAevaSettings',
// Mod authors, once again, if you have a whole section to add do it AFTER this line, and keep a comma at the end.
);

loadGeneralSettingParameters($subActions, 'general');

// Load up all the tabs...
$context[$context['admin_menu_name']]['tab_data'] = array(
'title' => &$txt['admin_modifications'],
'help' => 'modsettings',
'description' => $txt['modification_settings_desc'],
'tabs' => array(
'general' => array(
),
'aeva' => array(
// Loads our language file if it hasn't been loaded already
'label' => !isset($txt['aeva']) ? (loadlanguage('Aeva') == false ? (loadLanguage('Aeva', 'english') == false ? 'Aeva' : $txt['aeva']) : $txt['aeva']) : $txt['aeva'],
'description' => $txt['aeva_desc'],
),
'aevasites' => array(
'label' => !isset($txt['aeva_sites']) ? 'Aeva Sites' : $txt['aeva_sites'],
'description' => $txt['aeva_desc'],
),
'aeva' => array(
// Loads our language file if it hasn't been loaded already
'label' => !isset($txt['aeva']) ? (loadlanguage('Aeva') == false ? (loadLanguage('Aeva', 'english') == false ? 'Aeva' : $txt['aeva']) : $txt['aeva']) : $txt['aeva'],
'description' => $txt['aeva_desc'],
),
'aevasites' => array(
'label' => !isset($txt['aeva_sites']) ? 'Aeva Sites' : $txt['aeva_sites'],
'description' => $txt['aeva_desc'],
),
),
);

// Call the right function for this sub-acton.
$subActions[$_REQUEST['sa']]();
}
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on June 08, 2009, 09:20:37 AM
Can you attach your ManageSettings.php?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: henry74 on June 08, 2009, 09:26:17 AM
sure, here it is:

PART 1:

<?php
/**********************************************************************************
* ManageSettings.php                                                              *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel ([email protected])                    *
* =============================================================================== *
* Software Version:           SMF 2.0 RC1                                         *
* Software by:                Simple Machines (http://www.simplemachines.org)     *
* Copyright 2006-2009 by:     Simple Machines LLC (http://www.simplemachines.org) *
*           2001-2006 by:     Lewis Media (http://www.lewismedia.com)             *
* Support, News, Updates at:  http://www.simplemachines.org                       *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under   *
* the terms of the provided license as published by Simple Machines LLC.          *
*                                                                                 *
* This program is distributed in the hope that it is and will be useful, but      *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY    *
* or FITNESS FOR A PARTICULAR PURPOSE.                                            *
*                                                                                 *
* See the "license.txt" file for details of the Simple Machines license.          *
* The latest version can always be found at http://www.simplemachines.org.        *
**********************************************************************************/

if (!defined('SMF'))
die('Hacking attempt...');

/* This file is here to make it easier for installed mods to have settings
and options.  It uses the following functions:

void ModifyFeatureSettings()
// !!!

void ModifySecuritySettings()
// !!!

void ModifyModSettings()
// !!!

void ModifyCoreFeatures()
// !!!

void ModifyBasicSettings()
// !!!

void ModifyGeneralSecuritySettings()
// !!!

void ModifyLayoutSettings()
// !!!

void ModifyKarmaSettings()
// !!!

void ModifyModerationSettings()
// !!!

void ModifySpamSettings()
// !!!

void ModifySignatureSettings()
// !!!

void pauseSignatureApplySettings()
// !!!

void ShowCustomProfiles()
// !!!

void EditCustomProfiles()
// !!!

void ModifyPruningSettings()
// !!!

void disablePostModeration()
// !!!
// !!!
*/

// This just avoids some repetition.
function loadGeneralSettingParameters($subActions = array(), $defaultAction '')
{
global $context$txt$sourcedir;

// You need to be an admin to edit settings!
isAllowedTo('admin_forum');

loadLanguage('Help');
loadLanguage('ManageSettings');

// Will need the utility functions from here.
require_once($sourcedir '/ManageServer.php');

$context['sub_template'] = 'show_settings';

// By default do the basic settings.
$_REQUEST['sa'] = isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]) ? $_REQUEST['sa'] : (!empty($defaultAction) ? $defaultAction array_pop(array_keys($subActions)));
$context['sub_action'] = $_REQUEST['sa'];
}

// This function passes control through to the relevant tab.
function ModifyFeatureSettings()
{
global $context$txt$scripturl$modSettings$settings;

$context['page_title'] = $txt['modSettings_title'];

$subActions = array(
'basic' => 'ModifyBasicSettings',
'layout' => 'ModifyLayoutSettings',
'karma' => 'ModifyKarmaSettings',
'sig' => 'ModifySignatureSettings',
'profile' => 'ShowCustomProfiles',
'profileedit' => 'EditCustomProfiles',
);

loadGeneralSettingParameters($subActions'basic');

// Load up all the tabs...
$context[$context['admin_menu_name']]['tab_data'] = array(
'title' => &$txt['modSettings_title'],
'help' => 'featuresettings',
'description' => sprintf($txt['modSettings_desc'], $settings['theme_id'], $context['session_id']),
'tabs' => array(
'basic' => array(
),
'layout' => array(
),
'karma' => array(
),
'sig' => array(
'description' => $txt['signature_settings_desc'],
),
'profile' => array(
'description' => $txt['custom_profile_desc'],
),
),
);

// Call the right function for this sub-acton.
$subActions[$_REQUEST['sa']]();
}

// This function passes control through to the relevant security tab.
function ModifySecuritySettings()
{
global $context$txt$scripturl$modSettings$settings;

$context['page_title'] = $txt['admin_security_moderation'];

$subActions = array(
'general' => 'ModifyGeneralSecuritySettings',
'spam' => 'ModifySpamSettings',
'moderation' => 'ModifyModerationSettings',
);

loadGeneralSettingParameters($subActions'general');

// Load up all the tabs...
$context[$context['admin_menu_name']]['tab_data'] = array(
'title' => &$txt['admin_security_moderation'],
'help' => 'securitysettings',
'description' => $txt['security_settings_desc'],
'tabs' => array(
'general' => array(
),
'spam' => array(
'description' => $txt['antispam_Settings_desc'] ,
),
'moderation' => array(
),
),
);

// Call the right function for this sub-acton.
$subActions[$_REQUEST['sa']]();
}

// This my friend, is for all the mod authors out there. They're like builders without the ass crack - with the possible exception of... /cut short
function ModifyModSettings()
{
global $context$txt$scripturl$modSettings$settings;

$context['page_title'] = $txt['admin_modifications'];

$subActions = array(
'general' => 'ModifyGeneralModSettings',
'aeva' => 'ModifyAevaSettings',
'aevasites' => 'ModifyAevaSettings',
'aeva' => 'ModifyAevaSettings',
'aevasites' => 'ModifyAevaSettings',
// Mod authors, once again, if you have a whole section to add do it AFTER this line, and keep a comma at the end.
);

loadGeneralSettingParameters($subActions'general');

// Load up all the tabs...
$context[$context['admin_menu_name']]['tab_data'] = array(
'title' => &$txt['admin_modifications'],
'help' => 'modsettings',
'description' => $txt['modification_settings_desc'],
'tabs' => array(
'general' => array(
),
'aeva' => array(
// Loads our language file if it hasn't been loaded already
'label' => !isset($txt['aeva']) ? (loadlanguage('Aeva') == false ? (loadLanguage('Aeva''english') == false 'Aeva' $txt['aeva']) : $txt['aeva']) : $txt['aeva'],
'description' => $txt['aeva_desc'],
),
'aevasites' => array(
'label' => !isset($txt['aeva_sites']) ? 'Aeva Sites' $txt['aeva_sites'],
'description' => $txt['aeva_desc'],
),
'aeva' => array(
// Loads our language file if it hasn't been loaded already
'label' => !isset($txt['aeva']) ? (loadlanguage('Aeva') == false ? (loadLanguage('Aeva''english') == false 'Aeva' $txt['aeva']) : $txt['aeva']) : $txt['aeva'],
'description' => $txt['aeva_desc'],
),
'aevasites' => array(
'label' => !isset($txt['aeva_sites']) ? 'Aeva Sites' $txt['aeva_sites'],
'description' => $txt['aeva_desc'],
),
),
);

// Call the right function for this sub-acton.
$subActions[$_REQUEST['sa']]();
}

// This is an overall control panel enabling/disabling lots of SMF's key feature components.
function ModifyCoreFeatures($return_config false)
{
global $txt$scripturl$context$settings$sc$modSettings;

/* This is an array of all the features that can be enabled/disabled - each option can have the following:
title - Text title of this item (If standard string does not exist).
desc - Description of this feature (If standard string does not exist).
image - Custom image to show next to feature.
settings - Array of settings to change (For each name => value) on enable - reverse is done for disable. If > 1 will not change value if set.
setting_callback- Function that returns an array of settings to save - takes one parameter which is value for this feature.
save_callback - Function called on save, takes state as parameter.
*/
$core_features = array(
// cd = calendar.
'cd' => array(
'url' => 'action=admin;area=managecalendar',
'settings' => array(
'cal_enabled' => 1,
),
),
// cp = custom profile fields.
'cp' => array(
'url' => 'action=admin;area=featuresettings;sa=profile',
'save_callback' => create_function('$value''
global $smcFunc;
if (!$value)
{
$smcFunc[\'db_query\'](\'\', \'
UPDATE {db_prefix}custom_fields
SET active = 0\');
}
'
),
'setting_callback' => create_function('$value''
if (!$value)
return array(
\'disabled_profile_fields\' => \'\',
\'registration_fields\' => \'\',
\'displayFields\' => \'\',
);
else
return array();
'
),
),
// k = karma.
'k' => array(
'url' => 'action=admin;area=featuresettings;sa=karma',
'settings' => array(
'karmaMode' => 2,
),
),
// ml = moderation log.
'ml' => array(
'url' => 'action=moderate;area=modlog',
'settings' => array(
'modlog_enabled' => 1,
),
),
// pm = post moderation.
'pm' => array(
'url' => 'action=admin;area=permissions;sa=postmod',
'setting_callback' => create_function('$value''
global $sourcedir;

// Cant use warning post moderation if disabled!
if (!$value)
{
require_once($sourcedir . \'/PostModeration.php\');
approveAllData();

return array(\'warning_moderate\' => 0);
}
else
return array();
'
),
),
// ps = Paid Subscriptions.
'ps' => array(
'url' => 'action=admin;area=paidsubscribe',
'settings' => array(
'paid_enabled' => 1,
),
),
// rg = report generator.
'rg' => array(
'url' => 'action=admin;area=reports',
),
// w = warning.
'w' => array(
'url' => 'action=admin;area=securitysettings;sa=moderation',
'setting_callback' => create_function('$value''
global $modSettings;
list ($modSettings[\'warning_enable\'], $modSettings[\'user_limit\'], $modSettings[\'warning_decrement\']) = explode(\',\', $modSettings[\'warning_settings\']);
$warning_settings = ($value ? 1 : 0) . \',\' . $modSettings[\'user_limit\'] . \',\' . $modSettings[\'warning_decrement\'];
if (!$value)
{
$returnSettings = array(
\'warning_watch\' => 0,
\'warning_moderate\' => 0,
\'warning_mute\' => 0,
);
}
elseif (empty($modSettings[\'warning_enable\']) && $value)
{
$returnSettings = array(
\'warning_watch\' => 10,
\'warning_moderate\' => 35,
\'warning_mute\' => 60,
);
}
else
$returnSettings = array();

$returnSettings[\'warning_settings\'] = $warning_settings;
return $returnSettings;
'
),
),
// Search engines
'sp' => array(
'url' => 'action=admin;area=sengines',
'settings' => array(
'spider_mode' => 1,
),
'setting_callback' => create_function('$value''
// Turn off the spider group if disabling.
if (!$value)
return array(\'spider_group\' => 0, \'show_spider_online\' => 0);
'
),
'on_save' => create_function('''
global $sourcedir, $modSettings;
require_once($sourcedir . \'/ManageSearchEngines.php\');
recacheSpiderNames();
'
),
),
);

// Are we getting info for the help section.
if ($return_config)
{
$return_data = array();
foreach ($core_features as $id => $data)
$return_data[] = array('switch', isset($data['title']) ? $data['title'] : $txt['core_settings_item_' $id]);
return $return_data;
}

loadGeneralSettingParameters();

// Are we saving?
if (isset($_POST['save']))
{
$setting_changes = array('admin_features' => array());

// Are we using the javascript stuff or radios to submit?
$post_var_prefix = empty($_POST['js_worked']) ? 'feature_plain_' 'feature_';

// Cycle each feature and change things as required!
foreach ($core_features as $id => $feature)
{
// Enabled?
if (!empty($_POST[$post_var_prefix $id]))
$setting_changes['admin_features'][] = $id;

// Setting values to change?
if (isset($feature['settings']))
{
foreach ($feature['settings'] as $key => $value)
{
if (empty($_POST[$post_var_prefix $id]) || (!empty($_POST[$post_var_prefix $id]) && ($value || empty($modSettings[$key]))))
$setting_changes[$key] = !empty($_POST[$post_var_prefix $id]) ? $value : !$value;
}
}
// Is there a call back for settings?
if (isset($feature['setting_callback']))
{
$returned_settings $feature['setting_callback'](!empty($_POST[$post_var_prefix $id]));
if (!empty($returned_settings))
$setting_changes array_merge($setting_changes$returned_settings);
}

// Standard save callback?
if (isset($feature['on_save']))
$feature['on_save']();
}

// Make sure this one setting is a string!
$setting_changes['admin_features'] = implode(','$setting_changes['admin_features']);

// Make any setting changes!
updateSettings($setting_changes);

// Any post save things?
foreach ($core_features as $id => $feature)
{
// Standard save callback?
if (isset($feature['save_callback']))
$feature['save_callback'](!empty($_POST[$post_var_prefix $id]));
}

redirectexit('action=admin;area=corefeatures;' $context['session_var'] . '=' $context['session_id']);
}

// Put them in context.
$context['features'] = array();
foreach ($core_features as $id => $feature)
$context['features'][$id] = array(
'title' => isset($feature['title']) ? $feature['title'] : $txt['core_settings_item_' $id],
'desc' => isset($feature['desc']) ? $feature['desc'] : $txt['core_settings_item_' $id '_desc'],
'enabled' => in_array($id$context['admin_features']),
'url' => !empty($feature['url']) ? $scripturl '?' $feature['url'] . ';' $context['session_var'] . '=' $context['session_id'] : '',
);

// Are they a new user?
$context['is_new_install'] = !isset($modSettings['admin_features']);
$context['force_disable_tabs'] = $context['is_new_install'];
// Don't show them this twice!
if ($context['is_new_install'])
updateSettings(array('admin_features' => ''));

$context['sub_template'] = 'core_features';
$context['page_title'] = $txt['core_settings_title'];
}

function 
ModifyBasicSettings($return_config false)
{
global $txt$scripturl$context$settings$sc$modSettings;

$config_vars = array(
// Big Options... polls, sticky, bbc....
array('select''pollMode', array(&$txt['disable_polls'], &$txt['enable_polls'], &$txt['polls_as_topics'])),
'',
// Basic stuff, titles, flash, permissions...
array('check''allow_guestAccess'),
array('check''allow_editDisplayName'),
array('check''allow_hideOnline'),
array('check''titlesEnable'),
array('check''enable_buddylist'),
array('text''default_personal_text'),
'',
// Stats, compression, cookies.... server type stuff.
array('text''time_format'),
array('select''number_format', array('1234.00' => '1234.00''1,234.00' => '1,234.00''1.234,00' => '1.234,00''1 234,00' => '1 234,00''1234,00' => '1234,00')),
array('float''time_offset'),
'default_timezone' => array('select''default_timezone', array()),
array('int''lastActive'),
array('check''trackStats'),
array('check''hitStats'),
'',
// Option-ish things... miscellaneous sorta.
array('check''allow_disableAnnounce'),
array('check''disallow_sendBody'),
array('check''queryless_urls'),
'',
// Width/Height image reduction.
array('int''max_image_width'),
array('int''max_image_height'),
);

// Get all the time zones.
if (function_exists('timezone_identifiers_list') && function_exists('date_default_timezone_set'))
{
$all_zones timezone_identifiers_list();
// Make sure we set the value to the same as the printed value.
foreach ($all_zones as $zone)
$config_vars['default_timezone'][2][$zone] = $zone;
}
else
unset($config_vars['default_timezone']);

if ($return_config)
return $config_vars;

// Saving?
if (isset($_GET['save']))
{
checkSession();

saveDBSettings($config_vars);

writeLog();
redirectexit('action=admin;area=featuresettings;sa=basic');
}

$context['post_url'] = $scripturl '?action=admin;area=featuresettings;save;sa=basic';
$context['settings_title'] = $txt['mods_cat_features'];

prepareDBSettingContext($config_vars);
}

// Settings really associated with general security aspects.
function ModifyGeneralSecuritySettings($return_config false)
{
global $txt$scripturl$context$settings$sc$modSettings;

$config_vars = array(
array('check''guest_hideContacts'),
array('check''make_email_viewable'),
'',
array('int''failed_login_threshold'),
'',
array('check''enableErrorLogging'),
array('check''enableErrorQueryLogging'),
array('check''securityDisable'),
'',
// Reactive on email, and approve on delete
array('check''send_validation_onChange'),
array('check''approveAccountDeletion'),
'',
// Password strength.
array('select''password_strength', array($txt['setting_password_strength_low'], $txt['setting_password_strength_medium'], $txt['setting_password_strength_high'])),
'',
// Reporting of personal messages?
array('check''enableReportPM'),
);

if ($return_config)
return $config_vars;

// Saving?
if (isset($_GET['save']))
{
checkSession();

saveDBSettings($config_vars);

writeLog();
redirectexit('action=admin;area=securitysettings;sa=general');
}

$context['post_url'] = $scripturl '?action=admin;area=securitysettings;save;sa=general';
$context['settings_title'] = $txt['mods_cat_security_general'];

prepareDBSettingContext($config_vars);
}

function 
ModifyLayoutSettings($return_config false)
{
global $txt$scripturl$context$settings$sc;

$config_vars = array(
// Compact pages?
array('check''compactTopicPagesEnable'),
array('int''compactTopicPagesContiguous'null$txt['contiguous_page_display'] . '<div class="smalltext">' str_replace(' ''&nbsp;''"3" ' $txt['to_display'] . ': <b>1 ... 4 [5] 6 ... 9</b>') . '<br />' str_replace(' ''&nbsp;''"5" ' $txt['to_display'] . ': <b>1 ... 3 4 [5] 6 7 ... 9</b>') . '</div>'),
'',
// Stuff that just is everywhere - today, search, online, etc.
array('select''todayMod', array(&$txt['today_disabled'], &$txt['today_only'], &$txt['yesterday_today'])),
array('check''topbottomEnable'),
array('check''onlineEnable'),
array('check''enableVBStyleLogin'),
'',
// Pagination stuff.
array('int''defaultMaxMembers'),
'',
// This is like debugging sorta.
array('check''timeLoadPageEnable'),
'',
// Meta.
array('text''meta_keywords''size' => 50),
'',
// Who's online.
array('check''who_enabled'),
);

if ($return_config)
return $config_vars;

// Saving?
if (isset($_GET['save']))
{
checkSession();

saveDBSettings($config_vars);
writeLog();

redirectexit('action=admin;area=featuresettings;sa=layout');
}

$context['post_url'] = $scripturl '?action=admin;area=featuresettings;save;sa=layout';
$context['settings_title'] = $txt['mods_cat_layout'];

prepareDBSettingContext($config_vars);
}

function 
ModifyKarmaSettings($return_config false)
{
global $txt$scripturl$context$settings$sc;

$config_vars = array(
// Karma - On or off?
array('select''karmaMode'explode('|'$txt['karma_options'])),
'',
// Who can do it.... and who is restricted by time limits?
array('int''karmaMinPosts'),
array('float''karmaWaitTime'),
array('check''karmaTimeRestrictAdmins'),
'',
// What does it look like?  [smite]?
array('text''karmaLabel'),
array('text''karmaApplaudLabel'),
array('text''karmaSmiteLabel'),
);

if ($return_config)
return $config_vars;

// Saving?
if (isset($_GET['save']))
{
checkSession();

saveDBSettings($config_vars);
redirectexit('action=admin;area=featuresettings;sa=karma');
}

$context['post_url'] = $scripturl '?action=admin;area=featuresettings;save;sa=karma';
$context['settings_title'] = $txt['karma'];

prepareDBSettingContext($config_vars);
}

// Moderation type settings - although there are fewer than we have you believe ;)
function ModifyModerationSettings($return_config false)
{
global $txt$scripturl$context$settings$sc$modSettings;

$config_vars = array(
// Warning system?
array('int''warning_watch''help' => 'warning_enable'),
'moderate' => array('int''warning_moderate'),
array('int''warning_mute'),
'rem1' => array('int''user_limit'),
'rem2' => array('int''warning_decrement'),
array('select''warning_show', array($txt['setting_warning_show_mods'], $txt['setting_warning_show_user'], $txt['setting_warning_show_all'])),
);

if ($return_config)
return $config_vars;

// Cannot use moderation if post moderation is not enabled.
if (!$modSettings['postmod_active'])
unset($config_vars['moderate']);

// Saving?
if (isset($_GET['save']))
{
checkSession();

// Make sure these don't have an effect.
if (substr($modSettings['warning_settings'], 01) != 1)
{
$_POST['warning_watch'] = 0;
$_POST['warning_moderate'] = 0;
$_POST['warning_mute'] = 0;
}
else
{
$_POST['warning_watch'] = min($_POST['warning_watch'], 100);
$_POST['warning_moderate'] = $modSettings['postmod_active'] ? min($_POST['warning_moderate'], 100) : 0;
$_POST['warning_mute'] = min($_POST['warning_mute'], 100);
}

// Fix the warning setting array!
$_POST['warning_settings'] = '1,' min(100, (int) $_POST['user_limit']) . ',' min(100, (int) $_POST['warning_decrement']);
$save_vars $config_vars;
$save_vars[] = array('text''warning_settings');
unset($save_vars['rem1'], $save_vars['rem2']);

saveDBSettings($save_vars);
redirectexit('action=admin;area=securitysettings;sa=moderation');
}

// We actually store lots of these together - for efficiency.
list ($modSettings['warning_enable'], $modSettings['user_limit'], $modSettings['warning_decrement']) = explode(','$modSettings['warning_settings']);

$context['post_url'] = $scripturl '?action=admin;area=securitysettings;save;sa=moderation';
$context['settings_title'] = $txt['moderation_settings'];

prepareDBSettingContext($config_vars);
}

// Let's try keep the spam to a minimum ah Thantos?
function ModifySpamSettings($return_config false)
{
global $txt$scripturl$context$settings$sc$modSettings$smcFunc;

// Generate a sample registration image.
$context['use_graphic_library'] = in_array('gd'get_loaded_extensions());
$context['verification_image_href'] = $scripturl '?action=verificationcode;rand=' md5(mt_rand());

$config_vars = array(
array('check''reg_verification'),
array('check''search_enable_captcha'),
// This, my friend, is a cheat :p
'guest_verify' => array('check''guests_require_captcha''subtext' => $txt['setting_guests_require_captcha_desc']),
array('int''posts_require_captcha''subtext' => $txt['posts_require_captcha_desc'], 'onchange' => 'if (this.value > 0){ document.getElementById(\'guests_require_captcha\').checked = true; document.getElementById(\'guests_require_captcha\').disabled = true;} else {document.getElementById(\'guests_require_captcha\').disabled = false;}'),
'',
// PM Settings
'pm1' => array('int''max_pm_recipients'),
'pm2' => array('int''pm_posts_verification'),
'pm3' => array('int''pm_posts_per_hour'),
// Visual verification.
array('title''configure_verification_means'),
array('title''configure_verification_means_desc''class' => 'windowbg'),
'vv' => array('select''visual_verification_type', array($txt['setting_image_verification_off'], $txt['setting_image_verification_vsimple'], $txt['setting_image_verification_simple'], $txt['setting_image_verification_medium'], $txt['setting_image_verification_high']), 'subtext'=> $txt['setting_visual_verification_type_desc'], 'onchange' => $context['use_graphic_library'] ? 'refreshImages();' ''),
array('int''qa_verification_number''subtext' => $txt['setting_qa_verification_number_desc']),
// Clever Thomas, who is looking sheepy now? Not I, the mighty sword swinger did say.
array('title''setup_verification_questions'),
array('title''setup_verification_questions_desc''class' => 'windowbg'),
array('callback''question_answer_list'),
);

if ($return_config)
return $config_vars;

// Load any question and answers!
$context['question_answers'] = array();
$request $smcFunc['db_query']('''
SELECT id_comment, body AS question, recipient_name AS answer
FROM {db_prefix}log_comments
WHERE comment_type = {string:ver_test}'
,
array(
'ver_test' => 'ver_test',
)
);
while ($row $smcFunc['db_fetch_assoc']($request))
{
$context['question_answers'][$row['id_comment']] = array(
'id' => $row['id_comment'],
'question' => $row['question'],
'answer' => $row['answer'],
);
}
$smcFunc['db_free_result']($request);

// Saving?
if (isset($_GET['save']))
{
checkSession();

// Fix PM settings.
$_POST['pm_spam_settings'] = (int) $_POST['max_pm_recipients'] . ',' . (int) $_POST['pm_posts_verification'] . ',' . (int) $_POST['pm_posts_per_hour'];

// Hack in guest requiring verification!
if (empty($_POST['posts_require_captcha']) && !empty($_POST['guests_require_captcha']))
$_POST['posts_require_captcha'] = -1;

$save_vars $config_vars;
unset($save_vars['pm1']);
unset($save_vars['pm2']);
unset($save_vars['pm3']);
unset($save_vars['guest_verify']);

$save_vars[] = array('text''pm_spam_settings');

saveDBSettings($save_vars);

// Handle verification questions.
$questionInserts = array();
foreach ($_POST['question'] as $id => $question)
{
$question trim($smcFunc['htmlspecialchars']($question));
$answer trim(strtolower($smcFunc['htmlspecialchars']($_POST['answer'][$id])));

// Already existed?
if (isset($context['question_answers'][$id]))
{
// Changed?
if ($context['question_answers'][$id]['question'] != $question || $context['question_answers'][$id]['answer'] != $answer)
{
if ($question == '' || $answer == '')
$smcFunc['db_query']('''
DELETE FROM {db_prefix}log_comments
WHERE comment_type = {string:ver_test}
AND id_comment = {int:id}'
,
array(
'id' => $id,
'ver_test' => 'ver_test',
)
);
else
$request $smcFunc['db_query']('''
UPDATE {db_prefix}log_comments
SET body = {string:question}, recipient_name = {string:answer}
WHERE comment_type = {string:ver_test}
AND id_comment = {int:id}'
,
array(
'id' => $id,
'ver_test' => 'ver_test',
'question' => $question,
'answer' => $answer,
)
);
}
}
// It's so shiney and new!
elseif ($question != '' && $answer != '')
{
$questionInserts[] = array(
'comment_type' => 'ver_test',
'body' => $question,
'recipient_name' => $answer,
);
}
}

// Any questions to insert?
if (!empty($questionInserts))
$smcFunc['db_insert']('',
'{db_prefix}log_comments',
array('comment_type' => 'string''body' => 'string-65535',  'recipient_name' => 'string-80'),
$questionInserts,
array('id_comment')
);

cache_put_data('verificationQuestionIds'null300);

redirectexit('action=admin;area=securitysettings;sa=spam');
}

$character_range array_merge(range('A''H'), array('K''M''N''P''R'), range('T''Y'));
$_SESSION['visual_verification_code'] = '';
for ($i 0$i 5$i++)
$_SESSION['visual_verification_code'] .= $character_range[array_rand($character_range)];

// Some javascript for CAPTCHA.
$context['settings_post_javascript'] = '';
if ($context['use_graphic_library'])
$context['settings_post_javascript'] .= '
function refreshImages()
{
var imageType = document.getElementById(\'visual_verification_type\').value;
document.getElementById(\'verification_image\').src = \'' 
$context['verification_image_href'] . ';type=\' + imageType;
}'
;

// Show the image itself, or text saying we can't.
if ($context['use_graphic_library'])
$config_vars['vv']['postinput'] = '<br /><img src="' $context['verification_image_href'] . ';type=' . (empty($modSettings['visual_verification_type']) ? $modSettings['visual_verification_type']) . '" alt="' $txt['setting_image_verification_sample'] . '" id="verification_image" /><br />';
else
$config_vars['vv']['postinput'] = '<br /><span class="smalltext">' $txt['setting_image_verification_nogd'] . '</span>';

// Hack for PM spam settings.
list ($modSettings['max_pm_recipients'], $modSettings['pm_posts_verification'], $modSettings['pm_posts_per_hour']) = explode(','$modSettings['pm_spam_settings']);

// Hack for guests requiring verification.
$modSettings['guests_require_captcha'] = !empty($modSettings['posts_require_captcha']);
$modSettings['posts_require_captcha'] = !isset($modSettings['posts_require_captcha']) || $modSettings['posts_require_captcha'] == -$modSettings['posts_require_captcha'];

// Some minor javascript for the guest post setting.
if ($modSettings['posts_require_captcha'])
$context['settings_post_javascript'] .= '
document.getElementById(\'guests_require_captcha\').disabled = true;'
;

$context['post_url'] = $scripturl '?action=admin;area=securitysettings;save;sa=spam';
$context['settings_title'] = $txt['antispam_Settings'];

prepareDBSettingContext($config_vars);
}

// You'll never guess what this function does...
function ModifySignatureSettings($return_config false)
{
global $context$txt$modSettings$sig_start$smcFunc$helptxt$scripturl$sc;

$config_vars = array(
// Are signatures even enabled?
array('check''signature_enable'),
'',
// Tweaking settings!
array('int''signature_max_length'),
array('int''signature_max_lines'),
array('int''signature_max_font_size'),
array('int''signature_max_smileys'),
'',
// Image settings.
array('int''signature_max_images'),
array('int''signature_max_image_width'),
array('int''signature_max_image_height'),
'',
array('bbc''signature_bbc'),
);

if ($return_config)
return $config_vars;

// Setup the template.
$context['page_title'] = $txt['signature_settings'];
$context['sub_template'] = 'show_settings';

// Load all the signature settings.
list ($sig_limits$sig_bbc) = explode(':'$modSettings['signature_settings']);
$sig_limits explode(','$sig_limits);
$disabledTags = !empty($sig_bbc) ? explode(','$sig_bbc) : array();

// Applying to ALL signatures?!!
if (isset($_GET['apply']))
{
// Security!
checkSession('get');

$sig_start time();
// This is horrid - but I suppose some people will want the option to do it.
$_GET['step'] = isset($_GET['step']) ? (int) $_GET['step'] : 0;
$done false;

$request $smcFunc['db_query']('''
SELECT MAX(id_member)
FROM {db_prefix}members'
,
array(
)
);
list ($context['max_member']) = $smcFunc['db_fetch_row']($request);
$smcFunc['db_free_result']($request);

while (!$done)
{
$changes = array();

$request $smcFunc['db_query']('''
SELECT id_member, signature
FROM {db_prefix}members
WHERE id_member BETWEEN ' 
$_GET['step'] . ' AND ' $_GET['step'] . ' + 49
AND id_group != {int:admin_group}
AND NOT FIND_IN_SET({int:admin_group}, additional_groups)'
,
array(
'admin_group' => 1,
)
);
while ($row $smcFunc['db_fetch_assoc']($request))
{
// Apply all the rules we can realistically do.
$sig strtr($row['signature'], array('<br />' => "\n"));

// Max characters...
if (!empty($sig_limits[1]))
$sig $smcFunc['substr']($sig0$sig_limits[1]);
// Max lines...
if (!empty($sig_limits[2]))
{
$count 0;
for ($i 0$i strlen($sig); $i++)
{
if ($sig{$i} == "\n")
{
$count++;
if ($count $sig_limits[2])
$sig substr($sig0$i) . strtr(substr($sig$i), array("\n" => ' '));
}
}
}

if (!empty($sig_limits[7]) && preg_match_all('~\[size=([\d\.]+)?(px|pt|em|x-large|larger)~i'$sig$matches) !== false && isset($matches[2]))
{
foreach ($matches[1] as $ind => $size)
{
$limit_broke 0;
// Attempt to allow all sizes of abuse, so to speak.
if ($matches[2][$ind] == 'px' && $size $sig_limits[7])
$limit_broke $sig_limits[7] . 'px';
elseif ($matches[2][$ind] == 'pt' && $size > ($sig_limits[7] * 0.75))
$limit_broke = ((int) $sig_limits[7] * 0.75) . 'pt';
elseif ($matches[2][$ind] == 'em' && $size > ((float) $sig_limits[7] / 16))
$limit_broke = ((float) $sig_limits[7] / 16) . 'em';
elseif ($matches[2][$ind] != 'px' && $matches[2][$ind] != 'pt' && $matches[2][$ind] != 'em' && $sig_limits[7] < 18)
$limit_broke 'large';

if ($limit_broke)
$sig str_replace($matches[0][$ind], '[size=' $sig_limits[7] . 'px'$sig);
}
}

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: henry74 on June 08, 2009, 09:27:04 AM
AND

PART 2.

// Stupid images - this is stupidly, stupidly challenging.
if ((!empty($sig_limits[3]) || !empty($sig_limits[5]) || !empty($sig_limits[6])))
{
$replaces = array();
$img_count = 0;
// Get all BBC tags...
preg_match_all('~\[img(\s+width=([\d]+))?(\s+height=([\d]+))?(\s+width=([\d]+))?\s*\](?:<br />)*([^<">]+?)(?:<br />)*\[/img\]~i', $sig, $matches);
// ... and all HTML ones.
preg_match_all('~&lt;img\s+src=(?:&quot;)?((?:http://|ftp://|https://|ftps://).+?)(?:&quot;)?(?:\s+alt=(?:&quot;)?(.*?)(?:&quot;)?)?(?:\s?/)?&gt;~i', $sig, $matches2, PREG_PATTERN_ORDER);
// And stick the HTML in the BBC.
if (!empty($matches2))
{
foreach ($matches2[0] as $ind => $dummy)
{
$matches[0][] = $matches2[0][$ind];
$matches[1][] = '';
$matches[2][] = '';
$matches[3][] = '';
$matches[4][] = '';
$matches[5][] = '';
$matches[6][] = '';
$matches[7][] = $matches2[1][$ind];
}
}
// Try to find all the images!
if (!empty($matches))
{
$image_count_holder = array();
foreach ($matches[0] as $key => $image)
{
$width = -1; $height = -1;
$img_count++;
// Too many images?
if (!empty($sig_limits[3]) && $img_count > $sig_limits[3])
{
// If we've already had this before we only want to remove the excess.
if (isset($image_count_holder[$image]))
{
$img_offset = -1;
$rep_img_count = 0;
while ($img_offset !== false)
{
$img_offset = strpos($sig, $image, $img_offset + 1);
$rep_img_count++;
if ($rep_img_count > $image_count_holder[$image])
{
// Only replace the excess.
$sig = substr($sig, 0, $img_offset) . str_replace($image, '', substr($sig, $img_offset));
// Stop looping.
$img_offset = false;
}
}
}
else
$replaces[$image] = '';

continue;
}

// Does it have predefined restraints? Width first.
if ($matches[6][$key])
$matches[2][$key] = $matches[6][$key];
if ($matches[2][$key] && $sig_limits[5] && $matches[2][$key] > $sig_limits[5])
{
$width = $sig_limits[5];
$matches[4][$key] = $matches[4][$key] * ($width / $matches[2][$key]);
}
elseif ($matches[2][$key])
$width = $matches[2][$key];
// ... and height.
if ($matches[4][$key] && $sig_limits[6] && $matches[4][$key] > $sig_limits[6])
{
$height = $sig_limits[6];
if ($width != -1)
$width = $width * ($height / $matches[4][$key]);
}
elseif ($matches[4][$key])
$height = $matches[4][$key];

// If the dimensions are still not fixed - we need to check the actual image.
if (($width == -1 && $sig_limits[5]) || ($height == -1 && $sig_limits[6]))
{
$sizes = url_image_size($matches[7][$key]);
if (is_array($sizes))
{
// Too wide?
if ($sizes[0] > $sig_limits[5] && $sig_limits[5])
{
$width = $sig_limits[5];
$sizes[1] = $sizes[1] * ($width / $sizes[0]);
}
// Too high?
if ($sizes[1] > $sig_limits[6] && $sig_limits[6])
{
$height = $sig_limits[6];
if ($width == -1)
$width = $sizes[0];
$width = $width * ($height / $sizes[1]);
}
elseif ($width != -1)
$height = $sizes[1];
}
}

// Did we come up with some changes? If so remake the string.
if ($width != -1 || $height != -1)
{
$replaces[$image] = '[img' . ($width != -1 ? ' width=' . round($width) : '') . ($height != -1 ? ' height=' . round($height) : '') . ']' . $matches[7][$key] . '[/img]';
}

// Record that we got one.
$image_count_holder[$image] = isset($image_count_holder[$image]) ? $image_count_holder[$image] + 1 : 1;
}
if (!empty($replaces))
$sig = str_replace(array_keys($replaces), array_values($replaces), $sig);
}
}
// Try to fix disabled tags.
if (!empty($disabledTags))
{
$sig = preg_replace('~\[(' . implode('|', $disabledTags) . ').+?\]~i', '', $sig);
$sig = preg_replace('~\[/(' . implode('|', $disabledTags) . ')\]~i', '', $sig);
}

$sig = strtr($sig, array("\n" => '<br />'));
if ($sig != $row['signature'])
$changes[$row['id_member']] = $sig;
}
if ($smcFunc['db_num_rows']($request) == 0)
$done = true;
$smcFunc['db_free_result']($request);

// Do we need to delete what we have?
if (!empty($changes))
{
foreach ($changes as $id => $sig)
$smcFunc['db_query']('', '
UPDATE {db_prefix}members
SET signature = {string:signature}
WHERE id_member = {int:id_member}',
array(
'id_member' => $id,
'signature' => $sig,
)
);
}

$_GET['step'] += 50;
if (!$done)
pauseSignatureApplySettings();
}
}

$context['signature_settings'] = array(
'enable' => isset($sig_limits[0]) ? $sig_limits[0] : 0,
'max_length' => isset($sig_limits[1]) ? $sig_limits[1] : 0,
'max_lines' => isset($sig_limits[2]) ? $sig_limits[2] : 0,
'max_images' => isset($sig_limits[3]) ? $sig_limits[3] : 0,
'max_smileys' => isset($sig_limits[4]) ? $sig_limits[4] : 0,
'max_image_width' => isset($sig_limits[5]) ? $sig_limits[5] : 0,
'max_image_height' => isset($sig_limits[6]) ? $sig_limits[6] : 0,
'max_font_size' => isset($sig_limits[7]) ? $sig_limits[7] : 0,
);

// Temporarily make each setting a modSetting!
foreach ($context['signature_settings'] as $key => $value)
$modSettings['signature_' . $key] = $value;

// Make sure we check the right tags!
$modSettings['bbc_disabled_signature_bbc'] = $disabledTags;

// Saving?
if (isset($_GET['save']))
{
checkSession();

// Clean up the tag stuff!
$bbcTags = array();
foreach (parse_bbc(false) as $tag)
$bbcTags[] = $tag['tag'];

if (!isset($_POST['signature_bbc_enabledTags']))
$_POST['signature_bbc_enabledTags'] = array();
elseif (!is_array($_POST['signature_bbc_enabledTags']))
$_POST['signature_bbc_enabledTags'] = array($_POST['signature_bbc_enabledTags']);

$sig_limits = array();
foreach ($context['signature_settings'] as $key => $value)
$sig_limits[] = !empty($_POST['signature_' . $key]) ? max(1, (int) $_POST['signature_' . $key]) : 0;

$_POST['signature_settings'] = implode(',', $sig_limits) . ':' . implode(',', array_diff($bbcTags, $_POST['signature_bbc_enabledTags']));

// Even though we have practically no settings let's keep the convention going!
$save_vars = array();
$save_vars[] = array('text', 'signature_settings');

saveDBSettings($save_vars);
redirectexit('action=admin;area=featuresettings;sa=sig');
}

$context['post_url'] = $scripturl . '?action=admin;area=featuresettings;save;sa=sig';
$context['settings_title'] = $txt['signature_settings'];

$context['settings_message'] = '<div align="center" class="smalltext alert">' . sprintf($txt['signature_settings_warning'], $sc) . '</div>';

prepareDBSettingContext($config_vars);
}

// Just pause the signature applying thing.
function pauseSignatureApplySettings()
{
global $context, $txt, $sig_start;

// Try get more time...
@set_time_limit(600);
if (function_exists('apache_reset_timeout'))
apache_reset_timeout();

// Have we exhausted all the time we allowed?
if (time() - array_sum(explode(' ', $sig_start)) < 3)
return;

$context['continue_get_data'] = '?action=admin;area=featuresettings;sa=sig;apply;step=' . $_GET['step'] . ';' . $context['session_var'] . '=' . $context['session_id'];
$context['page_title'] = $txt['not_done_title'];
$context['continue_post_data'] = '';
$context['continue_countdown'] = '2';
$context['sub_template'] = 'not_done';

// Specific stuff to not break this template!
$context[$context['admin_menu_name']]['current_subsection'] = 'sig';

// Get the right percent.
$context['continue_percent'] = round(($_GET['step'] / $context['max_member']) * 100);

// Never more than 100%!
$context['continue_percent'] = min($context['continue_percent'], 100);

obExit();
}

// Show all the custom profile fields available to the user.
function ShowCustomProfiles()
{
global $txt, $scripturl, $context, $settings, $sc, $smcFunc;
global $modSettings, $sourcedir;

$context['page_title'] = $txt['custom_profile_title'];
$context['sub_template'] = 'show_custom_profile';

// What about standard fields they can tweak?
$standard_fields = array('icq', 'msn', 'aim', 'yim', 'location', 'gender', 'website', 'posts', 'warning_status');
// What fields can't you put on the registration page?
$context['fields_no_registration'] = array('posts', 'warning_status');

// Are we saving any standard field changes?
if (isset($_POST['save']))
{
checkSession();

// Do the active ones first.
$disable_fields = array_flip($standard_fields);
if (!empty($_POST['active']))
{
foreach ($_POST['active'] as $value)
if (isset($disable_fields[$value]))
unset($disable_fields[$value]);
}
// What we have left!
$changes['disabled_profile_fields'] = empty($disable_fields) ? '' : implode(',', array_keys($disable_fields));

// Things we want to show on registration?
$reg_fields = array();
if (!empty($_POST['reg']))
{
foreach ($_POST['reg'] as $value)
if (in_array($value, $standard_fields) && !isset($disable_fields[$value]))
$reg_fields[] = $value;
}
// What we have left!
$changes['registration_fields'] = empty($reg_fields) ? '' : implode(',', $reg_fields);

if (!empty($changes))
updateSettings($changes);
}

require_once($sourcedir . '/Subs-List.php');

$listOptions = array(
'id' => 'standard_profile_fields',
'title' => $txt['standard_profile_title'],
'base_href' => $scripturl . '?action=admin;area=featuresettings;sa=profile',
'get_items' => array(
'function' => 'list_getProfileFields',
'params' => array(
true,
),
),
'columns' => array(
'field' => array(
'header' => array(
'value' => $txt['standard_profile_field'],
'style' => 'text-align: left;',
),
'data' => array(
'db' => 'label',
'style' => 'width: 60%;',
),
),
'active' => array(
'header' => array(
'value' => $txt['custom_edit_active'],
),
'data' => array(
'function' => create_function('$rowData', '
$isChecked = $rowData[\'disabled\'] ? \'\' : \' checked="checked"\';
$onClickHandler = $rowData[\'can_show_register\'] ? sprintf(\'onclick="document.getElementById(\\\'reg_%1$s\\\').disabled = !this.checked;"\', $rowData[\'id\']) : \'\';
return sprintf(\'<input type="checkbox" name="active[]" id="active_%1$s" value="%1$s" class="check"%2$s%3$s />\', $rowData[\'id\'], $isChecked, $onClickHandler);
'),
'class' => 'windowbg',
'style' => 'width: 20%; text-align: center;',
),
),
'show_on_registration' => array(
'header' => array(
'value' => $txt['custom_edit_registration'],
),
'data' => array(
'function' => create_function('$rowData', '
$isChecked = $rowData[\'on_register\'] && !$rowData[\'disabled\'] ? \' checked="checked"\' : \'\';
$isDisabled = $rowData[\'can_show_register\'] ? \'\' : \' disabled="disabled"\';
return sprintf(\'<input type="checkbox" name="reg[]" id="reg_%1$s" value="%1$s" class="check"%2$s%3$s />\', $rowData[\'id\'], $isChecked, $isDisabled);
'),
'class' => 'windowbg',
'style' => 'width: 20%; text-align: center;',
),
),
),
'form' => array(
'href' => $scripturl . '?action=admin;area=featuresettings;sa=profile',
'name' => 'standardProfileFields',
),
'additional_rows' => array(
array(
'position' => 'below_table_data',
'value' => '<input type="submit" name="save" value="' . $txt['save'] . '" />',
'style' => 'text-align: right;',
'class' => 'titlebg',
),
),
);
createList($listOptions);

$listOptions = array(
'id' => 'custom_profile_fields',
'title' => $txt['custom_profile_title'],
'base_href' => $scripturl . '?action=admin;area=featuresettings;sa=profile',
'default_sort_col' => 'field_name',
'no_items_label' => $txt['custom_profile_none'],
'items_per_page' => 25,
'get_items' => array(
'function' => 'list_getProfileFields',
'params' => array(
false,
),
),
'get_count' => array(
'function' => 'list_getProfileFieldSize',
),
'columns' => array(
'field_name' => array(
'header' => array(
'value' => $txt['custom_profile_fieldname'],
'style' => 'text-align: left;',
),
'data' => array(
'function' => create_function('$rowData', '
global $scripturl;

return sprintf(\'<a href="%1$s?action=admin;area=featuresettings;sa=profileedit;fid=%2$d">%3$s</a><div class="smalltext">%4$s</div>\', $scripturl, $rowData[\'id_field\'], $rowData[\'field_name\'], $rowData[\'field_desc\']);
'),
'style' => 'width: 62%;',
),
'sort' => array(
'default' => 'field_name',
'reverse' => 'field_name DESC',
),
),
'field_type' => array(
'header' => array(
'value' => $txt['custom_profile_fieldtype'],
'style' => 'text-align: left;',
),
'data' => array(
'function' => create_function('$rowData', '
global $txt;

$textKey = sprintf(\'custom_profile_type_%1$s\', $rowData[\'field_type\']);
return isset($txt[$textKey]) ? $txt[$textKey] : $textKey;
'),
'style' => 'width: 15%;',
),
'sort' => array(
'default' => 'field_type',
'reverse' => 'field_type DESC',
),
),
'active' => array(
'header' => array(
'value' => $txt['custom_profile_active'],
),
'data' => array(
'function' => create_function('$rowData', '
global $txt;

return $rowData[\'active\'] ? $txt[\'yes\'] : $txt[\'no\'];
'),
'class' => 'windowbg',
'style' => 'width: 8%; text-align: center;',
),
'sort' => array(
'default' => 'active DESC',
'reverse' => 'active',
),
),
'show_on_registration' => array(
'header' => array(
'value' => $txt['modify'],
),
'data' => array(
'sprintf' => array(
'format' => '<a href="' . $scripturl . '?action=admin;area=featuresettings;sa=profileedit;fid=%1$s">' . $txt['modify'] . '</a>',
'params' => array(
'id_field' => false,
),
),
'class' => 'windowbg',
'style' => 'width: 15%; text-align: center;',
),
),
),
'form' => array(
'href' => $scripturl . '?action=admin;area=featuresettings;sa=profileedit',
'name' => 'customProfileFields',
),
'additional_rows' => array(
array(
'position' => 'below_table_data',
'value' => '<input type="submit" name="new" value="' . $txt['custom_profile_make_new'] . '" />',
'style' => 'text-align: right;',
'class' => 'titlebg',
),
),
);
createList($listOptions);
}

function list_getProfileFields($start, $items_per_page, $sort, $standardFields)
{
global $txt, $modSettings, $smcFunc;

$list = array();

if ($standardFields)
{
$standard_fields = array('icq', 'msn', 'aim', 'yim', 'location', 'gender', 'website', 'posts', 'warning_status');
$fields_no_registration = array('posts', 'warning_status');
$disabled_fields = isset($modSettings['disabled_profile_fields']) ? explode(',', $modSettings['disabled_profile_fields']) : array();
$registration_fields = isset($modSettings['registration_fields']) ? explode(',', $modSettings['registration_fields']) : array();

foreach ($standard_fields as $field)
$list[] = array(
'id' => $field,
'label' => isset($txt['standard_profile_field_' . $field]) ? $txt['standard_profile_field_' . $field] : (isset($txt[$field]) ? $txt[$field] : $field),
'disabled' => in_array($field, $disabled_fields),
'on_register' => in_array($field, $registration_fields) && !in_array($field, $fields_no_registration),
'can_show_register' => !in_array($field, $fields_no_registration),
);
}
else
{
// Load all the fields.
$request = $smcFunc['db_query']('', '
SELECT id_field, col_name, field_name, field_desc, field_type, active
FROM {db_prefix}custom_fields
ORDER BY ' . $sort . '
LIMIT ' . $start . ', ' . $items_per_page,
array(
)
);
while ($row = $smcFunc['db_fetch_assoc']($request))
$list[] = $row;
$smcFunc['db_free_result']($request);
}

return $list;
}

function list_getProfileFieldSize()
{
global $smcFunc;

$request = $smcFunc['db_query']('', '
SELECT COUNT(*)
FROM {db_prefix}custom_fields',
array(
)
);

list ($numProfileFields) = $smcFunc['db_fetch_row']($request);
$smcFunc['db_free_result']($request);

return $numProfileFields;
}

// Edit some profile fields?
function EditCustomProfiles()
{
global $txt, $scripturl, $context, $settings, $sc, $smcFunc;

// Sort out the context!
$context['fid'] = isset($_GET['fid']) ? (int) $_GET['fid'] : 0;
$context[$context['admin_menu_name']]['current_subsection'] = 'profile';
$context['page_title'] = $context['fid'] ? $txt['custom_edit_title'] : $txt['custom_add_title'];
$context['sub_template'] = 'edit_profile_field';

// Load the profile language for section names.
loadLanguage('Profile');

if ($context['fid'])
{
$request = $smcFunc['db_query']('', '
SELECT id_field, col_name, field_name, field_desc, field_type, field_length, field_options,
show_reg, show_display, show_profile, private, active, default_value, can_search, bbc, mask
FROM {db_prefix}custom_fields
WHERE id_field = {int:current_field}',
array(
'current_field' => $context['fid'],
)
);
$context['field'] = array();
while ($row = $smcFunc['db_fetch_assoc']($request))
{
if ($row['field_type'] == 'textarea')
@list ($rows, $cols) = @explode(',', $row['default_value']);
else
{
$rows = 3;
$cols = 30;
}

$context['field'] = array(
'name' => $row['field_name'],
'desc' => $row['field_desc'],
'colname' => $row['col_name'],
'profile_area' => $row['show_profile'],
'reg' => $row['show_reg'],
'display' => $row['show_display'],
'type' => $row['field_type'],
'max_length' => $row['field_length'],
'rows' => $rows,
'cols' => $cols,
'bbc' => $row['bbc'] ? true : false,
'default_check' => $row['field_type'] == 'check' && $row['default_value'] ? true : false,
'default_select' => $row['field_type'] == 'select' || $row['field_type'] == 'radio' ? $row['default_value'] : '',
'options' => strlen($row['field_options']) > 1 ? explode(',', $row['field_options']) : array('', '', ''),
'active' => $row['active'],
'private' => $row['private'],
'can_search' => $row['can_search'],
'mask' => $row['mask'],
'regex' => substr($row['mask'], 0, 5) == 'regex' ? substr($row['mask'], 5) : '',
);
}
$smcFunc['db_free_result']($request);
}

// Setup the default values as needed.
if (empty($context['field']))
$context['field'] = array(
'name' => '',
'desc' => '',
'profile_area' => 'forumprofile',
'reg' => false,
'display' => false,
'type' => 'text',
'max_length' => 255,
'rows' => 4,
'cols' => 30,
'bbc' => false,
'default_check' => false,
'default_select' => '',
'options' => array('', '', ''),
'active' => true,
'private' => false,
'can_search' => false,
'mask' => 'none',
'regex' => '',
);

// Are we saving?
if (isset($_POST['save']))
{
checkSession();

// Everyone needs a name - even the (bracket) unknown...
if (trim($_POST['field_name']) == '')
fatal_lang_error('custom_option_need_name');
$_POST['field_name'] = $smcFunc['htmlspecialchars']($_POST['field_name']);
$_POST['field_desc'] = $smcFunc['htmlspecialchars']($_POST['field_desc']);

// Checkboxes...
$show_reg = isset($_POST['reg']) ? (int) $_POST['reg'] : 0;
$show_display = isset($_POST['display']) ? 1 : 0;
$bbc = isset($_POST['bbc']) ? 1 : 0;
$show_profile = $_POST['profile_area'];
$active = isset($_POST['active']) ? 1 : 0;
$private = isset($_POST['private']) ? (int) $_POST['private'] : 0;
$can_search = isset($_POST['can_search']) ? 1 : 0;

// Some masking stuff...
$mask = isset($_POST['mask']) ? $_POST['mask'] : '';
if ($mask == 'regex' && isset($_POST['regex']))
$mask .= $_POST['regex'];

$field_length = isset($_POST['max_length']) ? (int) $_POST['max_length'] : 255;

// Select options?
$field_options = '';
$newOptions = array();
$default = isset($_POST['default_check']) && $_POST['field_type'] == 'check' ? 1 : '';
if (!empty($_POST['select_option']) && ($_POST['field_type'] == 'select' || $_POST['field_type'] == 'radio'))
{
foreach ($_POST['select_option'] as $k => $v)
{
// Clean, clean, clean...
$v = $smcFunc['htmlspecialchars']($v);
$v = strtr($v, array(',' => ''));

// Nada, zip, etc...
if (trim($v) == '')
continue;

// Otherwise, save it boy.
$field_options .= $v . ',';
// This is just for working out what happened with old options...
$newOptions[$k] = $v;

// Is it default?
if (isset($_POST['default_select']) && $_POST['default_select'] == $k)
$default = $v;
}
$field_options = substr($field_options, 0, -1);
}

// Text area has default has dimensions
if ($_POST['field_type'] == 'textarea')
$default = (int) $_POST['rows'] . ',' . (int) $_POST['cols'];

// Come up with the unique name?
if (empty($context['fid']))
{
$colname = strtr(substr($_POST['field_name'], 0, 8), array(' ' => ''));
preg_match('~([\w\d_-]+)~', $colname, $matches);
if (!isset($matches[1]))
fatal_lang_error('custom_option_not_unique');
$colname = strtolower($matches[1]);

// If there is nothing to the name, then let's start out own - for foreign languages etc.
if (empty($colname))
$colname = 'cust_' . mt_rand(1, 999);

// Check this is unique.
$unique = false;
while ($unique == false)
{
$request = $smcFunc['db_query']('', '
SELECT id_field
FROM {db_prefix}custom_fields
WHERE col_name = {string:current_column}',
array(
'current_column' => $colname,
)
);
if ($smcFunc['db_num_rows']($request) == 0)
$unique = true;
else
$colname .= mt_rand(0, 9);
$smcFunc['db_free_result']($request);

if (strlen($colname) >= 12 && !$unique)
fatal_lang_error('custom_option_not_unique');
}
}
// Work out what to do with the user data otherwise...
else
{
// Anything going to check or select is pointless keeping - as is anything coming from check!
if (($_POST['field_type'] == 'check' && $context['field']['type'] != 'check')
|| (($_POST['field_type'] == 'select' || $_POST['field_type'] == 'radio') && $context['field']['type'] != 'select' && $context['field']['type'] != 'radio')
|| ($context['field']['type'] == 'check' && $_POST['field_type'] != 'check'))
{
$smcFunc['db_query']('', '
DELETE FROM {db_prefix}themes
WHERE variable = {string:current_column}
AND id_member > {int:no_member}',
array(
'no_member' => 0,
'current_column' => $context['field']['colname'],
)
);
}
// Otherwise - if the select is edited may need to adjust!
elseif ($_POST['field_type'] == 'select' || $_POST['field_type'] == 'radio')
{
$optionChanges = array();
$takenKeys = array();
// Work out what's changed!
foreach ($context['field']['options'] as $k => $option)
{
if (trim($option) == '')
continue;

// Still exists?
if (in_array($option, $newOptions))
{
$takenKeys[] = $k;
continue;
}
}

// Finally - have we renamed it - or is it really gone?
foreach ($optionChanges as $k => $option)
{
// Just been renamed?
if (!in_array($k, $takenKeys) && !empty($newOptions[$k]))
$smcFunc['db_query']('', '
UPDATE {db_prefix}themes
SET value = {string:new_value}
WHERE variable = {string:current_column}
AND value = {string:old_value}
AND id_member > {int:no_member}',
array(
'no_member' => 0,
'new_value' => $newOptions[$k],
'current_column' => $context['field']['colname'],
'old_value' => $option,
)
);
}
}
//!!! Maybe we should adjust based on new text length limits?
}

// Do the insertion/updates.
if ($context['fid'])
{
$smcFunc['db_query']('', '
UPDATE {db_prefix}custom_fields
SET field_name = {string:field_name}, field_desc = {string:field_desc},
field_type = {string:field_type}, field_length = {int:field_length},
field_options = {string:field_options}, show_reg = {int:show_reg}, show_display = {int:show_display},
show_profile = {string:show_profile}, private = {int:private}, active = {int:active}, default_value = {string:default_value},
can_search = {int:can_search}, bbc = {int:bbc}, mask = {string:mask}
WHERE id_field = {int:current_field}',
array(
'field_length' => $field_length,
'show_reg' => $show_reg,
'show_display' => $show_display,
'private' => $private,
'active' => $active,
'can_search' => $can_search,
'bbc' => $bbc,
'current_field' => $context['fid'],
'field_name' => $_POST['field_name'],
'field_desc' => $_POST['field_desc'],
'field_type' => $_POST['field_type'],
'field_options' => $field_options,
'show_profile' => $show_profile,
'default_value' => $default,
'mask' => $mask,
)
);

// Just clean up any old selects - these are a pain!
if (($_POST['field_type'] == 'select' || $_POST['field_type'] == 'radio') && !empty($newOptions))
$smcFunc['db_query']('', '
DELETE FROM {db_prefix}themes
WHERE variable = {string:current_column}
AND value NOT IN ({array_string:new_option_values})
AND id_member > {int:no_member}',
array(
'no_member' => 0,
'new_option_values' => $newOptions,
'current_column' => $context['field']['colname'],
)
);
}
else
{
$smcFunc['db_insert']('',
'{db_prefix}custom_fields',
array(
'col_name' => 'string', 'field_name' => 'string', 'field_desc' => 'string', 'field_type' => 'string',
'field_length' => 'string', 'field_options' => 'string', 'show_reg' => 'int', 'show_display' => 'int',
'show_profile' => 'string', 'private' => 'int', 'active' => 'int', 'default_value' => 'string',
'can_search' => 'int', 'bbc' => 'int', 'mask' => 'string',
),
array(
$colname, $_POST['field_name'], $_POST['field_desc'], $_POST['field_type'],
$field_length, $field_options, $show_reg, $show_display,
$show_profile, $private, $active, $default,
$can_search, $bbc, $mask,
),
array('id_field')
);
}
}
// Deleting?
elseif (isset($_POST['delete']) && $context['field']['colname'])
{
checkSession();

// Delete the user data first.
$smcFunc['db_query']('', '
DELETE FROM {db_prefix}themes
WHERE variable = {string:current_column}
AND id_member > {int:no_member}',
array(
'no_member' => 0,
'current_column' => $context['field']['colname'],
)
);
// Finally - the field itself is gone!
$smcFunc['db_query']('', '
DELETE FROM {db_prefix}custom_fields
WHERE id_field = {int:current_field}',
array(
'current_field' => $context['fid'],
)
);
}

// Rebuild display cache etc.
if (isset($_POST['delete']) || isset($_POST['save']))
{
checkSession();

$request = $smcFunc['db_query']('', '
SELECT col_name, field_name, bbc
FROM {db_prefix}custom_fields
WHERE show_display = {int:is_displayed}
AND active = {int:active}
AND private != {int:not_owner_only}
AND private != {int:not_admin_only}',
array(
'is_displayed' => 1,
'active' => 1,
'not_owner_only' => 2,
'not_admin_only' => 3,
)
);

$fields = array();
while ($row = $smcFunc['db_fetch_assoc']($request))
{
$fields[] = array(
'c' => strtr($row['col_name'], array('|' => '', ';' => '')),
'f' => strtr($row['field_name'], array('|' => '', ';' => '')),
'b' => ($row['bbc'] ? '1' : '0')
);
}
$smcFunc['db_free_result']($request);

updateSettings(array('displayFields' => serialize($fields)));
redirectexit('action=admin;area=featuresettings;sa=profile');
}
}

function ModifyPruningSettings($return_config = false)
{
global $txt, $scripturl, $sourcedir, $context, $settings, $sc, $modSettings;

// Make sure we understand what's going on.
loadLanguage('ManageSettings');

$config_vars = array(
// Even do the pruning?
// The array indexes are there so we can remove/change them before saving.
'pruningOptions' => array('check', 'pruningOptions'),
'',
// Various logs that could be pruned.
array('int', 'pruneErrorLog', 'postinput' => $txt['days_word']), // Error log.
array('int', 'pruneModLog', 'postinput' => $txt['days_word']), // Moderation log.
array('int', 'pruneBanLog', 'postinput' => $txt['days_word']), // Ban hit log.
array('int', 'pruneReportLog', 'postinput' => $txt['days_word']), // Report to moderator log.
array('int', 'pruneScheduledTaskLog', 'postinput' => $txt['days_word']), // Log of the scheduled tasks and how long they ran.
array('int', 'pruneSpiderHitLog', 'postinput' => $txt['days_word']), // Log of the scheduled tasks and how long they ran.
// If you add any additional logs make sure to add them after this point.  Additionally, make sure you add them to the weekly scheduled task.
// Mod Developers: Do NOT use the pruningOptions master variable for this as SMF Core may overwrite your setting in the future!
);

if ($return_config)
return $config_vars;

// We'll need this in a bit.
require_once($sourcedir . '/ManageServer.php');

// Saving?
if (isset($_GET['save']))
{
checkSession();

$savevar = array(
array('text', 'pruningOptions')
);

if (!empty($_POST['pruningOptions']))
{
$vals = array();
foreach ($config_vars as $index => $dummy)
{
if (!is_array($dummy) || $index == 'pruningOptions')
continue;

$vals[] = empty($_POST[$dummy[1]]) || $_POST[$dummy[1]] < 0 ? 0 : (int) $_POST[$dummy[1]];
}
$_POST['pruningOptions'] = implode(',', $vals);
}
else
$_POST['pruningOptions'] = '';

saveDBSettings($savevar);
redirectexit('action=admin;area=logs;sa=pruning');
}

$context['post_url'] = $scripturl . '?action=admin;area=logs;save;sa=pruning';
$context['settings_title'] = $txt['pruning_title'];
$context['sub_template'] = 'show_settings';

// Get the actual values
if (!empty($modSettings['pruningOptions']))
@list ($modSettings['pruneErrorLog'], $modSettings['pruneModLog'], $modSettings['pruneBanLog'], $modSettings['pruneReportLog'], $modSettings['pruneScheduledTaskLog'], $modSettings['pruneSpiderHitLog']) = explode(',', $modSettings['pruningOptions']);
else
$modSettings['pruneErrorLog'] = $modSettings['pruneModLog'] = $modSettings['pruneBanLog'] = $modSettings['pruneReportLog'] = $modSettings['pruneScheduledTaskLog'] = $modSettings['pruneSpiderHitLog'] = 0;

prepareDBSettingContext($config_vars);
}

// If you have a general mod setting to add stick it here.
function ModifyGeneralModSettings($return_config = false)
{
global $txt, $scripturl, $context, $settings, $sc, $modSettings;

$config_vars = array(
// Mod authors, add any settings UNDER this line. Include a comma at the end of the line and don't remove this statement!!
);

if ($return_config)
return $config_vars;

$context['post_url'] = $scripturl . '?action=admin;area=modsettings;save;sa=general';
$context['settings_title'] = $txt['mods_cat_modifications_misc'];

// No removing this line you, dirty unwashed mod authors. :p
if (empty($config_vars))
{
$context['settings_save_dont_show'] = true;
$context['settings_message'] = '<div style="text-align: center">' . $txt['modification_no_misc_settings'] . '</div>';

return prepareDBSettingContext($config_vars);
}

// Saving?
if (isset($_GET['save']))
{
checkSession();

$save_vars = $config_vars;

// This line is to help mod authors do a search/add after if you want to add something here. Keyword: FOOT TAPPING SUCKS!

saveDBSettings($save_vars);

// This line is to help mod authors do a search/add after if you want to add something here. Keyword: I LOVE TEA!

redirectexit('action=admin;area=modsettings;sa=general');
}

// This line is to help mod authors do a search/add after if you want to add something here. Keyword: RED INK IS FOR TEACHERS AND THOSE WHO LIKE PAIN!

prepareDBSettingContext($config_vars);
}


// Aeva - START
function ModifyAevaSettings($return_config = false)
{
global $sourcedir;
@require_once($sourcedir .'/Subs-Aeva-Admin.php');
return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : '');
}
// Aeva - END


// Aeva - START
function ModifyAevaSettings($return_config = false)
{
global $sourcedir;
@require_once($sourcedir .'/Subs-Aeva-Admin.php');
return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : '');
}
// Aeva - END

?>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on June 08, 2009, 09:42:36 AM
Try this one.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: henry74 on June 08, 2009, 09:53:08 AM
Quote from: Özgür´ on June 08, 2009, 09:42:36 AM
Try this one.

Terrific !!! Thank you !
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 08, 2009, 10:00:57 AM
henry74, please use the attachment feature in SMF to post files, instead of the code feature...

Ozgur, please don't tell people things like that. This error means that the mod was installed twice. Simply removing the extra function in ManageSettings.php will stop the crashes, but it will still be a completely failed install that will run Aeva twice every time -- definitely not a good idea. The thing is explained in the readme file, in the mod site page and on page 1 of this topic...

BTW Ozgur, I'm working on implementing the multiple prev/next thumbnails stuff you requested. Tell me what you think of it:
http://media.noisen.com/item/771/ (just an example.)
I also added a setting to choose between no prevnext / text links (as usual) / 3 items / 5 items (like now).
Will be committed before tomorrow, hopefully. I'm having ISP issues so I'm taking a break until my connection works better.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on June 08, 2009, 10:22:32 AM
This is great! And this is completely my request and i love it. Maybe need small style codes (not important). Thanks again Nao.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 08, 2009, 01:39:30 PM
You're welcome. It's been in my to-do-list since day 1 so I really needed to do it...
Still, I'm interested in learning what you'd change in terms of style. I'm scratching my head over the best possible layout, maybe you could help...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: henry74 on June 08, 2009, 03:03:16 PM
Hi, related to previous post,  thank you for solved the problem of the aeva configuration page, I have aproblem now that any time i post a video it apperars twice ¿any ideas?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on June 08, 2009, 04:25:10 PM
I send pm to you Nao. (Because many things is secret=)).

@henry74 because you install aeva twice. You should make a control for codes.
Look at manual install for aeva (in mod site).
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: reeltime on June 08, 2009, 05:30:23 PM
I just tried installing Aeva 6.9 on SMF rc1. I had 6.2 running fine, I uninstalled the old version before installing the new one and now I get this message when taken to the aeva settings page...

// Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END // Aeva - START function ModifyAevaSettings($return_config = false) { global $sourcedir; @require_once($sourcedir .'/Subs-Aeva-Admin.php'); return aeva_admin_manager($return_config, isset($_GET['sa']) ? $_GET['sa'] : ''); } // Aeva - END
Fatal error: Call to undefined function ModifyAevaSettings() in /home4/reeltim2/public_html/pikebait/Sources/ManageSettings.php on line 231

I see now I have many duplicate .php files in my sources folder and such. I have tried removing the duplicates, after uninstalling the new version of aeva, then re-installing....same problem. What have I done wrong?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 08, 2009, 05:36:58 PM
@henry> That's what I told you... Do you read my messages?

@Ozgur> Long PM! No time to read it for now. I haven't had time to finish my implementation either, so I'm committing it so that you can play with it and style it your way if you'd like.

@reeltime> Read the readme...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: henry74 on June 08, 2009, 05:53:16 PM
Quote from: Nao 尚 on June 08, 2009, 05:36:58 PM
@henry> That's what I told you... Do you read my messages?

relax man, you look burned.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: reeltime on June 08, 2009, 06:10:40 PM
Ok, I read the readme.txt file from the Aeva 6.9.99 zip file I extracted. There is nothing in there I can see that's supposed to answer my question. Is there another readme file I should be looking at?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on June 08, 2009, 06:27:41 PM
henry...   As Nao stated (and as we state every time someone double installs) removing the function causing the duplicate error only fixes PART of the issue.   The point is that you double installed the whole mod... so **ALL** code was doubled.   You need to go into your php files and remove the duplicated code in each case.   read the manual install instructions to find out what files and what code you need to look at.

reeltime..    you likely have the ajaxchat (or some other) mod installed  which does not correctly install, and hence causes problems with future mods (like AEVA). The fix is to either manually correct the code in the files or to uninstall both mods, then install AEVA *FIRST* and ajaxchat last.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: reeltime on June 08, 2009, 08:45:01 PM
I get this when trying to uninstall Ajax...

Uninstall Actions "AjaxChat Integration":
Installing this package will perform the following actions:
      Type    Action    Description
*    1.    Execute Modification    ./Sources/Admin.php    Test failed
      1.    Replace    ./Sources/Admin.php    Test failed
      2.    Replace    ./Sources/Admin.php    Test failed
*    2.    Execute Modification    ./Sources/BoardIndex.php    Test failed
      1.    Replace    ./Sources/BoardIndex.php    Test failed
      2.    Replace    ./Sources/BoardIndex.php    Test failed
*    3.    Execute Modification    ./Sources/Load.php    Test failed
      1.    Add Before    ./Sources/Load.php    Test failed
*    4.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
      1.    Replace    ./Sources/ManagePermissions.php    Test successful
*    5.    Execute Modification    ./Sources/ManageSettings.php    Test successful
      1.    Replace    ./Sources/ManageSettings.php    Test successful
      2.    Replace    ./Sources/ManageSettings.php    Test successful
      3.    Replace    ./Sources/ManageSettings.php    Test successful
*    6.    Execute Modification    ./Sources/Subs.php    Test successful
      1.    Replace    ./Sources/Subs.php    Test successful
*    7.    Execute Modification    ./Themes/default/BoardIndex.template.php    Test successful
      1.    Replace    ./Themes/default/BoardIndex.template.php    Test successful
*    8.    Execute Modification    ./Themes/default/index.template.php    Test successful
      1.    Replace    ./Themes/default/index.template.php    Test successful
      2.    Replace    ./Themes/default/index.template.php    Test successful
      3.    Replace    ./Themes/default/index.template.php    Test successful
*    9.    Execute Modification    ./Themes/default/style.css    Test successful
      1.    Replace    ./Themes/default/style.css    Test successful
*    10.    Execute Modification    ./Themes/default/languages/Help.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/Help.english.php    Test successful
*    11.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/Modifications.english.php    Test successful
   12.    Execute Modification    ./Themes/default/languages/Help.persian.php    Skipping file
   13.    Execute Modification    ./Themes/default/languages/Modifications.persian.php    Skipping file
   14.    Delete Tree    ./chat    
   15.    Delete Tree    ./shoutBox    

I'm way out of my league now. Wish I hadn't upgraded.  :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on June 08, 2009, 09:38:14 PM
You are using SMF 2.0?   If so, then it cleaqrly indicates what code has to be changed...   it just can't do it automatically...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: DirtRider on June 09, 2009, 04:38:06 AM
Quote from: DirtRider on June 08, 2009, 06:53:18 AM
I have installed this mod on SMF 1.1.9 and it just does not work. I have enabled it setup all the options but nothing. I thought it may be a host issue so I created a new forum and installed it on that one and it worked straight off. I am now at a total loss as what more to look for and why it just does not work.

Aeva ~ Auto-Embed Video & Audio      6.9.99
MF Media Gallery      1.5.6

Other mods

eFloating Bar for Guest & Members      0.1  - Work on test site with this installed
TinyPortal      1.083 - Work on test site with this installed
Post Box Message      1.1  -  Never tried on test site but removed and it still did not work
Advanced Contact Form      1.1  - Work on test site with this
Welcome Topic Mod      2.0.2  - Never tried on test site but removed and it still did not work
Admins Can Post As Alternative User      1.0  - Never tried on test site but removed and it still did not work
Aligned and Bilateral Child Boards      1.4 - Work on test site with this installed
SMF Affiliates      v2 - Work on test site with this installed

Ok I am now even more in the dark why the above will not work. What I did now was take my test site that is working and made it my working site looking at my old forums database and still this mod does not work. However it works on my test site. So if any one has any ideas on this I would really appreciate some help here  :'(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: reeltime on June 10, 2009, 12:52:03 PM
Quote from: Kindred on June 08, 2009, 09:38:14 PM
You are using SMF 2.0?   If so, then it cleaqrly indicates what code has to be changed...   it just can't do it automatically...

I'll tell you right now, if I get in there and start changing code I might as well just delete the whole forum and start over lol  >:(

I'll have that thing crashed in mere seconds.  :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on June 10, 2009, 03:56:22 PM
My user try to send this message
azrail  vs  yaşlı adam

http://www.izlesene.com/video/komik_videolar-azrail-vs-yasli-moruk-dd/846963

But can't send message. Error say "You don't enter your message".

If i try to disable lookup,message sending but if i enable message not sending.
What i need to lookup working?
Edit : I found it. Problem is not lookup. Problem is "Try to find titles in all sites". I disabled it and message sending now. But i still don't understand.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on June 11, 2009, 04:14:33 AM
BBC iPlayer is no longer working: the video embeds but once you click play it says it can't load. When you actually click direct into the video it works fine.

Example: http://www.bbc.co.uk/iplayer/episode/b00l5wff/Queens_2009_Day_3_Part_1/?src=a_syn30

Error: "This content doesn't seem to be working, try again later."
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on June 11, 2009, 08:05:05 AM
Quote from: mark7144 on June 11, 2009, 04:14:33 AM
BBC iPlayer is no longer working: the video embeds but once you click play it says it can't load. When you actually click direct into the video it works fine.

Example: http://www.bbc.co.uk/iplayer/episode/b00l5wff/Queens_2009_Day_3_Part_1/?src=a_syn30

Error: "This content doesn't seem to be working, try again later."
Yeah I was hoping someone would confirm this, so not just me then :(
Some links are working but none of the iplayer links as far as I can see so far.
One of the none iplayer weather links isn't working so it seems a bit hit and miss. I guess the beeb is messing about to stop peeps embedding!
up to date!

News working E.g. http://news.bbc.co.uk/1/hi/uk/8094088.stm
http://news.bbc.co.uk/1/hi/business/8093421.stm

This one below does embed but comes up with that same message over the image when you click the "Play button! The content doesn't seem to be working. Try again later."
http://www.bbc.co.uk/iplayer/episode/b00l22z7/World_News_Today_10_06_2009/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 12, 2009, 09:19:43 AM
@Everyone> I'm currently "out of order". My work environment is no longer working. I'm typing this under a bare reinstall of Windows with no features enabled. I'll probably need a few more days to be up and running.

@Rock> Can you reproduce this bug?

@mark> I said it earlier: I'm not fixing this, because non-UK residents are not allowed to view their videos. So how could I test...? Also, I'm getting this when clicking on the link...

QuoteYou tried to access the address http://www.bbc.co.uk/iplayer/episode/b00l5wff/Queens_2009_Day_3_Part_1/?src=a_syn30, which is currently unavailable. Please make sure that the Web address (URL) is correctly spelled and punctuated, then try reloading the page.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: saibaworld on June 12, 2009, 12:30:02 PM
Hi everyone, i downloaded the AEVA mod and uploaded via the package manager in my admin panel and got this msg:

Package uploaded successfully
Package has been downloaded successfully

Aeva ~ Auto-Embed Video & Audio    [ Apply Mod ] [ List Files ]


Pls wat am i do next?

Thanks in advance
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on June 12, 2009, 12:35:41 PM
You should run a backup before applying any mod. Just in case.
Once you apply the mod, all you need to do is drop links in your posts or PM's and bobs your uncle! They should embed..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: saibaworld on June 12, 2009, 02:01:43 PM
Quote from: Jaba on June 12, 2009, 12:35:41 PM
You should run a backup before applying any mod. Just in case.
Once you apply the mod, all you need to do is drop links in your posts or PM's and bobs your uncle! They should embed..

Pls Jaba, how do i:
a) run a back up? i ve neva run one b4; and
b) wat do u mean by 'drop links in ur posts or PM's & bobs ur uncle'? i dont understand at all

Am so sorry but, pls can u xplain both a) and b) above well?
thanks in advance
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jaba on June 12, 2009, 02:56:33 PM
Quote from: drtonik on June 12, 2009, 02:01:43 PM
Quote from: Jaba on June 12, 2009, 12:35:41 PM
You should run a backup before applying any mod. Just in case.
Once you apply the mod, all you need to do is drop links in your posts or PM's and bobs your uncle! They should embed..

Pls Jaba, how do i:
a) run a back up? i ve neva run one b4; and
b) wat do u mean by 'drop links in ur posts or PM's & bobs ur uncle'? i dont understand at all

Am so sorry but, pls can u xplain both a) and b) above well?
thanks in advance
a) Under Admin - Forum Maintenance - Backup Database
Use this option to Download a Backup to your PC etc so in the event of a Site and or Server failure you will be able to Restore your site!!
b) You can get a lot of info from the mod's page itself here http://custom.simplemachines.org/mods/index.php?mod=977

This mod is for embedding video or audio into your forum's posts etc! You can copy a link from YouTube, paste it into one of your posts on your site and it will embed that into your site where it can be played without leaving your website!
That's it, it's as simple as that!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on June 12, 2009, 03:34:30 PM
Quote from: Nao 尚 on June 12, 2009, 09:19:43 AM
@mark> I said it earlier: I'm not fixing this, because non-UK residents are not allowed to view their videos. So how could I test...? Also, I'm getting this when clicking on the link...
Only way is using an open proxy, there are lists of them online but I appreciate it's requires effort.

AEVA no longer supports BBC iPlayer so you might as well remove it but BBC News is still fine for me.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: saibaworld on June 12, 2009, 05:00:16 PM
Quote from: Jaba on June 12, 2009, 02:56:33 PM
Quote from: drtonik on June 12, 2009, 02:01:43 PM
Quote from: Jaba on June 12, 2009, 12:35:41 PM
You should run a backup before applying any mod. Just in case.
Once you apply the mod, all you need to do is drop links in your posts or PM's and bobs your uncle! They should embed..

Pls Jaba, how do i:
a) run a back up? i ve neva run one b4; and
b) wat do u mean by 'drop links in ur posts or PM's & bobs ur uncle'? i dont understand at all

Am so sorry but, pls can u xplain both a) and b) above well?
thanks in advance
a) Under Admin - Forum Maintenance - Backup Database
Use this option to Download a Backup to your PC etc so in the event of a Site and or Server failure you will be able to Restore your site!!
b) You can get a lot of info from the mod's page itself here http://custom.simplemachines.org/mods/index.php?mod=977

This mod is for embedding video or audio into your forum's posts etc! You can copy a link from YouTube, paste it into one of your posts on your site and it will embed that into your site where it can be played without leaving your website!
That's it, it's as simple as that!

Thanks dude. Was as smooth as silk.  :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on June 12, 2009, 05:10:39 PM
Quote from: Nao 尚 on June 12, 2009, 09:19:43 AM
@Rock> Can you reproduce this bug?
I can't. But if you have time ( i know you' have some problems for your pc) you can try on my site. You already have all information on my site. Maybe you explain mean it "reproduce".
Plus I don't now what is the difference izlesene.com from others.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Neverhurry on June 13, 2009, 05:30:02 AM
hi,

i would like to add swissinfo.ch and ina.fr to the list, but after trying according to the example file i failed, it is just too difficult for me, can anybody here can give me a hand how to do it?
thank you very much!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 13, 2009, 05:47:25 AM
I'm not sure ina.fr can be embedded. It returns a QuickTime video. There's no player at all. Let's just say I don't like QuickTime, it has a tendency to crash browsers. Even though Aeva supports QuickTime playing, I try to keep it to a minimum.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on June 13, 2009, 08:36:07 AM
a note on backups....

backup database ONLY backs up the database...
Most mods don't modify the database at all...  they modify FILES.

So, to do a backup, what you need to do is log in to FTP and take a copy of all of your forum files.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: DirtRider on June 13, 2009, 10:50:18 AM
Quote from: DirtRider on June 09, 2009, 04:38:06 AM
Quote from: DirtRider on June 08, 2009, 06:53:18 AM
I have installed this mod on SMF 1.1.9 and it just does not work. I have enabled it setup all the options but nothing. I thought it may be a host issue so I created a new forum and installed it on that one and it worked straight off. I am now at a total loss as what more to look for and why it just does not work.

Aeva ~ Auto-Embed Video & Audio      6.9.99
MF Media Gallery      1.5.6

Other mods

eFloating Bar for Guest & Members      0.1  - Work on test site with this installed
TinyPortal      1.083 - Work on test site with this installed
Post Box Message      1.1  -  Never tried on test site but removed and it still did not work
Advanced Contact Form      1.1  - Work on test site with this
Welcome Topic Mod      2.0.2  - Never tried on test site but removed and it still did not work
Admins Can Post As Alternative User      1.0  - Never tried on test site but removed and it still did not work
Aligned and Bilateral Child Boards      1.4 - Work on test site with this installed
SMF Affiliates      v2 - Work on test site with this installed

Ok I am now even more in the dark why the above will not work. What I did now was take my test site that is working and made it my working site looking at my old forums database and still this mod does not work. However it works on my test site. So if any one has any ideas on this I would really appreciate some help here  :'(

Well if anyone else ever has this problem here is how you fix it  ;D

posts n topics >> bbc/ bulitin brd code >> Automatically link posted URLs  (make sure it is checked)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 13, 2009, 11:18:45 AM
You know that's in the readme, don't you? ;)
Second entry in the "Support" section... The first place anyone should go read in case of an issue with Aeva...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: DirtRider on June 13, 2009, 12:39:25 PM
 :D We have a readme with Aeva  :o :-[  ;D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 13, 2009, 02:11:14 PM
On page 1 of this topic, on the mod site's Aeva page, and in the Aeva package's readme.txt file..............
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Neverhurry on June 14, 2009, 06:26:36 AM
Quote from: Nao 尚 on June 13, 2009, 05:47:25 AM
I'm not sure ina.fr can be embedded. It returns a QuickTime video. There's no player at all. Let's just say I don't like QuickTime, it has a tendency to crash browsers. Even though Aeva supports QuickTime playing, I try to keep it to a minimum.

thank you, but how about swissinfo.ch, is it possible to be added to the sitelist?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 14, 2009, 07:37:20 AM
swissinfo.ch can be done, I think. It shouldn't even require a lookup. As for adding it myself, that's a no, for the usual reasons.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Chris Martindale on June 14, 2009, 04:58:55 PM
I know it is here somewhere, please direct me to how to install this mod for the beginner. Thanks. CM
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rowdy on June 15, 2009, 02:37:09 PM
Nao, can u please add support for .f4v flash/h264 videos for local embeds?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rusg on June 16, 2009, 05:57:31 AM
Merci beaucoup pour ce mode ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 16, 2009, 06:54:27 AM
Quote from: RowdyMusician on June 15, 2009, 02:37:09 PM
Nao, can u please add support for .f4v flash/h264 videos for local embeds?
Use SMF Media Gallery 2.0 for that. It'll be released soon.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Neverhurry on June 16, 2009, 07:31:57 AM
hi,

anybody can give me a helping hand to point out where did i make mistakes in coding. i worked more than 1 hour, but still doesn't work.
i install the latest 6.9.99 in SMF 1.1.9

many many thanks~!

site: swissinfo.ch

$sites[] = array(
'id' => 'swi',
'title' => 'swissinfo',
'website' => 'http://www.swissinfo.ch',
'type' => 'custom',
'added' => '6.9.99',
'pattern' => 'http://www\.swissinfo.\.ch/([a-z]{3})/multimedia/video/([a-z])\.html\?siteSect=15045&sid=([0-9]{8})',
'movie' => 'http://www.swissinfo.ch/08/flash/videoplayers/vp_standalone22.swf?sid=$2',
'size' => array(480, 290),
'show-link' => true,
'lookup-title' => false,
);
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rowdy on June 16, 2009, 09:30:43 AM
QuoteUse SMF Media Gallery 2.0 for that. It'll be released soon.

Oh thanks, but I don't want a gallery as part of my forum. I want to keep my forum as a forum. Plenty of other sites to host images and videos. I just would like to be able to embed a few exclusive videos in the forum which I don't want on other servers.

Hope you change your mind. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 16, 2009, 12:26:52 PM
Pattern should probably be:

'pattern' => 'http://www\.swissinfo.\.ch/[a-z]{3}/multimedia/video\.html\?siteSect=\d+&sid=(\d+)',

Rowdy, in what way should I change my mind? Aeva was terminated two months ago. I'm only maintaining the current sitelist, that's all. If you want more features, then consider them a custom mod -- i.e. not free.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rowdy on June 16, 2009, 12:43:20 PM
Nao, I just meant I hope you change your mind about keeping your mod up to date. Totally up to you of course, but I have no interest in paying. I will just use flvs. Nice mod though anyway.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Neverhurry on June 16, 2009, 12:55:32 PM
thank you very much, but it still doesn't work.

i tried to paste this link into the post:

http://www.swissinfo.ch/chi/multimedia/video.html?siteSect=15045&sid=10827288

where did i do wrong?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 16, 2009, 12:58:37 PM
Rowdy, I already have enough work with SMG and Noisen, really. And Aeva works just fine.

neverhurry, I'm not going to do it all for you. Please look into it yourself. The pattern should be good.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rowdy on June 16, 2009, 01:04:34 PM
It works fine but now uses obsolete codecs for local embeds. Over time the mod will of course become more outdated, without updates.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 16, 2009, 02:25:01 PM
For local embeds, maybe.
But 99.9% of its use is for remote embeds.

And again: I'm willing to add features in exchange for money. (Not right now though -- I'm not even started on 5 site integrations I got paid for weeks ago. Priority queue stuff.)
I don't see where the problem is, really.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rowdy on June 16, 2009, 03:15:20 PM
No problem. No big deal. h264 flash is state of the art, and your mod doesn't support it for local embeds. Over time, I assure you the mod will become outdated in other areas also. You must know this.

Good luck.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rowdy on June 16, 2009, 06:19:32 PM
Found a little issue in Subs-Aeva.php. There is an html comment nested within an inline style that prevents validation.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 16, 2009, 07:26:40 PM
Aeva validates, I actually implemented the whole Javascript (Aeva 6) mainly for the geeky and useless purpose of making it validate.
And before commenting on a mod that gets update several times a month that it'll "end up being outdated", go tell the same thing to the hundreds of mod authors who released a mod and never updated it again.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rowdy on June 16, 2009, 07:33:28 PM
I installed the mod and then my css wouldn't validate- came up as parse error. One of the people here pointed out the AEVA code as the culprit. I removed the html comment within the inline css and my page immediately validated. Maybe it installed wrong? There were no problems. Annoy you? I could care less. You sure are sensitive, aren't you?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 16, 2009, 07:34:53 PM
I have very limited patience with guys who think they know better.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rowdy on June 16, 2009, 07:39:12 PM
LOL. I was just reporting what the other guy said. Take it easy there. :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rowdy on June 16, 2009, 07:43:07 PM
Hey, here is his words if you want to go after him, although as I said he proved correct as far as I know:

Quote from: Antechinus on June 16, 2009, 04:49:22 PM
The error appears to be generated by this part of the code up in <head>.

Quote<style type="text/css"><!--
      .maeva { font: 8pt/11pt Tahoma, Arial, helvetica, sans-serif; overflow: auto }
      .maeva a:link, .maeva a:visited { text-decoration: none !important; border-bottom: 0 !important }
      .aeva_dq { font-weight: bold }
      .aeva_t { text-align: left }
      .aeva_q { text-align: right }
      a.aeva_dq:link { color: inherit }
   // --></style>

You have it written as an html comment inside the stylesheet tags. The <!-- would make the styling invisible to all browsers, effectively giving you an empty stylesheet. Also I doubt that html comments are allowed inside css. Is there any particular reason for doing it that way?

Good luck!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 16, 2009, 07:56:51 PM
Traditional way of hiding stylesheets from very old browsers that do not support the style tag.
All browsers that support <style> also happily ignore the html comment stuff.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rowdy on June 16, 2009, 07:57:40 PM
Strange. Like I said, my forum home page wouldn't validate- parse error, until I removed it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 17, 2009, 09:49:17 PM
Quote from: RowdyMusician on June 16, 2009, 07:57:40 PM
Strange. Like I said, my forum home page wouldn't validate- parse error, until I removed it.
Probably because you didn't specify an HTML version in the headers.
Try to validate noisen.com, it has the HTML comments and it validates perfectly.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: jimlunsford on June 18, 2009, 06:04:00 AM
After install of this mod I get an error: Cannot redeclare modifyaevasettings() (previously declared in /na/naforums/Sources/ModSettings.php:362) in /na/naforums/Sources/ModSettings.php on line 370,

I can navagate away by going to the index. Everything appears fine until I go to the admin>features and options where I get the same error.

Could someone help please?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 18, 2009, 08:03:03 AM
...What's the problem with reading the readme file's parts in huge red text?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rowdy on June 18, 2009, 09:14:40 AM
QuoteProbably because you didn't specify an HTML version in the headers.

No, I didn't. Doesn't SMF do that already?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: johnofchar on June 18, 2009, 10:02:01 AM
Having a problem that may be caused by Aeva 6.9.99 on SMF 1.1.9. It's intermittent, but sometimes any posts that contain linked image files take a very long time to save & sometimes just time out. Posts without image files & all other forum functions are normal.

I was trying to troubleshoot this by turning off Aeva sites that I don't need and I can't. No matter how I check or un-check the site boxes, when saved all sites are checked back on.

Any suggestions?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 18, 2009, 11:25:56 AM
@Rowdy> I'm talking about what you specify to the w3c validator. If you try to validate a xhtml page through a forced html4 validation, it won't work... Etc.
http://validator.w3.org/check?uri=http%3A%2F%2Fnoisen.com%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.654
Look at the source code -- it does have Aeva in it. And it validates.

@john> Make sure title retrieving isn't forced in the Aeva options. (This triggers a lookup for every single website.) If it doesn't help, try simply disabling lookups.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rowdy on June 19, 2009, 10:15:14 AM
Good to know. I was just validating the pages from the web developer toolbar in FF.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: woolly bugger on June 19, 2009, 05:17:03 PM
okay, i give...

i've been reading this thread for a while (starting on page one)

i just upgraded my board from 1.1.9 to 2.0 RC1-1

and have the following modes installed:

1.     SMF Gallery Lite     2.0.5     
2.    Social Bookmarks    2.0    
3.    Aeva ~ Auto-Embed Video & Audio    6.9.99    
4.    Sitemap    2.0.0    
5.    Users Online Today    1.5.4    
6.    Ad Managment    2.3.5

When I drop a youtube video into a message it wraps it in a url but doen't embed the video..

i.e.

i post this
http://www.youtube.com/watch?v=DUHG_J1LlOM

and the message loos like this

[url=http://www.youtube.com/watch?v=DUHG_J1LlOM]http://www.youtube.com/watch?v=DUHG_J1LlOM[/url]

it just shows up as a link and not an embedded video...

what chould be wrong?



Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on June 19, 2009, 05:40:54 PM
It worked before you upgraded or you installed it after the upgrade and it never worked?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: woolly bugger on June 19, 2009, 05:42:29 PM
Quote from: Tiribulus on June 19, 2009, 05:40:54 PM
It worked before you upgraded or you installed it after the upgrade and it never worked?

it worked before i upgraded but that was with an earlier version ...

now it doesn't work at all
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on June 19, 2009, 05:51:45 PM
Quote from: woolly bugger on June 19, 2009, 05:42:29 PM
Quote from: Tiribulus on June 19, 2009, 05:40:54 PM
It worked before you upgraded or you installed it after the upgrade and it never worked?

it worked before i upgraded but that was with an earlier version ...

now it doesn't work at all

I don't know then. Sorry.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on June 19, 2009, 08:58:36 PM
did you actually turn it on in smf admin?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: woolly bugger on June 19, 2009, 09:04:17 PM
yes, it is turned on....
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on June 19, 2009, 10:23:22 PM
Quote from: Kindred on June 19, 2009, 08:58:36 PM
did you actually turn it on in smf admin?

That's what I was gonna ask, but he said it was working before.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: woolly bugger on June 20, 2009, 01:53:55 PM
I've checked all of the files manually and everything appears to be in place as are the new aeva files ... any ideas

http://www.brfff.com/forum/

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on June 20, 2009, 04:35:41 PM
I getting annoyed with the random copyright message popping up on pages that don't have videos loaded.

For example, why is it coming up on my unread threads page? Sure, a thread in there might have an embedded video, but there's no video being displayed at that moment.

And you're forcing a copyright message into a theme where the theme designer didn't anticipate text to be forced in. That breaks custom themes pretty easily, and you give them no choice as to how to handle it.

I understand the desire for people to say "oh, hey, this guy did something" but don't do it a the expense of someone elses work. Figure out a better solution for your "HEYLOOKATME" message than forcing it into the bottom of the page like that.

Perhaps a better solution would be to add a div after the signature of the post that contains the embedded video? Or perhaps put a copyright link to the left of the "Report to moderator" link? Will take a lot more work on your end, but at least you won't be causing problems then.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Italian81 on June 20, 2009, 08:56:51 PM
I get this instead of a video playing


Black Eyed Peas "I Gotta Feeling" (External Embedding Disabled)

What does this mean?   I have everything enabled in AEVA and I am using SMF 1.9  please help friends :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on June 20, 2009, 11:39:01 PM
Italian... it means exactly what it says "External embedding has been disabled by the author of that video"  i.e. YOU ARE NOT ALLOWED TO EMBED HIS VIDEO.

Rowdy.. well, of course.  he's French   *DUCKS*  (just kidding, Nao)
Seriosuly, Rowdy... you post was nothing but flamebait. Watch it.


Cheschire, Nao has previously explained why he moved the copyright notice from within the post (originally just under the video itself) to the footer, and I can be pretty certain that he's not going to change it back.
that being said...   if you don't like it or want the copyright, then don't use the mod.  It's a pretty straightforward logic decision tree...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: godboko on June 21, 2009, 12:23:39 AM
Nao has also explained why the copyright shows on pages that show links to threads that have videos. It is because of how SMF looks up links and the info it pulls in. I am pretty sure he has said how to change this behavior so it doesn't show the copyright on those pages.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Tiribulus on June 21, 2009, 12:23:20 PM
Quote from: RowdyMusician on June 20, 2009, 07:21:16 PM
Well, he is a jerk.

Nonsense!!! You just have to understand ol NAO. Yes, he can sometimes display the tact and diplomacy of a thermonuclear warhead, but he's also very helpful and hard working. Besides, he's made a conscious effort lately to scale back his responses to the hand grenade level with much success in my opinion.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wladymeer on June 21, 2009, 07:48:01 PM
Greetings, I've typed limit maximum width and had no result so sorry if I'm repeating somehow:

Is there anyway you can set maximum width with AEVA? Because, selection those HD qualties just get too large to fit in standard post window. Or if it's impossible to do with AEVA is it possible in some other way?

Cheers.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: r33k on June 22, 2009, 04:27:28 AM
i tired making my own custom embed code for this mod and it doesnt work a little direction would be nice. for once i feel dense

$sites[] = array(
'id' => 'XRayTiD Video',
'title' => 'XRayTid Video',
'website' => 'http://video.xraytid.com',
'type' => 'custom',
'added' => '5.2',
'pattern' => 'http://(?:www\.)?video\.xraytid\.com/video/([0-9a-z]{8})',
'movie' => 'http://video.xraytid.com/watch_video.php?v=$2',
'size' => array(425, 344),
'show-link' => true,
'lookup-title' => '<title>(.*?)</title>',
'fix-html-pattern' => '<object [^>]*><param name="movie" value="$1">.*?</object>',
);


and example of a video link would be http://video.xraytid.com/video/a1cde6d74a389d5/G-Slapped

any ideas?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: jossanaijr on June 22, 2009, 12:38:37 PM
Hi,
I use Simple Portal.
How can I setup so my "Last or Recent Post" blocks keep their size when a video is posted?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on June 23, 2009, 03:38:31 AM
Quote from: godboko on June 21, 2009, 12:23:39 AM
Nao has also explained why the copyright shows on pages that show links to threads that have videos. It is because of how SMF looks up links and the info it pulls in. I am pretty sure he has said how to change this behavior so it doesn't show the copyright on those pages.

So the default behaviour of a mod is wrong, so I have to write my own private mod on the side to "fix" the default system so that the mod behaves the way I want?

Well hell, I think I might just flip that around then, since I apparently have a choice in the matter, and I'll make it only display the copyright on the unread messages page, and not in the thread page.

And then I'll add a randomizer so that it sometimes displays the copyright in the middle of the page, and sometimes at the top too.

[edit] BTW don't take any of this as my opinion on the quality of the functionality or design of the REST of the mod. Quite the opposite. As I've stated before, I'm quite pleased with the quality of work on this mod and have no problem giving props where props are due.

Also like I said before, I'd be completely happy with posting copyright messages within every message that contains an embedded video. Maybe as text over the video, using the same CSS as quote boxes?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Morp on June 23, 2009, 06:31:41 AM
Any one got the Video page Dumpert.nl?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 23, 2009, 09:46:56 AM
Quote from: Cheschire on June 20, 2009, 04:35:41 PM
I getting annoyed with the random copyright message popping up on pages that don't have videos loaded.
They do.

QuoteFor example, why is it coming up on my unread threads page? Sure, a thread in there might have an embedded video, but there's no video being displayed at that moment.
As long as the body of one of these messages has a video link in it, the link will show up, regardless of whether the body is actually shown. It's a weakness in SSI but it's not my fault.
I'm leaving it as is because at least it shows users what goes on inside the engine. If the link shows up when no video is visible, then it probably means that many messages are being parsed uselessly by SSI. The only way to fix this is to change ssi_recentTopics() (for instance) into NOT parsing bodies. You will not only bypass Aeva, but you will save a lot of time parsing posts. You can also unset $modSettings['aeva_enable'] before calling SSI, and re-enable it after. Easy as pie.

QuoteAnd you're forcing a copyright message into a theme where the theme designer didn't anticipate text to be forced in.
It's shown within the regular copyright notice when available. If it doesn't show up there, it means the theme author didn't follow the SMF guidelines for creating a theme. Again -- not my fault. And even then, I did my best to show the copyright notice as smoothlessly as possible even when the theme is broken.

QuoteI understand the desire for people to say "oh, hey, this guy did something" but don't do it a the expense of someone elses work. Figure out a better solution for your "HEYLOOKATME" message than forcing it into the bottom of the page like that.
As per earlier comments: that's your job.

QuotePerhaps a better solution would be to add a div after the signature of the post that contains the embedded video? Or perhaps put a copyright link to the left of the "Report to moderator" link? Will take a lot more work on your end, but at least you won't be causing problems then.
This was the default behavior before the final release. It's not a "lot of work". Read the whole weightman fiasco to understand what brought me to do this.

The copyright notice ONLY appears when Aeva is asked to process a message. It's not like I'm posting it everywhere. It's a small price to pay for something that took me 5 months of fulltime work, and basically mainly brought me many insults, lamers, endlessly cycling basic support questions, a post ban, and complete loss of faith in the SMF community. Would you like my money, too? Speaking about that, I see a lot of people complaining about the copyright, but I've never actually had an official request for a copyright removal authorization.

QuoteI have to write my own private mod on the side to "fix" the default system so that the mod behaves the way I want?
That would be a breach of my TOS. Did you actually read the TOS before you agreed to them?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 23, 2009, 09:47:54 AM
Quote from: jossanaijr on June 22, 2009, 12:38:37 PM
Hi,
I use Simple Portal.
How can I setup so my "Last or Recent Post" blocks keep their size when a video is posted?
.the_class_you_use object { max-width: 1234px; }

Something like that... Won't work on some IEs but who cares.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: jossanaijr on June 23, 2009, 12:09:45 PM
Quote from: Nao 尚 on June 23, 2009, 09:47:54 AM
Quote from: jossanaijr on June 22, 2009, 12:38:37 PM
Hi,
I use Simple Portal.
How can I setup so my "Last or Recent Post" blocks keep their size when a video is posted?
.the_class_you_use object { max-width: 1234px; }

Something like that... Won't work on some IEs but who cares.

Ups sorry...
Where / How?
Quote.the_class_you_use object { max-width: 1234px; }
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dembow on June 23, 2009, 04:00:14 PM
lately, well since a few days ago, every video i post from you tube doesn't embed

it only says:
http://www.youtube.com/blah-blah-video-link  (Embedding disabled, limit reached)

whats wrong? it was working great till a few days ago    :(

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on June 23, 2009, 04:06:52 PM
Quote from: Nao 尚 on June 23, 2009, 09:46:56 AM
They do.

Do they? So I'm hitting youtube 30 something times on the unreadposts page? Really?

Quote
It's shown within the regular copyright notice when available. If it doesn't show up there, it means the theme author didn't follow the SMF guidelines for creating a theme. Again -- not my fault. And even then, I did my best to show the copyright notice as smoothlessly as possible even when the theme is broken.

So a lot of not-my-faults going on here, but the result is the same.

QuoteAs per earlier comments: that's your job.
It's my job to make your mod work. Okay. Gotcha. It'll work itself right back to an older version that didn't have your copyright if that's what it takes.

QuoteThis was the default behavior before the final release. It's not a "lot of work". Read the whole weightman fiasco to understand what brought me to do this.
No, that's okay. I get it.

Quote
QuoteI have to write my own private mod on the side to "fix" the default system so that the mod behaves the way I want?
That would be a breach of my TOS. Did you actually read the TOS before you agreed to them?

I don't think YOU read MY post. I said "the default system", and then said "the mod", referring to SMF and your mod separately. I was referring to "fixing" SMF to make your mod work.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on June 23, 2009, 06:50:30 PM
Take it easy guys. No need for more fights. Aeva is what it is. If you don't like it, find something else to use.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 24, 2009, 05:29:04 AM
Or he could just take the time to actually re-read my post and apply the solutions I took the time to give him, instead of treating me like I owe him something.

Next question now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rowdy on June 24, 2009, 10:27:26 AM
QuoteDuly noted. I won't take any more time to help creepy people like you.

LOL. It was the other way around. I helped you by pointing out where and how your code failed validation. I removed your code and my site validated. I did the favor of letting people know how to fix your mod, and you got pissy.

Grow up.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on June 24, 2009, 10:30:38 AM
Quote from: Akyhne on June 23, 2009, 06:50:30 PM
Take it easy guys. No need for more fights.

This was actually a warning!!!

Take it easy guys! No need for more fights!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: clewis789 on June 24, 2009, 10:55:40 AM
Hi this is my first ever mod insatall i have installed it to my forums and when i click on apply mod it has

1.   Execute Code   aeva_install.php   
2.   Execute Modification   ./Sources/Load.php   Test successful
3.   Execute Modification   ./Sources/Post.php   Test successful
4.   Execute Modification   ./Sources/Subs.php   Test successful
5.   Execute Modification   ./Sources/ModSettings.php   Test successful
6.   Extract File   ./Sources/Subs-Aeva.php   
7.   Extract File   ./Sources/Subs-Aeva-Admin.php   
8.   Extract File   ./Sources/Subs-Aeva-Sites.php   
9.   Extract File   ./Sources/Subs-Aeva-Custom-Example.php   
10.   Extract File   ./Themes/default/languages/Aeva.english.php   
11.   Extract File   ./Themes/default/languages/Aeva.french.php   
12.   Extract File   ./Themes/default/languages/Aeva.french-utf8.php   
13.   Extract File   ./Themes/default/languages/Aeva.english-utf8.php   
14.   Extract File   ./Themes/default/languages/Aeva.english_british.php   
15.   Extract File   ./Themes/default/languages/Aeva.english_british-utf8.php   
16.   Extract File   ./expressInstall.swf

But as you can see it does not say test successful on them all is this ok ?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: woolly bugger on June 24, 2009, 11:05:30 AM
/end aeve

[begin youtube

jis sayin'
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on June 24, 2009, 11:06:49 AM
Quote from: clewis789 on June 24, 2009, 10:55:40 AM
But as you can see it does not say test successful on them all is this ok ?
Should be fine :) The extract parts are "creating" new files, not editing existing ones, and thats why it won't test them.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 24, 2009, 11:11:23 AM
@woolly> ?

Quote from: RowdyMusician on June 24, 2009, 10:27:26 AM
QuoteDuly noted. I won't take any more time to help creepy people like you.

LOL. It was the other way around. I helped you by pointing out where and how your code failed validation.
Which is of course painfully obvious when you re-read our conversation which took place, what, one page ago?
Do you actually read my posts at all?

QuoteI removed your code and my site validated. I did the favor of letting people know how to fix your mod,
Because, of course, nobody is better qualified to say a site html-validates than you. Unlike this little site called w3c with their so-called official html validator.

http://validator.w3.org/check?uri=http://aeva.noisen.com/dev/5060/tests-video-embedding/

Quoteand you got pissy.

Grow up.
Suffice to say everyone here knows how pissy I can get when I really want to. I thought I was being too soft on you, with the helping you and all... I wanted to try for something different for once. Again: I'll remember for next time. Being gentle doesn't help.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rowdy on June 24, 2009, 11:28:11 AM
It was the W3C validator that your code failed. :)

And, your welcome for pointing out the changes that were needed to fix it.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 24, 2009, 12:10:39 PM
Quote from: RowdyMusician on June 24, 2009, 11:28:11 AM
It was the W3C validator that your code failed. :)
Do you speak English?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Sabre™ on June 24, 2009, 01:14:17 PM
Quote from: RowdyMusician
...
Please refrain from personal attacks and use these boards for their primary function, which is 'Support'
If you have an unpleasant experience with another, then you may use the report function, or discuss it via Pm, or take it to another board etc etc...
It helps reduce the clutter for people genuinely requiring assistance, and keeps the playground antics where they belong.

Enjoy your experience within SMF :)

Thank You
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Bruno36 on June 24, 2009, 02:19:14 PM
Bonjour!

Je rencontre un petit bug.
Toutes les vidéo sont décaler ver le bas des sujets.

I have a small bug.
All videos are offset worm down subjects.


(http://img507.imageshack.us/img507/9774/66676071.th.jpg) (http://www.postimage.org/image.php?v=gxJ93H0)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 25, 2009, 12:59:03 PM
Hmm I refreshed the page and that post went away before I could reply to it... It's all for the best.

@Bruno> Et c'est quoi votre adresse ?

@Cheshire, from what I remember in your post, you were questioning my "Do you speak English" remark...
Since I need to explain everything-- "It was the w3c validator that your code failed" implies that we weren't talking about the same validator. There's only one official validator and it's the w3c validator. I twice gave URLs to the validator with my website + Aeva already enabled in them -- both times passing validation without any trouble. So I'm finding it quite annoying having to talk to someone who doesn't seem to take time to read my posts, at all.

End of subject.

And for everyone who doesn't want a copyright notice -- let's make it clear and donate/paypal me $15 at my address paypal ( at ) kyodai.com. Tell me your URL by PM and I'll give you authorization to remove the copyright message. I'm going the cheap way so that I can skip on the annoying conversations about the message's point.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Bruno36 on June 25, 2009, 01:54:44 PM
Bonsoir!

L'adresse de quoi? du lien de la vidéo ? c'est une vidéo sur youtube.
J'ai ce problème avec toutes les vidéos youtube ou google vidéo.
le plus bizarre c'est que même en local avec un forum neuf donc vierge j'ai le même problème.
Le problème est survenue du jour au lendemain

   
Good evening!

The address of what? link the video? is a video on youtube.
I have this problem with all the youtube videos or google video.
the most bizarre is that even local forum with nine blank therefore I have the same problem.
The problem occurred the day after
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on June 25, 2009, 01:58:46 PM
English, please.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 25, 2009, 03:38:47 PM
@Bruno> No... The link to your website... To the page that shows the issue -_-
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Mraza on June 25, 2009, 05:21:13 PM
hi Nao and thanks for this great great Mod... i have just one question to ask. i am using 2 forums with one database shared. one i installed this mod it's also working on first forum...is there anyway i can prevent it to not to work on my first forum.....thanks for any help... :)

Edit: i made the changing which i needed.... thanks for the this Mod again :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on June 25, 2009, 08:32:04 PM
I've installed this mod and I have a user who prefers motionbox. When he posts the code in his message, it shows up as a blck box that says the video is not available. But if you click the link, it brings you to the motionbox site and you can view the video. I can't seem to figure out what the problem is. Can someone help me, please?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on June 25, 2009, 08:36:28 PM
Some videos are not allowed to beembedded externally. They have a text on Youtubes website, saying something similar to "external embedding disabled".
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on June 25, 2009, 08:41:30 PM
Thanks. Wonder why they'd do that, but I'll have him check it out. Maybe you'd have to be a paid member or even just a member of motionbox for the videos to be allowed to be embedded elsewhere. Dunno. But I'll ask. Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on June 25, 2009, 08:45:35 PM
It's because when you create a video, there's an option whether you want to share it. I think anyone can do that that has an account at Youtube.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on June 25, 2009, 08:49:04 PM
I think he's setting them up to be shared. He's done videos before with other sites and they've worked, but this site seems to offer a little trouble. It has to be a setting somewhere, just don't know exactly where. We LOVE the mod, just wanna get it working for him.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on June 25, 2009, 08:50:33 PM
Do you have a link to the video?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on June 25, 2009, 09:07:03 PM
Here's what it looks like on my site ~ follow the link:

http://metaldetectingmaine.com/index.php?topic=503.msg4948#new
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on June 25, 2009, 09:39:13 PM
Hmm, sorry. I thought it was a Youtube video you were having trouble with :-\
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 26, 2009, 02:07:35 AM
The video leads to a 404.........
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Bruno36 on June 26, 2009, 02:59:20 AM
Quote from: Nao 尚 on June 25, 2009, 03:38:47 PM
@Bruno> No... The link to your website... To the page that shows the issue -_-

Here is an example of video bug
http://www.scooter-chinois-4t.com/nouvelle-section/biker-impressionnant/

Forum video is here.
http://www.scooter-chinois-4t.com/nouvelle-section/

login: invite
passe: 123456
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 26, 2009, 03:43:16 AM
Your video contents is being parsed through some mod that turns newlines (from regular parsed messages) into <br /> when it should NOT do that. That's the reason for the layout issue. Try to uninstall some of your other mods and give some feedback as to what's causing the problem.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Bruno36 on June 26, 2009, 04:57:52 AM
23 packages to uninstall it is still hot  :(

1.   Ad Managment      2.3.5      
2.   Aeva ~ Auto-Embed Video & Audio    6.9.99    
3.   Auto Merge Double Post    1.2    
4.   Ban Link in Post    1.1    
5.   CheckBeforePosting    0.3.2    
6.   Dynamic_Memberlist    2.0    
7.   Glossary    0.3.3    
8.   Help Linktree & Breadcrumbs Fix    1.0    
9.   MetaDataMod    1.0    
10. PaypalDonations    2.0    
11. PM Notification Bar    1.0    
12. Posting_Announcement    1.1.4    
13. Reply Button in All Posts    1.1    
14. RulesOnPost    0.1    
15. SimplePortal - French    2.2.1    
16. SimplePortal    2.2.2    
17. Sitemap    2.0.0    
18. SMF Media Gallery    1.5.6    
19. SMF Affiliates Mod    3.0.3    
20. SMF Canonical Tag    1.2    
21. New Topic Button    1.0    
22. Topic Solved    1.1    
23. Yet Another Global Announcements Mod    1.1.7.2
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on June 26, 2009, 05:50:12 AM
Quote from: Nao 尚 on June 26, 2009, 02:07:35 AM
The video leads to a 404.........

Yeah. Not sure why. He had another video up but the link worked. The link on this one brought you to a 404.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 26, 2009, 06:03:13 AM
Quote from: Bruno36 on June 26, 2009, 04:57:52 AM
23 packages to uninstall it is still hot  :(
22, man, 22. You can obviously rule out SMF Media Gallery since I work on it :P
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Bruno36 on June 26, 2009, 06:45:13 AM
I just made a blank (without modification), local smf and reinstall all the packages and the bug has disappeared.
I do not understand why ..

   
   
I talk too fast ...
Locally no bug

When I trensfere new edit file on the ftp on the web bug returns
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on June 26, 2009, 07:52:42 AM
I wish I had known about SMF Gallery before I installed Gallery to my site. Is there a way to make a lateral move? If I could move the member accounts and galleries from Gallery to SMF Gallery I'd give it a shot.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 26, 2009, 08:50:08 AM
@Bruno> Uninstall your mods, one by one, on your local test install, until it works again...

@Snowy> I think there's a Gallery2 > Coppermine converter around. Then use the Coppermine > SMG converter. It's a bit overkill but I don't know of any other way to do it.
Edit -- http://forum.coppermine-gallery.net/index.php/topic,51300.0.html
PS: this is the Aeva topic, please use the SMG topic for this.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Bruno36 on June 26, 2009, 08:58:15 AM
J'ai déjà fait tous cela.
J'ai installer un smf vierge dépourvue de mod puis installer a la suite tous mes paquets.
Il fonctionne sans aucun bug en local.

J'ai donc transférer le nouveau forum tous neuf en ligne et la le bug est réapparut.

Il fonctionne bien en local
Une fois sur le web il ne fonctionne plus..  :(


I have already done all that.
I install a blank smf no mod and install as a result all my packages.
It works without any bug locally.

So I transfer all the new forum and new in the line is the bug reappeared.

It works well in local
Once on the web it does not work anymore ..
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 26, 2009, 11:21:18 AM
Aucune idée alors... No idea.
Try disabling the Javascript engine in the Aeva settings.
And again-- uninstall all mods one by one until it works.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Bruno36 on June 26, 2009, 11:55:09 AM
Alors la miracle, sans le javascript le mod fonctionne mes la vidéo est en double  :D
Then the miracle, without the javascript I am running the video is duplicated
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: CodeDev on June 27, 2009, 08:04:45 AM
Hi!

Is there any way to add a feature so that only logged in users be able to view videos and listen to audio?

Something like this http://custom.simplemachines.org/mods/index.php?mod=721 but for AEVA.

Thanks in advance.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 27, 2009, 11:22:51 AM
I am no longer adding new features to Aeva. (Not for free anyway.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wladymeer on June 27, 2009, 01:06:32 PM
Maybe you haven't seen my question - is there any way to limit maximum width for Aeva?

Because when I go to HD quality my video screen goes way long for message space.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Bruno36 on June 27, 2009, 01:40:48 PM
Quote from: Bruno36 on June 26, 2009, 11:55:09 AM
Alors la miracle, sans le javascript le mod fonctionne mes la vidéo est en double  :D
Then the miracle, without the javascript I am running the video is duplicated

Une piste ??
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on June 27, 2009, 01:59:01 PM
wladymeer: Take a look on Subs-Aeva-Custom-Example.php

A working example changing all sizes for Youtube:

<?php
/********************************************************************************
* Subs-Aeva-Custom.php v5
* By Rene-Gilles Deberdt
*********************************************************************************
* This program is distributed in the hope that it is and will be useful, but
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE.
********************************************************************************/

// Prevent attempts to access this file directly
if (!defined('SMF'))
die('Hacking attempt...');

global 
$sites;

foreach ($sites as $si => $te)
{
if ($te['id'] == 'ytb') {
if ($te['id'] == 'ytb') {
$sites[$si]['size']['normal'] = array(594480);
$sites[$si]['size']['ws'] = array(800480);
$sites[$si]['size']['hd'] = array(800480);
}
}

?>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Thenewguy2009 on June 27, 2009, 05:01:21 PM
yeah i tried to embed pokertube and I couldnt get it.  Karl said on page 70 or so that its pretty hard to do.  Is this site just not supported?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 27, 2009, 06:28:20 PM
@Bruno> Non. Il y a visiblement un mod qui fout sa merde... Je répète pour la troisième fois : désinstaller tous les mods, un par un, jusqu'à identifier le coupable...

@wlady> Said it many times already... Either use Subs-Aeva-Custom (which was pretty much created for this in the first place), or use max-width in an "object" style statement.

@Thenewguy> Maybe it's a random embedding thing. You know, like winning at poker gets you to see a video as a reward.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Thenewguy2009 on June 27, 2009, 06:30:42 PM
well i dont have a gambling site, but some members asked about that site to post videos from.  I tried to embed it, but i couldnt do it.  I was just wondering if it was possible and if anyone has done it.  If so if they could share it because I cant figure it out. 
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Bruno36 on June 28, 2009, 02:33:33 AM
Alors pourquoi en local aeva fonctionne sans aucun problème avec les même mods
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 28, 2009, 03:17:56 AM
J'en sais rien... Mais surtout, c'est *pas* un problème d'Aeva, c'est un problème lié à autre chose. Donc merci de poser la question sur un autre topic parce que moi j'en sais rien et franchement je vois pas pourquoi je devrais consacrer plus de 5 minutes à m'occuper des problèmes des autres alors que je passe mon temps à me faire insulter sur ce foutu topic.

I don't know. (Short version.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Bruno36 on June 28, 2009, 03:33:36 AM
ok
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: clewis789 on June 28, 2009, 12:58:18 PM
can you add podomatic.com to the list please.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 28, 2009, 04:57:14 PM
Short answer or long version?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: heinandar on June 29, 2009, 05:23:09 AM
I have one question. I installed this mod without error.
Everythins are fine.

My question is " this mod compactbility with smf media gallery (one of your mods).

I also installed smf media gallery and Html Embeded code is not work in forum.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on June 29, 2009, 07:28:38 AM
Nao: I've just discovered that the Flash install pop-up is still happening. I'm pretty sure we discussed this many versions ago and you got rid of it.

It happens even when "Show Flash express installer" is not ticked.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 29, 2009, 09:00:21 AM
@heinandar> ?... Works just fine for me, obviously.
@mark> I never got the install popup to show up for me, even on a browser with no Flash installed, or an old version of Flash installed, so... Really, please tell your users to upgrade and you're done.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: heinandar on June 29, 2009, 10:17:54 AM
Hi .. attacment is my problem
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on June 29, 2009, 11:03:10 AM
Quote from: Nao 尚 on June 29, 2009, 09:00:21 AM
mark> I never got the install popup to show up for me, even on a browser with no Flash installed, or an old version of Flash installed, so... Really, please tell your users to upgrade and you're done.
What do you mean? Currently a Flash install pop-up occurs in IE7 (and probably others) when Flash is not installed on the PC.

I assumed the express Flash function was to stop this happening but if not, please can you tell me a hack so I can stop it? The code has changed so I can't implement your previous hack (http://aeva.noisen.com/dev/5078/done-but-open-can-you-stop-adobe-pop-up/msg227707/#msg227707).

EDIT

Got your old hack working by removing this line:

(!empty($plugin['codebase']) ? 'codebase="' . $plugin['codebase'] . '" ' : '')
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 29, 2009, 12:29:27 PM
Good for you then ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on June 29, 2009, 12:40:16 PM
Nao, could you please check this again for me? The source is listed in this post. Motionbox is saying it's the forum programming, but I don't believe it. The Motionbox videos don't seem to be working on my forum. Perhaps you can confirm (if you click the source in the code it brings you to the video)?

http://metaldetectingmaine.com/index.php?topic=503.0
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 29, 2009, 01:30:02 PM
Your link isn't complete, it's missing 4 bytes of the ID.
Replace any "{numbers}" (related to the id) with "+" in the pattern.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on June 29, 2009, 04:08:52 PM
Even if we just put this in the post, it gives the black box that says the video isn't available. but if you click the link, you can view the video. I don't get it.


http://www.motionbox.com/videos/7a9fd8b1191fe1c7f5
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PRaDiUS on June 29, 2009, 06:02:41 PM
@ Nao

Having a problem with the larger youtube videos overlapping side blocks of my portal.
Any idea how I can fix this?

(http://www.rgxbox.com/images/aevaerror.jpg)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 29, 2009, 06:12:46 PM
@prad> use the sample code given in subs-aeva-custom-example.php
@snowy> As I said, you should replace the {14} in the subs-aeva-sites.php code with +
--> I've uploaded an updated version of the code, so just go to your page with the problem, add ";checkaeva" (without the quotes) to your topic's URL and then it should work. I tried to do it myself, but it wouldn't work, so I'm assuming you checked the box that disables auto updates for anyone else than admins. Or maybe you need to re-insert your URL.

PS: http://aeva.noisen.com/dev/5060/tests-video-embedding/msg231960/#msg231960
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on June 29, 2009, 08:23:12 PM
Thank you, Nao! I tried to do those edits but it still didn't work. Not sure what I did wrong, but anyway....
I simply went to the mod and downloaded the updated file and ftp'd it. Works fine now.
Thanks a million!!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 30, 2009, 03:03:35 AM
Quote from: Snowy on June 29, 2009, 08:23:12 PM
Thank you, Nao! I tried to do those edits but it still didn't work. Not sure what I did wrong, but anyway....
I simply went to the mod and downloaded the updated file and ftp'd it. Works fine now.
Thanks a million!!!
You're welcome. But you know, you really didn't have to update through FTP... The auto updater works just fine, and it regenerates the file automatically too ;) Just think of the ";checkaeva" solution when a video doesn't work. Sometimes you'll also need to re-insert the URL, of course.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on June 30, 2009, 04:33:26 AM
I don't know how to use the autoupdater (can't seem to find it anywhere) and I can't figure out the ;checkaeva .....
I'm still pretty green at all of this. I've picked up on a lot, but to you guys, still very green.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 30, 2009, 08:02:29 AM
The autoupdater is integrated to Aeva. It does everything by itself. You never have to use the old manual update system again. Checkaeva?
http://my-forum.com/index.php?topic=1234.msg123456#msg123456
Let's say this has your message with a video...
You just do this:
http://my-forum.com/index.php?topic=1234.msg123456;checkaeva#msg123456
And voilà, video updated with new sitelist.
If you don't have anchors, it's even easier.
If you're using Pretty URLs, Just replace /topic1234/ with /topic1234/?checkaeva
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dembow on June 30, 2009, 01:24:59 PM
Quote from: dembow on June 23, 2009, 04:00:14 PM
lately, well since a few days ago, every video i post from you tube doesn't embed

it only says:
http://www.youtube.com/blah-blah-video-link  (Embedding disabled, limit reached)

whats wrong? it was working great till a few days ago    :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 30, 2009, 01:34:59 PM
It tells you the reason why it doesn't embed... What more do you need?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on June 30, 2009, 02:36:48 PM
Quote from: Nao 尚 on June 30, 2009, 08:02:29 AM
The autoupdater is integrated to Aeva. It does everything by itself. You never have to use the old manual update system again. Checkaeva?
http://my-forum.com/index.php?topic=1234.msg123456#msg123456
Let's say this has your message with a video...
You just do this:
http://my-forum.com/index.php?topic=1234.msg123456;checkaeva#msg123456
And voilà, video updated with new sitelist.
If you don't have anchors, it's even easier.
If you're using Pretty URLs, Just replace /topic1234/ with /topic1234/?checkaeva

I guess I'm confused. You said I had the auto updater off, so how do I turn it on?
Forgive my ignorance in this entire issue. I'm still learning.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on June 30, 2009, 06:24:59 PM
It is turned on by default.
You can only turn it off by disabling lookups in the aeva admin area.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on June 30, 2009, 06:30:45 PM
Why is BBC iPlayer still on the list? That stopped working ages ago.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on June 30, 2009, 08:01:50 PM
Quote from: Nao 尚 on June 30, 2009, 06:24:59 PM
It is turned on by default.
You can only turn it off by disabling lookups in the aeva admin area.

Perhaps this is where I'm confused. I don't had a tab in the admin panel for aeva. I have one for Simple Portal, but not aeva...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on June 30, 2009, 08:07:34 PM
In 2.0, look under "Modifications". In 1.1.x, look under "Features and options".
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on June 30, 2009, 08:20:08 PM
Quote from: Akyhne on June 30, 2009, 08:07:34 PM
In 2.0, look under "Modifications". In 1.1.x, look under "Features and options".

OH! I see it now! Thank you! I'm still getting used to 2.0 and I tend to forget where things are and how to get there if I don't use said area on a daily basis.
Yes, enable lookups was checked. Not sure why it didn't auto update by itself.

Thanks for all the help. This is a great mod. Thank you for all your hard work!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dembow on June 30, 2009, 10:44:15 PM
Quote from: Nao 尚 on June 30, 2009, 01:34:59 PM
It tells you the reason why it doesn't embed... What more do you need?

i don't understand why put a limit to it  :/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: KirkhamsEbooks on June 30, 2009, 10:47:36 PM
it's not HIS limit it's YOUTUBES. Look at the right hand corner on the youtube site itself and you'll notice some videos have disabled embedding

Rick
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dembow on June 30, 2009, 10:51:30 PM
hhmm all videos from youtube where causing it

i had another mod for video disabled, so i switch mods and they work
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 01, 2009, 09:53:41 AM
@kirkhams> When it says "limit reached", it's not because of "embedding disabled" but because too many vids were put on the page... I thought the error message was clear enough?
@dembow> What you need to do is go to your aeva admin area and set a higher limit for number of videos. Easy enough.
@snowy> It checks for updates at most once every 24 hours, so as not to put too much strain on the SMF official servers. When I say "use ;checkaeva", it's only to accelerate the process -- of telling Aeva that it should update asap.
@mark> Maybe someone will offer a fix and I'll use it.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dembow on July 01, 2009, 12:30:31 PM
Quote from: Nao 尚 on July 01, 2009, 09:53:41 AM

@dembow> What you need to do is go to your aeva admin area and set a higher limit for number of videos. Easy enough.


oh! don't know how did i miss that

thanks for the help, greatly appreciated    :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dembow on July 02, 2009, 04:33:47 PM
anyone know how to make a "Subs-Aeva-Custom-Example.php" for posting songs hosted on fileDen using the aeva player?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 02, 2009, 05:37:22 PM
There is no "Aeva player"...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on July 02, 2009, 06:04:42 PM
I think he mean local mp3player. (flash-mp3-player.net).

@dembow yeah you can do this.

$sites[] = array(
'id' => 'fiden',
'title' => 'Fileden Mp3/4 Files',
'type' => 'custom',
'plugin' => 'flash',
'pattern' => 'http://(?:www\.)?fileden\.com/[\w/ &;%\.-]+\.mp[34])',
'movie' => 'http://www.flash-mp3-player.net/medias/player_mp3_maxi.swf?mp3=$1&width=250&showstop=1&showinfo=1&showvolume=1&volumewidth=35&sliderovercolor=ff0000&buttonovercolor=ff0000',
'size' => array(250, 20),
'show-link' => true,
   );


Please notice, i asked this thing to Karl (very long time ago) and he say non-local mp3 or flv, mp3 etc not supported because this is not safe.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dembow on July 02, 2009, 11:56:20 PM
yes i meant the local mp3 player as you stated daydreamer

and thanks i greatly appreciate this, ima try it now and get back to you with the results   (http://www.aquariumpros.ca/forums/images/smiles/praying.gif)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dembow on July 03, 2009, 12:20:40 AM
i tried it but when i hit preview nothing happens and when i hit post it then says:

"The message body was left empty."

i even tried it posting some text along with the url of the mp3 but the same

:(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Indy74 on July 03, 2009, 10:14:25 AM
Hey:)

For some reason traileraddict.com is messy and doesn't embed. It shows only link in the post which is messy too when clicked.

Example: http://www.traileraddict.com/emb/http://www.traileraddict.com/trailer/inglorious-basterds/international-trailer


It puts an additional http://www.traileraddict.com/emb/ in front which i think is causing the problem.

How can that be fixed?

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 03, 2009, 11:56:46 AM
Yeah, Indy... I screwed up on this one.
Actually, all videos that have a "$2" in their lookup-final-url pattern won't work (unless of course you post the URL taken from the official embed code, i.e. not something that requires a lookup.)
That includes traileraddict.com, songza.com and StupidVideos.com.
I've devised a quick fix for traileraddict (even though it offers both "emb" and "emd"-type embed URLs, it can use any of them, even if it's not the one it provides on its item page), so it should be online in a minute...
As for songza and stupidvideos, does anyone use these at all?
Because I could fix them too, but that would probably require updating Aeva itself, and I'm not much willing to do that, given my pledge of two months ago... (Of course that would be a bug fix in this case, but still, it's only of concern for two websites out of 200...)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 03, 2009, 12:01:20 PM
(Sitelist update is online. Use the ;checkaeva trick to have it updated immediately.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Indy74 on July 03, 2009, 12:26:51 PM
Quote from: Nao 尚 on July 03, 2009, 12:01:20 PM
(Sitelist update is online. Use the ;checkaeva trick to have it updated immediately.)

Thanks. It's working now:)

I have one question: is there some way to lock the width and height of the clips so when there is an aeva update they do not scale back? For example for YTube Hd's i'm setting up bigger width and height and after the sitelist update, i have to do it again because it scales back to previous width and height:)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dembow on July 03, 2009, 05:55:33 PM
Quote from: Nao 尚 on July 03, 2009, 12:01:20 PM
(Sitelist update is online. Use the ;checkaeva trick to have it updated immediately.)

how can i do this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 04, 2009, 01:52:44 AM
@dembow> Read this topic.......

@indy> Read this topic! (or the Custom file's documentation...)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Indy74 on July 04, 2009, 05:23:41 AM
Well i did something after reading the file and some posts here(didnt help me at all).
I've added this at the end of the my Subs-aeva-custom.php file:
foreach ($sites as $si => $te)
{
if ($te['id'] == 'ytb')
{
$sites[$si]['size']['normal'] = array(594, 480);
            $sites[$si]['size']['ws'] = array(800, 480);
            $sites[$si]['size']['hd'] = array(800, 480);
unset($sites[$si]['size']['hd']);
break;
}
}

?>


Nothing changed.
And because i don't know PHP so i can't tell if i'm doin it right or wrong.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 04, 2009, 05:35:27 AM
Just make sure to change the resolution, eh...! It's still at 800x480 for widescreen. Or disable widescreen like you disabled HD.
And don't forget to regenerate the sitelist.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PRaDiUS on July 05, 2009, 10:59:23 PM
@ Nao

Do you know how I can change the color of other text and links that appear over my blue background to white so that they will match the copyright @ the bottom of my forum? I figured out how to change the color of the linktree to white, but I don't see where to change the color of text and links that appear over the background without also effecting the text and links that appear over the forum itself. Thanks Nao.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 06, 2009, 03:42:37 AM
It's really something you should ask of the theme's author... Basically it's always a case of doing something like .class { color: white } (where ".class" is the name of a specific class)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: akbora on July 06, 2009, 12:52:25 PM
Must I change the mod every your mod's updates?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 06, 2009, 01:58:32 PM
Nope.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: akbora on July 06, 2009, 02:52:27 PM
Nope? What's the meaning of this?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PRaDiUS on July 06, 2009, 05:17:02 PM
Quote from: Nao 尚 on July 06, 2009, 03:42:37 AM
It's really something you should ask of the theme's author... Basically it's always a case of doing something like .class { color: white } (where ".class" is the name of a specific class)

I'm using the default theme. I just modded the default theme myself to make it my own.
I just don't know what code to put in my style sheet so only the background text and links turn white.

Quote from: akbora on July 06, 2009, 02:52:27 PM
Nope? What's the meaning of this?

Nope = No, you do not have to change Aeva every time it updates.

Matter of fact I'm pretty sure Nao said before that this is the final version of Aeva. I could be wrong thou.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on July 06, 2009, 05:25:07 PM
Actually nope is meaning "no problem" or "no hope" in IRC. :| Maybe the direct opposite "yep" (:
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 06, 2009, 06:20:06 PM
Yeah, nope is just the same as "no"... It's just a Google search away. Does no one use Google anymore?

And yes, I said I'd stop releasing new versions of Aeva -- more precisely, I said I'd stop adding new features to it. I'm not closed to the idea of releasing another update with bug fixes. But I would have to have a full list of bugs compiled before I start tackling them on. (e.g. the "$2 doesn't work in lookup-final-url" bug... Which no one cares much about, so it's not enticing me to fix it :D)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Indy74 on July 07, 2009, 06:24:21 AM
Btw, apple trailers don't work so you might want to remove the site:) It was my request so i feel somehow responsible :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 07, 2009, 09:06:39 AM
When a site doesn't work, I try to fix it before I remove it......

What has changed, then?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Indy74 on July 07, 2009, 09:18:01 AM
Quote from: Nao 尚 on July 07, 2009, 09:06:39 AM
When a site doesn't work, I try to fix it before I remove it......

What has changed, then?

What happens is that plugin is loading, but nothing is visible.
Check here: http://kinokafe.net/index.php?topic=43.msg49;topicseen#new
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 07, 2009, 12:57:34 PM
Doesn't seem to be a problem with Aeva itself... The URL is still correct.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Indy74 on July 07, 2009, 01:20:15 PM
Quote from: Nao 尚 on July 07, 2009, 12:57:34 PM
Doesn't seem to be a problem with Aeva itself... The URL is still correct.
Can you actually see the video?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 07, 2009, 02:13:19 PM
No, but I'd put the blame on Apple's Quicktime crap... Their website doesn't even work for me (for this HD vid in particular at least.)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: bugzy on July 08, 2009, 12:07:18 PM
Hello How can I set my aeva for admin and mod only? Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dembow on July 08, 2009, 12:53:45 PM
anybody know why this custom wont work for posting mp3's hosted on fileden


$sites[] = array(
'id' => 'fileden',
'title' => 'Fileden Mp3 Files',
'website' => 'http://www.fileden.com',
'type' => 'custom',
    'plugin' => 'flash',
    'pattern' => 'http://(?:www\.)?fileden\.com/[\w/ &;%\.-]+\.mp[3])',
    'movie' => 'http://www.flash-mp3-player.net/medias/player_mp3_maxi.swf?mp3=$2&width=250&showstop=1&showinfo=1&showvolume=1&volumewidth=35&sliderovercolor=0000ff&buttonovercolor=0000ff',
'size' => array(250, 20),
);


any help will be greatly appreciated
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 08, 2009, 04:13:57 PM
'pattern' => 'http://(?:www\.)?fileden\.com/([\w/ &;%\.-]+\.mp3)',

That should work better...

Or simpler,

'pattern' => 'http://(?:www\.)?fileden\.com/([^"]+?\.mp3)',

Why the [3]?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: bugzy on July 08, 2009, 04:25:59 PM
Nao is there a way to set it for admin and mod only? Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jelle Mees on July 08, 2009, 05:36:46 PM
2 bugs in latest release ( using on latest SMF 2 release ):

- It DOES NOT show Youtube movies in widescreen or HQ/HD.
- When trying to add the two adult websites, I get the message "Your session timed out while posting. Please go back and try again. " every single time.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 08, 2009, 05:47:50 PM
@bugzy> for posting videos, I guess? edit Post.php and add if ($user_info['is_admin']) before the two aeva_onposting() calls. Make sure $user_info is globaled.

@Jelle> since I stopped development on Aeva, obviously it's working perfectly... If you're having trouble, don't start by saying it's buggy... No, it's not. You're just having trouble with your configuration that's all.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: picos on July 08, 2009, 06:05:22 PM
Hello, I posted a while back that Liveleak videos don't seem to work. 

All it shows is the video player and in the middle it says "click to play media" which doesn't work either.

Also in the options area, if I unclick a website to not embed in my forum and save, it does not save the settings.

What could be the issue?

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: jimlunsford on July 08, 2009, 06:45:35 PM
When I install this mod after instalation I get the following error:

Fatal error: Cannot redeclare modifyaevasettings() (previously declared in /naforums/Sources/ModSettings.php:362) in /naforums/Sources/ModSettings.php on line 370

I am using 1.1.9

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: bugzy on July 08, 2009, 06:47:06 PM
Quote from: Nao 尚 on July 08, 2009, 05:47:50 PM
@bugzy> for posting videos, I guess? edit Post.php and add if ($user_info['is_admin']) before the two aeva_onposting() calls. Make sure $user_info is globaled.

@Jelle> since I stopped development on Aeva, obviously it's working perfectly... If you're having trouble, don't start by saying it's buggy... No, it's not. You're just having trouble with your configuration that's all.


Nao is this right because it seems like it's not working..

// Aeva - START
// On Quick Edit - Only call if message is set.
if (!empty($_POST['message']))
{
global $sourcedir;
@include_once($sourcedir . '/Subs-Aeva.php');

if ($user_info['is_admin'])

if (function_exists('aeva_onposting'))
$_POST['message'] = aeva_onposting($_POST['message']);
}
// Aeva - END
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 09, 2009, 03:02:34 AM
More like this:
         // Aeva - START
         // On Quick Edit - Only call if message is set.
         if (!empty($_POST['message']))
         {
            global $sourcedir, $user_info;
            @include_once($sourcedir . '/Subs-Aeva.php');
           
            if ($user_info['is_admin'] && function_exists('aeva_onposting'))
               $_POST['message'] = aeva_onposting($_POST['message']);
         }
         // Aeva - END

(twice)

@jim> You forgot to uninstall before reinstalling... Read the mod page.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 09, 2009, 08:29:15 AM
Quote from: picos on July 08, 2009, 06:05:22 PM
Hello, I posted a while back that Liveleak videos don't seem to work. 

All it shows is the video player and in the middle it says "click to play media" which doesn't work either.

Also in the options area, if I unclick a website to not embed in my forum and save, it does not save the settings.

What could be the issue?

Thanks.
Aeva's example vid works just fine for me...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: selket on July 09, 2009, 02:45:53 PM
Hello,

I have installed "Aeva" and it works just fine, but my error logg gets filled up with this error:

http://www."myforum".ro/forum/index.php?pretty;action=featuresettings&amp;sa=aeva;sesc
Erorr at 'Aeva.romanian' language file.

Can anybody help?
Thank you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rauthing on July 09, 2009, 03:15:56 PM
Seems similar to my problem, since last night, noone can se my forum www.retroforum.se  at all, there is a text "cannot load aeva.swedish"  ("cannot" load in swedish)

I have checked recent messages and logs in phpMyAdmin, nothing strange has been added

Is there even supposed to be a aeva.swedish file? Can't find it in zipfile, would it be created when installed? Where could I find it and how recreate.

FTP works, and phpMyAdmin, the version is Aeva-6.2.7
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: rauthing on July 09, 2009, 03:35:36 PM
I made a dirty solution by copying the file aeva.english.php, changing the name to aeva.swedish.php, and uploading it to Themes/default/languages

Maybe this works for you in Romania too? (copy aeva.english.php, and rename it aeva.romanian instead)

But how could this problem appear in the first place????
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jelle Mees on July 09, 2009, 03:57:34 PM
Quote from: Nao 尚 on July 08, 2009, 05:47:50 PM
@Jelle> since I stopped development on Aeva, obviously it's working perfectly... If you're having trouble, don't start by saying it's buggy... No, it's not. You're just having trouble with your configuration that's all.

Eeuhm, all I can do is post a youtube link in my post. It does not show it in widescreen and it does not show it in HQ or HD. Also, your mod is the first one I installed, so my "configuration" can't be rong since it's the default one. Don't deny bugs please... or at least tell me what I did rong, becides installing the mod and using it with default settings.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 09, 2009, 04:03:52 PM
If it doesn't show in HD, then either you disabled Lookups in the admin area, or your server doesn't support them (very rare). In which case, you'll be losing most of Aeva's features really.
Also make sure YouTube is enabled in the site list...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Schlup on July 10, 2009, 02:43:55 AM
So I have had several versions of Aeva, the last was 6.2.76, when I saw the final version out which was 6.9.99 I decided to upgrade.  Apparently I did something wrong because when it's supposed to redirect to the settings page it pulled up a blank page.  Now even when I directly click on the settings and features link it sends me to a blank page.  I have tried uninstalling everything and reinstalling and still no fix.  I have tried going into the FTP and manually removing Aeva from smf/Packages and it's confirmed to be gone in the package manager in SMF.  Still can't click on settings and features...still sends me to a blank page.  I don't know what else to do.  I have tried installing the old version again and still no help.  I have uninstalled and deleted everything about Aeva but it still won't let me click on settings and features without going to the blank white page.

Here's what I have currently:
Mod Name Version 
1. Bookmarks 2.2.1 [ Uninstall ]
2. Clickable Avatars 1.1.0 [ Uninstall ]
3. Karma Buttons 1.1 [ Uninstall ]
4. Remove MySQL, PHP & W3C images to minimize footer size 1.2 [ Uninstall ]
5. Remove SMF Logo 1.2 [ Uninstall ]
6. Stars And Badges 2.1 [ Uninstall ]
7. Audible PM 1.5 [ Uninstall ]
8. Hide "Logged" and IP Image 1.0 [ Uninstall ]
9. Avatar On Board 2.1 [ Uninstall ]
10. Indicator On Board AOB 1.1 [ Uninstall ]
11. Yarex 2 smiley set 2.0.0.1 [ Uninstall ]
12. Excellent Smileys 1.0 [ Uninstall ]
13. SMF 1.0.16 / 1.1.8 Update 1.0 [ Uninstall ]
14. Welcome Topic Mod 2.0 [ Uninstall ]
15. SMF Sitemap 1.2.2 [ Uninstall ]
16. Highslide Image Viewer 1.0 RC9 [ Uninstall ]
17. SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update 1.0 [ Uninstall ]
18. Aeva ~ Auto-Embed Video & Audio 6.2.76


Yes, I see the 6.2.76 version there...I tried installing the old version again and now I don't know what to do to get it to work again.  Please help!

Thanks!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 10, 2009, 03:05:49 AM
Did you uninstall Aeva 6.2 before upgrading?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Schlup on July 10, 2009, 03:11:14 AM
Originally?  No I didn't, I forgot to.  Which is what probably screwed it up...how to fix it though?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 10, 2009, 04:43:42 AM
There is not a single mod that magically uninstalls itself before reinstalling itself. It will always, always, mess up with your SMF files (except if the mod doesn't modify your SMF files obviously.)
Starting from Aeva 5.2, upgrading to the last version is easy: just upload the Aeva files to their respective folders (Sources and languages, including Aeva.english.php which is in the root folder but needs to be moved to languages)...

Uninstall Aeva, then clean up all modded files manually. Use the mod parser on the mod page to help.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Schlup on July 10, 2009, 09:03:05 AM
Ok, a couple questions.  What all files have been modified?  Secondly when you say clean them up manually, what do you mean?  Please forgive me I don't know much if anything about all this.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 10, 2009, 11:15:45 AM
Check out the manual parsing section in the mod page.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dembow on July 10, 2009, 06:07:04 PM
Quote from: Nao 尚 on July 08, 2009, 04:13:57 PM
'pattern' => 'http://(?:www\.)?fileden\.com/([\w/ &;%\.-]+\.mp3)',

That should work better...

Or simpler,

'pattern' => 'http://(?:www\.)?fileden\.com/([^"]+?\.mp3)',

Why the [3]?

idk [daydreamer] posted that code here (http://www.simplemachines.org/community/index.php?topic=200401.msg2140567#msg2140567)

anyways thanks for the help nao

do you know why now the player appears but it doesn't load the file nor plays it?

in the progress bar of firefox says [waiting for mydomain.com] but it should say transferring from or reading from filden.com ... (or something like that)

this is the custom code i'm using(updated with your code)


$sites[] = array(
'id' => 'fileden',
'title' => 'Fileden Mp3 Files',
'website' => 'http://www.fileden.com',
'type' => 'custom',
    'plugin' => 'flash',
    'pattern' => 'http://(?:www\.)?fileden\.com/([\w/ &;%\.-]+\.mp3)',
    'movie' => 'http://www.flash-mp3-player.net/medias/player_mp3_maxi.swf?mp3=$2&width=250&showstop=1&showinfo=1&showvolume=1&volumewidth=35&sliderovercolor=0000ff&buttonovercolor=0000ff',
'size' => array(250, 20),
);

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Calcricho on July 12, 2009, 12:01:56 AM
Pregunto si este mod se actualiza automatico pq lo tenia instalado y ahora salen otras opciones y el titulo abajo de mi theme..

como podria eliminar el titulo que sale bajo en mi theme?

Gracias!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on July 12, 2009, 01:12:11 AM
@dembow, I give the [34] but you change to [3].
Whatever find "$2" replace to "$1"
And yes this code worked on my forum
ex http://www.rockayseri.net/rk/deneme-tahtasi/trtube-denemesi/msg45641/#msg45641
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dembow on July 12, 2009, 01:05:29 PM
thanks, yes i changed it to 1 and now it works w00t   (http://i44.tinypic.com/9sa1jl.jpg)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: poolhall on July 12, 2009, 05:52:12 PM
Could anyone please confirm if this: http://rutube.ru/tracks/2125303.html?v=326c1b73ec82b5c4ac57457bd0efed6e works, provided that RuTube is enabled in Aeva Sites? I am getting the "the message body was left empty" error when trying to post any of RuTube videos.

Thanks.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gregh on July 17, 2009, 08:59:00 AM
hi there,

I just installed this into a 'clean' 2.0 RC1-1 site and the tab to enable it appears hidden under the miscellanous tab, attached screenshot...

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 17, 2009, 12:00:45 PM
Try the Features tab... Maybe it's there. (?)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 18, 2009, 05:21:05 AM
Updated Aeva 6.9.99 to same version number (silent update).

Fixes "Message body was empty" error. Hopefully.
Basically, I only integrated this package (http://custom.simplemachines.org/mods/index.php?mod=987) from Karl (again!) into the Aeva install script, so you don't have to reinstall Aeva, you can simply add that package over it.

I also integrated all of the changes I applied to the SVN along the months. I don't remember them but it's not much. Just very very rare bug fixes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on July 18, 2009, 11:04:07 AM
Thanks for the update Nao.  The update works on the forum, but when trying to add some audio sites I get this message, 'Your session timed out while posting. Please go back and try again.'

I uninstalled it and reinstalled the previous 6.9.99 and got the same message.  I didn't get the error with the first version, but now get it with both 6.9.99 versions.

I don't get the message on my SMF 2.0 RC1.2 forum, only on my 1.1.10 forum.

So long as it works on the forum, then I'm cool with it.  Thanks for all your hard work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: jimlunsford on July 18, 2009, 12:02:15 PM
Every time I post on the official site for this mod my posts get deleted. Hopefully I can get some help here!

When I install this mod I get the following error:

Fatal error: Cannot redeclare modifyaevasettings() (/na/naforums/Sources/ModSettings.php:362) in /na/naforums/Sources/ModSettings.php on line 370
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on July 18, 2009, 06:33:21 PM
you have alreayd installed the mod once... so by doing it again, you get a redeclare error.

You would have to manually remove the duplicated code.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 18, 2009, 07:13:38 PM
@roarinrow> I don't think this is related to Aeva... The only change in the new version is that it adds <embed> and <object> to the list of stand-alone tags that are allowed in a post (i.e. if only these tags are to be found in the post itself, SMF won't trigger an error.)

@jimlunsford> Of course I deleted your posts. The support board specifically says it is closed, and asks to post on this topic instead (because there's really no need for a full-blown support board for Aeva, now that it works just fine...)
Also, I was quite annoyed that the very question you asked has its answer in huge bold red text in the readme file, in the mod site page and in the first post of this topic. I know most people tend to look for answers by themselves before resorting to asking on a support topic, but it doesn't make it any easier for me to see that some really prefer to leave it up to me to do everything for me... Do you want a cup of tea, too? <hmm>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on July 18, 2009, 07:20:39 PM
Just checking.... this mod automatically updates itself, correct?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 19, 2009, 01:57:04 AM
Quote from: Snowy on July 18, 2009, 07:20:39 PM
Just checking.... this mod automatically updates itself, correct?
The sitelist yes, the mod no.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on July 19, 2009, 05:25:29 AM
Quote from: Nao 尚 on July 19, 2009, 01:57:04 AM
Quote from: Snowy on July 18, 2009, 07:20:39 PM
Just checking.... this mod automatically updates itself, correct?
The sitelist yes, the mod no.

OK... so I'm just downloading that package and uploading it and applying the mod, just like I do any mod and that gives me the upgrade? Forgive my ignorance. Just want to be sure I do it correctly.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 19, 2009, 06:05:00 AM
.....................
No... Uninstall and install the new version (or any version), like any mod. You have to uninstall first.
.....................
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: clewis789 on July 19, 2009, 12:03:55 PM
Sites i recommend to be added to the site list.

http://www.viddler.com/ (http://www.viddler.com/) - Viddler

http://www.podomatic.com/ (http://www.podomatic.com/) - podomatic

http://www.ustream.tv/ (http://www.ustream.tv/) - ustream

Could These Sites Be Added ?




Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gregh on July 19, 2009, 12:29:39 PM
Quote from: Nao 尚 on July 17, 2009, 12:00:45 PM
Try the Features tab... Maybe it's there. (?)

Nope, I can't find it anywhere to actually enable it, it says it installed fine and is showing in the installed packages screen, but I cannot actually find the tab to enable it??

Any ideas much appreciated.

regards,

Greg
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 19, 2009, 01:42:24 PM
Quote from: clewis789 on July 19, 2009, 12:03:55 PM
Sites i recommend to be added to the site list.

http://www.viddler.com/ (http://www.viddler.com/) - Viddler

http://www.podomatic.com/ (http://www.podomatic.com/) - podomatic

http://www.ustream.tv/ (http://www.ustream.tv/) - ustream

Could These Sites Be Added ?
They're already there in the first place! Ever read the readme file?

(Except for podomatic but I'm not adding any new sites.)

@gregh> I don't know... Try reinstalling?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: selket on July 19, 2009, 02:02:51 PM
What is new with the upgrade added today?
Thank you.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: gregh on July 19, 2009, 02:26:03 PM
Quote from: Nao 尚 on July 19, 2009, 01:42:24 PM
Quote from: clewis789 on July 19, 2009, 12:03:55 PM
Sites i recommend to be added to the site list.

http://www.viddler.com/ (http://www.viddler.com/) - Viddler

http://www.podomatic.com/ (http://www.podomatic.com/) - podomatic

http://www.ustream.tv/ (http://www.ustream.tv/) - ustream

Could These Sites Be Added ?
They're already there in the first place! Ever read the readme file?

(Except for podomatic but I'm not adding any new sites.)

@gregh> I don't know... Try reinstalling?

I did the 'small' update to RC 1-2, deleted Aeva first then re-installed, still the same issue! Should I remove files and re-install or try and re-install on top?

Cheers,

Greg
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on July 19, 2009, 02:48:30 PM
Quote from: Nao 尚 on July 19, 2009, 06:05:00 AM
.....................
No... Uninstall and install the new version (or any version), like any mod. You have to uninstall first.
.....................

Thank you, Nao. I did just as you stated here. Everything is fine for me as far as I can see.
Appreciate all your hard work.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 19, 2009, 04:48:45 PM
@selket> That's what changelogs are for...
@gregh> Try asking around the general support topics.
@snowy> No problem.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on July 19, 2009, 05:01:59 PM
Nao can i  share for Aeva old rev version on turkish support topic (http://www.simplemachines.org/community/index.php?topic=294416.0)?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 19, 2009, 05:12:22 PM
Why would you need to do that anyway?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on July 19, 2009, 05:17:06 PM
Beause some user used to 3.1.2 and upgrade to 6.1.99. You know some user don't like so "copright" system on forum mainpage. And I explain "what you can do it". So users want to go back old version. But 3.1.2 not in anywhere. Plus i have it already. That's why.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PRaDiUS on July 19, 2009, 06:09:12 PM
Hey can you tell me how to use the custom file to change the size of the HD videos? Tried to do it myself, but it wasn't working so musta been doing something wrong. What all do I have to change in the custom file and is there anything outside of that file i need to change  ???
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: clewis789 on July 20, 2009, 03:14:51 AM
Quote from: Nao 尚 on July 19, 2009, 01:42:24 PM
Quote from: clewis789 on July 19, 2009, 12:03:55 PM
Sites i recommend to be added to the site list.

http://www.viddler.com/ (http://www.viddler.com/) - Viddler

http://www.podomatic.com/ (http://www.podomatic.com/) - podomatic

http://www.ustream.tv/ (http://www.ustream.tv/) - ustream

Could These Sites Be Added ?
They're already there in the first place! Ever read the readme file?

(Except for podomatic but I'm not adding any new sites.)

@gregh> I don't know... Try reinstalling?

no i didn't i will have a look over it now.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 20, 2009, 09:14:04 AM
@pradius> search this topic for "subs-aeva-custom"...

Quote from: [Daydreamer] on July 19, 2009, 05:17:06 PM
Beause some user used to 3.1.2 and upgrade to 6.1.99. You know some user don't like so "copright" system on forum mainpage. And I explain "what you can do it". So users want to go back old version. But 3.1.2 not in anywhere. Plus i have it already. That's why.
Yeah but as the licence agreement says, people can get in touch with me so we can devise a solution if they're not willing to show the copyright notice.
Need I say more...?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PRaDiUS on July 20, 2009, 11:41:15 PM
Quote from: Nao 尚 on July 20, 2009, 09:14:04 AM
@pradius> search this topic for "subs-aeva-custom"...

when i do that it only comes up with 1 search result and that result reads...

QuoteHello

Any directions on how to expand the embedded youtube videos to the new format (960px wide)?

I tried to set the new dimensions in Subs-Aevac-Sites.php but it didn't help :<

i just would like to know how to make these high quality youtube videos smaller, thats all...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 21, 2009, 03:41:15 AM
Quote from: PRaDiUS on July 20, 2009, 11:41:15 PM
Quote from: Nao 尚 on July 20, 2009, 09:14:04 AM
@pradius> search this topic for "subs-aeva-custom"...

when i do that it only comes up with 1 search result and that result reads...
Then this site is buggy...

Quotei just would like to know how to make these high quality youtube videos smaller, thats all...
That's the very example given in the example file......
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 21, 2009, 07:12:33 AM
Quote from: jimlunsford on July 21, 2009, 06:08:22 AM
Someone really needs to teach you some customer service skills.
Customer service? What for? You would have to be a customer in the first place! Which means you would have to give me something in exchange for my service!

When did I sign up for free, eternal updates on Aeva?
I'll just stop at one point and I won't be supporting it either. And you know what? Because people like you keep treating me like ****** and think I owe them something.
And that'll be just the same for SMG. Shame on you, "customers". What fun it has been to serve you all and get insulted so many times in return.

I'm out of here.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: clewis789 on July 21, 2009, 10:35:17 AM
dont listen to them bro. your mods are great please dont delete them.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 21, 2009, 12:23:35 PM
Every day I'm getting this kind of remark. Every day I'm tempted to throw everything away and remind everyone they should respect the people who write the mods and provide help/support. It's no fun anymore. It hasn't been fun at all for several months now.
At this point I'm really no longer concerned with the success of my mods. Unless someone steps in and offers me a decent actual salary for a fulltime job on SMF and my mods (which of course won't happen), one day I'll just drop them and go bye bye on this wonderful community.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: LHW on July 21, 2009, 12:26:55 PM
When you do, Nao, you'll be sorely missed by the greater majority that respects both you, and the work you've done.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: searchgr on July 21, 2009, 12:38:08 PM
We will miss you. Don't leave.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Indy74 on July 21, 2009, 02:00:16 PM
Any recent major changes on youtube officially or on aeva's youtube? :)

Strangely, now HDs load only the proper sizes but does not load the actual quality(one has to click it manually)

I haven't touched anything! It was working fine few days ago.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 21, 2009, 02:08:28 PM
Quote from: RowdyMusician on July 21, 2009, 01:18:20 PM
We need Karl Benson's version of this mod available again. Worked fine without the attitude.
It's there, it's called YTBBC.

@indy> Did YT add anything to their code? I don't think they did...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on July 21, 2009, 02:43:16 PM
Keep the tone down everybody! First and final warning!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Rowdy on July 21, 2009, 02:46:47 PM
I'm not talking about the BBC mod. Karl's mod did auto-embeds. That mod should be restored.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Indy74 on July 21, 2009, 02:55:43 PM
Quote from: Nao 尚 on July 21, 2009, 02:08:28 PM
@indy> Did YT add anything to their code? I don't think they did...
One thing i'm not sure of - when you load the page with the HD clip, it loads the ws version first, right? And when you click on the "HD" button it is supposed to put some "hd" in the address bar at the end of the link. Now it doesn't do that. Or may be i'm completely mistaken and it has always been like that?
One thing i'm certain thou - it acts different now. It loads automatically only the hd size but not the hd quality - you have to click it:)
It's not a big deal. I'm only checking if you're aware of that.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PRaDiUS on July 21, 2009, 04:15:31 PM
Quote from: Nao 尚 on July 21, 2009, 03:41:15 AM
That's the very example given in the example file......

I know. I followed the example and renamed the file before uploading it like it said and everything. But it did not work. So somewhere along the line I did something wrong or the example missed something. Either way I'm currently stuck with these extra large videos. Can you tell me how to go in and fix it or no? I'm not a scripting wiz kid like yourself, so alot of this is still foreign to me. You make it sound like a fast and easy fix. How do I do it? Sorry if my slowness is frustrating.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Costa on July 21, 2009, 04:31:18 PM
I only can say, Thank you Nao

HEre is the translation for portuguese an Brazilian

<?php

$txt
['aeva'] = 'Aeva';
$txt['aeva_title'] = 'Aeva (Auto-Embed Video &amp; Audio)';
$txt['aeva_enable'] = 'Ligar o Mod Aeva (Opções Principais)';
$txt['aeva_lookups'] = 'Ligar Lookups';
$txt['aeva_lookup_success'] = 'Esta opção <b>VAI</b> funcionar no seu servidor';
$txt['aeva_lookup_fail'] = 'Esta opção <b>NÃO VAI</b> funcionar no seu servidor';
$txt['aeva_max_per_post'] = 'Máx vídeos por mensagem';
$txt['aeva_max_per_page'] = 'Máx vídeos por página';
$txt['aeva_max_warning'] = 'Demasiado Flash é mau para a saúde do seu browser';
$txt['aeva_quotes'] = 'Permitir vídeos nas citações';
$txt['aeva_mov'] = 'Ficheiros Quicktime (.mov)';
$txt['aeva_real'] = 'Ficheiros Real Media (.rm/.ram)';
$txt['aeva_wmp'] = 'Ficheiros Windows Media (.wmv/.wma)';
$txt['aeva_swf'] = 'Animações Flash (.swf)';
$txt['aeva_flv'] = 'Vídeos Flash (.flv)';
$txt['aeva_divx'] = 'Ficheiros DivX (.divx)';
$txt['aeva_avi'] = 'Ficheiros Avi (.avi) (com o player DivX)';
$txt['aeva_mp3'] = 'Ficheiros Mp3 (com o player Flash)';
$txt['aeva_fix_html'] = 'Corrigir o uso de HTML integrado com um link integrado';
$txt['aeva_noexternalembedding'] = '(Integração externa desligada)';
$txt['aeva_includeurl'] = 'Incluir o link original';
$txt['aeva_includeurl_desc'] = '(para sites que não o tenham no player)';
$txt['aeva_debug'] = 'Aeva Debug Mode (Admin apenas)';
$txt['aeva_debug_took'] = 'Aeva Debug:';
$txt['aeva_debug_seconds'] = ' segundos.';
$txt['aeva_debug_desc'] = 'Tempo que o auto embed demora em cada mensagem.';
$txt['aeva_local'] = 'Embutir ficheiros locais [Exclui anexos]';
$txt['aeva_local_desc'] = 'Local significa no mesmo servidor. Mas não permite QUALQUER ficheiro deste tipo ser embutido de qualquer lado.';
$txt['aeva_denotes'] = '(Sites marcados com * requirem pesquisa)';
$txt['aeva_fish'] = '(ites marcados com * requirem pesquisa, no entanto a pesquisa NÃO irá funcionar no seu servidor.<br /> Então, a não ser que pesque manualmente por uma url embutidaT, o embutimento NÃO irá funcionar para esses sites.)';
$txt['aeva_pop'] = 'Sites Populares';
$txt['aeva_video'] = 'Sites de Vídeo';
$txt['aeva_audio'] = 'Sites de Áudio';
$txt['aeva_other'] = 'Outros Sites';
$txt['aeva_adult'] = 'Sites Adultos';
$txt['aeva_custom'] = 'Sites Personalizados';
$txt['aeva_select'] = 'Seleciona tudo';
$txt['aeva_reset'] = 'Voltar aos valores padrão';
$txt['aeva_disable'] = 'Desligar Embutimento';
$txt['aeva_desc'] = 'Bem-vindo ao painel de administração do mod Aeva. Aqui você pode mudar as configurações';
$txt['aeva_allow_adult'] = 'Permitir sites adultos';
$txt['aeva_admin_aeva'] = 'Aeva Administração - Configurações';
$txt['aeva_admin_aevasites'] = 'Aeva Administração - Lista de sites';
$txt['aeva_sites'] = 'Aeva Sites';
$txt['aeva_new_version'] = 'Uma nova versão (<a href="%s">%s</a>) está disponível!';
$txt['aeva_current_version'] = 'Versão actual: %s';
$txt['aeva_sitelist_updated'] = 'A lista de sites foi actualizada na última versão!';
$txt['aeva_titles'] = 'Armazenar & mostrar os títulos dos vídeos';
$txt['aeva_titles_desc'] = '(se o site for suportado pelo Aeva)';
$txt['aeva_titles_yes'] = 'Sim, pesquisar e mostrar';
$txt['aeva_titles_yes2'] = 'Sim, mas não armazenar nada novo';
$txt['aeva_titles_no'] = 'Não, mas continuar mostrando para mais tarde';
$txt['aeva_titles_no2'] = 'Não, não armazenar e não mostrar';
$txt['aeva_inlinetitles'] = 'Mostrar o título dentro do thumbnail do vídeo';
$txt['aeva_inlinetitles_desc'] = '(para sites suportados, como YouTube e Vimeo)';
$txt['aeva_inlinetitles_yes'] = 'Sim';
$txt['aeva_inlinetitles_maybe'] = 'Apenas se o título não estiver armazenado';
$txt['aeva_inlinetitles_no'] = 'Não';
$txt['aeva_noscript'] = 'Usar antes, Javascript-less, embedding system';
$txt['aeva_noscript_desc'] = 'Use apenas se tiver problemas de compatibilidade';
$txt['aeva_expins'] = 'Mostrar instalador Flash express';
$txt['aeva_expins_desc'] = 'Se a versão Flash do usuário estiver desctualizada, os vídeos oferecem opção de actualização';
$txt['aeva_lookups_desc'] = 'A maior parte das características do Aeva requerem pesquisa';
$txt['aeva_center'] = 'Centrar vídeos horizontalmente';
$txt['aeva_center_desc'] = 'Ou adicione "-center" à âncora do vídeo (ex: #ws-center)';
$txt['aeva_sitelist_added'] = 'O(s) seguinte(s) site(s) foi adicionado(s):';
$txt['aeva_sitelist_removed'] = 'O(s) seguinte(s) site(s) foi removido(s):';
$txt['aeva_sitelist_modified'] = 'O(s) seguinte(s) site(s) foi modificado(s):';
$txt['aeva_lookup_titles'] = 'Tentar encontrar títulos em todos os sites';
$txt['aeva_lookup_titles_desc'] = '(mesmo quando não são suportados - nunca saberá)';
$txt['aeva_incontext'] = 'Enable Embedding in Sentences';
$txt['aeva_too_many_embeds'] = '(Embedding disabled, limit reached)';
$txt['aeva_checkadmin'] = 'Restrict manual updates to admins';
$txt['aeva_checkadmin_desc'] = 'If enabled, only you will be able to update the sitelist (see readme.txt)';
$txt['aeva_q_normal'] = array('DQ',    'Qualidade Padrão quality');
$txt['aeva_q_lq']  = array('LQ',    '5 - Baixa Qualidade (FLV mono)');
$txt['aeva_q_lq2'] = array('LQ+',    '34 - Baixa Qualidade (FLV stereo)');
$txt['aeva_q_hq1'] = array('HQ-',    '6 - Vídeo de alta qualidade (FLV mono)');
$txt['aeva_q_hq']  = array('HQ',    '18 - Vídeo de alta qualidade (MP4 stereo)');
$txt['aeva_q_vhq'] = array('HQ+',    '35 - Vídeo de muito alta qualidade (FLV stereo, 640x360)');
$txt['aeva_q_hd']  = array('HD',    '22 - Alta definição (MP4 stereo, 1280x720)');

?>


Farewell dude, and keep the good work
- Costa
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: NO CARRIER on July 21, 2009, 07:03:04 PM
I'm with you, Nao 尚!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jazhawk on July 22, 2009, 06:17:51 PM
249 pages is too much to dig through so I'l ask the question and hope I get lucky.  I've installed the mod on my board and it's working great. 
I'm running SMF 1.1.10.  Now, I say it's working great but only if I'm running from my windows box.
However, I'm taking another stab at running Ubuntu 9.04 again. (still a noob) And when I
visit my site with Firefox I don't see any of the videos (YouTube) I posted there.  I only see
the title text.  No box outline, no question mark, nothing.

Is this a plugin problem with Firefox perhaps or something else?  I intend to ask the
Ubuntu peeps as well but I thought it might be you since I can go to
youtube.com and watch videos all day long with the same browser.

Any ideas?

-Jazhawk
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on July 22, 2009, 06:36:26 PM
Can you see videos directly from Youtube?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Jazhawk on July 22, 2009, 07:52:23 PM
Quote from: Akyhne on July 22, 2009, 06:36:26 PM
Can you see videos directly from Youtube?

Yes.  Youtube seems fine.   Doesn't seem to work on my board when I use FF from Ubuntu.

Edit: I got it working now.  Problem with plugins for the browser. 

My issues in this thread can be closed.  Thanks.

-Jazhawk
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: ianus on July 23, 2009, 03:54:10 PM
@PRaDiUS

Try this:
In Subs-Aeva-Custom.php
Search for
/* // REMOVE THIS LINE TO COMMENT OUT

Copy the part of the code, which is for the height / weight part of hd videos
This one

foreach ($sites as $si => $te)
{
// Set YouTube's HD videos to the same size as normal widescreen - you can also do: unset($sites[$si]['size']['hd']);
if ($te['id'] == 'ytb')
$sites[$si]['size']['hd'] = array(640, 385);
}

Paste it after the next /*.

Don't forget to reload the thread which includes the video and maybe clear the browser cache.


@Indy74

Maybe this is intensed (or I get you wrong).
As far as I know, Aeva remembers the last chosen Quality and displays other videos in the same Quality (if available).
For example.
A user don't have a fast connection and change a video to LQ.
The next one he will see (in an other thread) will have LQ preselected. 


@Nao 尚

I'm with you!
Like to read some positive feedback?
I'm running my site know for 3 years and can't manage to get some members.
After I start using Aeva, I have two members who post at least once a week. I have some conversation with both of them and they told me, that they post only because of the "cool video feature".
After a while they have send me a request to offer them a private board for their RPG community.
At the moment, none of them have any interest in posting in the "open part" of my page, but they write in their "private board". They are spamming YouTube Videos in nearly every thread and are really happy with this "unique video feature".

You see, you have a solid fan-base, even in boards, you haven't ever heart of.

Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 23, 2009, 05:38:47 PM
lol... People over at my own board aren't using Aeva or SMG except for the occasional test post/item because they feel compelled to try out my new features when I announce them for fear of hurting my feelings if they didn't.... <sob>
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Aleksi "Lex" Kilpinen on July 24, 2009, 03:50:23 AM
Aeva is by far one of the most popular functions of my forum as well. People like it a lot that they don't have to manually construct an embed code in BBC... :) ( We actually used to have instructions on how to do it for youtube vids ;) )
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Indy74 on July 24, 2009, 05:17:21 AM
Quote from: ianus on July 23, 2009, 03:54:10 PM

Maybe this is intensed (or I get you wrong).
As far as I know, Aeva remembers the last chosen Quality and displays other videos in the same Quality (if available).
For example.
A user don't have a fast connection and change a video to LQ.
The next one he will see (in an other thread) will have LQ preselected. 

Thanks for the response.
But that's not the case. I'm sure youtube have changed something. It's the only logical explanation as long as Nao hadn't made any to aeva.
My board is not public yet, so i'm only testing stuff on it. Posting, deleting, cashing out etc. all the time:)
A week ago, as i was testing, YT hds were loading in proper size and quality automatically. And a few days ago i tried again with new clip and it only showed in proper size but not the quality. Somehow, option for loading HD quality automatically has gone - now i have to click on the button for hd.
And something else: if i make custom file even if it's unchanged inside, the aeva settings page inside the admin in smf goes blank when refreshed - no errors, no nothing - clean blank. I have pure smf instalation with two mods: aeva and simple portal, so i think the problems have to be in some of the sites(my wild guess is YT).
However Aeva is the greatest embedding mod i've ever used. I've been testing: vB, MyBB, phpBB, IPB and i haven't found a mod as smooth and comfortable as Aeva. With all the user-friendliness, auto updates and tutorials inside - it just owns them all.
:)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Alcor on July 24, 2009, 05:18:51 AM
A great mod that I just install but, unfortunately I have problems with the installations on my server, so I had to install it manually.

It works fine except for youtube videos, it only shows me the video's title with IE and FF, and with Yahoo videos the mod works only with IE, in FF the video is blank.

Can you help me? The SMF version is 1.1.10 and AEVA version 6.9.99.

Thanks
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on July 24, 2009, 08:19:47 AM
Quote from: Costa on July 21, 2009, 04:31:18 PM
HEre is the translation for portuguese an Brazilian
There is already a PT translation on aeva.noisen.com
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: emonk on July 24, 2009, 10:12:00 PM
Quote from: Jerri Blank on April 20, 2009, 08:44:51 AM
I know from the README file that there's a way to disable embedding in the shoutbox:

QuoteJust find the position, in the relevant source file, where data is put through the "parse_bbc" function. Then on the line BEFORE it, add:
      $context['aeva_disable'] = 1;

Can someone tell an idiot like me which is the relevant source file for Advanced Shout Box?

Thanks!
i need that answer too, I put $context['aeva_disable'] = 1; just before    $text = parse_bbc($text); in yshout.php file, but doesn't work :(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PRaDiUS on July 26, 2009, 10:39:47 AM
I must be retarted, because I need you to explain this a little better.
I read what you said there and then did what I thought you were trying to say...
But obviously I got it wrong. Can you break it down so I can better understand?
Sorry for being so slow.

Quote from: ianus on July 23, 2009, 03:54:10 PM
@PRaDiUS

Try this:
In Subs-Aeva-Custom.php
Search for
/* // REMOVE THIS LINE TO COMMENT OUT

Copy the part of the code, which is for the height / weight part of hd videos
This one

foreach ($sites as $si => $te)
{
// Set YouTube's HD videos to the same size as normal widescreen - you can also do: unset($sites[$si]['size']['hd']);
if ($te['id'] == 'ytb')
$sites[$si]['size']['hd'] = array(640, 385);
}

Paste it after the next /*.

Don't forget to reload the thread which includes the video and maybe clear the browser cache.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Indy74 on July 26, 2009, 11:10:37 AM
Quote from: PRaDiUS on July 26, 2009, 10:39:47 AM
I must be retarted, because I need you to explain this a little better.
I read what you said there and then did what I thought you were trying to say...
But obviously I got it wrong. Can you break it down so I can better understand?
Sorry for being so slow.

In your Subs-Aeva-Custom.php file you have this:
/* // REMOVE THIS LINE TO COMMENT OUT

foreach ($sites as $si => $te)
   {
// Set YouTube's HD videos to the same size as normal widescreen - you can also do: unset($sites[$si]['size']['hd']);
      if ($te['id'] == 'ytb')
         $sites[$si]['size']['hd'] = array(640, 385);
   }


This is a example of how it's suppose to be done with YouTube. This particular code makes youtube's hd's always to be shown at 640x385 which is smaller the the official hd size(854x505).
By default the code is commented out(deactivated), so you have to remove /* (or the first one at least) in order to activate that portion of code.
So the working code is this:
// REMOVE THIS LINE TO COMMENT OUT

foreach ($sites as $si => $te)
   {
// Set YouTube's HD videos to the same size as normal widescreen - you can also do: unset($sites[$si]['size']['hd']);
      if ($te['id'] == 'ytb')
         $sites[$si]['size']['hd'] = array(640, 385);
   }


Currently adding more settings for youtube different sizes is not working. I don't know why.
If you make this for example:
// REMOVE THIS LINE TO COMMENT OUT

foreach ($sites as $si => $te)
   {
// Set YouTube's HD videos to the same size as normal widescreen - you can also do: unset($sites[$si]['size']['hd']);
      if ($te['id'] == 'ytb')
         $sites[$si]['size']['hd'] = array(854, 505);
         $sites[$si]['size']['normal'] = array(425, 344);
         $sites[$si]['size']['ws'] = array(640, 385);
   }

It won't work. At this moment it only accepts one setting. I guess it's some youtube's side bug or they have modified something.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 26, 2009, 11:30:03 AM
You forgot the extra {}'s.
Also, YouTube is broken, yes. I discussed it here but got no feedback so far.
http://aeva.noisen.com/dev/5060/tests-video-embedding/msg232769/#msg232769
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PRaDiUS on July 26, 2009, 03:12:37 PM
how can i just make all of my youtube videos appear as the small square size then?
anything would be better then these oversized HD videos.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 26, 2009, 05:43:43 PM
Well, that's what the Custom file is for. Just don't forget to regenerate after renaming & uploading it. 'course.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: PRaDiUS on July 26, 2009, 11:39:16 PM
i regenerated. i took out the /*. i did everything just as has been mentioned but the size just does not seem to be changing. i don't know what i am doing wrong.  :'(
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: silverf0x on July 27, 2009, 12:37:14 AM
i've just upgrade my version here

and get this error trying to modify settings on admin panel

Fatal error: Cannot redeclare modifyaevasettings() (previously declared in /home/cyber/public_html/Sources/ManageSettings.php:2007) in /home/cyber/public_html/Sources/ManageSettings.php on line 2022
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 27, 2009, 02:27:53 AM
RTFM!!!!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Soms on July 27, 2009, 04:42:13 AM
Quote from: silverf0x on July 27, 2009, 12:37:14 AM
i've just upgrade my version here

and get this error trying to modify settings on admin panel

Fatal error: Cannot redeclare modifyaevasettings() (previously declared in /home/cyber/public_html/Sources/ManageSettings.php:2007) in /home/cyber/public_html/Sources/ManageSettings.php on line 2022

@silverf0x. It means that the AEVA code is duplicated (or even triplicated) in your ManageSettings.php file. You have to remove the duplicate code.  This has been revisited more than 20 times on this thread. You should really try and read some of the previous pages first.

@all. For those of you who can not read minds, RTFM means Read The Fucking Manual!   ;D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 27, 2009, 07:45:56 AM
Quote from: Soms on July 27, 2009, 04:42:13 AM
@all. For those of you who can not read minds, RTFM means Read The Fucking Manual!   ;D
Or you could just STFG for RTFM ;)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: clewis789 on July 27, 2009, 01:49:37 PM
Quote from: Nao 尚 on July 26, 2009, 11:30:03 AM
You forgot the extra {}'s.
Also, YouTube is broken, yes. I discussed it here but got no feedback so far.
http://aeva.noisen.com/dev/5060/tests-video-embedding/msg232769/#msg232769
The youtube on the site i am a admin on is working ok
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on July 27, 2009, 06:31:10 PM
Quote from: Soms on July 27, 2009, 04:42:13 AM
You should really try and read some of the previous pages first.

You do realize that this thread is 250 pages now, right? Do you think anyone is going to bother trying to read that when they could just ask a question?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Kindred on July 27, 2009, 09:09:56 PM
well, if the user does not bother to take some effort to read and see if the question has been asked, why should the other users bother to take the effort to repeat themselves?

Seriously...   there is a search button just up to the right....
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on July 27, 2009, 09:28:36 PM
I agree.. use the search button. I do, with various word choices as well.

This mod is so tremendous.... I think it should be built into SMF with an option to turn it on/off.

Nao, regardless of what you do, please know you and your work are greatly appreciated.
I, for one, love what you and others do here, and I LEARN from all the programmers.

Everyone here who creates mods does so because they love programming and want to make SMF better for all of us who use it. Leave the tongue lashings to yourself and respect what these people have created, please. Put yourself in their shoes.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 28, 2009, 02:50:17 AM
@Cheschire> 250 pages is a bad excuse. Even a 10-page topic is going to have the same treatment. People just read the last few pages and usually they'll find their answer there. Additionally, they try to read the first post. That's why I'm putting the FAQ over there. In the first post. Which some people still can't get to read. Uh... So, yeah, 250 pages, who cares. Just read the last few pages and you'll always get your answer, since the same questions come up again and again and again from people who can't frakking take a few seconds to read the first message...

@Kindred> Unfortunately, the "search in topic" feature is broken or something. It never returns correct results for me.

@Snowy> Yeah, at this point it should be built into SMF and I'd gladly let the SMF team take it, but only if they use my code (I don't think it can be improved upon), which they'd never do (they like to rewrite everything). Although since Karl is now part of the team and he contributed to Aeva (if only by creating its earlier incarnations), maybe they would be willing to do that. The main issue right now is that YouTube quality selection is frakking broken and I'm waiting for them to fix it -- I don't think they ever will. They want to force us to only see HD or not HD, instead of HD/VHQ/HQ+/HQ/LQ+/LQ.

(Hey, 4 posts till the 5000 replies mark...)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: digit on July 28, 2009, 03:56:59 AM
I am getting the following errors....  can someone please help?


MYAU24K4u
July 26, 2009, 06:50:13 AM
68.225.14.123 
  0976590a9876597869lihg81bd13d37a34
http://forum.treasurenet.com/hottalk/index.php
http://www.mysite.com/index.php
2: fclose(): supplied argument is not a valid stream resource
File: /Sources/Subs-Aeva-Admin.php
Line: 504

MYAU24K4u
July 26, 2009, 06:50:13 AM
68.225.14.123 
0976590a9876597869lihg81bd13d37a34
http://www.mysite.com/index.php
2: fwrite(): supplied argument is not a valid stream resource
File: /Sources/Subs-Aeva-Admin.php
Line: 503

Is it normal for a user to get an error on an admin file?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 28, 2009, 04:52:12 AM
You probably don't have permissions to create files in your Sources folder. Check your server settings.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: digit on July 28, 2009, 05:09:50 AM
Thanks - What files would be created in the Sources folder?  I have the mod installed, it's working great - but "users" are generating that error.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on July 28, 2009, 07:22:08 AM
Nao, these support topics give an extremely unfair impression of the community's view on your mods, they will always bring out the negativity. The fact is, for every negative and selfish post by one of your users, there are 100x more people who are silent but are very thankful for your work. It's just human nature that we only tend to post when we are having trouble rather than simply to say thanks and nothing else.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 28, 2009, 08:45:54 AM
@digit> Subs-Aeva-Generated-Sites.php

@mark> Yes, I know about the silent majority... I know very well about it. But still, I'm the sucker who's forced to come here and provide support, so I read all the messages, and all I can see is people complaining. No word from the other 3.000+ regular users. Eh.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on July 28, 2009, 09:24:10 AM
Only few complains, Nao. You could spare yourself by making a FAQ in your first post, or make one at your site.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Soms on July 28, 2009, 10:01:23 AM
Democracy has always been a game that is manipulated by the vocal minority. And unfortunately our leaders only react  to those who shout the most while ignoring those in the majority who are just minding their own businesses. I see the same playing out here.  I have always taken the trouble of reading all messages in this thread (I did not do that today, but I have been following it from the beginning). 95% of the messages say how great this mod is and what a wonderful job its creator is doing. 3% are negative and 2% are downright abusive.

The effect, the good comments (95%) are just taken for granted and the 5% result in a change of course by the creator of the mod. 5% of the people are given the power to cause pain for 95% of the people! Any leader in the world would kill for a 95% approval rating! But I am getting the impression that without 100% of the vote, Nao will never be satisfied. That is a big pity. We love you Nao. And I say that from the bottom of my heart. The mod you developed has transformed thousands of forums all over the world. The majority is not responsible for the utterances of the minority and as such is unfair to make them pay for these utterances.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 28, 2009, 10:29:14 AM
@akyhne> There IS a faq in the first post, on the site, on the official mod page, and on the readme page when installing... What more do people need? Big huge text in red? There it is, too!

@soms> I dare you to find 95% of positive message here. Seriously :P
And re: my attitude towards the Aeva/SMG crowd, all I can say is: I'm getting very little in return for these works. I don't need the compliments, they're nice but I don't need them. What I need is absolutely zero insults, and as few noobs as possible. I hate having to post the same tech help twice in a row. People don't even bother to read the very last page in a topic before they post on it! It happened so many times... And then I start answering with sarcasm, to which they answer with insults, etc, etc... Maybe what Aeva needs most, is to have a lot of tech people posting on it, and as few messages as possible from me. I tried seeing whether people would be willing to donate to me, I got about 30$ in six months. Then I tried seeing whether they'd be willing to donate in exchange for great code -- I made 60€ in one month. (For something that took me two months of fulltime work, as I mentioned before.) So, basically, if I do things for free, I'm insulted. If I do things for a fee, I get ignored. Talk about open source community... Well that "open" thing is quite overrated. No wonder I'm becoming bitterer as time goes by.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on July 28, 2009, 10:45:54 AM
Quote from: Nao 尚 on July 28, 2009, 10:29:14 AM
@akyhne> There IS a faq in the first post, on the site, on the official mod page
... that answer all those questions that are raised again and again? Why not then just throw a link to people? I mean, not a "check aeva.noisen.com", but a direct link.

Quote from: Nao 尚 on July 28, 2009, 10:29:14 AM
@soms> I dare you to find 95% of positive message here. Seriously
Depends how you see it. If we let out the rude answers due to a rude comment from you, I think you could raise it even higher, maybe even 100%.
I understand your frustrations, but when you make a mod as popular as this one, you will always get a lot of questions. If you have a proper FAQ guide, you could answer almost any question by linking.

I supported helping out answering questions here and there for a long time, I even concidered at some point to make a FAQ, but at some point I got so tired of the rude answers, not only from you but also from members here.
Basically I only come here now to see if someone needs a warning for bantering and fighting. Not particular exiting...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: digit on July 28, 2009, 11:01:00 AM
Well, if I asked a question that has already been covered, sorry - I DID google and search smf's site for "fwrite(): supplied argument is not a valid stream resource aeva" but couldn't find anything....  I hate to read 101 pages to find what appears to have been a simple answer!

....anyway thanks for the answer - and a VERY cool mod..   8) ... now - can I just make the Subs-Aeva-Generated-Sites.php file writable, or do I need to change the permissions of the entire Sources directory?


Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 28, 2009, 11:11:23 AM
@akyhne> The most frequently asked question is the one that is replied to in huge red bold text in the FAQ. I used to tell people to go read the first message in the topic, now I'll just say RTFM because really that's what they should do (and AFAIK there's no no-RTFM policy on sm.org.)

@digit> I think you'll have to change your permissions, or more likely, look into whether you have something like PHP Safe Mode installed.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kai920 on July 28, 2009, 12:22:18 PM
Quote from: ianus on July 23, 2009, 03:54:10 PM
@PRaDiUS

Try this:
In Subs-Aeva-Custom.php
Search for
/* // REMOVE THIS LINE TO COMMENT OUT

Copy the part of the code, which is for the height / weight part of hd videos
This one

   foreach ($sites as $si => $te)
   {
// Set YouTube's HD videos to the same size as normal widescreen - you can also do: unset($sites[$si]['size']['hd']);
      if ($te['id'] == 'ytb')
         $sites[$si]['size']['hd'] = array(640, 385);
   }

Paste it after the next /*.

Don't forget to reload the thread which includes the video and maybe clear the browser cache.

Perfect, thanks ianus! Got the youtube HD videos back to normal size.

And of course big thanks to Nao 尚 for the mod  :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: wladymeer on July 28, 2009, 01:16:38 PM
I know this might not be the proper place to ask but is there some mod working like Aeva just for pictures?

Meaning, is it possible to make some mod to just copy url and that [IMG] code appears automatic?

Once again I apologize for offtopic.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dembow on July 28, 2009, 01:51:22 PM
hello,

i'm having problems making all youtube hd videos to a certain size

i added this to my aeva-custom but it's not working :(


   foreach ($sites as $si => $te)
   {
// Set YouTube's HD videos to the same size as normal widescreen - you can also do: unset($sites[$si]['size']['hd']);
      if ($te['id'] == 'ytb')
         $sites[$si]['size']['hd'] = array(740, 438);
   }


am i missing something?   please help!
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on July 28, 2009, 02:01:24 PM
Did you remember to save the embed list in the admin center as well?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dembow on July 28, 2009, 02:45:24 PM
you mean going to the aeva sites tab and clicking save there?

btw it didn't add a youtube on the custom part, i guess since it's on top it wont add it again?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: dembow on July 28, 2009, 03:52:20 PM
oh! never mind, weird is working now    :D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 28, 2009, 06:25:07 PM
Quote from: wladymeer on July 28, 2009, 01:16:38 PM
I know this might not be the proper place to ask but is there some mod working like Aeva just for pictures?

Meaning, is it possible to make some mod to just copy url and that [IMG] code appears automatic?

Once again I apologize for offtopic.
Not that I know of -- and not that it'd be of any use really. The thing with videos is that SMF doesn't allow non-admins to add  tags because of security issues, while pictures have no such problem.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Cccddd on July 29, 2009, 08:56:04 AM
Quote from: Nao 尚 on July 28, 2009, 02:50:17 AM
@Cheschire> 250 pages is a bad excuse. Even a 10-page topic is going to have the same treatment. People just read the last few pages and usually they'll find their answer there. Additionally, they try to read the first post. That's why I'm putting the FAQ over there. In the first post. Which some people still can't get to read. Uh... So, yeah, 250 pages, who cares. Just read the last few pages and you'll always get your answer, since the same questions come up again and again and again from people who can't frakking take a few seconds to read the first message...

So you're telling people to read the last few pages because someone asked the question over and over, but you don't want them asking the question over and over.

I guess my point is people are going to ask anyways, why be such pricks about it? Just answer their question, or ignore them. You just bring bad karma all around if you are a prick to someone who is asking a question, regardless of whether or not you answer the question.

But I guess you'll report this post to a mod too since I'm being contrary.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 29, 2009, 12:20:37 PM
Would you rather have someone do nothing at all, or someone bring bad karma out of desperation at all the noob stuff and insults, but who on the other side actually went to work and released a popular mod for the community?

Ah...

Anyway.

Version 6.9.100                                    29th July 2009
-----------------------------------------------------------------
! This update is not silent, since you'll need to install it if you
  want to keep YouTube support working at least a bit.
! Half-fixed YouTube support by removing all quality levels and simply
  using a HD flag. Will revert to the usual system if YouTube fixes
  support for the "ap" parameter on their side.
* Copyright footer now uses the smalltext class (long overdue!)
! Fixed typo in Crunchyroll support
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: digit on July 29, 2009, 12:55:11 PM
Quote from: Nao 尚 on July 28, 2009, 10:29:14 AM
@akyhne> There IS a faq in the first post.

I must be blind. I searched for FAQ and F.A.Q.  NADA.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: mark7144 on July 29, 2009, 01:04:46 PM
Upgraded to .100, all working fine (excluding the bold link issue you already know about). :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: RoarinRow on July 29, 2009, 01:31:16 PM
I updated to 6.9.100 but the Aeva Administration - Settings still says 6.9.99.  The mod works thou   :)
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 29, 2009, 01:47:55 PM
I'll silent update to fix this.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Özgür on July 29, 2009, 02:27:17 PM
@Nao Just small suggestion. I think you should remove the "text-align:center" and other style code in copright too =)
Because seems like not beatiful in many themes. Even if you remove align="center" in copright, copright still have "customize" issue. Because have padding proirity too..

You can see in an action on my forum. I don't touch aeva copright, i don't make this as always. But i and many user need this. Smf Copright not even use the bold too.

http://www.rockayseri.net/galeri/medya/manga-beni-benimle-birak/1005/
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on July 29, 2009, 06:39:03 PM
I just updated and admin panel says a newer version 6.9.99 is available.
Seems fine though at 6.9.100
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on July 29, 2009, 06:57:26 PM
Quote from: Snowy on July 29, 2009, 06:39:03 PM
I just updated and admin panel says a newer version 6.9.99 is available.
Seems fine though at 6.9.100
Please take your time to read 3 posts back
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: C4G-TK on July 29, 2009, 11:48:50 PM
@NAO
Got my mod update message in my email and wanted to say THANKS AGAIN for such a terrific mod.

As a side note, I think you should send the link to this thread to someone at G4 to see if they want to make a reality show about it.  It has all the things that keeps people glued to their TVs.  Plus, maybe it would put some $ in your pocket to make putting up with some of the repeated questions again and again more bearable. ;D
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on July 30, 2009, 05:00:45 AM
Quote from: Akyhne on July 29, 2009, 06:57:26 PM
Quote from: Snowy on July 29, 2009, 06:39:03 PM
I just updated and admin panel says a newer version 6.9.99 is available.
Seems fine though at 6.9.100
Please take your time to read 3 posts back

I caught myself up on the string before I replied so I understand others said the same thing.
Nao said he'd do a silent update. I don't know what that means.
My post was 4 to 5 hours after Nao's post so was just reiterating that if it was already addressed,
then it wasn't corrected on my end for some reason.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Akyhne on July 30, 2009, 06:46:47 AM
It means he will correct the error in the file, without making a new revision. Basically you will just have to download the file again,a and install it. Remember to uninstall and delete the old file first.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 30, 2009, 09:15:05 AM
I fixed the error about 10 minutes after my earlier post...
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: kai920 on July 30, 2009, 11:53:48 AM
I've noticed a strange little issue. In SMF 2.0 RC1.2's Admin Center, when I do a quick search for say "Support" using the task/setting dropdown, the browser's title becomes "Aeva (Auto-Embed Video & Audio)". This happens both under Google Chrome and Firefox 3.5, but when I view HTML source:

Code (Chrome) Select
<title>Search Results</title>
Code (Firefox) Select
<title>Aeva (Auto-Embed Video & Audio)</title>
Code (IE8) Select
<title>Aeva (Auto-Embed Video &amp; Audio)</title>
Is it just me or has anyone else noticed this as well?
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Snowy on July 30, 2009, 08:05:34 PM
I don't know what happened but it's not showing anymore.
Yesterday I uninstalled the mod, then installed the 6.9.100 and had that message.
I just looked and it's gone now. Regardless, all better.

Thanks for all the help.
Title: Auto Embed Video Clips v3.1.2 and earlier (old)
Post by: Nao 尚 on July 31, 2009, 04:37:57 AM
kai, very odd indeed... I'm not getting this on my side. However, I'm getting an error nonetheless. In Subs-Aeva-Admin.php, add this at line 638:

if (!empty($page))

(Right before the settings_title line.)

It goes to show that ModifyAevaSettings() is called by the SMF search engine. I have absolutely no idea why, I never used that internal admin search engine. Is there anyone out there who could give me a clue?
Title: Re: Aeva 6.9.99 and earlier (old)
Post by: SleePy on August 01, 2009, 08:01:00 AM
This topic has been locked. Please see Aeva 6.9.100 with HD YouTube (Auto-Embed Video & Audio) (http://www.simplemachines.org/community/index.php?topic=200401.0), for updates