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 - DJ's AME :: The Ultimate Automatic Media Embedder :: 2.5.7 (https://vborg.vbsupport.ru/showthread.php?t=303416)

Digital Jedi 03-07-2014 07:06 AM

Quote:

Originally Posted by the Sandman (Post 2485558)
I tried that several times, but it breaks all of the existing embedded media. Could it be my XCache?

It could be. They should, essentially, be doing the same job. So you likely don't need AME's built in version.

Quote:

Also, do you have a link to the code for the youtube shortcut urls?
Yes, it's linked in the Add-On section for this mod above. I had to break the XML files up into volumes, but YouTube (Short URL) should be located in the final XML file.

the Sandman 03-07-2014 12:04 PM

Quote:

Originally Posted by Digital Jedi (Post 2485643)
Yes, it's linked in the Add-On section for this mod above. I had to break the XML files up into volumes, but YouTube (Short URL) should be located in the final XML file.

Thanks! That worked! :)

BirdOPrey5 03-07-2014 02:50 PM

Quote:

Originally Posted by Digital Jedi (Post 2485546)
Have you observed it crashing with specific media websites, or does it just generally do so? For example, does it crash with games or music media as well? Or just YouTube? I'm unfamiliar with the mobile app and how all that's handled, but if it's basically using it's own templates, you could experiment with the AME conditionals being used in its particular ame_container template.

Seems to be with any post that uses it.

If I make a plugin on postbit_display_complete that replaces all code in $post[message] with just say static "This is a test" it works fine, but if I try to edit the $post[message] array in anyway, say to remove text from it, it still crashes the app.

What is weird is the API log isn't even logging any data when I click on the bad posts, like something perhaps the app loads before I click on a post... Now that I type that out it gives me a better idea where to look.

weindians 03-20-2014 04:28 PM

Quote:

Originally Posted by durham (Post 2477216)
Hi

Since I upgraded to 3.5.7. my Vimeo definitions have stopped working? And Vimeo is not in the definitions list - should it be?

I'm using vb 3.8.5. and vimeo has always worked in the past - but I did delete the definitions as instructed on the install. Perhaps I wasnt in 3.5.6?

Anyway how do I get vimeo back please?

Thanks

Durham

I figured it out (both of us had same probelm). After you upgrading to 2.5.7, vimeo not in definitions list. You are likely end up with this problem if you have imported all definitions from here . One of the denition xml has definitions for embedding 2k videos and one of them has (i donno by mistake or not) vimeo replacement html in it and conflicting with original vimeo definitions and wont display in list or embed vimeo videos. So to check this best is go thru list and find 2k definitions and under key heading it will show vimeo ( i deleted it) and imorted vimeo.xml and everything working fine....

@Digital Jedi will look into this i hope

Digital Jedi 03-20-2014 07:44 PM

Quote:

Originally Posted by weindians (Post 2488586)
I figured it out (both of us had same probelm). After you upgrading to 2.5.7, vimeo not in definitions list. You are likely end up with this problem if you have imported all definitions from here . One of the denition xml has definitions for embedding 2k videos and one of them has (i donno by mistake or not) vimeo replacement html in it and conflicting with original vimeo definitions and wont display in list or embed vimeo videos. So to check this best is go thru list and find 2k definitions and under key heading it will show vimeo ( i deleted it) and imorted vimeo.xml and everything working fine....

@Digital Jedi will look into this i hope

The media repository doesn't have a definition for 2k.com, exactly. I have two for 2kSports.com, but that was for the old domain, and those definitions haven't been updated yet. Neither of those use any Vimeo embed code. With that said, Replacement HTML plays no part in conflicts. Multiple definitions use the same embed code, such as sites who host all their content on YouTube or BrightCove. Conflict results when two regex patterns try to match the same URL. On rare occasion, a URL string within an embed code can trigger an AME match, but as I mentioned, neither 2K Sports defs use any Vimeo code, and certainly shouldn't have vimeo as their key. Either you have definitions from another source, or you're running into a PHP/server configuration problem with vB3. I'm seeing this more the older vB3 gets, and in most cases, the problems only clear up once the site is moved to a new, updated server. I'm hoping it's not that drastic in your case.

weindians 03-21-2014 04:40 PM

but that was exactly the problem.. after importing all definitions i had 3 definitions total for 2ksports and under key information table it showed 'vimeo' and i checked the html replacement before deleting it(definitley vimeo code was there). And after deleting it conflict gone and i could import vimeo.xml you provided in previous page..

You can reproduce it if you are on 3.8.x and upgrade from 2.5.6 to .7 . i deleted all those youtube, vimeo, dailymotion etc before upgrade as advised here. and after upgrade all definitions given from legacy, local and vol 1-5 imported. Definetly there was no vimeo in the lists after full import. Then i decided to import vimceo.xml and i couldnt and i went digging it. Went through definition lists and i noticed for first definition for 2k sports under key area 'vimeo' was showing up. i got curious and opened it and i found vimeo code and i thought of deleting it and try as i dont use it. And then imported vimeo.xml and it worked and vimeo was showing up in posts.. Thats all i did and i thought of sahring it as i found another member @durham also has same issue ans he couldnt fix it

Digital Jedi 03-22-2014 06:38 AM

The link you posted was for 2k.com, and I definitely don't have a definition for that. So I wanted to make that clear first.

To also be clear, the reason you couldn't import the vimeo.xml file was because you had a definition with the same key. Not because of the embed code. Keys are designed to prevent duplicate definitions from importing. Apparently, your 2k Sports definitions merged with Vimeo upon upgrade, and this should not have happened. It certainly never happened during any of my test upgrades. The only thing I can think of is somehow they shared the same ID number in your database, and when you upgraded, it simply wrote in the data into 2k Sports as it would during an upgrade. Keeping part of one and adding in the other. I've not seen this happen on any other installation, so you may want to keep an eye out for any server hiccups.

joeychgo 03-24-2014 06:17 PM

are the regular youtube urls suppose to work?

ie:

Digital Jedi 03-24-2014 10:56 PM

Quote:

Originally Posted by joeychgo (Post 2489312)
are the regular youtube urls suppose to work?

ie:

Of course.

joeychgo 03-25-2014 02:32 AM

not working for me then -- other youtube links work but not the plain url


All times are GMT. The time now is 11:11 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.01423 seconds
  • Memory Usage 1,751KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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