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)
-   -   Add-On Releases - DJ's AMEs :: Media Definitions for AME 2.5 :: More Video, Twitter, Pinterest... (https://vborg.vbsupport.ru/showthread.php?t=195884)

pmkb 04-22-2013 12:06 PM

BBC International appears to be have changed the format of their video pages. No longer using .shtml extensions. Example:

http://www.bbc.co.uk/news/world-us-canada-22237501

More examples linked here: http://www.bbc.co.uk/news/video_and_audio/

pmkb 04-22-2013 12:44 PM

Quote:

Originally Posted by pmkb (Post 2417848)
The CNBC video embeds, but causes problems with rendering of the rest of the page. See for example:

...

Everything below the video gets truncated.

I found the problem. The replacement definition is missing </object> at the very end.

pmkb 04-22-2013 01:25 PM

Any chance you could work out the definition to embed the Daily Ticker from Yahoo! Finance? The Yahoo video definition doesn't capture it. Example:

http://finance.yahoo.com/blogs/daily...164905843.html

More examples found here: http://finance.yahoo.com/blogs/daily-ticker/

Digital Jedi 04-24-2013 01:00 PM

I can look into those. Just might be a few, since my site is giving me fits at the moment. I'll see if I can't push out a fix for CNBC. I didn't notice any HTML problems in my initial test thread. I kid CNBC.

Xexiu 04-29-2013 01:37 AM

Any news? I sill can get it working under vbulletin 3.8.7 (live site) also tested it on localhost with wampserver, PHP 5.4.3 (fresh install) and still doesn't retrieve any data.

I've tested it with youtube and vimeo links. Any help/suggestions?

mykkal 05-11-2013 03:58 AM

Can you get brightcove based videos to work? A lot of news organizations use it. Hulu uses it as well. See the link below. I think the difference between HULU and the news organizations is that HULU uses a DNS cname to make it appear that the video is hosted on their site when it is really hosted by Brightcove. Adding brightcove support would make this work with tens of thousands of news websites.

http://www.wsbtv.com/videos/news/mod...y-agent/v2dSZ/

Digital Jedi 05-12-2013 07:13 AM

Quote:

Originally Posted by mykkal (Post 2421230)
Can you get brightcove based videos to work? A lot of news organizations use it. Hulu uses it as well. See the link below. I think the difference between HULU and the news organizations is that HULU uses a DNS cname to make it appear that the video is hosted on their site when it is really hosted by Brightcove. Adding brightcove support would make this work with tens of thousands of news websites.

http://www.wsbtv.com/videos/news/mod...y-agent/v2dSZ/

It's not exactly how AME works.

AME works by detecting a URL, such as the one you posted, and transforming the link to the Replacement HTML in its respective definition. If the website is YouTube, for example, I have to create a definition that will allow AME to match YouTube URLs, and then AME will replace them with whatever the HTML in the definition is.

So take a website like PC Planets, who had content hosted on YouTube. It didn't matter that I had created YouTube definition. AME needed to detect PC Planets URLs. So a separate definition had to be created to match their YouTube content. (And their URLs had to be unique enough so as not to try and parse their MetaCafe hosted videos, as YouTube videos.)

The source of the video is not what matters. Anything can go in the Replacement HTML box. It's irrelevant to the RegEx pattern, which needs to match a URL before it can do anything. I have quite a few definitions already for websites that use Brightcove. But that's just source code, and not what AME looks at when trying to match a pattern. This is the reason why you can't make a definition for something like vbTube. Definitions are for specific sites. Not specific video services.

ChiNa 05-23-2013 11:06 PM

Can I ask why there is no where any solution written for the Upgrade?

I cant uninstall it or even install the new....... When deleting I get the message the "I saved the display order for you....."! And when I try to install it tells me that it will crash into the others, and after all I tried to do that, but nothing happend...

mykkal 05-26-2013 04:12 AM

Quote:

Originally Posted by Digital Jedi (Post 2421470)
It's not exactly how AME works.

Thanks for the answer... Makes sense. Now that I understand i'm not going to ask for a detection built for just that one site. It would have been nice to knock out a few birds with one stone.

I wish I understood how the regex worked. I would be able to contribute to your list of sites that it does work with. Great plugin. Awesome, actually.

sergio00 05-30-2013 11:00 PM

I would like add rel="nofollow" to the embed media.
Any suggestions how to insert this code at the AMECP ... Display definistion ....???


For example:

Youtube:
Regular expression
[CODE[http://]*[a-z]*?[\.]?youtube\.[a-z]*?/watch\?v=([A-Z0-9._%-]*)[&\w;=\+_\-]*][/CODE]

Replacement:
Code:

<object width="$ameinfo[width]" height="$ameinfo[height]">
<param name=''movie'' value="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1"></param>
<param name="allowFullScreen" value="true"></param>
<embed src="http://www.youtube.com/v/$p1&ap=%2526fmt%3D18&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="$ameinfo[width]" height="$ameinfo[height]" wmode="transparent"></embed></object>

Where I must put the rel="nofollow" to have a good SEO practice?

Thanks!!!


All times are GMT. The time now is 05:12 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.04869 seconds
  • Memory Usage 1,747KB
  • 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)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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