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)

Digital Jedi 01-06-2010 08:41 AM

Quote:

Originally Posted by MonkYZ (Post 1948221)
Thx Digital Jedi for the great work. Unfortunatelly, for me too the Gametrailers code started to show garbage info after the update. Both Gametrailers and Gametrailers are now showing that strange code arround the embedded video.

For example: http://www.consolegames.ro/forum/f8-...os/index2.html . You can see there both the new and the old code showing strange things arround the video area.

Please let us know how to fix this. Thank you !

Alright, since this seems to be coming up on a few forums, some brave soul is going to have to let me take a look at their Admin CP. If a couple of you can PM me temp access, I can try and do some cross comparing.


Quote:

Originally Posted by MagicThemeParks (Post 1948425)
DJ, I noticed that the AllPosters.com code is showing the Affiliate ID in the image and the line under the image, but not the title.

Here's an example: http://www.legendaryrockers.com/foru...thread.php?t=2

It won't, since that link is pulled from the template, and not the definition. You can get around that by turning the container off, and wrapping the embed code with your own container HTML with the ID, or just a simple container with no title. I can post an example a little later tomorrow.


Quote:

Originally Posted by MagicThemeParks (Post 1948436)
DJ, one other thing. Should we still put new requests on your site?

I was looking for possibly adding: http://www.jiggy.com/

Yup, that's the only way I'm ever going to be able to keep up with them when they get backlogged.


Quote:

Originally Posted by Gamelobby (Post 1948471)
Game Trailers have never worked correctly thru RSS feed, but i just have them moderated, until i can delete the last 4 characters, then they worked fine.. but now with the new definitions it doesn't work at all.

Here is the latest one that isn't working - Game Trailer Video
Here are a bunch of them - Trailer Section

You'll have to enable Guest permissions or give me a temp account to see them, as you have both forums blocked for Guests.

MagicThemeParks 01-06-2010 10:46 AM

Quote:

Originally Posted by Digital Jedi (Post 1948556)
It won't, since that link is pulled from the template, and not the definition. You can get around that by turning the container off, and wrapping the embed code with your own container HTML with the ID, or just a simple container with no title. I can post an example a little later tomorrow.

Sounds good. I'll keep an eye out for the example!

Thanks for your hard work! :up:

Digital Jedi 01-07-2010 03:38 AM

Just thought I'd mention, the demo area on my site now has a thread for every working definition. As well as explanations for definitions that have special features or circumstances. Threads are alphabetized: http://www.cogonline.net/forums/forumdisplay.php?f=858

MjrNuT 01-07-2010 06:52 AM

Thanks for the great update DJ!

You got my needs to work with WeGame and some others.

Just for confirmation purposes with regard to WMV Local Hosted. I see on your site that it also Auto Starts. I've seen the code on my install and it is set to FALSE. However, your FAQ seems to address this from Post #2.


Quote:

Some of the videos start to play automatically, can I change it so that it doesn't auto start? Answer: In short, no. Some media sites don't provide the option, nor can it be worked into the embed code. However, all the definitions that do this are marked in their description with the phrase: (Auto Plays).
Therefore, I cannot make this respect my own created WMV video, correct?

Additional question on this as I'm not very knowledgable, but you can set the height and width of the embed window, however it should match the size you've created the media for consistency, correct? Meaning if I make a large one in widescreen, 848x???, then I should use the dimensions for the definition?

Thanks in advance. Lastly, your site of examples is just fantastic.

RadioErewan 01-07-2010 09:24 AM

Did something like this:
Regexp
Code:

(http://([\w-]+\.)+[\w-]+(/[\w- ./]*)+\.(?:gif|jpg|jpeg|png|bmp|GIF|JPEG|JPG|PNG|BMP|Gif|Jpg|Jpeg|Png|Bmp))
Replacement
Code:

<img class="tcattdimgresizer" onload="NcodeImageResizer.createOn(this);"
src='$p1' /></a>

And have scaling all of of external images using ncode image resizer.
W/o ncode Replacement could look like this
Code:

<img src='$p1' style="max-width:650px" /></a>
Thanks DJ for inspiration!

SpyCam 01-07-2010 09:28 AM

Hello,
i deleted all old definitions and imported the master XML
now all new youtube videos (i just tested youtube) do not work, posts just show URLs

Metacafe (i just tested) - works fine.
Any ideas what it could be?

http://www.youtube.com/watch?v=CUS1OMPWGPw link does only show as a link, if it wasn't parsed by AME plugin, it would be showing site and video name, not URL, so please let me know what to do

MagicThemeParks 01-07-2010 10:44 AM

DJ, do we use the embed code or the URL of the playlist for the playlist.com postings?

Do we have to do anything special with sharing the playlist on the site?

Edited: Found the URL to share on playlist and it worked.

Demo: http://www.legendaryrockers.com/foru...20&postcount=6

How do you edit the color of the 'background' behind the actual player?

Stryker412 01-07-2010 01:01 PM

DJ, I thought maybe my issue was that I was not running the latest vb so I updated.

I still have the issue with gametrailers. Here is the code that AME puts in to a post:

[url]http://www.gametrailers.com/video/ex...tar-trek/60450

[url]http://www.gametrailers.com/video/za...tar-trek/60096

[url]http://www.gametrailers.com/video/th...tar-trek/60205

As you can see it puts in an extra url tag for some reason.

http://www.shatteredplanet.org/forum...76&postcount=9

Musika 01-07-2010 01:43 PM

I think the definition for clipfish has changed, cause it doesn't work.

This is an example expression
PHP Code:

http://www.clipfish.de/video/3221228/ 

and this ist the embedet code
PHP Code:

<div style="width:320px; height:260px;"><iframe src="http://www.clipfish.de/embed_image/?vid=3221228&col=990000" name="Clipfish Embedded Image" width="320" height="260" align="left" marginheight="0" marginwidth="0" frameborder="0"></p>
<
p>Lustige Videos kostenlosSehenlachenmitmachen lade Dein Fun Video gratis hoch und teile funny Videos mit FreundenClipfish</p>
<
p></iframe>
</
div

What is the Media Definition Code, Regular expression and Replacement so that I can fix it?

Digital Jedi 01-07-2010 04:25 PM

Quote:

Originally Posted by MjrNuT (Post 1949359)
Thanks for the great update DJ!

You got my needs to work with WeGame and some others.

Just for confirmation purposes with regard to WMV Local Hosted. I see on your site that it also Auto Starts. I've seen the code on my install and it is set to FALSE. However, your FAQ seems to address this from Post #2.




Therefore, I cannot make this respect my own created WMV video, correct?

Additional question on this as I'm not very knowledgable, but you can set the height and width of the embed window, however it should match the size you've created the media for consistency, correct? Meaning if I make a large one in widescreen, 848x???, then I should use the dimensions for the definition?

Thanks in advance. Lastly, your site of examples is just fantastic.

That particular entry in the FAQ is referring to the standard definitions, and not Local Hosted. I haven't updated Local Hosted just yet, but there's an error in the code I was using. It depends on what browser your using that the autoplay isn't disabled. Go into your definition and change the second, not the first, instance of autoplay="false" to autostart="0" and that should take care of the issue.

As for the height and width, they have to be fixed. I'm not sure if you have the most current version of it, but the height and width will be either what's in the definition or whatever you have set globally in the AME Settings height and width settings. You can't just have them resize to whatever the video parameters are. AME just doesn't know what those are going to be.


Quote:

Originally Posted by RadioErewan (Post 1949420)
Did something like this:
Regexp
Code:

(http://([\w-]+\.)+[\w-]+(/[\w- ./]*)+\.(?:gif|jpg|jpeg|png|bmp|GIF|JPEG|JPG|PNG|BMP|Gif|Jpg|Jpeg|Png|Bmp))
Replacement
Code:

<img class="tcattdimgresizer" onload="NcodeImageResizer.createOn(this);"
src='$p1' /></a>

And have scaling all of of external images using ncode image resizer.
W/o ncode Replacement could look like this
Code:

<img src='$p1' style="max-width:650px" /></a>
Thanks DJ for inspiration!

I've been asked to do something like this before, but I was always a little reluctant as to how it would interact with the average posts on the forum. Let me know how it works out.

I would probably go with something like this for the RegEx:
Code:

http://[w.]*[\w&;\.-]+\.[gifjpebmpn]+
Then just use $ameinfo[url] for the image source. Of course, either way, your going to have account for URLs that have characters like % or @ and add those characters in as you go. That stuff drives me crazy.


Quote:

Originally Posted by SpyCam (Post 1949424)
Hello,
i deleted all old definitions and imported the master XML
now all new youtube videos (i just tested youtube) do not work, posts just show URLs

Metacafe (i just tested) - works fine.
Any ideas what it could be?

http://www.youtube.com/watch?v=CUS1OMPWGPw link does only show as a link, if it wasn't parsed by AME plugin, it would be showing site and video name, not URL, so please let me know what to do

No reason why it shouldn't be. I tested the URL and got it to parse. Let me take a look at the post(s) in question.


Quote:

Originally Posted by MagicThemeParks (Post 1949457)
DJ, do we use the embed code or the URL of the playlist for the playlist.com postings?

Do we have to do anything special with sharing the playlist on the site?

Edited: Found the URL to share on playlist and it worked.

Demo: http://www.legendaryrockers.com/foru...20&postcount=6

How do you edit the color of the 'background' behind the actual player?

Playlist was a work around, as their provided embed code is fine. But the id numbers I need are not accessible in the URL or the HTML of the page. So I had to fake it. It's just their pop out player inside of an iframe. So there's nothing you can do to changed the background, as it's their site producing it.


Quote:

Originally Posted by Stryker412 (Post 1949533)
DJ, I thought maybe my issue was that I was not running the latest vb so I updated.

I still have the issue with gametrailers. Here is the code that AME puts in to a post:

[url]http://www.gametrailers.com/video/ex...tar-trek/60450

[url]http://www.gametrailers.com/video/za...tar-trek/60096

[url]http://www.gametrailers.com/video/th...tar-trek/60205

As you can see it puts in an extra url tag for some reason.

http://www.shatteredplanet.org/forum...76&postcount=9

Only other thing we can try is for you to give me temp admin access and I look at things on the backend to see what's going on there.


Quote:

Originally Posted by Musika (Post 1949567)
I think the definition for clipfish has changed, cause it doesn't work.

This is an example expression
PHP Code:

http://www.clipfish.de/video/3221228/ 

and this ist the embedet code
PHP Code:

<div style="width:320px; height:260px;"><iframe src="http://www.clipfish.de/embed_image/?vid=3221228&col=990000" name="Clipfish Embedded Image" width="320" height="260" align="left" marginheight="0" marginwidth="0" frameborder="0"></p>
<
p>Lustige Videos kostenlosSehenlachenmitmachen lade Dein Fun Video gratis hoch und teile funny Videos mit FreundenClipfish</p>
<
p></iframe>
</
div

What is the Media Definition Code, Regular expression and Replacement so that I can fix it?

Clipfish is blocked in my country, so I wasn't able to do anything but update the embed code I had in the old definition. If you can get me a few more example URLs and embed code samples from the site (three or four each should do), I can work something up, but you would have to let me know if it's working.


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