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-14-2010 10:17 PM

1 Attachment(s)
I've been testing something that I think I've got working on my installation. More testing is required to be sure. Check this thread: http://www.cogonline.net/forums/showthread.php?t=51831


Those are all YouTube videos posted using their regular YouTube link. I finally took the time to look at this JW Player and see what it could do. This definition is using the Bekle skin.

Attachment 110047 Attachment 110048

I wanted to gauge interest in seeing a handful of definitions incorporate this. Likely, I'll only be able to do YouTube and a few Local Hosted definitions. The purpose of this is so you have have your own player for your site and you can download your own skin or create your own (if you know anything about designing Flash Players). Theoretically, I should be able to do this for most flash videos, but I still have some research to do. There's a Silverlight Player that will let you play WMV, which I'm hoping I can get the WMV definition to handle. But like I said, I still have to peck around this thing to see it's capable of within the AME modification.


NOTE: These WOULD NOT be offered instead of the definitions in this thread. Since extra files and instructions are required I'd be offering this in it's OWN modification thread. Those of you already running the JW Player could probably easily integrate this. Those not, I could give a basic tutorial of what to do.

Here's the link to their Skins Gallery for you to get a better idea of what's up: http://www.longtailvideo.com/addons/skins

Digital Jedi 01-14-2010 10:20 PM

Quote:

Originally Posted by dknelson (Post 1956042)
I was having a problem where if somebody added a link to Wikipedia and then tried to preview their post, Vbulletin 3.8 returns a parse error. I did a search at Vbulletin.com about the error and found a post where it was caused by this mod and the problem went away when the Wikipedia thumbnail option was de-selected in this mod. I did that and it did correct the problem. Is there a fix for this?

Example: If you enter the link

http://en.wikipedia.org/wiki/Yamaha_Venture

and then hit preview, you get the parse error.

As I mentioned when I first posted it, Wikipedia (Links) is a Beta and not working with all Wikipedia URLs. It will not work with entries that have no picture. Though I don't know why it would be giving you errors like that unless you had another mod conflict. But I did include Wikipedia (Links) in the definition, so if it's being a problem, you can switch to the other one.

dknelson 01-14-2010 10:27 PM

No problem. Just didn't know if anybody had reported this particular problem when you try to preview the thread. Thanks.

Digital Jedi 01-14-2010 11:04 PM

I'm not entirely sure I'm going to keep the def, unless I can find a way to use the validation RegEx. Right now it would work, but it displays the little film icon, which doesn't quite make much sense for Wikipedia. Maybe I can cajole The Geek to make a minor update to the icon in 3.8, even though he's moved on to AME 3.

MagicThemeParks 01-15-2010 12:18 AM

Quote:

Originally Posted by Digital Jedi (Post 1956046)
I've been testing something that I think I've got working on my installation. More testing is required to be sure. Check this thread: http://www.cogonline.net/forums/showthread.php?t=51831


Those are all YouTube videos posted using their regular YouTube link. I finally took the time to look at this JW Player and see what it could do. This definition is using the Bekle skin.

Attachment 110047 Attachment 110048

I wanted to gauge interest in seeing a handful of definitions incorporate this. Likely, I'll only be able to do YouTube and a few Local Hosted definitions. The purpose of this is so you have have your own player for your site and you can download your own skin or create your own (if you know anything about designing Flash Players). Theoretically, I should be able to do this for most flash videos, but I still have some research to do. There's a Silverlight Player that will let you play WMV, which I'm hoping I can get the WMV definition to handle. But like I said, I still have to peck around this thing to see it's capable of within the AME modification.


NOTE: These WOULD NOT be offered instead of the definitions in this thread. Since extra files and instructions are required I'd be offering this in it's OWN modification thread. Those of you already running the JW Player could probably easily integrate this. Those not, I could give a basic tutorial of what to do.

Here's the link to their Skins Gallery for you to get a better idea of what's up: http://www.longtailvideo.com/addons/skins

That's kinda cool. :)

I'm going to look into the "comet" style for one of my new sites that I'm putting together :D

Please keep us posted when you setup the modification :up:

Digital Jedi 01-15-2010 12:41 AM

Quote:

Originally Posted by MagicThemeParks (Post 1956131)
That's kinda cool. :)

I'm going to look into the "comet" style for one of my new sites that I'm putting together :D

Please keep us posted when you setup the modification :up:

I thought about using that one for the demo. I'm so glad you decided not to go with Control Panel. DisneyTube uses that, and it drives me crazy.

imk 01-15-2010 02:04 PM

Quote:

Originally Posted by Digital Jedi (Post 1955986)
Check to see that you have Extraction turned on both Globally and in the definition. It's required for Jokeroo to work. But note that this particular video you've posted has embedding disabled. But it should still be turning into a titled link.

you the man - thanks alot!

Hostboard 01-15-2010 11:17 PM

I have a huge request.... Can this be made to work with: stickam

Digital Jedi 01-16-2010 06:57 AM

Quote:

Originally Posted by Hostboard (Post 1956957)
I have a huge request.... Can this be made to work with: stickam

You can put in a request on the submission forum so I don't forget about it.

arabwaw 01-17-2010 10:18 PM

ok guys i like to have a justin live brodcast defenition

links like

http://fr.justin.tv/saidfoot2
and

http://en.justin.tv/saidfoot2
and
http://it.justin.tv/saidfoot2

means defrent lang

and
http://justin.tv/mychannelname

and

http://www.justin.tv/mychannelname

thnk
for the great work you guys have here

Digital Jedi 01-18-2010 03:50 AM

There already are three Justin.TV definitions. Two for Live Broadcasts and one for Clips. Although, I had no idea there were foriegn language versions of Justin.TV when I made them, but you can easily modify the defs to accomodate them without waiting for me to do an update. Simply open the definitions and change the www in the Regular Expression to [\w]+. That should allow multilingual embedding.

Gamelobby 01-18-2010 06:01 AM

Quote:

Originally Posted by Digital Jedi (Post 1951432)
I wasn't aware I had permission to. It seems GameTrailers RSS is using their old .HTML links. Do you have both Game Trailers definitions imported?

Yes i have imported both.!
They worked fine before this update, now i cant get Game Trailers to work.?

What is different about the game trailers def.?

Digital Jedi 01-18-2010 06:38 AM

Quote:

Originally Posted by Gamelobby (Post 1958943)
Yes i have imported both.!
They worked fine before this update, now i cant get Game Trailers to work.?

What is different about the game trailers def.?

One supports they're new linking structure and the other supports the old links that had .html at the end. Technically, all I did was rename the old definition to Game Trailers (Old), so nothing should have really changed there.

I tested a URL on your site just now that is converting fine on my board, so only thing I can try now if for you to give me a temp admin account and I can try to troubleshoot on the backend.

Gamelobby 01-19-2010 12:51 AM

Nevermind i got it..
Apparently the other admin thought the one titled "Game Trailers (old)" needed to be deleted. lol

Thanks for your help..



By the way is there any way to fix the RSS feed issue.?

RSS feed posts it like this - http://www.gametrailers.com/player/60953.html?r=1
But we have to manually go in & delete the end - "?r=1"

Any thoughts on how to get them posted correctly so we dont have to edit them.?

Digital Jedi 01-19-2010 01:17 AM

Quote:

Originally Posted by Gamelobby (Post 1959780)
Nevermind i got it..
Apparently the other admin thought the one titled "Game Trailers (old)" needed to be deleted. lol

Thanks for your help..



By the way is there any way to fix the RSS feed issue.?

RSS feed posts it like this - http://www.gametrailers.com/player/60953.html?r=1
But we have to manually go in & delete the end - "?r=1"

Any thoughts on how to get them posted correctly so we dont have to edit them.?

Add
Code:

[\?r=1]*
to the end of the Regular Expression.

Mike08 01-19-2010 02:56 PM

Thanks for fix goear.com's urls, but doesn't works with all symbols of urls.

Example. http://www.goear.com/listen/e201e44/...f-&-mitiska-&-

Thanks anyway ;)

wacnstac 01-20-2010 01:58 PM

I need help. Unfortunately I am not good with "regular expressions". We have our own video player and it has embed capability. The videos can reside on any number of URL's so basically I want to be able to search for anything that contains "ri=XXX" where XXX is a numeric number to:

<center><iframe src="http://www.veepvideo.com/default/embed.e2s?ri=XXX&amp;autoplay=0" width="324" height="364" frameborder="no" marginheight="0" marginwidth="0" scrolling="no"></iframe></center>

If anyone could help me with this it would be greatly appreciated.

wacnstac 01-21-2010 01:59 PM

Anybody??

Arkham 01-22-2010 11:19 PM

I've seen that there are several Amazon videos available for some Amazon link items s well -- is there a way we can embed those videos too, or will that cause a conflict with the other Amazon link definitions?

The share links for videos go to an Amazon permalink, so I'm not sure if there's a way to make a definition for it.

edit: Ah, I did find this link about embedding Amazon videos: http://www.thepcguild.com/2009/12/fi...amazon-videos/

I will request it through the proper channel...

Digital Jedi 01-23-2010 03:23 AM

It would conflict with any other Amazon definition you'd have active. It comes down to the fact that there are no unique qualities to a URL with a video on it to differentiate it from any other Amazon product URL. So even if you decided to just have a definition that converted Amazon videos, it would still try to convert all the other pages into videos, too.

ericgtr 01-23-2010 02:03 PM

Hi DJ,

You answered my question about embedding MP3 attachments in Geeks thread and I thought I would follow up here. Even though I am using fb 4.0 my goal is to have an attached MP3 file play inline. What I have done is taken some of what you had written and worked created a new definition that looks like this:
HTML Code:

<?xml version="1.0" encoding="ISO-8859-1"?>

<AME3>
        <def>
                <providerid>6</providerid>
                <tagoption>MP3</tagoption>
                <provider>MP3</provider>
                <url>http://www.mysitename.com</url>
                <regex_url><![CDATA[([http://]*[\w]*[\.]*mysitename\.[\w/&;%-\.]+\.mp3?2?)]]></regex_url>
                <regex_scrape />
                <embed><![CDATA[<object type="application/x-shockwave-flash" data="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" width="250" height="20"> <param name="movie" value="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" /> <param name="bgcolor" value="#384651" /> <param name="FlashVars" value="mp3=$p1&amp;width=250&amp;showstop=1&amp;showinfo=1&amp;showvolume=1&amp;bgcolor=384651&amp;bgcolor1=31a2f4&amp;bgcolor2=0b8eee&amp;slidercolor1=ffffff&amp;slidercolor2=CCCCCC&amp;sliderovercolor=ffff00" /> </object>]]></embed>
                <priority>0</priority>
        </def>
</AME3>

However, I still can't seem to get it to play the attached file inline, it's just ignored as if it doesn't exist and I have also rebuilt my posts. I noticed you said in your statement when you released these that it's not the intent but I'm wondering if there is a way to get this to work with strictly .mp3 files.

Digital Jedi 01-24-2010 07:50 AM

Quote:

Originally Posted by ericgtr (Post 1964364)
Hi DJ,

You answered my question about embedding MP3 attachments in Geeks thread and I thought I would follow up here. Even though I am using fb 4.0 my goal is to have an attached MP3 file play inline. What I have done is taken some of what you had written and worked created a new definition that looks like this:
HTML Code:

<?xml version="1.0" encoding="ISO-8859-1"?>

<AME3>
        <def>
                <providerid>6</providerid>
                <tagoption>MP3</tagoption>
                <provider>MP3</provider>
                <url>http://www.mysitename.com</url>
                <regex_url><![CDATA[([http://]*[\w]*[\.]*mysitename\.[\w/&;%-\.]+\.mp3?2?)]]></regex_url>
                <regex_scrape />
                <embed><![CDATA[<object type="application/x-shockwave-flash" data="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" width="250" height="20"> <param name="movie" value="http://flash-mp3-player.net/medias/player_mp3_maxi.swf" /> <param name="bgcolor" value="#384651" /> <param name="FlashVars" value="mp3=$p1&amp;width=250&amp;showstop=1&amp;showinfo=1&amp;showvolume=1&amp;bgcolor=384651&amp;bgcolor1=31a2f4&amp;bgcolor2=0b8eee&amp;slidercolor1=ffffff&amp;slidercolor2=CCCCCC&amp;sliderovercolor=ffff00" /> </object>]]></embed>
                <priority>0</priority>
        </def>
</AME3>

However, I still can't seem to get it to play the attached file inline, it's just ignored as if it doesn't exist and I have also rebuilt my posts. I noticed you said in your statement when you released these that it's not the intent but I'm wondering if there is a way to get this to work with strictly .mp3 files.

Though I don't have AME 3 installed, fundamentally, it's the same process. The reason AME doesn't normally work with attachments is because attachment URLs are all the same. http://www.yoursite.com/attachment.php and some id numbers. Nothing else to tell the definition whether it's an MP3 or a PDF or a JPG file. Whatever the replacement HTML is, that's what AME is going to use every time. Not very practical when your user has posted a PDF, and AME tries to play it in an MP3 player.

If this has changed in vB4, and you have some way to distinguish file types (simply having the extension .MP3 in the URL would be enough, really) then you could get it to work. Only $p1 isn't used in AME 3. Double check one of the definitions, but I believe it's something like {vb:raw:something}. It just slips my mind at the moment.

Nook_Neformat 01-25-2010 05:06 PM

is there a way to add space between word "YouTube" and title of the video?
so it will be "YouTube - Title" istead of "YouTube- Title"

Digital Jedi 01-25-2010 08:46 PM

Quote:

Originally Posted by Nook_Neformat (Post 1966315)
is there a way to add space between word "YouTube" and title of the video?
so it will be "YouTube - Title" istead of "YouTube- Title"

Everything posted in the title is just duplicated from the title of the original video page. So without being able to edit the website itself, there's no way to change that.

Arkham 01-25-2010 09:28 PM

Quote:

Originally Posted by Digital Jedi (Post 1964062)
It would conflict with any other Amazon definition you'd have active. It comes down to the fact that there are no unique qualities to a URL with a video on it to differentiate it from any other Amazon product URL. So even if you decided to just have a definition that converted Amazon videos, it would still try to convert all the other pages into videos, too.

Ah, that makes sense. Thanks for the confirmation! It might be still be useful if we can use those videos as an all-or-nothing situation, if we don't need the other links/books embedded.

Maybe an option in the future?

imk 01-26-2010 09:12 PM

a member posted this up

Quote:

and I guess it comes with the AME (Auto Media Embedder) :
Code:

Parse error:  syntax error, unexpected '[' in /home/manly/public_html/forum/includes/ame_bbcode.php(323) : regexp code on line 1
I love codes errors lol! :D

Edit : error also occurs when I actually try to post a reply.

Edit2 : I tried a quick reply, see what happened :
Quote:

The following errors occurred with your submission:
  1. This forum requires that you wait 30 seconds between posts. Please try again in 29 seconds.

Then I'm on the preview problem. :(

Edit3 : the quick reply worked on some threads though... that's weird now! I should go to bed lol

Edit4 : (now that's gonna be epic!) : the error seemed to come from a link to Wikipedia I added in my reply, and causes troubles with AME.

Digital Jedi 01-27-2010 05:22 PM

Quote:

Originally Posted by imk (Post 1967451)
a member posted this up

Again, I need to see the link in question, or I can't help you.

wacnstac 01-27-2010 06:01 PM

I want people to be able to enter a place name in a BBCODE and have the Google Maps for that location displayed inline, or alternatively use another AME definition to do this. I tried to get this to work with a BB code but it turned out to be too complex and I'm not good with Regular Expressions in AME.....

Digital Jedi 01-27-2010 06:08 PM

Quote:

Originally Posted by wacnstac (Post 1968201)
I want people to be able to enter a place name in a BBCODE and have the Google Maps for that location displayed inline, or alternatively use another AME definition to do this. I tried to get this to work with a BB code but it turned out to be too complex and I'm not good with Regular Expressions in AME.....

AME parses URLs, not BBCode. I'm afraid you'd need a completely different application for that. AME won't parse terms or addresses, or other BBCodes.

wacnstac 01-27-2010 06:46 PM

Quote:

Originally Posted by Digital Jedi (Post 1968209)
AME parses URLs, not BBCode. I'm afraid you'd need a completely different application for that. AME won't parse terms or addresses, or other BBCodes.

Hmmm.

mertiliuss 01-28-2010 11:38 AM

Puedes crear uno para la pagina:
http://www.theync.com/

Gracias.

MagicThemeParks 01-28-2010 11:39 AM

Blip is giving me errors

Code:

Parse error: syntax error, unexpected '(' in /legendaryrockers.com/forums/includes/ame_bbcode.php(323) : regexp code on line 1

Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: ame_match(&quot;Started by a Mouse&quot;, &quot;Started by a Mouse&quot;, 1, &quot;~[\s]+player\.setPostsId\(([\d]+)\);[\s]+player\.setUsersId\([\d]+\);[\s]+player\.setUsersLogin\(\\&quot;([\w-_]+)\\&quot;\)~sim&quot;, &quot;&quot;, $ameinfo) in /home/arnoldoav/legendaryrockers.com/forums/includes/ame_bbcode.php on line 323


Digital Jedi 01-28-2010 06:32 PM

Quote:

Originally Posted by mertiliuss (Post 1968851)
Puedes crear uno para la pagina:
http://www.theync.com/

Gracias.

Don't forget, vB.org requires you to post in English only. Is this a definition request? If so please make it at the link in the first post so I don't forget it.


Quote:

Originally Posted by MagicThemeParks (Post 1968852)
Blip is giving me errors

Code:

Parse error: syntax error, unexpected '(' in /legendaryrockers.com/forums/includes/ame_bbcode.php(323) : regexp code on line 1

Fatal error: preg_replace() [<a href='function.preg-replace'>function.preg-replace</a>]: Failed evaluating code: ame_match(&quot;Started by a Mouse&quot;, &quot;Started by a Mouse&quot;, 1, &quot;~[\s]+player\.setPostsId\(([\d]+)\);[\s]+player\.setUsersId\([\d]+\);[\s]+player\.setUsersLogin\(\\&quot;([\w-_]+)\\&quot;\)~sim&quot;, &quot;&quot;, $ameinfo) in /home/arnoldoav/legendaryrockers.com/forums/includes/ame_bbcode.php on line 323


Is this the link you're using Arny? http://blip.tv/file/3015018/

It parses fine for me, but for some reason, it didn't on the initial try. Try again and let's see if it's just an error caused by something at the site itself.

MagicThemeParks 01-29-2010 12:20 AM

Yup, that's the link.

It's not working for me. I've tried it a couple of times and it kicks back the error each time.

Any suggestions on what I should be looking for that might be conflicting?

wacnstac 01-29-2010 12:26 AM

Quote:

Originally Posted by Digital Jedi (Post 1968209)
AME parses URLs, not BBCode. I'm afraid you'd need a completely different application for that. AME won't parse terms or addresses, or other BBCodes.

So how about parsing this:
PHP Code:

http://maps.google.com/?ie=UTF8&ll=42.518897,-83.480473&spn=0.027519,0.043387&t=h&z=15 

And turning it into this:
PHP Code:

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/?ie=UTF8&amp;ll=42.518897,-83.480473&amp;spn=0.027519,0.043387&amp;t=h&amp;z=15&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/?ie=UTF8&amp;ll=42.518897,-83.480473&amp;spn=0.027519,0.043387&amp;t=h&amp;z=15&amp;source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small


Digital Jedi 01-29-2010 05:41 AM

Quote:

Originally Posted by wacnstac (Post 1969432)
So how about parsing this:
PHP Code:

http://maps.google.com/?ie=UTF8&ll=42.518897,-83.480473&spn=0.027519,0.043387&t=h&z=15 

And turning it into this:
PHP Code:

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/?ie=UTF8&amp;ll=42.518897,-83.480473&amp;spn=0.027519,0.043387&amp;t=h&amp;z=15&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/?ie=UTF8&amp;ll=42.518897,-83.480473&amp;spn=0.027519,0.043387&amp;t=h&amp;z=15&amp;source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small


I already have a definition for Google Maps available. You were asking about BBCode and parsing links based on addresses. I assumed you'd already seen my existing definition.

schlottkej 01-29-2010 08:30 PM

Hey DJ.. It's me again with another suggestion for an embed :P

YouCastr.com - (Ive got a couple others, too, but I won't trouble you if you're too busy!)

These are great because they allow you to post Live casts as part of an RSS feed....

Hope all is well for you, too, my friend!

Jacob

MagicThemeParks 01-29-2010 11:45 PM

schlottkej, you should submit the request for the new definition on the official request site listed in the first post: http://www.cogonline.net/forums/forumdisplay.php?f=880

DJ, any update on the Blip.tv?

Digital Jedi 01-30-2010 06:36 PM

Quote:

Originally Posted by MagicThemeParks (Post 1970134)
schlottkej, you should submit the request for the new definition on the official request site listed in the first post: http://www.cogonline.net/forums/forumdisplay.php?f=880

DJ, any update on the Blip.tv?

Haven't been able to duplicate the error. I'd need to look at it on the live site and see if I can find it there. Is this site where I still have admin access? If so, I'll go look a little bit later today if I can.

MagicThemeParks 01-30-2010 07:38 PM

You don't have admin access at the new site (LegendaryRockers.com), but I can grant you access later today if you have the time to help. :)


All times are GMT. The time now is 10:53 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.02551 seconds
  • Memory Usage 1,898KB
  • 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_html_printable
  • (4)bbcode_php_printable
  • (21)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
  • (40)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