1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Simple Audio Video Emdeder

Discussion in 'Add-on Releases [Archive]' started by vbgamer45, Dec 27, 2010.

  1. vbgamer45

    vbgamer45 Active Member

    Simple Audio Video Embeder
    By: vbgamer45

    This addon auto embeds videos from popular video media sites into posts. The user does not have to use any media tags at all. Just enter the link of the video sharing site inside a post and the media player will auto emded into the post.

    To use as of XenForo Beta 5 you must install the following fix

    Currently supported sites:
    BET,BlogDumpsVideo,BlogTV,Bungie.net,CNN iReport,Clipfish.de,Clipmoon,Clipshack,Clipsyndicate,
    College Humor,Comedy Central,Crackle,DailyMotion,Espn,Facebook,Funnyordie.com,G4tv,Gametrailers,
    Goear,Google Video,IGN,Izlesene.com,JibJab,Joystiq,LiveLeak,MaYoMo,Mail.ru,MarketNewsVideo,

    No settings to configure instantly ready to use.

    Install information:
    1.Upload the library and data folder to the root directory of your Xenforo forum
    2. In the Admin CP go to Home then Install Add On area and select and install the simpleaudiovideoembeder.xml from your computer

    Attached Files:

    tianwm, Puntocom, Jeffin and 8 others like this.
  2. swatkins

    swatkins Member

    Downloaded and Installed! Thanks very much!
  3. descaro

    descaro Member

    this is very nice, thanks [​IMG]
  4. arabic

    arabic Member

    very nice [​IMG]
  5. Kaiser

    Kaiser Well-Known Member

    I found a bug in it, should be removed. After installing it one of my threads was giving a 503 error, and the thread was working just fine before the installing the mod. So after getting the 503 error in that certain thread I uninstalled the mod, and the thread started working again.
  6. whitetigergrowl

    whitetigergrowl Active Member

    Seems to work fine for me. No errors here.
  7. Kaiser

    Kaiser Well-Known Member

    Didnt happen for all threads just one.
  8. vbgamer45

    vbgamer45 Active Member

    Do you know what video site was in that post? And do you have a server error log?
  9. Edrondol

    Edrondol Well-Known Member

    I'm giving this a try right now but when you make these, PLEASE set the permissions on the folders. You have them all at 700 and they overwrite the ones in the system. Data has to be at 777 and library at 755.
  10. Edrondol

    Edrondol Well-Known Member

    Server Error
    call_user_func(simpleaudiovideoembeder_db::save_install) [function.call-user-func]: First argument is expected to be a valid callback
       1. XenForo_Application::handlePhpError()
       2. call_user_func() in XenForo/Model/AddOn.php at line 214
       3. XenForo_Model_AddOn->installAddOnXml() in XenForo/Model/AddOn.php at line 169
       4. XenForo_Model_AddOn->installAddOnXmlFromFile() in XenForo/ControllerAdmin/AddOn.php at line 180
       5. XenForo_ControllerAdmin_AddOn->actionInstall() in XenForo/FrontController.php at line 310
       6. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
       7. XenForo_FrontController->run() in /home/davidn/public_html/xenforo/admin.php at line 13
    This is what happens when I try and install the addon.
  11. vbgamer45

    vbgamer45 Active Member

    Have you reuploaded the library folder from the addon?
  12. Edrondol

    Edrondol Well-Known Member

    Yup. Uploaded it twice.

    But I think I just figured it out. You have all files set at 600 and all folders at 700. I had to go in and manually change each one to get it to work. Pain in the rear.
  13. vbgamer45

    vbgamer45 Active Member

    The addon does not change or set file permisions it leaves them as is. If you upload them and they change permission that might be a server configuration issue.
  14. Edrondol

    Edrondol Well-Known Member

    And...disabled. When creating new threads it threw up an error. When trying to reply it went to a blank page.
  15. Edrondol

    Edrondol Well-Known Member

    No. No it isn't. I've put several addons in and tested them. To date I've had issues with two. This one and KeyCAPTCHA. I sense a trend that will not be repeated.
  16. vbgamer45

    vbgamer45 Active Member

    I haven't done anything differently that I can tell nor have I seen addons set file permissions on each addons classes that are added
    I don't think it is possible to set file permissions to fix that issue that you have. I could create an install script for each addon that tries to change file permissions on those files. But if the install script does not have the correct permissions to run then it would not work or matter.
  17. Edrondol

    Edrondol Well-Known Member

    And so you know, the error it gives is:

  18. Kaiser

    Kaiser Well-Known Member

    Wasnt in a video post, was a normal thread.
  19. CyberAP

    CyberAP Well-Known Member

    Fatal error: Method XenForo_BbCode_TextWrapper::__toString() must not throw an exception in /library/simpleaudiovideoembeder/ViewPublic/simpleaudiovideoembeder.php on line 40

    Hmm, that's not good.
  20. vbgamer45

    vbgamer45 Active Member

    Did you upload the data folder? And make sure it is writable or at least the mediaprocache.php file inside that folder.

Share This Page