vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Passive Video [Lite] (https://vborg.vbsupport.ru/showthread.php?t=188956)

Forumdayim.Net 09-01-2009 08:55 PM

I've installed this mod, thanks. :)

mickknutson 09-11-2009 02:33 PM

I also submitted a bug:

http://scriptasy.com/project.php?issueid=47

Videx 10-05-2009 01:11 PM

Quote:

Originally Posted by mickknutson (Post 1895100)
And an other update... Please help

Are you not reading any other posts in this thread? Or are you just the most optimistic person on earth?

This mod is not working properly. It hasn't worked properly since the day it was last updated. There is no support here or at their own website. Do not buy it. Do not install it. If, like me, you did both, then uninstall it and learn a lesson and move on.

Franciscus 10-06-2009 09:54 AM

Great mod, using it since ver 1.1.2, and now the Lite and also the paid 2.0 but... no news about the widescreen Youtube videos?

Another question: how do you post a link to a video? (without embedding it, of course)
Thanks!

mickknutson 10-06-2009 07:30 PM

I have tracked down the only instance of youtube.com to this array:
Code:

$passivevideo_sites = array(
        array ( // google
            'd' => 'video.google',
            'm' => 'http://video.google.(?:[a-z]{2,3}|co.uk)/videoplay\?docid=([0-9_-]+)',
            'e' => 0
        ),
        array ( // yahoo
            'd' => 'video.yahoo.com',
            'm' => 'http://video.yahoo.com/watch/([0-9]+)/([0-9]+)',
            'e' => 0
        ),
        array ( // youtube
            'd' => 'youtube.com',
            'm' => 'http://(?:[a-z]{2,3}.)?youtube.com/watch\?v=([a-z0-9_-]{11})',
            'e' => 0
        )
    );

inside functions_passivevideo.php

So it appears that the video must be in the

Code:

http://www.youtube.com/watch?v=StNMmOd4d9E
But what I really need is the word watch to be optional..
http://youtube.com/?v=StNMmOd4d9E

I tried changing the code to:
http://(?:[a-z]{2,3}.)?youtube.com/(watch)?\?v=([a-z0-9_-]{11})[/CODE]



Now it seems that

Code:

http://youtube.com/?v=StNMmOd4d9E
Does not show up at all as the text portion of the url is missing.
So I wonder how I would add watch if it did not exist? is this possible in RegEx?

beansbaxter 10-23-2009 01:22 AM

Wondered if you could add support for vholdr?

chick 11-20-2009 05:53 PM

Thank Mick... I know your site (from vaultwiki) I'm the one with the lamp site... I just installed AME on a clean board (because passive vid encountered this problem) and I get the ....

YouTube- Broadcast Yourself LINK and not the video... I have tried 30 videos, none of them are restricted for linking to and all settings are correct.

I'd really like my passive vid or ame to work, any tips?

mgcom 11-20-2009 09:23 PM

very smart thanks a lot

chick 11-21-2009 05:15 PM

Mick I found the solution for AME,,, but now I need to fix the sudden youtube code issue in Passive Video Premium. I note that you think the issues is here?

array ( // youtube
'd' => 'youtube.com',
'm' => 'http://(?:[a-z]{2,3}.)?youtube.com/watch\?v=([a-z0-9_-]{11})',
'e' => 0
)

I'll bet Ted may know over at Cracked Egg?
++++++++
Why wouldn't changing this to, lets say?

array ( // youtube
'd' => 'youtube.com',
'm' => 'http://youtube.com/watch\?v=([a-z0-9_-]{11})',
'e' => 0
)


or

array ( // youtube
'd' => 'youtube.com',
'm' => 'http://{param}youtube.com/watch\?v=([a-z0-9_-]{11})',
'e' => 0
)

No?

What is this called anyway, a definition?

AME appears to use http://www.youtube.com/watch?v=\1

tylercruz 11-23-2009 11:25 PM

Not yet from what I can see, but it's strange why it just stopped working for everyone... YouTube hasn't seem to have changed their links right? And do their videos embed properly without the plugin (Ex. using their Embed code on a static site)?


All times are GMT. The time now is 12:24 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.01362 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)bbcode_code_printable
  • (1)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
  • (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