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)

markuswarren 06-23-2009 12:19 PM

I've also noticed an oddity with the youtube media definition not always working. I cannot state wether this was due to the 3.8.3 upgrade or not, but I don't think it is.
Why? Well I've spoken to some users and asked them to supply me with the URLS they actually put into their posts, both for working and non working youtube media. I've found the following:

A url of this format does work:
Code:

http://www.youtube.com/watch?v=XXXX-XxXXxxX
A url of this format does NOT work:
Code:

http://www.youtube.com/v/XXXX-XxXXxxX
The reason to me is obvious, the format of the urls are different and the youtube definition seems to be working on the one with "watch?" as part of the url. Thus I would assume you could add a new definition via exporting the existing youtube one, changing the key for it and of course the regular expression it's looking at and then import it as a new definition

I've exported and imported my "new" definition, but I'm no expert on regular expressions, so I'm a bit stuck here.

It's possible this problem has always existed, or it could be that youtube has changed something in regards to it's url format and it's co-incidence that this occurred when vB 3.8.3 was released.

barcena 06-23-2009 02:59 PM

PHP Code:

http://www.metacafe.com/watch/sy-25841763001/jordin_sparks_battlefield_official_music_video/ 

Id paste the link of a Metacafe video and i'm getting only the link, not the video itself.

http://www.metacafe.com/watch/sy-258...l_music_video/

barcena 06-23-2009 03:07 PM

Well not only that, now i only get links even with youtube, i will like to go to my previous status, how can i do that? Just by dissabling the mod?.

I want to be able to see at least the youtube videos embeded.

The Geek 06-23-2009 04:30 PM

Quote:

Originally Posted by Ryloth (Post 1835194)
ok so 3.8.3 and youtube def does not work. it always wraps it w/ a URL tag and puts the following image before it:

Provide some example youtube urls for me to check out. It could be that the validation is failing because of some other error. You can try editing the definition and clearing out the validation regexp which will prevent AME from trying to validate the media.

The Geek 06-23-2009 04:33 PM

Quote:

Originally Posted by newsoftw (Post 1835535)

when i Upgrade vb vbulletin version 3.8.2 into 3.8.3....after that , the youtube video is working stop and also some other videos means only show links in forum...

http://www.newsoftworld.com/forums/f...wc-2009-a.html

plz any idea about that and solve urgently this problem.

please any body help me urgently............please.....the videos are not display in the forum and all user start the complaints......

thanks in ADVNS



I dont fully follow you, but it could be related to the post above. Can you provide some URLs that are not working?

The Geek 06-23-2009 04:34 PM

Quote:

Originally Posted by markuswarren (Post 1835556)
I've also noticed an oddity with the youtube media definition not always working. I cannot state wether this was due to the 3.8.3 upgrade or not, but I don't think it is.
Why? Well I've spoken to some users and asked them to supply me with the URLS they actually put into their posts, both for working and non working youtube media. I've found the following:

A url of this format does work:
Code:

http://www.youtube.com/watch?v=XXXX-XxXXxxX
A url of this format does NOT work:
Code:

http://www.youtube.com/v/XXXX-XxXXxxX
The reason to me is obvious, the format of the urls are different and the youtube definition seems to be working on the one with "watch?" as part of the url. Thus I would assume you could add a new definition via exporting the existing youtube one, changing the key for it and of course the regular expression it's looking at and then import it as a new definition

I've exported and imported my "new" definition, but I'm no expert on regular expressions, so I'm a bit stuck here.

It's possible this problem has always existed, or it could be that youtube has changed something in regards to it's url format and it's co-incidence that this occurred when vB 3.8.3 was released.

That could cause a problem. Please post some example URLs though that are having a problem.

The Geek 06-23-2009 04:36 PM

Quote:

Originally Posted by barcena (Post 1835649)
PHP Code:

http://www.metacafe.com/watch/sy-25841763001/jordin_sparks_battlefield_official_music_video/ 

Id paste the link of a Metacafe video and i'm getting only the link, not the video itself.

http://www.metacafe.com/watch/sy-258...l_music_video/

Youll have to ask the person who did the metacafe definition.

Hmm... will start to run some 3.8.3 tests.

The Geek 06-23-2009 04:50 PM

FWIW, I just installed a fresh copy of 3.8.3 and AME 2.5.4 and can't see any issues. Everything I am posting from youtube is working as expected so if you think that AME is getting false positives on validating embedding, please provide some example URLs that should be embedding but aren't.

Thanks all

daFish 06-23-2009 05:25 PM

A user recently posted this URL and it doesn't get converted to the embedded player:
http://www.youtube.com/watch?v=KzShwtQHYms

I assume the bracket in the video title confuses the parser.

The Geek 06-23-2009 05:46 PM

Bracket should be fine. In fact, just tested it on default install and it embeds fine. Have you tried it?


All times are GMT. The time now is 08:04 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.03756 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_code_printable
  • (2)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
  • (5)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