The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
passiveVid - (YouTube, Myspace, Google...) Not BBCODE :D Details »» | |||||||||||||||||||||||||||
passiveVid - (YouTube, Myspace, Google...) Not BBCODE :D
Developer Last Online: Sep 2013
. . . . . . . . Brought to you by scriptasy.com note: you can get v2.00 [here]Live Demo: Scriptasy passiveVid DemoExternal Support: Scriptasy passiveVid SupportDescription: This is unlike my past video mod which used bbcode, this one is more simple and works much better for the user too. What it does it parses the url when the post is viewed, so it will work with past links and new links.Works With: vBulletin [3.6.X to 3.7.0 beta 3]Supported Video Sites:
(detailed instructions for noobs [here])
Show Your Support
|
Благодарность от: | ||
muratcan25 |
Comments |
#802
|
|||
|
|||
I'm far from a coder, but this worked for me. This will fix the vids.myspace as well as the myspacetv problems not embedding. I didn't write this, I just cut and pasted from elsewhere in the thread so I deserve no credit (but it works):
#1 Uninstall the product. #2 Modify product-passivevid.xml like this: (just the myspace section) Code:
// MySpace $passiveVid[] = array ( 'string' => '#'.$urlrx[0].'vids.myspace.com/index.cfm\?fuseaction=vids\.individual&VideoID=(\d{8,15})(?:[ ^"]+)?'.$urlrx[1].'#i', 'replacement' => '$PASSIVEURL = $matches[1]; $PASSIVETITLE = $matches[3]; $PASSIVEEMBED = \'<embed src="http://lads.myspace.com/videos/vplayer.swf" wmode="opaque" flashvars="m=\'.$matches[2].\'&v=2&type=video" type="application/x-shockwave-flash" width="430" height="346"></embed>\'; return "'.$customstring.'";', 'id' => 4 ); $passiveVid[] = array ( 'string' => '#'.$urlrx[0].'myspacetv.com/index.cfm\?fuseaction=vids\.individual&VideoID=(\d{8,15})(?:[^"] +)?'.$urlrx[1].'#i', 'replacement' => '$PASSIVEURL = $matches[1]; $PASSIVETITLE = $matches[3]; $PASSIVEEMBED = \'<embed src="http://lads.myspace.com/videos/vplayer.swf" wmode="opaque" flashvars="m=\'.$matches[2].\'&v=2&type=video" type="application/x-shockwave-flash" width="430" height="346"></embed>\'; return "'.$customstring.'";', 'id' => 4 ); $passiveVid[] = array ( 'string' => '#\[myspace\]([^\[\]]+)\[/myspace\]#', 'replacement' => 'return \'<embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=\'.$matches[1].\'&v=2&type=video" wmode="opaque" type="application/x-shockwave-flash" width="430" height="346"></embed>\';', 'id' => 4 ); $passiveVid[] = array ( 'string' => '#\[myspace\]([^\[\]]+)\[/myspace\]#', 'replacement' => 'return \'<embed src="http://myspacetv.com/videos/vplayer.swf" flashvars="m=\'.$matches[1].\'&v=2&type=video" wmode="opaque" type="application/x-shockwave-flash" width="430" height="346"></embed>\';', 'id' => 4 ); #4 Enjoy the mod hack |
#803
|
|||
|
|||
thank you
|
#804
|
|||
|
|||
anybody else having trouble with break? just installed new version and its not working
|
#805
|
|||
|
|||
Did you try adding it to the xml file like I did the myspacetv? (see above)
|
#806
|
|||
|
|||
Great work! Is it possible to add support for the following sites?
gofish.com (http://www.gofish.com/videoSearch.gf...tBy=mostViewed) crunchyroll.com megavideo.com Thank you for this wonderful modification! |
#807
|
|||
|
|||
Yeah a DailyMotion one would rock!
|
#808
|
|||
|
|||
Okay, I have a unique situation with this product. The embedding works fine (via URL or embed code). Once I post a video, I am able to play the video initially..........one time. Once I go away to another thread and then go back to it, I am not able to play it again (the play button doesn't show, only the pause button - yet it isn't playing). This is not the worst part of the problem however. Once I post a video and look at it once, nobody else in the forum is able to watch it either?!?!? I hope I am explaining that well enough. Any ideas?
Thanks! |
#809
|
|||
|
|||
I've got the xml file in includes/xml, and I tried importing the product, but on the options page it says this for Allowed Sites:
"An error occured while processing the bitfield files, the following information was returned:" (and then no error) I tried manually rebuilding bitfields (index.php?do=buildbitfields) but that did not fix it. This is on vB 3.6.6. Any ideas? |
#810
|
|||
|
|||
is there any way that this hack wont interfere with the anonymous link hack??
|
#811
|
|||
|
|||
please add support for the following site
megarotic.com |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|