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)

SpreadingLight 02-05-2008 06:21 PM

I was thinking my admin group was 1, I can see it's 6 now thanks :p

what is the correct myspace video url to use?


http://vids.myspace.com/index.cfm?fu...deoid=12277493

http://myspacetv.com/index.cfm?fusea...deoid=12277493

a href="http://myspacetv.com/index.cfm?fuseaction=vids.individual&videoid=12277 493">Healing Heart of Humanity</a><br><embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=12277493&v=2&type=video" type="application/x-shockwave-flash" width="430" height="346"></embed><br><a href="http://myspacetv.com/index.cfm?fuseaction=vids.addToProfileConfirm&vide oid=12277493&title=Healing Heart of Humanity">Add to My Profile</a> | <a href="http://myspacetv.com/index.cfm?fuseaction=vids.home">More Videos</a

Coders Shack 02-05-2008 06:59 PM

Quote:

Originally Posted by SpreadingLight (Post 1436901)
I was thinking my admin group was 1, I can see it's 6 now thanks :p

what is the correct myspace video url to use?


http://vids.myspace.com/index.cfm?fu...deoid=12277493

http://myspacetv.com/index.cfm?fusea...deoid=12277493

a href="http://myspacetv.com/index.cfm?fuseaction=vids.individual&videoid=12277 493">Healing Heart of Humanity</a><br><embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=12277493&v=2&type=video" type="application/x-shockwave-flash" width="430" height="346"></embed><br><a href="http://myspacetv.com/index.cfm?fuseaction=vids.addToProfileConfirm&vide oid=12277493&title=Healing Heart of Humanity">Add to My Profile</a> | <a href="http://myspacetv.com/index.cfm?fuseaction=vids.home">More Videos</a


http://vids.myspace.com/index.cfm?fu...deoid=12277493 should work.

SpreadingLight 02-05-2008 07:04 PM

it's not working on my pages. is there a way to get them to work?

Coders Shack 02-05-2008 07:06 PM

i see the problem.
go to the passiveVid - Global Array plugin find this line (under // myspace):
PHP Code:

'string' => '#'.$urlrx[0].'vids.myspace.com/index.cfm\?fuseaction=vids\.individual&amp;VideoID=(\d{8,15})(?:[^"]+)?'.$urlrx[1].'#'

and add an "i" after the # sign so it should look like this:

PHP Code:

'string' => '#'.$urlrx[0].'vids.myspace.com/index.cfm\?fuseaction=vids\.individual&amp;VideoID=(\d{8,15})(?:[^"]+)?'.$urlrx[1].'#i'


SpreadingLight 02-06-2008 01:54 AM

i tried that for the first array, and the first and second, and the video still isn't embedding

i found some things, like the extra
Code:

vids\.individual&amp;VideoID
where the blue and the capitalized VideoID wasn't the same as the original myspace code. i tried changing it, but it didn't fix the embedding.

wmode="opaque" was also not in the original myspace code.

i don't know the coding, but i can look for patterns and look for something that doesn't match.

also the mode="opaque" is in two different places in the code, for each array

Coders Shack 02-06-2008 02:35 AM

i got it to work with the fix i posted above. and it is because of the lower case videoid

raja811 02-06-2008 02:41 AM

thanks,how to change height,width . how to hide that showed links in frame header and display my info??????????????

Coders Shack 02-06-2008 02:59 AM

you edit the custom replacement to change the display, you however cant change the height/width though because each service uses a different size.

SpreadingLight 02-06-2008 03:46 AM

got it, with the "i". It didn't embed the already posted urls, but it works for new ones.

excellent, thanks again :D

gchapman 02-06-2008 05:21 AM

gday, and thanks for the awesome product,

ive installed the "product-passiveVid" XML file- via product upload, and I can now embed videos on the forum.

however when i try to install "bitfield_passiveVid" XML file, it says "Invalid File Specified".

and in the passiveVid setting i cant select what site to approve/disapprove:

Allowed Sites
Select which site urls you would like to enable auto url embeding on. An error occured while processing the bitfield files, the following information was returned:

what have i done wrong? - what do i need to do?

i did previously have vbtubepro installed - but i cannot delete for some reason....


All times are GMT. The time now is 05:34 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.02372 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_php_printable
  • (1)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