vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - passiveVid - (YouTube, Myspace, Google...) Not BBCODE :D (https://vborg.vbsupport.ru/showthread.php?t=150761)

Mellon 09-20-2008 11:53 PM

well the old 1.12 version doesn't work right either, getting a blank page when trying to load some threads so I disabled it and the threads are loading again.

frustrating :(

WashUJon 09-23-2008 01:45 PM

Brightcove urls don't seem to be working. :(

legionofangels 09-24-2008 08:30 PM

Quote:

Originally Posted by Coders Shack (Post 1540673)
this is due to the owner of the youtube video, they are disabling embeds.

there may be a solution in 1.2.0 for this

There is no solution to this problem. Either YouTube removed the video off there server or the user deleted it or a copyright order was done such as certain rock videos that say "embedding disabled by request", they will not embed with this hack.

You can't code an embedded object to stay on a site and pull from the other site if the video is no longer there or embeddable.

Quote:

Originally Posted by am3rgin (Post 1549459)
When this mod is enabled I get RSS errors like below.

Warning: Invalid argument supplied for foreach() in [path]/includes/class_postbit_alt.php(468) : eval()'d code on line 26

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:3239) in [path]/external.php on line 865

The first time I click on the RSS link I get the errors. If I click it a second time the RSS feed works perfectly. If I disable the mod, clear cache/cookies all RSS feeds from my site work perfectly the first time.

Anyone experience these errors? Great mod by the way.

I actually did some tinkering around with this and while I don't know what caused the RSS error, nor do I know which version he fixed it in or if it will be fixed in 2.0.0. But what could be part of the problem is that you can actually take a video feed from youtube, and put it through your RSS Feed Manager on vBulletin and with this add on disabled it will just post the link to the video or nothing at all, depending upon what RSS options you are choosing ( i.e. encoded, description, more url, etc. ). If you enable this add on, you can grab there RSS feeds and this modification will automatically embed the object into the thread.

Because this modification changes the url to a video or auto embeds that, that is what is making it be able to embed videos through the RSS which is actually really cool. Because the more options we have that work with this mod, the more we can have literal RSS video feeds without using HTML to post the flash video's.

I am going to set up some small amount of daily feeds on my forum and probably show a link so people can see how it works. It's pretty sick, and places like YouTube and such like Gametrailers offer a ton of different video rss options.

Of course while however cool this is, it still messes up the RSS for our own forums, which I don't know why but I read a few posts ago that it might be fixed or is fixed, which version???

------------------------------------------------------

Coders Shack

I am cool with being one of the first for 2.0.0 as long as it is compatible with 3.6.8 PL 2, AND I want the RSS error fixed that we've talked about above. Oh...and I want CNN.com added as well.

CNN allows embedding of videos and they have a Video RSS feed, which means I could RSS Feed CNN video news with a combination of there Feed and your modification.

Here is an example Embed Code for CNN, and thanks for catching my post on MTV, that's sick to.
Code:

<iframe src="http://www.cnn.com/video/savp/evp/?loc=dom&vid=/video/business/2008/09/24/sparks.uk.france.nuclear.buyout.itn" height="393" width="406" allowtransparency="true" frameborder="0" scrolling="no"></iframe>

P.S. I'll pay you 10 bucks if you add CNN to the list, but sadly NFL.com still does not allow embedding of there videos.

hunter88 09-25-2008 04:59 AM

Hello,

great mod, thanks. But how to embed a CNN-Video?

Code:

Code:

<iframe src="http://edition.cnn.com/video/savp/evp/?loc=int&vid=/video/politics/2008/09/24/sot.mccain.suspends.campaign.cnn" height="393" width="406" allowtransparency="true" frameborder="0" scrolling="no"></iframe>
Cheers,
Tommy

legionofangels 09-25-2008 07:16 PM

Quote:

Originally Posted by hunter88 (Post 1629777)
Hello,

great mod, thanks. But how to embed a CNN-Video?

Code:

Code:

<iframe src="http://edition.cnn.com/video/savp/evp/?loc=int&vid=/video/politics/2008/09/24/sot.mccain.suspends.campaign.cnn" height="393" width="406" allowtransparency="true" frameborder="0" scrolling="no"></iframe>
Cheers,
Tommy

rofl

Seriously, I just asked him that and I did it on his scriptasy site to.

lolz

legionofangels 09-26-2008 12:53 PM

Why not Hulu.com as well.

It might be US only, but that will eventually change, they allow you to embed 98% of there videos with only a few that don't allow it.

I cannot believe that hasn't been added yet.

legionofangels 09-27-2008 06:40 PM

Yahoo! videos do not work anymore on version 1.12

http://video.yahoo.com/watch/3424662/9552966

Example embed code:

Code:

<div><object width="512" height="322"><param name="movie" value="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.30" /><param name="allowFullScreen" value="true" /><param name="AllowScriptAccess" VALUE="always" /><param name="bgcolor" value="#000000" /><param name="flashVars" value="id=9552966&vid=3424662&lang=en-us&intl=us&thumbUrl=http%3A//us.i1.yimg.com/us.yimg.com/i/us/sch/cn/video02/3424662_rnd7509d9b8_19.jpg&embed=1" /><embed src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.30" type="application/x-shockwave-flash" width="512" height="322" allowFullScreen="true" AllowScriptAccess="always" bgcolor="#000000" flashVars="id=9552966&vid=3424662&lang=en-us&intl=us&thumbUrl=http%3A//us.i1.yimg.com/us.yimg.com/i/us/sch/cn/video02/3424662_rnd7509d9b8_19.jpg&embed=1" ></embed></object><br /><a href="http://video.yahoo.com/watch/3424662/9552966">'Choke' Theatrical Trailer</a> @ <a href="http://video.yahoo.com" >Yahoo! Video</a></div>
I tested it in a thread and with the RSS Feeder, it will not parse the video.

legionofangels 09-27-2008 06:46 PM

Break.com does not work in 1.12 either.

I get an error on screen when using it.

Quote:

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /newthread.php(135) : eval()'d code on line 38

Warning: file_get_contents(http://www.break.com/index/atv-jumps-into-tree.html) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /newthread.php(135) : eval()'d code on line 38

lowlight 10-07-2008 12:43 PM

Is there a way to make Youtube embed the HQ FLV version (fmt=18)?

deki5la 10-08-2008 03:19 AM

Thanks, this mod adds a whole new dimension to the site.

ajmboy 10-11-2008 04:34 AM

I signed up to your site http://www.Scriptasy.com

Also paid your $5. Tried to conact you, with no response , and bounced back e-mails. What was the $5 license for? It keeps showing as unpaid. I now need to dispute it in paypal because I have not heard anyting in a few days.

yotsume 10-11-2008 08:50 AM

Does this work with vBadvanced CMPS v3.0.1???

If so how? I pasted a youtube link in a bbcode block and it just shows the url. How can i get this to work in the latrest version of vBadvanced CMPS v3.0.1?

Goomzee 10-15-2008 07:25 AM

could you plz add ign movie codes

legionofangels 10-16-2008 02:59 PM

* bump *

legionofangels 10-20-2008 02:54 AM

* bump 2 *

MeMySelfNi 10-27-2008 09:27 AM

can you make it work with this?

http://www.worldstarhiphop.com/videos/index.php

BamaStangGuy 10-27-2008 02:28 PM

Will it be possible to support the deep linking?

legionofangels 10-30-2008 04:09 PM

* bump 3 *

ajmboy 11-15-2008 12:01 AM

I noticed if I link to the last post, the meta tag <title> includes the post number, sometimes numerous times after the page title.

Using 3.7.3

OrionDesigns 11-16-2008 11:54 PM

I can not get Streetfire embeds to work. It says v.1.0.4 and above should work, but that is not the case for me. And, I can not find the v.1.0.4 file - on the front page I only see v.1.0.7 - .12. Anyone know how I can get Streetfire videos to work?

stickskills 11-18-2008 02:37 AM

I'd love to see EaSportsWorld.com support for this.

odeezie 11-18-2008 03:48 PM

I cannot get several of these to work. Do we just post the URL and that is it? The big ones like Google and Youtube work everytime, but I cant get break.com, streetfire, and metacafe to work. These sites are all checked in the adminCP. I just wondered if there was something I may be doing wrong....

Link to test thread:

http://www.supermotogallery.com/foru...thread.php?t=6

NavS 11-24-2008 11:36 PM

people can break the forums by placing the urls that get parsed into url bbcode that links to somewhere else.

HarleyK 11-28-2008 01:55 PM

Superb mod. :)

Marked as installed.

Roi Danton 11-29-2008 01:17 PM

To support vimeo.com add the following code to PlugIn passiveVid - Global Array
PHP Code:

    // Vimeo (own edit)
    
$passiveVid[] = array (
        
'string' => '#'.$urlrx[0].'(?:www\.)?vimeo.com/(\d+)(?:[^"]+)?'.$urlrx[1].'#',
        
'replacement' => '$PASSIVEURL = $matches[1]; $PASSIVETITLE = $matches[3]; $PASSIVEEMBED = \'<object width="500" height="281"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=\'.$matches[2].\'&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=\'.$matches[2].\'&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="281"></embed></object>\'; return "'.$customstring.'";',
        
'id' => 7563452433
        
); 


goxy63 12-03-2008 01:39 AM

I instaled this mod few weeks ago its just great :)
But can I somehow use this mod to let my users display youtube video in their profile ?

No way ?

rajrana007 12-04-2008 11:56 AM

can we have it for xvideos.com

stickskills 12-16-2008 05:35 PM

Quote:

Originally Posted by Roi Danton (Post 1675161)
To support vimeo.com add the following code to PlugIn passiveVid - Global Array
PHP Code:

    // Vimeo (own edit)
    
$passiveVid[] = array (
        
'string' => '#'.$urlrx[0].'(?:www\.)?vimeo.com/(\d+)(?:[^"]+)?'.$urlrx[1].'#',
        
'replacement' => '$PASSIVEURL = $matches[1]; $PASSIVETITLE = $matches[3]; $PASSIVEEMBED = \'<object width="500" height="281"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=\'.$matches[2].\'&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=\'.$matches[2].\'&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="281"></embed></object>\'; return "'.$customstring.'";',
        
'id' => 7563452433
        
); 



Sweeeeet! Any idea on how to get the EA Sports World videos?

TheCatcher 12-30-2008 10:11 PM

this mod make be a error in the rss (external.php)

The following plug-in is to blame
passiveVid - Show Thread Replacement, if I do this PluginIn off, everything is normal!


vBulletin 3.7.4 Patch Level 1

zeus_r6 12-31-2008 05:42 PM

any chance www.imcrazytoo.com could also be supported?

ComputerVitals 01-02-2009 07:33 PM

Any fix for Break.com videos?

420 01-02-2009 07:55 PM

will this work in 3.8?
currently working on 3.74
thanks.

goxy63 01-02-2009 11:53 PM

Got this mod running already 2months without any issues, now I would like to ask something bit offtopic!

Is there any chance that we can get similar mod as this one but for mp3

which will open posted links in some tiny mp3 player !?

Even in private or profile-visitor messages

This would be awesome

sweptwingnut 01-09-2009 09:00 PM

Quote:

Originally Posted by Roi Danton (Post 1675161)
To support vimeo.com add the following code to PlugIn passiveVid - Global Array
PHP Code:

    // Vimeo (own edit)
    
$passiveVid[] = array (
        
'string' => '#'.$urlrx[0].'(?:www\.)?vimeo.com/(\d+)(?:[^"]+)?'.$urlrx[1].'#',
        
'replacement' => '$PASSIVEURL = $matches[1]; $PASSIVETITLE = $matches[3]; $PASSIVEEMBED = \'<object width="500" height="281"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=\'.$matches[2].\'&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=\'.$matches[2].\'&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="500" height="281"></embed></object>\'; return "'.$customstring.'";',
        
'id' => 7563452433
        
); 


I am a bit new to this. Where should I be looking in the Admin control panel to find where this edit should go?

Is there a specific place in the language that this edit should start after?

sweptwingnut 01-10-2009 02:31 AM

Well, I found where the code needed to be placed. I changed the ID to the appropriate figure and installed it in the Global Array.

Unlucky me,,,,,vimeo still not working.

toneloc 01-15-2009 07:17 PM

Does s work with Flickr videos yet?

sweptwingnut 01-18-2009 08:03 AM

Uninstalled Vimeo code.

Pokerbanter 01-18-2009 07:07 PM

Awesome mod. Installed with ease. Thanks

Xtrato 01-19-2009 03:26 AM

i have a question , can we make it work with personal sites such as :

http://www.wisconsinfishingvideos.com/ ??

Let me know , Really like this mod , !! great work

lowlight 01-22-2009 04:06 AM

Gamespot is not working, using the URL provided when you "Digg" it


All times are GMT. The time now is 09:02 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.02483 seconds
  • Memory Usage 1,845KB
  • 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
  • (3)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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