Page 15 of 19
Re: [DEV] Auto Video Embed v.0.0.2
Posted: Wed Nov 02, 2011 5:17 pm
by NCSportbikes
Vimeo doesn't work..........everything else appears to work fine. Did something change with Vimeo so the original code doesn't work anymore.
This is what I have. Just turned everything on.....cause well wanted to see if it would all work. Youtube works fine, dailymotion fine......vimeo doesn't work.
$clipfish = true;
$dailymotion = true;
$flv = true;
$gametrailers = true;
$googlevideo = true;
$megavideo = true;
$metacafe = true;
$mp3 = true;
$myspace = true;
$myvideo = true;
$veoh = true;
$vimeo = true;
$yahoo = true;
$youtube = true;
stock code with no changes from myself.
if (($vimeo) && (strpos($preview_message, '
www.vimeo.com/') !== false)){
$preview_message = preg_replace('#<a class="postlink" href="http:\/\/www.vimeo.com\/(.*?)">(.*?)<\/a>#is', '<object type="application/x-shockwave-flash" style="width:400px;height:230px;" data="
http://vimeo.com/moogaloop.swf?clip_id= ... =1"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="
http://vimeo.com/moogaloop.swf?clip_id= ... llscreen=1" /></object>', $preview_message);}
all I get is the vimeo hyperlink
like this
http://vimeo.com/31241154
EDIT: FIGURED IT OUT! In the code it has if preview_message, '
www.vimeo.com/, well it doesn't use the www. So you can either have your members type in the www or remove www from the code. Works flawlessly now.
Re: [DEV] Auto Video Embed v.0.0.2
Posted: Wed Nov 02, 2011 6:22 pm
by 4_seven
Re: [DEV] Auto Video Embed v.0.0.2
Posted: Fri Nov 04, 2011 2:34 am
by 4_seven
new demo-link in first-post
Re: [DEV] Auto Video Embed v.0.0.2
Posted: Thu Nov 17, 2011 11:54 am
by Bash
Can't wait for this. Is it recommended for live board yet?
4seven 4life.
*EDIT* I downloaded the mod for a peak and the instructions say:
2 Copy
root/mediaplayer/*.* > mediaplayer/*.*
But this isn't in the dl package

Re: [DEV] Auto Video Embed v.0.0.2
Posted: Thu Nov 17, 2011 1:07 pm
by 4_seven
Bash wrote:Is it recommended for live board yet?
I think yes.
Bash wrote:But this isn't in the dl package

Thx for the hint. Go to dl page, strg f5 site and dl again (was false package).
Re: [DEV] Auto Video Embed v.0.0.2
Posted: Sun Nov 20, 2011 11:34 pm
by 4_seven
Adding ModX to package, instead of instruction in post.
Re: [DEV] Auto Video Embed v.0.0.2
Posted: Thu Nov 24, 2011 5:00 pm
by autinhyeu
I was change #U to #is in auto_video_embed_post.php, but link dont show...
Check:
http://forum.9xlove.com/nhat-ky-thanh-v ... tml#p98410
Thanks!
Re: [DEV] Auto Video Embed v.0.0.2
Posted: Thu Nov 24, 2011 6:07 pm
by 4_seven
hm, the video in post works.
have you read this in first post?
The right Syntax to Embed:
Code: Select all
http://www.clipfish.de/video/3272443/darth-vader-tanzt
http://www.dailymotion.com/video/xbf4y7_revenge-seoyeun-lee_creation
http://www.myflvsite.com/video/yourchosenfile.flv
http://www.gametrailers.com/video/jay-z-vs-dj-hero/62888
http://video.google.com/videoplay?docid=8135690990081075324&ei=_E6US5PKEoen-AbLyPnYAg&q=test#
http://www.megavideo.com/?v=DK2AZWPO
http://www.metacafe.com/watch/4282595/new_peugeot
http://www.mymusicsite.com/audio/yourchosenfile.mp3
http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=4517474
http://www.myvideo.de/watch/6735176/the_nanny_hehe_ur_geil_xDDDDDDDDDDDDDD
http://www.veoh.com/browse/videos/category/movies_horror/watch/e9150
http://www.vimeo.com/9325052
http://video.yahoo.com/watch/6897444/17936899
http://www.youtube.com/watch?v=TyLV4lxMc1g
Re: [DEV] Auto Video Embed v.0.0.2
Posted: Fri Nov 25, 2011 2:50 am
by autinhyeu
Yes, i saw... but i want below video have a link to that video...
Re: [DEV] Auto Video Embed v.0.0.2
Posted: Fri Nov 25, 2011 5:47 pm
by 4_seven
so additional, ok. you can also have it this way
http://www.4seven.de/forum/media/viewto ... 1043#p1043
click on
give a hint which, so i write instruction.
Re: [DEV] Auto Video Embed v.0.0.2
Posted: Tue Dec 20, 2011 12:04 pm
by crashillo
I'm interested on that mod for collapse videos, can you post the instructions please?

Re: [DEV] Auto Video Embed v.0.0.2
Posted: Tue Dec 20, 2011 6:52 pm
by 4_seven
I add instruction between the years..
Re: [DEV] Auto Video Embed v.0.0.2
Posted: Thu Dec 22, 2011 4:47 pm
by cfotoceo
Great mod but the gamtrailers is obsolete, they no longer support flash so that whole code needs to be re-done and I have no idea how to make the adjustments.
For those of us who are not coders this mod is not very easy. In fact, it's difficult to add to it. It does do what it says if and only if you get the code right. How come you did add facebook that is pretty common.
I do want to add cnet, mtv any ideas, has anyone ever compiled all the various codes that may be added and shared them, I searched for facebook for an hour and there was nothing, I am game to learn to teach me please.
I am doing something very wrong
Code: Select all
if (($facebook) && (strpos($preview_message, 'www.facebook.com/video/video.php?v=') !== false)){
$preview_message = preg_replace('#<a class="postlink" href="http:\/\/www.facebook.(.*?)\/video/video.php?v=\/(.*?)">(.*?)<\/a>#is', '<object width="320" height="240" ><param name="allowfullscreen" value="false" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.facebook.com/video/video.php?v=" /><embed src="http://www.facebook.com/video.php?v=" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="false" width="320" height="240"></embed></object>', $preview_message);}
Code: Select all
if (($facebook) && (strpos($message, 'www.facebook.com/video/video.php?v=') !== false)){
$message = preg_replace('#<a class="postlink" href="http:\/\/www.facebook.(.*?)\/video/video.php?v=\/(.*?)">(.*?)<\/a>#is', '<object width="320" height="240" ><param name="allowfullscreen" value="false" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.facebook.com/video/video.php?v=" /><embed src="http://www.facebook.com/video.php?v=" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="false" width="320" height="240"></embed></object>', $preview_message);}
http://www.phpbb.com/community/posting. ... &t=2017165 is what is supposed to show
Re: [DEV] Auto Video Embed v.0.0.2
Posted: Thu Dec 22, 2011 5:39 pm
by trigger_error
Re: [DEV] Auto Video Embed v.0.0.2
Posted: Thu Dec 22, 2011 5:43 pm
by cfotoceo
I read that, I just do not understand it. So I posted the code with hope to know where I went wrong.
I can't believe there is not a central thread that has a list of every addition i.e. like the thread here on BB Codes people simply dropped in what they did. It would be neat if this mod had the same. It would save people time and may in fact teach people as well.