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)
-   -   Mini Mods - Auto youtube embed player ( NEW PLAYER ) (https://vborg.vbsupport.ru/showthread.php?t=251569)

Qleb 10-02-2010 10:00 PM

Auto youtube embed player ( NEW PLAYER )
 
1 Attachment(s)
hey :cool:

this is the simplest and fastest youtube auto embed inside postbit

the mod will replace all youtube links to direct video player in your post


LIVE DEMO : CLICK HERE to see how its works

time to install : 1 sec
file upload : 0
configuration : none




change Log :

1- adding all youtube servers extensions
2- VBseo supported


https://vborg.vbsupport.ru/attachmen...1&d=1337881369

all you have to do just upload the XML file from admincp and enjoy it ;)

GONUMBER6 10-04-2010 12:33 AM

Installed and works great so far! Glad cuz the mod I was using quit working. Thank you for creating this! Like the silver framing too. Nice work. :)

Here is my photo and video forum if anyone wants to see it in action:

http://www.englishbulldognews.com/fo...tos-amp-Videos

Oh, wow- I just realized this was for vb 3.8, I am using vb 4.06 and it works great FYI, I will report if I have any problems~

GONUMBER6 10-06-2010 02:18 PM

This modification is working on my forum vb 4.06 without any problems so far (2 days)

PattiOz 10-07-2010 03:15 AM

can't get it to work - I still have a link.
Tried putting it inside a the URL tags.
Tried just typing it in.
Tried using the embed code in the CODE tag

I'm using 3.8.3

Any tips?

Qleb 10-07-2010 11:37 AM

Quote:

Originally Posted by PattiOz (Post 2107590)
can't get it to work - I still have a link.
Tried putting it inside a the URL tags.
Tried just typing it in.
Tried using the embed code in the CODE tag

I'm using 3.8.3

Any tips?

could you please provide a link of your forum has youtube url in post , then i can see the page source to see the problem in your forum embed issue

please go to Plug-in manger and check if youtube embed player mod is turned ON

Fahad_H 12-15-2010 11:06 AM

installed and works great. I was wondering, is there a way to make the default play set for the highest resolution?

thanks

Fahad_H 12-26-2010 03:48 PM

how can I change the display height and width?

thank you

mbc100 12-26-2010 05:49 PM

it looks nice but demo dos`nt working

SKSApps 01-05-2011 06:02 AM

doesnt seem to work on Version 3.8.5 either

rinkrat 01-07-2011 02:28 AM

No worky.

cuco2000 01-09-2011 01:20 AM

really works, but there is a problem. To work properly, once created the post to edit, copy the link and paste it as plain text to work properly.

Sorry my bad english, here the original Spanish text (if you understand or have a translator) in case you did not come to fully understand the above.

"A mi me funciona, pero hay un problema. Para que funcione correctamente, una vez creado el post es necesario editarlo, copiar el link, y pegarlo como texto plano para que funcione correctamente."

5wadem 01-15-2011 01:14 AM

working fine Thank you :)

Gosef 02-07-2011 03:35 AM

thanks alot

Max Taxable 02-10-2011 11:14 PM

Snapped right in and worked right off.

Thanks.

Crossbow 02-15-2011 02:12 PM

Installed. Does not show up nor seems to be working in VB 4.1.1

BOWZONE 02-28-2011 11:43 AM

Installed...works like a charm.

nicklfire 03-01-2011 08:15 PM

i have had not great luck with this.. seems to work for some videos, but not for other, the pos just displays the link.

Here is my test section for this youtube player
http://www.bcaquaria.com/forum/bc-aq...68/index2.html

Max Taxable 03-05-2011 01:22 AM

Quote:

Originally Posted by nicklfire (Post 2168390)
i have had not great luck with this.. seems to work for some videos, but not for other, the pos just displays the link.

Here is my test section for this youtube player
http://www.bcaquaria.com/forum/bc-aq...68/index2.html

I have no trouble with it at all. Looks like you are posting the links with [url] tags wrapping them. Don't do that, just post the link raw and the system will tag it for you.

Example of what to post: http://www.youtube.com/watch?v=6E1ar1WLTUs

NO BB tags, nothing.

Andr? Noberto 03-05-2011 10:25 AM

Show! thank you man, i installed the modification, is very good =D

Crossbow 03-08-2011 11:16 PM

Thank you.

yin9 03-09-2011 10:00 PM

Quote:

Originally Posted by Max Taxable (Post 2169690)
I have no trouble with it at all. Looks like you are posting the links with [url] tags wrapping them. Don't do that, just post the link raw and the system will tag it for you.

Example of what to post: http://www.youtube.com/watch?v=6E1ar1WLTUs

NO BB tags, nothing.

Is there any way to fix this? I have many old links wrapped with [URL] tags.

Thanks, greetings.

Max Taxable 03-10-2011 12:50 PM

Quote:

Originally Posted by yin9 (Post 2171636)
Is there any way to fix this? I have many old links wrapped with [URL] tags.

Thanks, greetings.

I don't know any way to do a system wide find/replace in vBulletin. You're probably stuck with all the posts prior to installing this hack.

But, did what I told you prove accurate?

Texas-Hunter 03-14-2011 10:42 PM

Installed works great...

Can this be changed to use another video host??

.

giabao88 03-18-2011 07:20 AM

Don't use if use with bbcode spoiler

otectom 03-20-2011 12:34 PM

installed and works fine on VB 4.1.2

igor123 04-10-2011 12:23 PM

doesn't work. just inserts a text

khurtsiya 04-11-2011 08:55 AM

supercool!! works like a charm on 3.8
thanks!!!!!

CUBS 04-13-2011 02:33 PM

works great

Teemberland 04-22-2011 03:33 AM

This is great! Thank you!

wobbly 04-22-2011 09:07 AM

Now that the Share link on youtube has been changed to

http://youtu.be/w9aG2qU9okk?hd=1

How can we fix this?

yin9 05-02-2011 12:51 AM

Edit: Sorry...

ShawneyJ 05-03-2011 04:06 AM

ah i see, only works with URL LINK FROM BROWSER. thanks.

http://www.chatforums.net/graveyard/...tube-hack.html

mapleleaffans 05-03-2011 05:12 AM

Marked as Installed! Works great fr me! Thank you! :)

Llandy 05-06-2011 07:20 AM

Youtube has changed the "share" links. Is there an way to update this mod?

MagicThemeParks 05-06-2011 10:38 AM

Is this not working with the new share links?

mapleleaffans 05-06-2011 10:11 PM

Works fine for me guys. It works by using the actual link in the adress bar of your browser.

Llandy 05-07-2011 07:32 AM

Quote:

Originally Posted by mapleleaffans (Post 2192797)
Works fine for me guys. It works by using the actual link in the adress bar of your browser.

Nope, cause often you will get a link that is longer then the actual "share" link, which this mod is built on.

Quote:

Originally Posted by MagicThemeParks (Post 2192636)
Is this not working with the new share links?

Sadly it's not. Youtube changed their "share" links, which makes this mod outdated.

Max Taxable 05-09-2011 04:34 PM

I'm having no such trouble with my install. The new "short" share link works fine.

GavoTrav 06-14-2011 12:26 PM

Very good installed, resized for my forum 640x390

Demo: http://pvhax.com/forums/showthread.php?p=377291

Code:

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

<product productid="youtubeplayer" active="1">
        <title>Auto youtube embed</title>
        <description>replace youtube link with player</description>
        <version>1</version>
        <url>http://www.lebch.com</url>
        <versioncheckurl>http://www.lebch.com</versioncheckurl>
        <dependencies>
        </dependencies>
        <codes>
        </codes>
        <templates>
        </templates>
        <plugins>
                <plugin active="1" executionorder="5">
                        <title>embed player</title>
                        <hookname>postbit_display_complete</hookname>
                        <phpcode><![CDATA[$embed_player =  '
    <table widht="640" align="center" class="tborder" >
    <tr><td class="alt1">
    <object width="640" height="390">
    <param name="movie" value="http://www.youtube.com/v/\\4&hl=en_US&fs=1&rel=0&version=3">
    </param>
    <param name="allowFullScreen" value="true">
    </param>
    <param name="allowscriptaccess"value="always"></param>
    <embed src="http://www.youtube.com/v/\\4&hl=en_US&fs=1&rel=0&version=3"
    type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"  width="640" height="390"></embed>
      </object>
      </td>
      </tr>
      </table>
      ';

      $post['message'] = preg_replace('#(<a href="http://www.youtube.com)?/(v/([-|~_0-9A-Za-z]+)|watch\?v\=([-|~_0-9A-Za-z]+)&?.*?)">(http://www.youtube.com)?/(v/([-|~_0-9A-Za-z]+)|watch\?v\=([-|~_0-9A-Za-z]+)&?.*?)<\/a>#i', $embed_player, $post['message']);]]></phpcode>
                </plugin>
        </plugins>
        <phrases>
        </phrases>
        <options>
        </options>
        <helptopics>
        </helptopics>
        <cronentries>
        </cronentries>
        <faqentries>
        </faqentries>
</product>


drsli 06-14-2011 04:55 PM

The youtube-browser-address-link with the syntax

"http://www.youtube.com/watch?v=videocodehere"

works on my side perfectly.

Thanks for sharing this handy addon! :)


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