vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - AME3 - Auto Media Embeding and Video Extender (https://vborg.vbsupport.ru/showthread.php?t=230707)

testbot 04-15-2011 09:49 PM

i mean if someone posts the url from youtube instead of the new share link. like this...

http://www.youtube.com/watch?v=cgkj3...rec_grec_index

will it still embed that?

i'm having some slight problems and don't have time to trouble shoot so if someone already has it sorted that would be cool. the .be links work fine for me. thx for that.

Alan_SP 04-15-2011 10:39 PM

New and old youtube links have different tagoption (for differentiating between new and old youtube links (old is youtube, new is youtuben, at least I just added n at the end of old youtube tagoption, you don't have to)), also regex is different.

If you have problems with old youtube links, the problem is in settings for old one. Post them here, maybe we can see where exactly problem is?

testbot 04-15-2011 10:53 PM

^ i'm aware of the difference between the new tags. i had my own embed/object code that i used that isn't working anymore. if you're doing HD videos then maybe you can show me what you're using for the old urls. thanks for your assistance.

my standard youtube url (old version):
regex:
Code:

http:\/\/www\.youtube\.com\/watch\?.*v=([a-z0-9-_]+)
Code:

<object class="restrain" type="application/x-shockwave-flash" width="640" height="385" data="http://www.youtube.com/v/{vb:raw code}?version=3&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;feature=player_embedded">
        <param name="movie" value="http://www.youtube.com/v/{vb:raw code}?version=3&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;feature=player_embedded" />
        <param name="wmode" value="transparent" />
        <param name="allowfullscreen" value="true" />
        <!--[if IE 6]>
        <embed width="640" height="385" type="application/x-shockwave-flash" src="http://www.youtube.com/v/{vb:raw code}?version=3&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;feature=player_embedded" allowfullscreen="true" />
        <![endif]--></object>


0verl0rd 04-16-2011 10:39 AM

Any fix on this? I can't get it to work even with dailymotion... :(

testbot 04-16-2011 03:02 PM

Quote:

Originally Posted by 0verl0rd (Post 2185228)
Any fix on this? I can't get it to work even with dailymotion... :(

did you try this:

Quote:

Originally Posted by testbot (Post 2164682)
Editing core files is the incorrect way to do things. They did add the hook so the following will fix the issue.

1. AdminCP>Plugins & Producs>Plugin Manager>Add New
2.
Product: AME3
Hook: data_parse_bbcode_video (not data_preparse_bbcode_video_start)
Title: AME - Parse bbcode video
Execution Order: 1
Plugin Code:
Code:

global $vbulletin;
require_once(DIR . '/includes/ame_prep.php');
$providers = ame_data_preparse($pagetext);

3. Plugin is active 'Yes'
4. Save


If you have cache enabled you might have to clear that.


Alan_SP 04-17-2011 01:35 AM

Quote:

Originally Posted by testbot (Post 2185093)
i had my own embed/object code that i used that isn't working anymore. if you're doing HD videos then maybe you can show me what you're using for the old urls. thanks for your assistance.

For old YT videos I use exactly same code, as new YT address just redirects you to old YT address. Copy embed code from new to old (of course, modify width and height to your liking) and that should work without problems. At least it does for me. Actually, I copied code from old for new ones. And I found code here, I don't remember in what exact post, sorry. Credits for this embed code isn't mine.

testbot 04-17-2011 02:07 AM

turns it the video i was using to test it was jacked up. :lol:

wat3v3r 04-19-2011 06:11 AM

We been recently testing vb4 for a possible upgrade int he near future (still on vb3 for now) But i see megavideo tags no longer work? :(

Any method to get them working again ? We only use youtube and Mv tags on our board. Got youtube to work but stuck on Mv. Any help?

mdreamer 04-24-2011 08:29 PM

Hi,

Just installed it. works great.
I have just one problem.. on some videos am am getting:
"This video contains content from SME. It is restricted from playback on certain sites.
Watch on YouTube"

I Didn't had it on AME 2.5... What's wrong?

Phaedrus 04-25-2011 09:22 PM

Quote:

Originally Posted by mdreamer (Post 2188244)
Hi,

Just installed it. works great.
I have just one problem.. on some videos am am getting:
"This video contains content from SME. It is restricted from playback on certain sites.
Watch on YouTube"

I Didn't had it on AME 2.5... What's wrong?

those are ones that youtube will not allow to play through imbedding. That isn't from the mod.


All times are GMT. The time now is 09:16 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.02695 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_code_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