vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - DJ's AME (Auto Media Embedding) XML Media Definitions (Third Time's the Charm) (https://vborg.vbsupport.ru/showthread.php?t=175378)

beduino 12-30-2008 11:26 AM

Hello Digital!
first of all: THANK YOU!
second: flickr issue:

Quote:

Originally Posted by Digital Jedi (Post 1627949)
Hmm, that's a slighly different URL structure then when I first made the two Flickr definitions. I may have to make a third.

1. when we copy/paste the url of user's flickr like
http://www.flickr.com/photos/alexismp/show/

don't works

2. when we use a album of this user , all works. example
http://www.flickr.com/photos/alexism...68123141/show/


If you can make a definition to users ... will be great :D

tks in advance
joao barroca
aka beduino

Annapurna 12-31-2008 01:35 PM

I'm on 3.7.4 PL1


1. PDF

Embed Locally Hosted .pdf Files Using The PDFMENOT Viewer! does not work.
I always getting an "Invalid PDF URL!" error.

Going to pdfmenot.com and adding the same URL there it works.

Is this a known issue?



2. WMV

Embed Locally Hosted .wmv Videos! is also buggy.
Video is embedded and works.
But everything written AFTER the video URL is urled too.



3. Picasa Web Albums

Is there a possibity to make Picasa Web Album slideshows embedding too?



4. Wikimapia

Is there a possibity to make Wikimapia URLs embedding too?


Happy New Years Eve,
Andreas

Digital Jedi 12-31-2008 03:09 PM

Quote:

Originally Posted by beduino (Post 1697116)
Hello Digital!
first of all: THANK YOU!
second: flickr issue:



1. when we copy/paste the url of user's flickr like
http://www.flickr.com/photos/alexismp/show/

don't works

2. when we use a album of this user , all works. example
http://www.flickr.com/photos/alexism...68123141/show/


If you can make a definition to users ... will be great :D

tks in advance
joao barroca
aka beduino

Yes, I'm looking into making this additional URL structure convert.


Quote:

Originally Posted by Annapurna (Post 1697858)
I'm on 3.7.4 PL1


1. PDF

Embed Locally Hosted .pdf Files Using The PDFMENOT Viewer! does not work.
I always getting an "Invalid PDF URL!" error.

Going to pdfmenot.com and adding the same URL there it works.

Is this a known issue?

Be sure to always include the http:// in the URL, or the viewer cannot find the document. Also make sure the document isn't encrypted.



Quote:

2. WMV

Embed Locally Hosted .wmv Videos! is also buggy.
Video is embedded and works.
But everything written AFTER the video URL is urled too.
I'd need to see what your Regular Expression for your WMV videos definition. That should not be happening.



Quote:

3. Picasa Web Albums

Is there a possibity to make Picasa Web Album slideshows embedding too?



4. Wikimapia

Is there a possibity to make Wikimapia URLs embedding too?


Happy New Years Eve,
Andreas
I'll certainly look them over to see if it's possible.

Annapurna 01-01-2009 12:13 PM

Quote:

Originally Posted by Digital Jedi (Post 1697931)
Be sure to always include the http:// in the URL, or the viewer cannot find the document. Also make sure the document isn't encrypted.

It's not encrypted and yes, I've tried it with all possible versions (with / without http://, with / without www.), but doesn't work. It's no secret: That's the file I've tried to embed: http://www.trekkingforum.com/upload/Kackar-Gebirge.pdf

Quote:

Originally Posted by Digital Jedi (Post 1697931)
I'd need to see what your Regular Expression for your WMV videos definition. That should not be happening.

I haven't changed it:
Quote:

([URL]http://[/URL][\w]*[\.]*Trekkingforum\.[\w/&;%-\.]+\.wmv)
replacement:
Quote:

<object id="MediaPlayer" width="500" height="300" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components?" type="application/x-oleobject" codebase="[URL]http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112[/URL]">
<param name="filename" value="$p1">
<param name="Showcontrols" value="True">
<param name="autostart" value="false">
<embed type="application/x-mplayer2" src="$p1" name="MediaPlayer" width="500" height="300" autoplay="false"></embed>
</object>

Picase Webalbum & Wikimapia
Quote:

Originally Posted by Digital Jedi (Post 1697931)
I'll certainly look them over to see if it's possible.

Would be great and highly appreciated. Till now I've defined bb-Codes for these, but they are a bit complicated and users use it very rarely.

Andreas

Digital Jedi 01-01-2009 05:36 PM

Quote:

Originally Posted by Annapurna (Post 1698463)
It's not encrypted and yes, I've tried it with all possible versions (with / without http://, with / without www.), but doesn't work. It's no secret: That's the file I've tried to embed: http://www.trekkingforum.com/upload/Kackar-Gebirge.pdf

Go into your .PDF definition's Replacement HTML and try changing the instance of {$url} to {$p1} and see if that fixes things for you.


Quote:

I haven't changed it:

replacement:
Mind if I see the page where this is over reaching? It could be just the way the post was formatted.

River_rush 01-01-2009 08:58 PM

I modified the DJ XML so that you don't have to delete the default definitions.
Also added http://uk.youtube.com to it

Digital Jedi 01-02-2009 12:17 AM

Quote:

Originally Posted by River_rush (Post 1698777)
I modified the DJ XML so that you don't have to delete the default definitions.
Also added http://uk.youtube.com to it

The reason that you wouldn't want to do that, is because the definitions that come with AME are not kept up to date on a regular basis. This is the only thread that keeps up with the definitions and updates them each time their websites make changes to their existing code. MySpace, for example, I'll be updating soon, and the stock MySpace definition that comes with AME no longer functions. Amazon has also been updated twice since the previous release of AME 2.5. So your going to want to delete your stock definitions if you want to maintain functionality. The Geek doesn't plan on updating his mod but in the event of a major upgrade, and that's if he has the spare time.

Also, my existing YouTube defintions already supports all the international YouTube sites http://www.cogonline.net/forums/show...477#post370477

Annapurna 01-02-2009 12:29 PM

Quote:

Originally Posted by Digital Jedi (Post 1698663)
Go into your .PDF definition's Replacement HTML and try changing the instance of {$url} to {$p1} and see if that fixes things for you.



Mind if I see the page where this is over reaching? It could be just the way the post was formatted.

pdf works with {$p1} Thanks!
question: is it possible to increase the quality of the pdf? And wouldn't it be easier to define an iframe instead pdfmenot?

Second issue: wmv, I've PMed you login datas for you to see it yourself.

A.

Digital Jedi 01-02-2009 06:40 PM

Quote:

Originally Posted by Annapurna (Post 1699250)
pdf works with {$p1} Thanks!
question: is it possible to increase the quality of the pdf? And wouldn't it be easier to define an iframe instead pdfmenot?

The quality is handled on PDFMeNot's end, so we wouldn't be able to adjust that. PDFMeNot is actually converting your PDF into Flash for readability. An iframe wouldn't necessarily give you better controls, nor would it be necessarily be easier to read, especially for those that don't want their viewer that large.

Alternatively, you could try uploading your PDF's to www.scribd.com. They're kind of a YouTube for documents type site and also supported in my Master XML.



Quote:

Second issue: wmv, I've PMed you login datas for you to see it yourself.

A.
Go into your WMV definitions and lets test something. I have some HTML code in the title of the definition. It doesn't really serve any purpose other then to make the title of the definition bold and italicized in the AME CP. For some reason, either your server or something in vBulletin will strip out the last few characters if the name is too long. Since I have HTML in their, it's showing up as incomplete when a video is posting and likely the cause of your problem.

You can do one of two things. The closing </b> tag is missing it's closing bracket: </b You can try and put that > back in there and save it and see if it doesn't get stripped out again, or you can remove the HTML in the title altogether: <b><i>TITLE HERE</i></b>. (Or you can try putting the bracket back and just shortening the name)

Annapurna 01-02-2009 07:23 PM

@pdf issue: makes sense, iframe would be too big for most
will have a look at Scribd...

@wmv issue: you were right: there was always the last ">" deleted. Is done automatically by vB. I've counted it: only 50 characters are taken.

Thanks
A.


All times are GMT. The time now is 04:20 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.01990 seconds
  • Memory Usage 1,767KB
  • 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
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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