MyBB Community Forums

Full Version: AutoMedia 4.1.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For those who may be interested, I've created a patch to the automedia plugin that basically implements this (though, without the jQuery and extra hoopla):
http://jsfiddle.net/5BKYZ/12/

Into automedia for YouTube. I have attached the patch file for those of you who are capable of using those; as well as pre-patched files for automedia 2.1

This is only done for YouTube, if you find a way to implement the same idea for another site please share it! Big Grin

EDIT: Corrected files uploaded, I had a bug in the regex for 2 of the youtube video link types when there was other content in the post.
Thanks Dylan, this works great Big Grin
after I upgrade the plugin I got this error after I opened any threads

Fatal error: Call to a member function load() on a non-object in E:\Inetpub\vhosts\7drmot.com\httpdocs\mybb\inc\plugins\automedia.php on line 1938
Could you please try the attached plugin file?
I got the same problem with different line


Fatal error: Call to a member function load() on a non-object in E:\Inetpub\vhosts\7drmot.com\httpdocs\mybb\inc\plugins\automedia.php on line 2060
That's really odd.
I've updated the attached file in my last post. Could you please give it another try?
automedia not works on chrome and firefox please update it

https://www.youtube.com/watch?v=pbxwTgxP...detailpage
(2012-11-20, 01:34 PM)doylecc Wrote: [ -> ]That's really odd.
I've updated the attached file in my last post. Could you please give it another try?

actually now it works will . after I deactivate and activate again the SCEditor WYSIWYG editor (1.0.9)

but after that I got one more problem .

when the user press for last post on the index page it open only a white page with ends with &action=lastpost

and you can check this ural
( http://7drmot.com/mybb/showthread.php?ti...n=lastpost )


what to do

I could solve the problem

It was because one plugin ( While you were typing (1.3) )


I just deactivated it and every thing seems ok now
is their a way to change the default size of embedded media posted? Right now the size of videos is too big for the portal area so it throws off the alignment. so if its at 640 I want it to be at 560? If that makes any sense?
(2012-12-30, 01:12 AM)vegathechosen Wrote: [ -> ]is their a way to change the default size of embedded media posted? Right now the size of videos is too big for the portal area so it throws off the alignment. so if its at 640 I want it to be at 560? If that makes any sense?

If you set "Same width and height for all videos" to YES in ACP -> Settings -> AutoMedia Global the width/height values above for flv und swf files are applied to all other embedded media too.

http://s19.postimage.org/4ii5ux4b7/attachment.jpg

But if you only want to change the size of selected embbeded media you have to alter the values (e.g. :$w = "640; $h = "390"Wink in the respective php file in inc/plugins/automedia/sites/