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)

Digital Jedi 01-23-2009 12:38 PM

Okay, the first major thing I'm running into is, the non-embeddable videos are indeed converting to links, but the link doesn't go a valid URL. It seems to be using the title instead of the URL.

Example
URL: http://www.youtube.com/watch?v=XZcG0...eature=related
Converts: https://vborg.vbsupport.ru/ YouTube - Boyz II Men - End Of The Road

URL: http://www.youtube.com/watch?v=jsd0pKGr2Os
Converts: https://vborg.vbsupport.ru/ YouTube - The Jets - The Same Love


Also, the source code in the default YouTube definition is no longer used by YouTube, so not all videos will load in that case.

The Geek 01-23-2009 01:03 PM

Hmmm. I made a couple tweaks to includes/ame_bbcode.php and repackaged. Replace that file and all should be tickity boo

Digital Jedi 01-23-2009 01:10 PM

That did the trick. Want to take odds on which thread will get the most people asking why the video didn't convert and is showing a little icon? :D

I do have one question, real quick. How does the validation tool know to look in the Embed Code box for a pattern? I'm curious how this will work for a site that keeps the embed code stored differently, or that put their embed code inside the flash player.

The Geek 01-23-2009 01:21 PM

All it is doing is looking for a match to that pattern in the destinations source code. I suppose if the embed code is being shown in a flash player, you would still be able to view it from the page source as a parameter for the object (unless of course the flash player is fetching it at run time). In that case, I don't really have a suggestion :D

Gcox 01-24-2009 05:34 AM

I am running vBulletin version 3.6.8. I have not been able to get the embedded youtube to work in either version AME 2.0.2 or 2.5.3.

With AME 2.0.2 - it will display the normal youtube controls and video image, but when I click the play button it blanks out the image except for circle in the middle screen which just spins forever. So I decided to upgrade to 2.5.3, and now when I post a youtube link in a message I do not see anything, not even the the link.

I have tried it with the extraction turned on and off.
I am sure it isn’t the video because I got it to play using BB code.
I do get other video file types to work using AME such as wmv.
I just don't know what to test anymore and was hoping for some suggestions.
I would go back to 2.0.2 if that would be easier to resolve.

The Geek 01-24-2009 09:10 AM

Still sounds to me like an outdated version of Flash. Drop a couple URLs of ones you are having problems with.

Remember that if the embed code is there.... AME has done its job. Everything else is down to connections, etc...

On an aside... have you tried posting the embed code from one of the problematic you tube pages into a post (you'll need to be able to post in HTML)?

Try this:
1- Temporarily give yourself ability to post HTML
2- Make a thread with the link to a problematic youtube page and save it (let ame do its thang). Refresh that page, then view the page source.
3- disable ame
4- reply to the post above by pasting in the embed html from the problematic youtube page. Refresh and view source.

Both sources for the youtube should be damn near identical and should perform the same.

RedDevil 01-24-2009 02:35 PM

Going to upgrade to new version very nice add on this.


I have one question, I run a radio channel via a shoutcast server, streamed mp3, is it possible to have a definition to play these, i would have a bash but my codings way below this.

Basically the stream would be www.yourshoutcastaddy.com:port/listen.pls

http://217.114.215.203:8018/listen.pls this is my stream address as an example.

Most use winamp maybe a winamp *.pls xml


thanks for your great work makes the forum awesome

Digital Jedi 01-25-2009 04:02 PM

Geek, I have one more question for you and then I'll leave you alone for a couple of hours at least. AME doesn't seem to like single quotes (') in a RegEx. I always get an error, but sometimes I really need the apostrophe to make matches to get ID numbers using extraction. I've tried the ampersand commands or just escaping them, but none of that has worked so far. Is there someway around this?

redlabour 01-25-2009 05:24 PM

Can you please send out a Update-Mail at the next Time you are uploading Updates? Thank you.

The Geek 01-25-2009 05:32 PM

If they are major updates I do.

DJ, PM me an example


All times are GMT. The time now is 08:36 PM.

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.03027 seconds
  • Memory Usage 1,743KB
  • 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
  • (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