vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - AME 2.5 - Media Embedding for posts, sigs, vm's, groups and blogs (https://vborg.vbsupport.ru/showthread.php?t=202476)

mc2w 07-15-2009 12:46 AM

Quote:

Originally Posted by barcena (Post 1848802)
Update

I just disable passiveVid (Automaticlly turns video links like youtube, myspace videos, google vidoes into the video players) and I have no two Youtube videos anymore BUT I'm not seeing the Google videos anymore, just the link. I do have the AME working bc of the way the Youtube video shows (see attachment) but now nothing else is showing, just the link.

By default, AME only comes with definitions for Youtube and Amazon. Try importing this: https://vborg.vbsupport.ru/showthread.php?t=195884

barcena 07-15-2009 03:21 AM

Thanks MC2, I was thinking on that this afternoon and for some reason I get lost w/ so many AME's but now you just redirected me to the right track, i'm downloading and installing the product, fingers crossed.

Thanks.

The Geek 07-15-2009 09:12 AM

Quote:

Originally Posted by mc2w (Post 1848675)
http://wiflba.com/forum/showthread.php?t=11

For some threads it doesn't happen, but it's happening in this one (which you can see if you try to quote it) (I'll unlock the post so you can try if you'd like)

Edit: Here's an update on the problem: The problem only occurs if there's a link that cannot be parsed (e.g. one in a code tag or one with embedding disabled)

I can't duplicate this, can you provide screen shots or a test account for your site?

Quote:

Originally Posted by popular (Post 1848751)
ive tried reinstalling , taking out youtube before i added it again so it isn't duplicate but same thing happens heres the full code i get whenever i try to post youtube it just pastes this in my post instead, any idea why? i just checked it and happens with other sites too , is my forum not allowing bbcode or something?

I have come across this only once before and it took hours for me to find the problem. If indeed it is the same anomoly It is some kind of variable caching that is causing AME's processes to get mixed up. TO resolve it, try this and let me know (note that you will need to do this for future upgrades unless I can find a way around it)

Both changes are to the includes/ame_bbcode.php file.

Change 1:

around line 45 Find:
PHP Code:

    if ($refresh)
    {
        
        
$inied false;
        
    } 

replace with:
PHP Code:

    if ($refresh)
    {
        
        
$inied false;
        
$ameinfo = array();
        
    } 

around line 296 find:

PHP Code:

$ameinfo fetch_full_ameinfo(true); 

replace with:

PHP Code:

$ameinfo fetch_full_ameinfo(truetrue); 


HTHs

mc2w 07-15-2009 10:54 AM

1 Attachment(s)
The first screenshot is me added a link in a code box to show people how you only have to link to it.

The second is screenshot is what I get after I save and reopen the post in the editor. You'll see that the line break(s) that seperated the unembedded url (in the code box) to the "Vimeo" have been removed.

popular 07-16-2009 10:25 AM

Hey Geeks, that was the solution! thanks for the help and thanks for responding =))) marked as installed

The Geek 07-16-2009 10:30 AM

Quote:

Originally Posted by mc2w (Post 1849138)
The first screenshot is me added a link in a code box to show people how you only have to link to it.

The second is screenshot is what I get after I save and reopen the post in the editor. You'll see that the line break(s) that seperated the unembedded url (in the code box) to the "Vimeo" have been removed.

Not sure what to make of that, as far as I can tell, the only difference between the two is that there is a missing line break after the code block in the second picture. AME does some limited processing of code blocks (to prevent AME from enbedding in quotes and such) but not sure how this would cause what you are saying. Anyhoo, i'll look into it, but am busy trying to put together a new version that supports a testbed and overridable options.

Thanks :)

egyptsons 07-16-2009 03:16 PM

Thanks for the update :)

38modify 07-18-2009 02:57 AM

This by far is very awesome. I am wondering though, how I can take my own videos that are on my server and have it do this for FLV and SWF files. Is this possible? Because this would be very needed since youtube videos are capped at 10 minutes and I would like to play my 45 min interviews. thanks in advance.

The Geek 07-18-2009 09:30 AM

Thanks. Think there is a defintion for this in DJ's thread, but I'm not 100% sure if its updated or not.

PLease click install if you intalled :)

Reycer 07-20-2009 12:41 AM

ok I have tried SEVERAL times, uninstalling and reinstalling, but all I am ever getting on any video is something similar to this when it posts.

[fox_news]http://www.foxnews.com/video2/video08.html?maven_referralObject=7069951&maven_re ferralPlaylistId=&sRevUrl=http://www.foxnews.com/[/fox_news]

No video. On anything. Any thoughts as to why?


All times are GMT. The time now is 10:57 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02380 seconds
  • Memory Usage 1,755KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete