News:

Wondering if this will always be free?  See why free is better.

Main Menu

YouTube BBC Tag

Started by Yakuza, July 18, 2006, 06:35:43 PM

Previous topic - Next topic

Weapon X

Everything went fine but I only get a white screen.

I run 1.1 RC2 and installed the .2 version???

Any ideas ????

Joshsux

you mean the video is just a white screen? make sure the video you put up is the correct url you can preview before you post, also sometimes the page doesn't load the video so it stays as a white screen.
If you can't hear it before you see it, then it ain't a harley

jarnex

#62
Love the mods, and was going to play with it to embed the imageshack slideshows they now do:

'content' => '<embed src="http://imageshack.us/slideshow/smilplayer.swf" width="$2" height="$3" name="smilplayer" id="smilplayer" bgcolor="394551" menu="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=$1"/>',

I did that, however the issue is, imageshack gives an id querystring like this :

"img101/6379/1155237055h64.smil"

If they place just that between the brackets, you would need to take the portion to the first slash (as highlighted) to the embed URL, like this:

http://img101.imageshack.us/slideshow/smilplayer.swf

I can take the php page url from the service, and make it create the url:

    $string = "http://img83.imageshack.us/slideshow/player.php?id=img83/3086/1155190909dfq.smil";
    list ($var1, $var2) = explode("player.php?id=", $string);
    echo $var1 . "smilplayer.swf?id=" . $var2;


But I am not sure how to put that into the content part of the mod.

I would really appreciate if you had any suggestions :)

aglioeolio

Smooth MOD

Thanks a LOT Yakuza   8)


sportman3333333

Can you make it work for 1.1 rc 3. It doesnt work prolly. It doesnt show the video.

TraderJake

I have written a conversion for it, but I don't exactly know if and how I should go about submitting it as I didn't write the original script. If anyone in the know is willing to tell me what to do about my 1.1 RC3 Conversion please let me know.
RF Generation. [nofollow] The Classic and Modern Videogames Database

sportman3333333

I need a new version so I'll be happy to try it as soon as you get the green light.

sipko

I just installed this with 1.1 RC 3 and I don't get the video in the profile either, just the link to the YouTube Video.

Mohib

Awesome Mod, I would be really thankful if it could be upgraded to 1.1 RC3.
:)

Cheers!

edchapman

#69
just get a white screen too.
Google is not working either. player comes up but the video never plays.

TraderJake

#70
This mod is not yet approved by the Mod staff, but for those who want to give the mod a try, here is currently unapproved mod page for my conversion that works with SMF 1.1 RC3. It is pretty much identical to Yakuza's mod with the exception of the edits required to make it work with RC3. It's worked on at least three people's boards, so I am thinking it should go well on most if not all 1.1 RC3 boards. But, again, let me stress, this is currently unapproved, and is provided "AS IS", though I will attempt to walk you through if something goes horribly wrong.

EDIT: There is an error that occurs if the youtube tag is the first thing in the post. Would like to fix that first.
RF Generation. [nofollow] The Classic and Modern Videogames Database

desistyle

wow cant wait to try this

karlbenson

nope most users AFAIK can't download until its approved by mods.

TraderJake

#73
Hmm... I've made this one and the Googlevideo mod "installable" on 1.1 RC3 and both of them have the same problem where if the tag is the first thing in the post the video and the rest of the post will not appear, and the post box will return an error. I or the mod author will have to look at that, but if it gets approved keep that in mind there must be a line break or text before the tag, or it causes the post template to return an error saying the message body was not filled out.
RF Generation. [nofollow] The Classic and Modern Videogames Database

HIsPoCratiC

#74
hi!

THis mod is really good, but as many ppl, I don't have deafult theme. (BlackTed) So, I want to manually install, but how¿? That¡s the question!

The Post.Template.php is on BlackTed "Display.Template", and I'm using RC3.
Thanks for advance

Tanks

I did a manual install on my heavy modded board and it works fine. Thanks for a great mod, my members will be happy about it.  ;)

Lew Cipher

Can this be updated for RC3?

Version: SMF 1.1.2
Many mods installed

Alan S

Yakuza hasnt been on for nearly a month but this is what you need to change.

unzip the package and open  youtube_0.2.xml

Open it with notepad or something

Find

<search position="before"><![CDATA[
array(
'tag' => 'hr',
'type' => 'closed',
'content' => '<hr style="clear: both;" />',
'block_level' => true,
),
]]></search>


Replace with

<search position="before"><![CDATA[
array(
'tag' => 'hr',
'type' => 'closed',
'content' => '<hr />',
'block_level' => true,
),
]]></search>



Then go to file -> save and replace the old youtube_0.2.xml with the new edited youtube_0.2.xml
and it should install perfectly through the package manager
Quote from: Eliana Tamerin on August 23, 2008, 04:10:10 PM
SMF 7 is where it gets good. That has time travel. You can go back and post before the guy who flamed you. :P

desistyle

thanks a lot dude i wil give this a try

karlbenson

#79
yep thats the change that has to be made to get it to work with 1.1 RC3

[download removed]

use alan S's a couple of posts down

Advertisement: