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.


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