Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: 1948Pal on April 11, 2005, 03:40:00 PM

Title: Streaming 3
Post by: 1948Pal on April 11, 2005, 03:40:00 PM
Link to Mod (http://mods.simplemachines.org/index.php?mod=121)

This Mod will allow users to add streaming video and sound (real, quicktime and Windows Media) to their posts.
Now, installable/uninstallable via the package mnager and works for both Internet Explorer and FireFox.
[edit]
7/19/06 new version added that supports Google video in the same fashion as the previous streams, only with Google video all you need is put the docid between the tags like so [gv=width,height]01234567890123[/gv] and you'll have an embedded Google video. The video must have permissions to be embedded. Also now you can actualy resize any player window by changing the values in the [tag=x,y].

[edit=8/23/06]Updated for 1.0.8 and 1.1 RC3, same version 4.2.2[/edit]
[edit]
9/1/06, new version 4.2.2a added with YouTube support. use [yt=x,y]code to youtube after the v=. Usually a mixture of 11 upper and lower case characters and numbers like yh2XtuP4jhG[/yt]
[/edit]

Latest release as of 12/29/2006 is 4.2.2b, it has no significant changes, but mdified to work with SMF 1.1 final and 1.1.1, additionally, now included a more detailed readme file, also now upon uninstall, the streaming bbc images will also be removed, whereby before, they were left behind.
Title: Re: Streaming 3
Post by: dtm.exe on April 11, 2005, 05:56:44 PM
I love it!  I have been waiting for a mod like this for a long time now.  I now have it on my forums.

www.oi-forums.com

-Dan The Man
Title: Re: Streaming 3
Post by: CrazyJoe on April 11, 2005, 09:48:54 PM
 I seem to have a problem. When I try to install via the package manager it fails on the file Subs.php.

I tried to edit the file manually, but I looked for this line and couldn't find it:

$codetocache[] = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="$1" height="$2"><param name="movie" value="$3" /><param name="play" value="true" /><param name="loop" value="true" /><param name="quality" value="high" /><param name="AllowScriptAccess" value="never" /><embed src="$3" width="$1" height="$2" play="true" loop="true" quality="high" AllowScriptAccess="never"></embed></object>';

Instead I found this:

$arr2[] = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="$1" height="$2"><param name="movie" value="$3" /><param name="play" value="true" /><param name="loop" value="true" /><param name="quality" value="high" /><param name="AllowScriptAccess" value="never" /><embed src="$3" width="$1" height="$2" play="true" loop="true" quality="high" AllowScriptAccess="never"></embed></object>';

Any Ideas on what I can do to get this to work?

Title: Re: Streaming 3
Post by: Anguz on April 11, 2005, 10:55:04 PM
CrazyJoe, do you have any other mod installed?
Title: Re: Streaming 3
Post by: CrazyJoe on April 12, 2005, 04:38:51 PM
Quote from: Anguz on April 11, 2005, 10:55:04 PM
CrazyJoe, do you have any other mod installed?

Yes I do. It's called SimpleDownloads.  http://mods.simplemachines.org/index.php?mod=104

Thats the only one though. Is there any way to use both?


P.S. Thank you for the reply, much appreciated.
Title: Re: Streaming 3
Post by: Anguz on April 12, 2005, 08:37:47 PM
You're welcome. Well, I don't know the SimpleDownloads code, but I don't think it deals with the parsecode function, although I may be wrong... The line you said you found instead of the one you should have, looks to me like from my Faster Parsecode mod, but you say you don't have that mod installed, are you sure?
Title: Re: Streaming 3
Post by: 1948Pal on April 12, 2005, 08:54:08 PM
Quote from: CrazyJoe on April 11, 2005, 09:48:54 PM
I seem to have a problem. When I try to install via the package manager it fails on the file Subs.php.

I tried to edit the file manually, but I looked for this line and couldn't find it:

$codetocache[] = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="$1" height="$2"><param name="movie" value="$3" /><param name="play" value="true" /><param name="loop" value="true" /><param name="quality" value="high" /><param name="AllowScriptAccess" value="never" /><embed src="$3" width="$1" height="$2" play="true" loop="true" quality="high" AllowScriptAccess="never"></embed></object>';

Instead I found this:

$arr2[] = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="$1" height="$2"><param name="movie" value="$3" /><param name="play" value="true" /><param name="loop" value="true" /><param name="quality" value="high" /><param name="AllowScriptAccess" value="never" /><embed src="$3" width="$1" height="$2" play="true" loop="true" quality="high" AllowScriptAccess="never"></embed></object>';

Any Ideas on what I can do to get this to work?


Hi, yes, that line you said you found is from Anguz's fasterparsecode_100 mod. The simpledownloads mod does not even touch subs.php.
You can try to change the mod file to look for that line insted of the original and see if that completes, unless other code is different of course!
Title: Re: Streaming 3
Post by: Anguz on April 12, 2005, 10:36:57 PM
It is different... but if he knows a bit of PHP, it won't be hard to figure out.
Title: Re: Streaming 3
Post by: CrazyJoe on April 13, 2005, 04:54:27 PM
Quote from: Anguz on April 12, 2005, 08:37:47 PM
You're welcome. Well, I don't know the SimpleDownloads code, but I don't think it deals with the parsecode function, although I may be wrong... The line you said you found instead of the one you should have, looks to me like from my Faster Parsecode mod, but you say you don't have that mod installed, are you sure?

Your right, it is the faster parsecode mod. I had a problem with the forum and I uninstalled it, or at least I thought I did.

Quote from: Anguz on April 12, 2005, 10:36:57 PM
It is different... but if he knows a bit of PHP, it won't be hard to figure out.

I'm really just begining to work with php, so I don't think I'm capable of that just yet. I would really appreciate any help you could give me with it, but if it's a huge pain in the butt then don't worry about it. I know how time consuming this stuff gets to be.

P.S. Thanks for the help you have already given, I really appreciate it.
Title: Re: Streaming 3
Post by: CrazyJoe on April 14, 2005, 11:45:55 PM
 I tried to uninstall the parsecode mod, but the only options I had were to [List Files] or [Delete Files]. So I deleted the files. Then I re-downloaded the parsecode mod and tried to install it, hoping that I would be able to uninstall again in that way. No luck though, wouldn't let me install the mod at all. It said the parsecode mod was for an older version of SMF.

Is there a way I can uninstall this mod now?
Title: Re: Streaming 3
Post by: Anguz on April 15, 2005, 12:37:25 AM
Yeah, just replace the parsecode function in Subs.php with the one in your SMF 1.0.3 zip.
Title: Re: Streaming 3
Post by: CrazyJoe on April 16, 2005, 12:46:50 PM
Quote from: Anguz on April 15, 2005, 12:37:25 AM
Yeah, just replace the parsecode function in Subs.php with the one in your SMF 1.0.3 zip.

Ok...that was pretty easy.  :) It works great now.

Thanks for all the help.
Title: Re: Streaming 3
Post by: Anguz on April 16, 2005, 01:19:02 PM
NP. :)
Title: Re: Streaming 3
Post by: jerm on April 25, 2005, 04:28:46 PM
i haven't installed this mod yet.. but what if there are two videos on the same page? will it start playing them both at the same time since theres streaming?
Title: Re: Streaming 3
Post by: 1948Pal on April 27, 2005, 05:36:16 PM
No, they're all setup up to not play automatically, so a user need to hit the play button.
Title: Re: Streaming 3
Post by: carmelkevlar32 on April 28, 2005, 11:24:01 PM
My quicktime video's size by default isn't big enough for the play button to show. Giving this to users to use will become an issue because they're to thickheaded to do something extra. Is there a way to change the default player size (without just changing it after pressing the button)?
Title: Re: Streaming 3
Post by: faris on May 02, 2005, 10:51:05 AM
Quote from: carmelkevlar32 on April 28, 2005, 11:24:01 PM
My quicktime video's size by default isn't big enough for the play button to show. Giving this to users to use will become an issue because they're to thickheaded to do something extra. Is there a way to change the default player size (without just changing it after pressing the button)?
Yes you can, but requires a little messing about.  If you download the zip file, find the .mod file and then look for this line
'quick' => array('code' => 'quick', 'before' => '[quick=256,256]', 'after' => '[/quick]', 'description' => $txt['quick']),
simply change the part that says quick=256,256 to your desired default size.

Replace the .mod file in the zip with your new .mod file, and then uninstall your previous installation, delete it, then install your new modification of the mod, by uploading the zip, and then using the package manager in the usual way.

Let me know if you need anymore help ;)

PS to view the .mod file, just use your fave text editor,

Faris
Title: Re: Streaming 3 - Modified for Faster Parsecode
Post by: faris on May 02, 2005, 10:54:25 AM
I have made a few simple changes to this mod, so that it will work with the faster parse code mod.
Would this be helpful to any other members?
How can I make this available to other members?
Do I need to get it looked over by the original creator?

Sorry if this is already covered,

Faris
Title: Re: Streaming 3
Post by: Ride on May 07, 2005, 09:08:05 PM
The width of windows media stuff stays the same no matter what value is entered when viewed with firefox.  It works fine in IE.  I haven't tried .mov or real files yet to see if they do the same thing.  Take a look.

http://www.fracturedmedia.com/forum/index.php?topic=186.0
Title: Re: Streaming 3
Post by: CoolK on May 10, 2005, 02:11:33 AM
Hey,

This mod sounds great - this is what I've been missing for SMF...

When trying to install through the package manager I get the following error:

2: copy(Themes/default/images/bbc/stream.gif): failed to open stream: No such file or directory
File: /home/sv_b-moredk/satu/forum/Sources/Subs-Package.php
Line: 814

:'(

Any suggestions - plz?
Title: Re: Streaming 3
Post by: Ride on May 11, 2005, 05:17:21 PM
Quote from: Royce on May 07, 2005, 09:08:05 PM
The width of windows media stuff stays the same no matter what value is entered when viewed with firefox.  It works fine in IE.  I haven't tried .mov or real files yet to see if they do the same thing.  Take a look.

http://www.fracturedmedia.com/forum/index.php?topic=186.0

Any fix for this?
Title: Re: Streaming 3
Post by: Nitro on May 19, 2005, 04:18:42 PM
ok, i did it to work. uninstalled and install it one more time.
now it shows something but everything is pushed to the LEFT. i have mdified the settings but i guess there is no enough space for the media to show.

i wonder why is this happening.

any help please?

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.mypowerforum.com%2Fextras%2Fanotherscreen.gif&hash=2d670664163ca7c426dc37f4c52a1fa2cca50988)

as you cen see in this picture, there should be the media player window and it's not there. Strange!
Title: Re: Streaming 3
Post by: brine on June 04, 2005, 02:02:59 PM
What do I put in the [stream] [/stream] tags? 

My test forum just shows a link to the clip.

What would I use for a clip named sample.wmv?
Title: Re: Streaming 3
Post by: Nitro on June 04, 2005, 02:33:24 PM
somethin like this:
[stream]http://www.YOUSITE-OR-ANYOTHER-SITE.com/video.ram[/stream]

make sure to upload the video FIRST or if it is located somewhere else.
Title: Re: Streaming 3
Post by: dtm.exe on June 04, 2005, 02:39:26 PM
Quote from: NitroRich on June 04, 2005, 02:33:24 PM
somethin like this:
[stream]http://www.YOUSITE-OR-ANYOTHER-SITE.com/video.ram[/stream]

make sure to upload the video FIRST or if it is located somewhere else.

If it's a .ram file, don't you have to use the [real][/real] tags.

-Dan The Man
Title: Re: Streaming 3
Post by: brine on June 04, 2005, 04:21:57 PM
Quote from: NitroRich on June 04, 2005, 02:33:24 PM
somethin like this:
[stream]http://www.YOUSITE-OR-ANYOTHER-SITE.com/video.ram[/stream]

make sure to upload the video FIRST or if it is located somewhere else.

That is what I was using, but I still get a link to download the file and no player.   :(
Title: Re: Streaming 3
Post by: Nitro on June 04, 2005, 06:06:21 PM
make sure you are using the right [real] or whatever for the right video format. it has to be a video, if it is just music it won't work. i made that mistake, i thought my video had video screen and it was just music so it didn't work.
Title: Re: Streaming 3
Post by: brine on June 04, 2005, 07:47:56 PM
Quote from: NitroRich on June 04, 2005, 06:06:21 PM
make sure you are using the right [real] or whatever for the right video format. it has to be a video, if it is just music it won't work. i made that mistake, i thought my video had video screen and it was just music so it didn't work.

I have tried 3 different movies:  .mov. .ram, & .wmv
I am using the correct options, but just getting links & no movies.
Title: Re: Streaming 3
Post by: Nitro on June 04, 2005, 07:55:46 PM
are you using something like this?

[real=296,210]http://www.anysite.com/extras/video.ram[/real]

that is for a realmedia file. also did you check the features and options? to see if this is enabled?

Title: Re: Streaming 3
Post by: brine on June 04, 2005, 08:17:33 PM
Quote from: NitroRich on June 04, 2005, 07:55:46 PM
are you using something like this?

[real=296,210]http://www.anysite.com/extras/video.ram[/real]

that is for a realmedia file. also did you check the features and options? to see if this is enabled?


OK.  I feel dumb!  I did not have the options checked in the features section.

Thanks
Title: Re: Streaming 3
Post by: Nitro on June 04, 2005, 08:22:22 PM
np, that has happened to me before.
Title: Re: Streaming 3
Post by: Redsmurf on June 17, 2005, 04:24:52 PM
Doesn't seem to be compatible with SMF v1.0.4

After uploading .zip, then applying it:
"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
Title: Re: Streaming 3
Post by: 1948Pal on June 18, 2005, 11:38:57 AM
Fixed.
Please delete that one (3.0) and download the modified 3.1. It should work in 1.0.4.
Title: Re: Streaming 3
Post by: ivo2296 on June 18, 2005, 09:31:20 PM
An Error Has Occurred!
2: file(D:\Program Files\Apache Group\Apache2\htdocs\bgpopfolk/Packages/temp/) [<a href='function.file'>function.file</a>]: failed to open stream: Permission denied
File: D:\Program Files\Apache Group\Apache2\htdocs\bgpopfolk\Sources\Packages.php
Line: 174 


on 3.1 version
SMF 1.0.4
Title: Re: Streaming 3
Post by: 1948Pal on June 18, 2005, 09:47:09 PM
Did this happen when you tried to download the package or install it? Anyway, this is a permission error, you need to chmod, or change the attributes of the folder to be writeable. I hope this helps.
Title: Re: Streaming 3
Post by: Redsmurf on June 21, 2005, 02:19:39 PM
I get the same error.  All folders are have write permissions.
This is how I attempted to install it:

1. Upload streaming_3_1.zip with package manager:

"Package has been downloaded successfully

Streaming"

2. Click "Apply Mod"

3. Next page shows:
"An Error Has Occurred!
2: file(C:\mydomains\mywebsite\wwwroot\SMF/Packages/temp/): failed to open stream: Permission denied
File: C:\mydomains\mywebste\wwwroot\SMF\Sources\Packages.php
Line: 174"

Using SMF 1.0.4
Title: Re: Streaming 3 Problem on SMF 1.0.5 not installed or corrupt file
Post by: squeeze on June 24, 2005, 06:25:38 AM
Anyone have installed this mod on SMF 1.0.5 Board'?
when i try to install it from package manager, find upload - install
an error say This mod is not compatible whit this version board or corrupted file.
Any suggestion?
Title: Re: Streaming 3
Post by: ivo2296 on June 24, 2005, 10:28:26 AM
Quote from: 1948Pal on June 18, 2005, 09:47:09 PM
Did this happen when you tried to download the package or install it? Anyway, this is a permission error, you need to chmod, or change the attributes of the folder to be writeable. I hope this helps.


This is on my local machine, i don't install the mod remotely - but anyway i have moved to 1.0.5 so i hope will come new of the mod soon.

Thanks!
Title: Re: Streaming 3
Post by: ivo2296 on June 24, 2005, 01:27:45 PM
Quote from: 1948Pal on June 18, 2005, 09:47:09 PM
Did this happen when you tried to download the package or install it? Anyway, this is a permission error, you need to chmod, or change the attributes of the folder to be writeable. I hope this helps.

Just i tested on new installation of 1.0.3 and it gives me same err.  The folders are not read only.
Title: Re: Streaming 3
Post by: 1948Pal on June 24, 2005, 05:43:18 PM
Ok, just updated the mod to install under 1.0.5. It willno longer work for versions prior to 1.0.4. The modified file should work for 1.0.4 and 1.0.5.
This mod tested only on a linux server, IIS I am not familiar with at all. Maybe unkown or someone else can help with the errors you guys are having. However, I always thought when it says "can not open stream" means some kind of permission issue, I could of course be wrong.
Title: Re: Streaming 3
Post by: brine on June 26, 2005, 10:01:14 PM
This works great for me, but I change my theme to use Chatbubbles, I lose the buttons to insert the tags for the videos.  I can still manually add the tags, but just don't have the buttons.  Anyone know what I need to edit in the theme to add the options?
Title: Re: Streaming 3
Post by: 1948Pal on June 26, 2005, 11:56:50 PM
First copy the images (stream.gif, quick.gif, real.gif) to Themes/chatbubbles/images directory. Then

<edit file>
Themes/chatbubbles/Post.template.php
</edit file>

<search for>


$context['bbc_tags'][] = array(
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),


</search for>

<add after>

'stream' => array('code' => 'stream', 'before' => '[stream=256,256]', 'after' => '[/stream]', 'description' => $txt['stream']),
'real' => array('code' => 'real', 'before' => '[real=256,256]', 'after' => '[/real]', 'description' => $txt['real']),
'quick' => array('code' => 'quick', 'before' => '[quick=256,256]', 'after' => '[/quick]', 'description' => $txt['quick']),


</add after>

And I think this should do it.
Title: Re: Streaming 3
Post by: spoontosser on July 16, 2005, 08:43:01 PM
This is probabaly a stupid question, but how do I get the file to stream automatically without the reader having to click the play button?
Title: Re: Streaming 3
Post by: Nitro on July 24, 2005, 01:11:01 AM
is this compatible with SMF 1.1 Beta 3 Public.? i was using this MOD and it was awesome, but when i now try to install this on the new SMF it tells me that it is not working, or it is corrupt.

any ideas for a work around on this? thank you!!!
Title: Re: Streaming 3
Post by: komakoma on July 27, 2005, 12:21:30 AM
even input the media link as mms:// it will replace by http://mms://

seems it can't support streaming link
Title: Re: Streaming 3
Post by: 1948Pal on July 27, 2005, 04:11:19 PM
This mod is not compatible with SMF 1.1 Beta 3 Public, and will most likely not be until 1.1 is released.
Title: Re: Streaming 3
Post by: Nitro on July 27, 2005, 04:15:00 PM
OH MAN!!!!!

you got to be kidding?

when this new 1.1 will be out, next year?

this MOD is just AWESOME!!! please help us here, will ya?
Title: Re: Streaming 3
Post by: 1948Pal on July 27, 2005, 04:21:59 PM
Quote from: spoontosser on July 16, 2005, 08:43:01 PM
This is probably a stupid question, but how do I get the file to stream automatically without the reader having to click the play button?
If you're still looking for answer, you'll have to do some manual editing, in the section that modifies Subs.php. Look for every instance of "Autoplay" or "autostart" "value"=no or 0, and change to "Autoplay" or "autostart" "value"=yes or 1 for the player you want to play automatically, just pay attention not to change the status of the "flash" player which is part of SMF and not this mod.
Just keep in mind that if there are more than one post on the same page with links to movie clips, they will all start to play once the page loads, which can be pretty noisy to say the least.
Title: Re: Streaming 3
Post by: Nitro on July 27, 2005, 05:08:29 PM
i tried to do that already and i could not pass the subs files. i got pretty bad errors in it. all the rest of the php are have the codes needed but subs.php

if you want to i can give you the errors, is that ok?
Title: Re: Streaming 3
Post by: 1948Pal on July 28, 2005, 10:57:32 PM
NitroRich, which SMF do you have, if 1.0.5, then maybe you can post your subs.php and I'll try to help. If you have SMF 1.1b3p, then as of now I can't help you yet, as I am still trying to figure out the changes in the code, which is not an easy task for me, cos I am not eaxactly a "coder" and it will take me sometime. Sorry.
Title: Re: Streaming 3
Post by: Nitro on July 28, 2005, 11:17:15 PM
 SMF 1.1 Beta 3 Public man! well, i appreciate your help tho! i think we are just gonna have to wait.

thank you man for offering help. for now, i am just playing around with mambo-smf i found lots of other mods for mambo and what is interesting they have also a mod like this one but it sucks!

anyhow ! thanks man! i'm just gonna sit down and watch the show and at the same time learning more PHP
Title: Re: Streaming 3
Post by: 1948Pal on August 06, 2005, 03:38:30 PM
Ok. new version "4.0" is now available. It should work under the last 3 releases of SMF.
Title: Re: Streaming 3
Post by: Nitro on August 06, 2005, 06:32:41 PM
while i am installing this manually, i found myself in this code i cannot find on the subs-post.php

array('tag' => 'flash', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)

i am looking for to follow this from the stream 4 mod file instructions:

<edit file>
Sources/Subs-Post.php
</edit file>

<search for>
array('tag' => 'flash', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)
</search for>

<replace>
array('tag' => 'flash', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),
// [stream]http://...[/stream]
array('tag' => 'stream', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),
               // [real]http://...[/real]
array('tag' => 'real', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),
               // [quick]http://...[/quick]
array('tag' => 'quick', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)
</replace>




also, this is what i need to look for and replace but...
<edit file>
Sources/ModSettings.php
</edit file>

<search>
array('check', 'who_enabled'),
</search>

<replace>
array('check', 'who_enabled'),
array('rule'),
// Streaming
array('check', 'enableEmbeddedStream'),
array('check', 'enableEmbeddedReal'),
array('check', 'enableEmbeddedQuick'),
</replace>


i cannot see it below, if i do it i will leave something out, really? it doesn't make sense to me, or i thinki am confused.

// This is like debugging sorta.
array('check', 'timeLoadPageEnable'),
array('check', 'disableHostnameLookup'),
array('rule'),
// Who's online.
array('check', 'who_enabled'),
array('heading', &$txt['smf293']),
// Karma - On or off?




am i missing something here 1948Pal ?

thanks in advance and i have been looking for to install this in my forum. i am using SMF 1.1 Beta 3 Public, according to your new download instructions it says it is comptaible with that, right?
Title: Re: Streaming 3
Post by: 1948Pal on August 06, 2005, 07:09:59 PM
Hi.
array('tag' => 'flash', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)
This code should be in Subs.Post.php, I don't know why you can't find it, perhaps you deleted it by mistake! See if you can find this array('tag' => 'ftp', 'protocol' => 'ftp', 'embeddedUrl' => true, 'hasEqualSign' => true), the line above should be right after this line.
As for the code in Modsettings.php, you're right, its my mistake.
You can findarray('check', 'who_enabled'),
array('heading', &$txt['smf293']),
and add after it array('rule'),
// Streaming
array('check', 'enableEmbeddedStream'),
array('check', 'enableEmbeddedReal'),
array('check', 'enableEmbeddedQuick'),

I will update the mode file and re-upload it again. Thanks for that.
Title: Re: Streaming 3
Post by: Nitro on August 06, 2005, 07:11:24 PM
well, i figured this out. i finally corrected these details i am talking about BUT...


still is not working for SMF 1.1 Beta 3 Public. well, at least not in my forum.

did you run a test on 1.1b3? i have doubled check the code and everything seems to be in place, except i might be mistaked on the questions above.

any ideas, please?
Title: Re: Streaming 3
Post by: Nitro on August 06, 2005, 07:14:20 PM
Quoteand add after it Copy to clipboardCode:
array('rule'),
         // Streaming
         array('check', 'enableEmbeddedStream'),
         array('check', 'enableEmbeddedReal'),
         array('check', 'enableEmbeddedQuick'),
I will update the mode file and re-upload it again. Thanks for that.

yeah, that is what i did but it didn't work either. what else would you like me to do?

oh there is one thing i should tell you
<edit file>
Sources/Subs-Post.php
</edit file>

<search for>
array('tag' => 'flash', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)
</search for>


this is set to TRue and you have false:
array('tag' => 'flash', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true) that's why i could not find it.
Title: Re: Streaming 3
Post by: 1948Pal on August 06, 2005, 07:26:37 PM
Hey, This mod is tested on a fresh install of 1.1B3P and a live 1.0.5.
That true/false thing in flash, it realy should be false as this is the default setting the a fresh SMF comes with. IF you enabled flash on your forum, then it changes to true.

Can you be more specific about what exactly is not working? Do you get an error? What is it, I would not want to assume the "Copy to clipboardCode" you have in your quote that may be giving you an error!
Title: Re: Streaming 3
Post by: Nitro on August 06, 2005, 07:33:59 PM
sure, well, i get no errors. all i see is the html link written into the post like this:

[real=296,210]http://www.-------------.com/extras/cleaners_video.ram[/real]

and that should be working like it used to. i have checked on the admin section to make sure it is enabled and they all are enabled.

i have doubled checked all the code and everything is in place according to the instructions. i just don't know what is going on.

ps. sorry i cannot post here the link because it is a private board.  :) and we have things should stay with us.
Title: Re: Streaming 3
Post by: 1948Pal on August 06, 2005, 08:24:52 PM
Hmm, wierd. Not that I think it matters, but in the admin panel, besides the "features and options", check under the forum section in "posts and topics" and make sure the 3 bbc codes are checked there also.
Hope that helps.
Title: Re: Streaming 3
Post by: Nitro on August 06, 2005, 09:15:34 PM
i am using 1.1Beta 3 and i don't see those 3bbc codes there. all i see is this:


Manage Posts and Topics   
Post Settings | Bulletin Board Code | Censored Words | Topic Settings 
Here you can set everything related to posts and posting.

Post Settings
Remove nested quotes when posting (?):   
Embed flash into posts (?):
may be a security risk!   
Enable spell checking (?):
this does not work on all servers!   

--------------------------------------------------------------------------------

Maximum allowed post size: 2000
0 for no max.  characters 
Break up words with more letters than (?):
0 to disable  characters 
Posts to show on topic summary (?):   posts  20

--------------------------------------------------------------------------------

Time required between posts from the same IP (?):   seconds 
Courtesy edit wait time (?):   seconds 
Maximum time after posting to allow edit (?):
0 to disable


what is bbc anyway? i could not find what you mean.
unless you talk about this:
Embed stream into posts 
Embed real into posts 
Embed QuickTime into posts

they are all checked
Title: Re: Streaming 3
Post by: 1948Pal on August 06, 2005, 09:38:57 PM
Quote from: NitroRich on August 06, 2005, 09:15:34 PM

Manage Posts and Topics   
Post Settings | Bulletin Board Code | Censored Words | Topic Settings 
On this header, the second option is Bulletin Board Code. Click that and see the options there.
Title: Re: Streaming 3
Post by: Nitro on August 06, 2005, 09:55:31 PM
oh i see!
yup! every thing there is checked.

i don't know what else to say.

i love this stream feature and i double checked eveyrthing making sure it is there, but i did everything manually.

you think i should go ahead and use the package manager? do i have to remove manually all the codes? or are they going to be removed using the package manager?

now, i can see there is two files the stream 3_1 and the 4, the 4 is for SMF 1.1 Beta 3 Public., right?
Title: Re: Streaming 3
Post by: Nitro on August 07, 2005, 02:15:17 AM
IT WORKED!!!!!!! YES!!!!!!!!

i had to double checked the installation file and the <add after> < before> etc, etc.

and made sure everything was there! and for some reason... IT WORKED!!!!!

i don't know what i did, but it works man!!!!!


THANK YOU SO MUCH!!!!!
Title: Re: Streaming 3
Post by: komakoma on August 08, 2005, 09:39:20 PM
anyone have solution about mms:// replaced by http:// issue ?

i don't think that all of the streaming file store in web server only instead of mms server
Title: Re: Streaming 3
Post by: 1948Pal on August 09, 2005, 02:27:28 PM
Not sure what you mean, can you explain?
Title: Re: Streaming 3
Post by: danfaz on August 09, 2005, 02:58:28 PM
Hello, i might have missed this, so sorry if it's been asked before....

I'm a newb to message boards, and wanted to ask if this mod uses up any bandwidth?

Thanks  :)
Title: Re: Streaming 3
Post by: Nitro on August 09, 2005, 03:09:19 PM
it depends, if the video files are saved in your server, yes! if they hosted somewhere else, no!
Title: Re: Streaming 3
Post by: komakoma on August 09, 2005, 10:27:01 PM
have u try to using mms://www.adc.com/123.wmv for the streaming url under this mod

u will find that the url will become to http://mms://www.adc.com/123.wmv

it seems that can't using mms://
Title: Re: Streaming 3
Post by: chadness on August 09, 2005, 10:31:10 PM
komakoma, does that happen only when using that mod?  Or does it get parsed that way anyways?
Title: Re: Streaming 3
Post by: chadness on August 09, 2005, 10:34:53 PM
I'm running in to a problem with IE6 where posts that contain Windows Media Player or Quicktime files are cutting off the rest of the page.  The post with the embedded movie is the last thing to make it - any further posts and the footer are cut off.  Real Player doesn't seem to have this problem.
SMF 1.1 beta 3, with the latest version 4 of the mod.
You can see an example here:
http://www.vanguardepsilon.com/forum/index.php?topic=39.0
Title: Re: Streaming 3
Post by: Anihc on August 09, 2005, 11:06:29 PM
I cannot get this to function at all. Where do I go to turn it on? and or find the bbc codes to input onto a post?

It "seemed" like it intalled ok but now I cannot remove it or uninstall it. I tried to re-install it and the test page looked succesful (the install test page using package installer) but I don't see anything. Then I tried to uninstall it and each time I try to I get this:

Uninstall Actions
Uninstall Actions "Streaming_4.0":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 

And I tried to uninstall this againby manually installing it via going to the http:...../mod_4.php file and it looked like it installed fine there too but would not then after that I was able to uninstall via control panel (with test fail errors) but it removed it or so it seemed. Then I re-installed it again and got this (again):

Install Actions
Installations actions for "Streaming_4.0":
Installing this package will perform the following actions:  Type Action Description
1. Extract File Themes/default/images/bbc/stream.gif 
2. Extract File Themes/default/images/bbc/real.gif 
3. Extract File Themes/default/images/bbc/quick.gif

but nothing appears for it on th admin panel or in the post bbc code list.

What do I do from here? Would love to get this going.
Title: Re: Streaming 3
Post by: chadness on August 10, 2005, 12:29:41 AM
Look under karma in the admin options.  Also, do you have the 3 extra buttons in your posts?
Title: Re: Streaming 3
Post by: Anihc on August 10, 2005, 02:25:44 AM
holy misplaced karma batman.....

lol ok thanks I would have never found it there, why is it stuck inside the karma box?

Works like a charm now, and yeah I have the icons for the bbc. I also re-installed all my mods too seems package handler needs some things fixed everything or most everything defaults to 666 after being uploaded took me a couple hours to change them to 777 even with ftp it would stop and fail when changing the whole directory at each 666 file so I had to delete all those modded files or dl them then re-upload them. I will make another post about that when I can figure out where it should go so it is not missed.

Thanks,
Anihc
Title: Re: Streaming 3
Post by: 1948Pal on August 10, 2005, 11:23:51 AM
Quote from: komakoma on August 09, 2005, 10:27:01 PM
have u try to using mms://www.adc.com/123.wmv for the streaming url under this mod

u will find that the url will become to http://mms://www.adc.com/123.wmv

it seems that can't using mms://
komakoma, mms and http are different protocols, this mod is set to use the http protocol. If you want to change this behavior, in Sources/Subs.post.php, find

array('tag' => 'stream', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),

and change the 'protocol' => 'http' to 'protocol' => 'mms'.
This should do what you want, giving that the source does support that protocol.
Title: Re: Streaming 3
Post by: 1948Pal on August 10, 2005, 11:25:03 AM
Quote from: chadness on August 10, 2005, 12:29:41 AM
Look under karma in the admin options.  Also, do you have the 3 extra buttons in your posts?
oops, this is my mistake, this shouldn't be under karma but under features and settings.
Will update mod.
Thanks.
Title: Re: Streaming 3
Post by: chadness on August 10, 2005, 11:55:14 AM
Quote from: 1948Pal on August 10, 2005, 11:23:51 AM
and change the 'protocol' => 'http' to 'protocol' => 'mms'.
This should do what you want, giving that the source does support that protocol.
I suppose you could probably make a Stream2 with mms instead of http if you wanted to do both, eh?

Nice mod, by the way :)
Title: Re: Streaming 3
Post by: 1948Pal on August 10, 2005, 12:01:45 PM
Updated release 4.1
Title: Re: Streaming 3
Post by: 1948Pal on August 10, 2005, 12:09:45 PM
Quote from: chadness on August 10, 2005, 11:55:14 AM
Quote from: 1948Pal on August 10, 2005, 11:23:51 AM
and change the 'protocol' => 'http' to 'protocol' => 'mms'.
This should do what you want, giving that the source does support that protocol.
I suppose you could probably make a Stream2 with mms instead of http if you wanted to do both, eh?

Nice mod, by the way :)
I guess its possible, or if you're familiar with this kind of stuff, and you're hosting your own media, you can create a local "ASX",  file on your server, which is a playlist file that Windows Media Player will read to determine the source of the stream it should connect to, like mms or http. Then you can put that file as the source of your streaming media.
Title: Re: Streaming 3
Post by: chadness on August 10, 2005, 12:13:09 PM
OK, the new release moves the settings under the "Layout and Options" section of Features and Options.

Still cuts off the web page under quicktime or windows media posts for me in IE.  Strange....
Title: Re: Streaming 3
Post by: 1948Pal on August 10, 2005, 01:08:38 PM
Try changing the "autostart=false" to "autostart=true"  in Subs.php for both of those.
Title: Re: Streaming 3
Post by: Anihc on August 10, 2005, 01:15:27 PM
Sweet thanks for the fast response on that fix. :)
It was not a big deal that it was misplaced, I am just glad I could get it working as I am testing this on my new build website prior to updating my current site to work out what functions with 1.1b3 and what does not.

I am in it for the package manager safe mod bypass! :) saves tons of mod time using that when safe mod is on hehe.
Title: Re: Streaming 3
Post by: chadness on August 10, 2005, 02:37:34 PM
Quote from: 1948Pal on August 10, 2005, 01:08:38 PM
Try changing the "autostart=false" to "autostart=true"  in Subs.php for both of those.
No luck.  I'll keep playing with it and let you know what I figure out as well.
Title: Re: Streaming 3
Post by: chadness on August 10, 2005, 03:06:43 PM
Fixed it!  Needed to close the object tag.  Put a </OBJECT> at the end of the IE section for those two lines, and it worked.  There was already one in there for the Real line.
Title: Re: Streaming 3
Post by: 1948Pal on August 10, 2005, 03:18:59 PM
 That good, but there was a </object> at the end, did you move that to end of the first section of the line, where the   >' : '<  are? Or just added a new close tag?
Title: Re: Streaming 3
Post by: chadness on August 10, 2005, 03:24:03 PM
I added a new one in the section you indicated.

To clarify, I changed these two lines:
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT id="mediaPlayer" width="320" height="285" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" /><param name="fileName" value="$1" /><param name="animationatStart" value="true" /><param name="transparentatStart" value="true" /><param name="autoStart" value="false" /><param name="showControls" value="true" /><param name="loop" value="false">' : '<EMBED type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" bgcolor="darkblue" showcontrols="true" showtracker="-1" showdisplay="0" showstatusbar="-1" videoborder3d="-1" width="320" height="285" src="$1" autostart="false" designtimesp="5311" loop="false"></EMBED></OBJECT>'


'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" height="255" codebase="http://www.apple.com/qtactivex/qtplugin.cab" /><param name="src" value="$1" /><param name="autoplay" value="false" /><param name="controller" value="true" /><param name="loop" value="false" /><EMBED src="$1" width="320" height="255" autoplay="false" controller="true" loop="false" pluginspage="http://www.apple.com/quicktime/download/" /></EMBED>' : '<embed src="$1" type="video/quicktime" width="320" height="255" autoplay="false" controller="true" pluginspage="http://www.apple.com/quicktime/download/" />'


To this:
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT id="mediaPlayer" width="320" height="285" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" /><param name="fileName" value="$1" /><param name="animationatStart" value="true" /><param name="transparentatStart" value="true" /><param name="autoStart" value="false" /><param name="showControls" value="true" /><param name="loop" value="false"></OBJECT>' : '<EMBED type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" bgcolor="darkblue" showcontrols="true" showtracker="-1" showdisplay="0" showstatusbar="-1" videoborder3d="-1" width="320" height="285" src="$1" autostart="false" designtimesp="5311" loop="false"></EMBED></OBJECT>'


'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" height="255" codebase="http://www.apple.com/qtactivex/qtplugin.cab" /><param name="src" value="$1" /><param name="autoplay" value="false" /><param name="controller" value="true" /><param name="loop" value="false" /><EMBED src="$1" width="320" height="255" autoplay="false" controller="true" loop="false" pluginspage="http://www.apple.com/quicktime/download/" /></EMBED></OBJECT>' : '<embed src="$1" type="video/quicktime" width="320" height="255" autoplay="false" controller="true" pluginspage="http://www.apple.com/quicktime/download/" />'


(Please note to anyone else reading this - these two lines aren't next to each other in the code).
Title: Re: Streaming 3
Post by: 1948Pal on August 10, 2005, 03:33:57 PM
Ok I see. I'll update the mode, bu first I need to figure out a new issue I discovored in Windows media streaming; if you try to change the volume level, the image disappears. I'll see if I can find a fix.
Title: Re: Streaming 3
Post by: chadness on August 10, 2005, 03:58:34 PM
I didn't run in to that issue.  I just tested - I can adjust volume on a playing .asf file just fine.  That's all I have uploaded so far.

Also, I noticed that you were using <embed> elements, which don't validate as good xhtml.  I tried experimenting with it (just the non-IE half so far, since that is what is tested on the w3c page) and found this change to the quicktime line makes it validate OK and still seems to work.
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" height="255" codebase="http://www.apple.com/qtactivex/qtplugin.cab" /><param name="src" value="$1" /><param name="autoplay" value="false" /><param name="controller" value="true" /><param name="loop" value="false" /><EMBED src="$1" width="320" height="255" autoplay="false" controller="true" loop="false" pluginspage="http://www.apple.com/quicktime/download/" /></EMBED></OBJECT>' : '<object type="video/quicktime" data="$1" width="320" height="255"> <param name="autoplay" value="false" /> <param name="controller" value="true" /> <param name="pluginspage" value="http://www.apple.com/quicktime/download/" /></object>'
Title: Re: Streaming 3
Post by: komakoma on August 10, 2005, 09:45:50 PM
Quote from: 1948Pal on August 10, 2005, 11:23:51 AM
komakoma, mms and http are different protocols, this mod is set to use the http protocol. If you want to change this behavior, in Sources/Subs.post.php, find

array('tag' => 'stream', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),

and change the 'protocol' => 'http' to 'protocol' => 'mms'.
This should do what you want, giving that the source does support that protocol.

thank you very much , btw is it possible to let http and mms works ?
i mean when the media link is http://www.abc.com/123.wmv or mms://www.abc.com/123.wmv
both works ? or either one can works only ?
Title: Re: Streaming 3
Post by: 1948Pal on August 11, 2005, 05:49:30 PM
in your Sources/Subs.post.php find that same line

array('tag' => 'stream', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),


replace with

array('tag' => 'stream', 'protocol' => array('http', 'mms', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)),


see if that works for you.
Title: Re: Streaming 3
Post by: Jazhawk on August 15, 2005, 03:18:48 AM
This works great!  Thanx for coding this one.

-Jazhawk
Title: Re: Streaming 3
Post by: komakoma on August 15, 2005, 05:52:06 AM
Quote from: 1948Pal on August 11, 2005, 05:49:30 PM
in your Sources/Subs.post.php find that same line

array('tag' => 'stream', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),


replace with

array('tag' => 'stream', 'protocol' => array('http', 'mms', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)),


see if that works for you.

thanks it works
Title: Re: Streaming 3
Post by: Celtland on August 19, 2005, 05:40:10 PM
I just installed 4.1 onto my 1.1B3 forums.  Any/all posts (and the rest of the page, also) that appear after a post with a sound file in it are cut off.  All help is greatly appreciated.
Title: Re: Streaming 3
Post by: Anihc on August 19, 2005, 08:45:19 PM
Ok harumph! Well I knew that it cut off the bottom of the page but I never tested the replies and mine is doing the same thing.

That's not good :( I can understand the rest of the page bottom because of the way some mods are written they are supposed to do that but perhaps a topic type mod shouldn't since now nobody can respond regaurding the video image.

Image shack mod does not do this and using direct url images does not do this either.

Hopefully this can be fixed.

Anihc
Title: Re: Streaming 3
Post by: Ray™ on August 20, 2005, 12:15:47 AM
Mine did the same thing -- had to modify the theme I was using
here is a link that is working- I think

http://www.rranderson.com/dvd/index.php?topic=95.0
Title: Re: Streaming 3
Post by: Anihc on August 20, 2005, 08:51:11 PM
What did you modify to get it to work then?

Anihc
Title: Re: Streaming 3
Post by: Ray™ on August 21, 2005, 02:19:50 PM
If i remember right I moved the display.template.php out of the theme I was using and only use the display.template.php in the default folder. I also moved Boardindex.template.php out also.

:I'm using
Powered by SMF 1.1 Beta 3 Public.
© 2001-2005, Lewis Media. All Rights Reserved.
TechHead / TinyPortal v.0.7.2b by Bloc

Note: I'm trying to remember what if any I modify an can not remember what I did for sure but I'll keep looking and  post back If I remember -- sorry :(
Title: Re: Streaming 3
Post by: 1948Pal on August 21, 2005, 03:17:49 PM
Hello all.
Please uninstall version 4.1, remove mod from server, then download new version 4.2 and install. This should fix the cutting off of posts, thanks to chadness for reporting this. Also added mms protocol support for windows media player. Thanks komakoma for bringing that to my attention.
You can download the mod at SMF mod site here (http://mods.simplemachines.org/index.php?mod=121)
Title: Re: Streaming 3
Post by: Ray™ on August 21, 2005, 03:53:11 PM
Installed ok -- seems to work ok -- thanks
Title: Re: Streaming 3
Post by: scrawl on August 21, 2005, 10:51:37 PM
is there any way to make it only for audio? and is this compatible with 1.0.5?

thanks top sounding mod
Title: Re: Streaming 3
Post by: 1948Pal on August 22, 2005, 12:20:00 AM
Quote from: Ray on August 21, 2005, 03:53:11 PM
Installed ok -- seems to work ok -- thanks
NP
Title: Re: Streaming 3
Post by: 1948Pal on August 22, 2005, 12:22:00 AM
Quote from: scrawl on August 21, 2005, 10:51:37 PM
is there any way to make it only for audio? and is this compatible with 1.0.5?

thanks top sounding mod
This mod, as it is, would work for audio only, just use urls that contain audio instead of video. And yes it should work with 1.0.5.
Title: Re: Streaming 3
Post by: scrawl on August 22, 2005, 02:14:12 AM
Quote from: 1948Pal on August 22, 2005, 12:22:00 AM
Quote from: scrawl on August 21, 2005, 10:51:37 PM
is there any way to make it only for audio? and is this compatible with 1.0.5?

thanks top sounding mod
This mod, as it is, would work for audio only, just use urls that contain audio instead of video. And yes it should work with 1.0.5.

okay i was looking for a way to disable the video streaming but it's all good i've found a use for it. thanks heaps. top mod.


EDIT: i'm wondering how would i remove all but the stream button?
EDIT2: also if it's possible to play mp3's etc is there a way to make it work with soundclick?

thanks in advance for answering my questions.

EDIT3: thought i'd throw up the tweaked icons i did in case someone else wants to use them they just look a bit cleaner.

http://www.geocities.com/iris_infusion/icons.zip
Title: Re: Streaming 3
Post by: tentronik on August 22, 2005, 06:58:47 AM
When i try installing the mod v4.2 i get a
Quote421 I can't accept more than 4 connections as the same user
?
No error log and i installed other mods without this problem, also i had to type in my ftp data and miss typed 2 or 3 times my passowrd ;P!
Title: Re: Streaming 3
Post by: 1948Pal on August 22, 2005, 01:34:47 PM
Quote from: scrawl on August 22, 2005, 02:14:12 AM

EDIT: i'm wondering how would i remove all but the stream button?
In your admin panel-forum-posts and topics-bulletin board code settings, uncheck the desired bbc. Also you can disable the streams in admin panel-features and options-layout and options, untick the ones you want to disable.
Quote
EDIT2: also if it's possible to play mp3's etc is there a way to make it work with soundclick?
Soundclick have their own player, I couldn't locate any code to embed. Also, it seems you must be a member with a user id and have links to songs on their website. But it looks like it should work with windows media player or flash, after all it is but mp3 files with animations.

Title: Re: Streaming 3
Post by: Anihc on August 22, 2005, 03:53:05 PM
I can't un-install 4.1 for some reason probable safe mode even though I have 1.1b3 and it is supposed to be safe mode ready now. :( I can un-install it manually but it would be easier to maybe just make the changes that would take 4.1 to 4.2 if you could supply that info. If it is too much trouble I will just un-install it manually I am just hopeing the changes are small enough I could just do that because I am assuming that might take less time than a manual un-install. But that is just an assumption.

Let me know,
Anihc :)
Title: Re: Streaming 3
Post by: 1948Pal on August 22, 2005, 04:33:05 PM
Sorry to hear you can't un-install it, what files does it fail on? Did you perhaps install other mods after this one? Because that could do it
Anyways, here are the changes.

In Sources/Subs.php, find the section for stream, and find this line

'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT id="mediaPlayer" width="320" height="285" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" /><param name="fileName" value="$1" /><param name="animationatStart" value="true" /><param name="transparentatStart" value="true" /><param name="autoStart" value="false" /><param name="showControls" value="true" /><param name="loop" value="false">' : '<EMBED type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" bgcolor="darkblue" showcontrols="true" showtracker="-1" showdisplay="0" showstatusbar="-1" videoborder3d="-1" width="320" height="285" src="$1" autostart="false" designtimesp="5311" loop="false"></EMBED></OBJECT>'
and replace with
[code]
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT id="mediaPlayer" width="320" height="285" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" /><param name="fileName" value="$1" /><param name="animationatStart" value="true" /><param name="transparentatStart" value="true" /><param name="autoStart" value="false" /><param name="showControls" value="true" /><param name="loop" value="false"></OBJECT>' : '<EMBED type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" bgcolor="darkblue" showcontrols="true" showtracker="-1" showdisplay="0" showstatusbar="-1" videoborder3d="-1" width="320" height="285" src="$1" autostart="false" designtimesp="5311" loop="false"></EMBED></OBJECT>'

And under the quicktime section find this code


'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" height="255" codebase="http://www.apple.com/qtactivex/qtplugin.cab" /><param name="src" value="$1" /><param name="autoplay" value="false" /><param name="controller" value="true" /><param name="loop" value="false" /><EMBED src="$1" width="320" height="255" autoplay="false" controller="true" loop="false" pluginspage="http://www.apple.com/quicktime/download/" /></EMBED>' : '<embed src="$1" type="video/quicktime" width="320" height="255" autoplay="false" controller="true" pluginspage="http://www.apple.com/quicktime/download/" />'


and replace it with this

'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" height="255" codebase="http://www.apple.com/qtactivex/qtplugin.cab" /><param name="src" value="$1" /><param name="autoplay" value="false" /><param name="controller" value="true" /><param name="loop" value="false" /><EMBED src="$1" width="320" height="255" autoplay="false" controller="true" loop="false" pluginspage="http://www.apple.com/quicktime/download/" /></EMBED></OBJECT>' : '<embed src="$1" type="video/quicktime" width="320" height="255" autoplay="false" controller="true" pluginspage="http://www.apple.com/quicktime/download/" />'



And in Sources/Subs.post.php, find

array('tag' => 'stream', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),

And raplce with

array('tag' => 'stream', 'protocol' => array('http', 'mms', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)),

this should cover the modifications that are included in 4.2.[/code]
Title: Re: Streaming 3
Post by: Celtland on August 22, 2005, 06:50:58 PM
Thanks for making this update.  :)  I'm still having problems with any post after one with a stream tag getting cut off (the rest of the page).
Title: Re: Streaming 3
Post by: Anihc on August 22, 2005, 07:41:06 PM
Thanks for the changes I will try them out tonight.

As far as failing, it does not "appear" to fail at all. The un-install goes through without any errors but it does not actually change anything. I think even the images remain. It is hard to tell did or did not get removed.  It has to be a safe mode issue somehow. Package installer works but not 100%, for me anyway. 14 out of 16 mods installed just fine and several have had to be manually un-installed when I was trying to upgrade them. Arcade and the chat mod are the two that required manual installation.

Hopefully all will go well changing this with the code you gave me :)I think it will be ok anyway. If not I will let you know.

Thanks again,
Anihc
Title: Re: Streaming 3
Post by: 1948Pal on August 23, 2005, 10:39:54 AM
Please note that I just edited my post on top of this page (http://www.simplemachines.org/community/index.php?topic=32951.msg333816#msg333816), it seems that I messed up when posting it, but now it is fixed and should take care of the disappearing messages after the stream. So please go over those modifications.
SORRY about the mess.
Title: Re: Streaming 3
Post by: Celtland on August 23, 2005, 08:47:46 PM
Thanks again.  I will try these as soon as I can.  Do I install version 4.2 - then make sure the coding changes in your above post took effect?
Title: Re: Streaming 3
Post by: Anihc on August 24, 2005, 02:20:25 PM
Thanks for the help,

I ended up needing to re-install my beta update again because it seemed that this mod was installed more than once and the code was in the files more than once lol. It became easier for me to just do that instead of trying to find all the triplicates to erase them.

I am working on getting safe mode removed/fixed somehow. Hopefully I won't have this problem in the future.
Title: Re: Streaming 3
Post by: Iluvar on August 25, 2005, 06:26:12 AM
I have downloaded the 4.2 version and when I tried to install I got a permission error. The problem wasn't in wrong permissions but in package_info.xml. Readme tags weren't closed, and when I closed them installation was succesfull.
Also I noted that the modification file set is stream-3_1.mod, and in the package there are also stream-4.1.mod and stream-4.2.mod. Since I'm new to SMF could someone tell me what's up with that.  ???
Title: Re: Streaming 3
Post by: 1948Pal on August 25, 2005, 04:35:57 PM
Quote from: Anihc on August 24, 2005, 02:20:25 PM
Thanks for the help,

I ended up needing to re-install my beta update again because it seemed that this mod was installed more than once and the code was in the files more than once lol. It became easier for me to just do that instead of trying to find all the triplicates to erase them.

I am working on getting safe mode removed/fixed somehow. Hopefully I won't have this problem in the future.
Well, it is always better to find out what files a certain mod will change or add code to, and back them up or make copies before you apply the mod. This way you just rstore the few files instead of the whole forum. Sorry you had trouble.
Title: Re: Streaming 3
Post by: 1948Pal on August 25, 2005, 04:40:19 PM
Quote from: Iluvar on August 25, 2005, 06:26:12 AM
I have downloaded the 4.2 version and when I tried to install I got a permission error. The problem wasn't in wrong permissions but in package_info.xml. Readme tags weren't closed, and when I closed them installation was succesfull.
Oh man! What a mess this is turning out to be, sorry about that, I really should do this early in the night, not late :-[. Funny no one else noticed that or had mentioned it!!

QuoteAlso I noted that the modification file set is stream-3_1.mod, and in the package there are also stream-4.1.mod and stream-4.2.mod. Since I'm new to SMF could someone tell me what's up with that.  ???
The mod file should contain stream 3.1 (for SMF 1.0.4/1.0.5) and stream 4.1 for SMF 1.1B3P. The additional stream 4.mod was included in the zipped file by mistake(again)
Will try to change the archive ASAP.
Title: Re: Streaming 3
Post by: Elmacik on September 02, 2005, 07:47:29 PM
when i try to install, here what it says to me;

"the package is corrupt or not compatible with this version of SMF"

smf: 1.1 b3
streaming: 4.2
Title: Re: Streaming 3
Post by: Nitro on September 07, 2005, 10:14:53 AM
i figured this out why it wasn't showing the SMF copyrights, however, the REAL player is not showing the 'play' button in any posts, the other formats (wmv, etc.) are fine. i have downloaded stream 4.2 i have smf 1.1.b3

would someone be so kind as to tell me how to fix this thing? thank you so much!!!!!

THIS MOD ROCKS!!!!!!!

This is what is happening:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fmypowerforum.com%2Fextras%2Freal.gif&hash=2bdfb7c838de83a9362cf32d262d21a068c5b65a)
As you can see there is no buttons to play, so i have to place a message to right click and 'play'



whatcha think?
Title: Re: Streaming 3
Post by: Nitro on September 07, 2005, 10:19:38 AM
Quote from: elmacik on September 02, 2005, 07:47:29 PM
when i try to install, here what it says to me;

"the package is corrupt or not compatible with this version of SMF"

smf: 1.1 b3
streaming: 4.2

i had to install this manually, maybe you'd have to do the same. mine was working fine until i used this new 4.2
Title: Re: Streaming 3
Post by: mrandall131 on September 07, 2005, 02:48:15 PM
I installed this and thought everything was fine.  When I checked the error log, I was getting the following errors:

Quote8: Undefined index: embeddedUrl
File: /www/n/northeastatv/htdocs/forum/Sources/Subs-Post.php
Line: 305

and

Quote8: Undefined index: hasEqualSign
File: /www/n/northeastatv/htdocs/forum/Sources/Subs-Post.php
Line: 305

Here is the code around 305:

Quote// Fix each type of tag.
   foreach ($fixArray as $param)
      fixTag($message, $param['tag'], $param['protocol'], $param['embeddedUrl'], $param['hasEqualSign'], !empty($param['hasExtra']));

   // Now fix possible security problems with images loading links automatically...
   $message = preg_replace('~(\[img.*?\]http://)(.+?)\[/img\]~eis', '\'$1\' . preg_replace(\'~action(=|%3d)(?!dlattach)~i\', \'action-\', \'$2\') . \'[/img]\'', $message);

Make any sense to you?

Title: Re: Streaming 3
Post by: 1948Pal on September 07, 2005, 03:21:01 PM
elmacik, I'll upload a new file with small bug fixes later today. Please try that when you get a chance.


NitroRich, can you post the part in Subs.php that contains the code for "real media"? I'll see if I can spot something different, sisnce you did the install by hand, maybe, and I say maybe there is something missing or such.


mrandall131, can you post lines 290 to 301 in Subs.post.php?
Title: Re: Streaming 3
Post by: Nitro on September 07, 2005, 03:42:04 PM
Quote from: 1948Pal on September 07, 2005, 03:21:01 PM
....NitroRich, can you post the part in Subs.php that contains the code for "real media"? I'll see if I can spot something different, sisnce you did the install by hand, maybe, and I say maybe there is something missing or such.
sure...



here's the first part in sources/subs.php
if (empty($modSettings['enableEmbeddedStream']))
$disabled['stream'] = true;

if (empty($modSettings['enableEmbeddedReal']))
$disabled['real'] = true;

if (empty($modSettings['enableEmbeddedQuick']))
$disabled['quick'] = true;


second part:
'tag' => 'stream',
'type' => 'unparsed_commas_content',
'test' => '.+?,.+?]',
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT id="mediaPlayer" width="320" height="285" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" /><param name="fileName" value="$1" /><param name="animationatStart" value="true" /><param name="transparentatStart" value="true" /><param name="autoStart" value="false" /><param name="showControls" value="true" /><param name="loop" value="false" /></Object>' : '<OBJECT><EMBED type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" showcontrols="true" showtracker="-1" showdisplay="0" showstatusbar="-1" videoborder3d="-1" width="320" height="285" src="$1" autostart="false" /></EMBED></OBJECT>'
), 
'validate' => '
if (isset($disabled[\'url\']))
{
$data[0] = \'$1\';
}',
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(
'tag' => 'real',
'type' => 'unparsed_commas_content',
'test' => '.+?,.+?]',
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT ID=RVOCX width="320" CLASSID="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" WIDTH="256" HEIGHT="256" /><PARAM NAME="SRC" VALUE="$1" /><PARAM NAME="CONTROLS" VALUE="ImageWindow" /><PARAM NAME="AUTOSTART" VALUE="FALSE" /><PARAM NAME="CONTROLS" VALUE="ControlPanel" /></OBJECT><br />' : '<OBJECT ID=RVOCX width="320" CLASSID="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" WIDTH="375" HEIGHT="100" /><EMBED height="240" width="320" controls="ImageWindow,controlPanel" src="$1" type="audio/x-pn-realaudio-plugin" autostart="false" /></OBJECT>'
),
'validate' => '
if (isset($disabled[\'url\']))
{
$data[0] = \'$1\';
}',
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(
'tag' => 'quick',
'type' => 'unparsed_commas_content',
'test' => '\d+?,\d+?]',
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" height="255" codebase="http://www.apple.com/qtactivex/qtplugin.cab" /><param name="src" value="$1" /><param name="autoplay" value="false" /><param name="controller" value="true" /><param name="loop" value="false" /><EMBED src="$1" width="320" height="255" autoplay="false" controller="true" loop="false" pluginspage="http://www.apple.com/quicktime/download/" /></EMBED></OBJECT>' : '<embed src="$1" type="video/quicktime" width="320" height="255" autoplay="false" controller="true" pluginspage="http://www.apple.com/quicktime/download/" />'
),
'validate' => '
if (isset($disabled[\'url\']))
{
$data[0] = \'$1\';
}',
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(


'tag' => 'green',


this is the third part:
$disabled['stream'] = true;
$disabled['real'] = true;
$disabled['quick'] = true;


All these codes are in the sources/subs.php



i have doubled checked again and it looks exactly as it appears in the stream-4.2 mod file that came in the package, in fact, i have checked all the code in the package against what i have manually added.

Thank you so much man!!!
Title: Re: Streaming 3
Post by: mrandall131 on September 07, 2005, 04:50:49 PM
Quote from: 1948Pal on September 07, 2005, 03:21:01 PM

mrandall131, can you post lines 290 to 301 in Subs.post.php?


290 is in the middle of a block, so here is the entire block (272 through 296).

Quote// Fix any URLs posted - ie. remove 'javascript:'.
function fixTags(&$message)
{
   global $modSettings;

   $fixArray = array
   (
      // (http://) or (http://)
      array('tag' => 'img', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),
      // http://... (//http://)
      array('tag' => 'url', 'protocol' => 'http', 'embeddedUrl' => true, 'hasEqualSign' => false),
      // name (//http://)
      array('tag' => 'url', 'protocol' => 'http', 'embeddedUrl' => true, 'hasEqualSign' => true),
      // http://... (//http://)
      array('tag' => 'iurl', 'protocol' => 'http', 'embeddedUrl' => true, 'hasEqualSign' => false),
      // name (//http://)
      array('tag' => 'iurl', 'protocol' => 'http', 'embeddedUrl' => true, 'hasEqualSign' => true),
      // ftp://... (ftp://ftp://)
      array('tag' => 'ftp', 'protocol' => 'ftp', 'embeddedUrl' => true, 'hasEqualSign' => false),
      // name (ftp://ftp://)
      array('tag' => 'ftp', 'protocol' => 'ftp', 'embeddedUrl' => true, 'hasEqualSign' => true),
      // [flash]http://...[/flash]
      array('tag' => 'flash', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)
   );
Title: Re: Streaming 3
Post by: 1948Pal on September 07, 2005, 05:07:34 PM
You say you installed this mod, yet you're missing these lines?

// [stream]http://...[/stream]
array('tag' => 'stream', 'protocol' => array('http', 'mms', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)),
               // [real]http://...[/real]
array('tag' => 'real', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),
               // [quick]http://...[/quick]
array('tag' => 'quick', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)
Title: Re: Streaming 3
Post by: mrandall131 on September 07, 2005, 10:03:01 PM
Ok, couldn't remember.  I must have uninstalled the mod before I copied it over here to stop the errors.  I'll re-instal and put the code out here again.

Here it is, same thing, the whole block:

Quote// Fix any URLs posted - ie. remove 'javascript:'.
function fixTags(&$message)
{
   global $modSettings;

   $fixArray = array
   (
      // (http://) or (http://)
      array('tag' => 'img', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),
      // http://... (//http://)
      array('tag' => 'url', 'protocol' => 'http', 'embeddedUrl' => true, 'hasEqualSign' => false),
      // name (//http://)
      array('tag' => 'url', 'protocol' => 'http', 'embeddedUrl' => true, 'hasEqualSign' => true),
      // http://... (//http://)
      array('tag' => 'iurl', 'protocol' => 'http', 'embeddedUrl' => true, 'hasEqualSign' => false),
      // name (//http://)
      array('tag' => 'iurl', 'protocol' => 'http', 'embeddedUrl' => true, 'hasEqualSign' => true),
      // ftp://... (ftp://ftp://)
      array('tag' => 'ftp', 'protocol' => 'ftp', 'embeddedUrl' => true, 'hasEqualSign' => false),
      // name (ftp://ftp://)
      array('tag' => 'ftp', 'protocol' => 'ftp', 'embeddedUrl' => true, 'hasEqualSign' => true),
      // [flash]http://...[/flash]
      array('tag' => 'flash', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),
      // [stream]http://...[/stream]
      array('tag' => 'stream', 'protocol' => array('http', 'mms', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)),
               // [real]http://...[/real]
      array('tag' => 'real', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),
               // [quick]http://...[/quick]
      array('tag' => 'quick', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)
   );
Title: Re: Streaming 3
Post by: Nitro on September 08, 2005, 08:41:28 AM
1948Pal, any suggestions as to how to fix my problem? thank you.
Title: Re: Streaming 3
Post by: 1948Pal on September 08, 2005, 11:47:13 PM
mrandall131 and NitroRich, is it possible to remove the last stream mod and instead install the one before it stream_4.1 (http://mods.simplemachines.org/index.php?a=download;mod=121;id=9209).
I've installed this on my forum, uninstalled and reinstalled again numerous times, I don't see where it may be faulting. I am not sure what maybe causing your errors as I had no one reported the same thing before, but maybe 4.1 or even 4.0 could make a difference.
Title: Re: Streaming 3
Post by: Nitro on September 08, 2005, 11:49:50 PM
so you want me to install stream 4.1? of course, remove the one i already have.
Title: Re: Streaming 3
Post by: 1948Pal on September 08, 2005, 11:55:01 PM
Yes if you can, I think something went wrong in 4.2. In the meantime, I think 4.1 might work while I try to figure out this thing.
Title: Re: Streaming 3
Post by: mrandall131 on September 09, 2005, 07:08:22 AM
Just another stupid question.  I downloaded 4.2, and in package manager, the file says 4.2.  But, if you look at the version next to the file, it says 4.1.  I'm still gonna uninstal, but I am wondering what I really have installed.
Title: Re: Streaming 3
Post by: mrandall131 on September 09, 2005, 07:15:16 AM
Is 4.0 "stable" and working?  If not, I think I will wait until the next version (if there is one) comes out.  Version 4.1 works in firefox (automatically starts though), but I have that same cutt off problem that other people experienced in IE.
Title: Re: Streaming 3
Post by: 1948Pal on September 09, 2005, 07:29:33 PM
Quote from: mrandall131 on September 09, 2005, 07:08:22 AM
Just another stupid question.  I downloaded 4.2, and in package manager, the file says 4.2.  But, if you look at the version next to the file, it says 4.1.  I'm still gonna uninstal, but I am wondering what I really have installed.
Yes, that was a naming error. You actually installed 4.2, although the difference between it and 4.1 were very small.
And in answe to yout last post, as far as I know 4.0 was stable and functional, but you're kind of asking the wrong person :), because all those versions of this mod work perfectly on my forums, the live one 1.0.5 with stream 3.1 and the test forum 1.1B3P with stream 4.2.
But I am looking into the problems and I hope I'll be able to find out if something is wrong. BTW, when uninstall stream, the error about the undefined "embeddedURL is gone? Also, do you have other mods installed, can you give me a list please?
Title: Re: Streaming 3
Post by: - danny on September 09, 2005, 08:15:14 PM
 :) Just installed it! Works pretty damn good! Makes a forum really interactive! Thank you!
Title: Re: Streaming 3
Post by: mrandall131 on September 09, 2005, 09:00:47 PM
Quote from: 1948Pal on September 09, 2005, 07:29:33 PM
Quote from: mrandall131 on September 09, 2005, 07:08:22 AM
Just another stupid question.  I downloaded 4.2, and in package manager, the file says 4.2.  But, if you look at the version next to the file, it says 4.1.  I'm still gonna uninstal, but I am wondering what I really have installed.
Yes, that was a naming error. You actually installed 4.2, although the difference between it and 4.1 were very small.
And in answe to yout last post, as far as I know 4.0 was stable and functional, but you're kind of asking the wrong person :), because all those versions of this mod work perfectly on my forums, the live one 1.0.5 with stream 3.1 and the test forum 1.1B3P with stream 4.2.
But I am looking into the problems and I hope I'll be able to find out if something is wrong. BTW, when uninstall stream, the error about the undefined "embeddedURL is gone? Also, do you have other mods installed, can you give me a list please?

I definitely wasn't trying to offend you and am sorry if I did.  Those two errors did go away after the uninstall.  I do have mods installed and here they are:

1.  Running 1.1B3
2.  Blue Jeans Theme
3.  Global Anounce and Stickies
4.  Googlebots and Spiders
5.  Donations Mod
6.  Location Mod
7.  Location - Additional Maps
8.  Reply to Mod
Title: Re: Streaming 3
Post by: TANDIONO.COM on September 16, 2005, 05:11:22 PM
Hi! Can i Manually install this bods?
Title: Re: Streaming 3
Post by: Nitro on September 22, 2005, 01:02:55 AM
sure you can!

Quote from: tandiono on September 16, 2005, 05:11:22 PM
Hi! Can i Manually install this bods?
Title: Re: Streaming 3
Post by: Nitro on September 22, 2005, 01:07:14 AM
Quote from: 1948Pal on September 08, 2005, 11:55:01 PM
Yes if you can, I think something went wrong in 4.2. In the meantime, I think 4.1 might work while I try to figure out this thing.

1948, i just wanted to say, somehow the MOD is working fine, and somehow the play buttons are there! how did they get there? i don't know! but they are back!

i want to install this MOD for the new SMF release but i am not sure if your MOD will work with the new SMF, so i guess i am just going to wait until you make the upgrade to your MOD.

This MOD is really REALLY AWESOME!!!

thank you man!!!!
Title: Re: Streaming 3
Post by: mrandall131 on September 22, 2005, 06:38:35 AM
Great, now I'm really jealous!   ;)
Title: Re: Streaming 3
Post by: impulsia on September 24, 2005, 02:06:59 AM
Quote from: mrandall131 on September 09, 2005, 07:15:16 AM
Version 4.1 works in firefox (automatically starts though), but I have that same cutt off problem that other people experienced in IE.

I installed 4.2 but experience the same problem as mrandall131. It cuts off in firefox no matter what size I give it. In Internet Explorer it is not working at all. Any suggestions?

I found out that if you have another language set then english and not update. You won't see anything in the adminitratin section. You have to change to english too see it.l
Title: Re: Streaming 3
Post by: geo on September 24, 2005, 05:46:25 AM
using smf ver 1.1 rc1 i get this error:
QuoteInstall Actions
Installations actions for "Streaming 4.2":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 

it worked great in beta3.
Title: Re: Streaming 3
Post by: ArkServer on September 24, 2005, 06:50:48 AM
It doesnt work?
http://arkserver.audiohosting.org/forum/index.php?topic=784.0

did i put the wrong tag?
Title: Re: Streaming 3
Post by: geo on September 24, 2005, 04:15:05 PM
Quote from: ArkServer on September 24, 2005, 06:50:48 AM
It doesnt work?
http://arkserver.audiohosting.org/forum/index.php?topic=784.0

did i put the wrong tag?
yep,wrong tag.
easiest way to do it is to highlight the file,then click on the correct icon for streaming and tag will be inserted.
but it should be
[stream=300,300]http://www.hahahumor.com/funny-movies/Mouse.mpeg[/stream]
Title: Re: Streaming 3
Post by: ryansdistrict on September 25, 2005, 10:20:52 AM
i installed the stream mod
am i allowed to make posts contaning other radio stations music like adding this steam http://www.webmasterradio.fm/winmedia56.asx and make it play for people inside a post in my boards ?
Title: Re: Streaming 3
Post by: ArkServer on September 25, 2005, 10:28:21 AM
Quote from: geo on September 24, 2005, 04:15:05 PM
Quote from: ArkServer on September 24, 2005, 06:50:48 AM
It doesnt work?
http://arkserver.audiohosting.org/forum/index.php?topic=784.0

did i put the wrong tag?
yep,wrong tag.
easiest way to do it is to highlight the file,then click on the correct icon for streaming and tag will be inserted.
but it should be
[stream=300,300]http://www.hahahumor.com/funny-movies/Mouse.mpeg[/stream]

I dont have any icons, anyone know why? it could be the template but i dont know howto add it
Title: Re: Streaming 3
Post by: 1948Pal on September 25, 2005, 06:10:40 PM
If the mod works by putting the tags manually, then in the admin panel, go to features and options-mange posts and topics, and on the heading click on "bulletin board code" and make sure the boxes for real, quick and stream are all checked.
Title: Re: Streaming 3
Post by: ArkServer on September 26, 2005, 02:37:43 AM
Quote from: 1948Pal on September 25, 2005, 06:10:40 PM
If the mod works by putting the tags manually, then in the admin panel, go to features and options-mange posts and topics, and on the heading click on "bulletin board code" and make sure the boxes for real, quick and stream are all checked.

cant find it in the features settings, i expect this to be a simple template problem, any idea how to fix this?
Title: Re: Streaming 3
Post by: mrandall131 on September 26, 2005, 07:21:58 AM
Quote from: geo on September 24, 2005, 05:46:25 AM
using smf ver 1.1 rc1 i get this error:
QuoteInstall Actions
Installations actions for "Streaming 4.2":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 

it worked great in beta3.


I saw this in another mods thread.  If you go into the install file and change the 1.1 Beta 3 reference to 1.1 Release Candidate 1 references, it should install.  I't wasn't the install.xml, it was the other, install_info.xml or something?
Title: Re: Streaming 3
Post by: geo on September 26, 2005, 02:27:53 PM
Quote from: mrandall131 on September 26, 2005, 07:21:58 AM
Quote from: geo on September 24, 2005, 05:46:25 AM
using smf ver 1.1 rc1 i get this error:
QuoteInstall Actions
Installations actions for "Streaming 4.2":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 

it worked great in beta3.


I saw this in another mods thread.  If you go into the install file and change the 1.1 Beta 3 reference to 1.1 Release Candidate 1 references, it should install.  I't wasn't the install.xml, it was the other, install_info.xml or something?
ok,i changed 1.1 Beta 3 Public  to 1.1 RC1   every where i could find in the package-info.xml
now i get this error:
Quote7. Execute Modification ./Sources/Subs-Post.php Test failed
getting closer.
you have a link to the other forum?
Title: Re: Streaming 3
Post by: 1948Pal on September 26, 2005, 11:36:58 PM
Ok, just uploaded a new release. 4.2.1 is comatible only with SMF 1.1 RC1. Hopefully this will help those of you having problems. Give it a try.
Go to SMF mod site to download (http://mods.simplemachines.org/index.php?mod=121)
Title: Re: Streaming 3
Post by: 1948Pal on September 26, 2005, 11:42:52 PM
Quote from: ArkServer on September 26, 2005, 02:37:43 AM
Quote from: 1948Pal on September 25, 2005, 06:10:40 PM
If the mod works by putting the tags manually, then in the admin panel, go to features and options-mange posts and topics, and on the heading click on "bulletin board code" and make sure the boxes for real, quick and stream are all checked.

cant find it in the features settings, i expect this to be a simple template problem, any idea how to fix this?
Sorry, not features and options, rather posts and topics; go to http://url to your forum/index.php?action=postsettings;sa=bbc. Check for stream, real and quick.
Title: Re: Streaming 3
Post by: geo on September 27, 2005, 06:10:34 AM
Quote from: 1948Pal on September 26, 2005, 11:36:58 PM
Ok, just uploaded a new release. 4.2.1 is comatible only with SMF 1.1 RC1. Hopefully this will help those of you having problems. Give it a try.
Go to SMF mod site to download (http://mods.simplemachines.org/index.php?mod=121)
worked with no problem,thanks.
Title: Re: Streaming 3
Post by: mrandall131 on September 27, 2005, 02:27:34 PM
This was the first mod I installed in my test forum running RC1.  Here's the error I got:

Quote from: Error
8: Undefined index: protocols
File: *********/test_forum/Sources/Subs-Post.php
Line: 375
Title: Re: Streaming 3
Post by: 1948Pal on September 27, 2005, 07:36:41 PM
Hi mrandall, Does the mod work at all though? I got this error once on my test forum when I first installed it, but I am yet to get another one, but the mod still worked fine. I am still exploring different options.
Title: Re: Streaming 3
Post by: yellow1912 on September 27, 2005, 07:59:01 PM
I messed up somewhere and got this warning:
Warning: Unexpected character in input: ' in /home/vunguye/public_html/community/Sources/Subs.php(2125) : eval()'d code on line 1

Parse error: parse error, unexpected $ in /home/vunguye/public_html/community/Sources/Subs.php(2125) : eval()'d code on line 1

I checked again and gain but couldnt find where the problem is

PS: Code on like 2125:
   if (isset($tag['validate']))
            eval($tag['validate']);
Title: Re: Streaming 3
Post by: yellow1912 on September 27, 2005, 08:19:36 PM
1 more thing, when I try to use the stream like this:
[stream=300,300]http://www.abc.com/blah.wmv[/stream]
and click on preview, it will become:
[stream=300,300]://http://www.abc.com/blah.wmv[/stream]
Title: Re: Streaming 3
Post by: mrandall131 on September 27, 2005, 10:26:44 PM
I still get that error, but the mod seems to work other than that in IE.  In FireFox, the clips start automatically, even when replying to that thread.
Title: Re: Streaming 3
Post by: yellow1912 on September 28, 2005, 04:53:17 AM
For this error:
[stream=300,300]http://www.abc.com/blah.wmv[/stream]
and click on preview, it will become:
[stream=300,300]://http://www.abc.com/blah.wmv[/stream]

Update:
If I change the code
array(
         'tag' => 'stream',
         'protocols' => array('http', 'mms'),
         'embeddedUrl' => false,
         'hasEqualSign' => false,
         'hasExtra' => true,
      ),

to --->
array(
         'tag' => 'stream',
         'protocol' => 'http',
         'embeddedUrl' => false,
         'hasEqualSign' => false,
         'hasExtra' => true
      ),


The error is fixed, however user can only use http this way :(

And the warning is still there :

Warning: Unexpected character in input: ' in /home/vunguye/public_html/community/Sources/Subs.php(2147) : eval()'d code on line 1

Parse error: parse error, unexpected $ in /home/vunguye/public_html/community/Sources/Subs.php(2147) : eval()'d code on line 1

Edit again: The warning is obviously because of this:
'validate' => create_function('&$tag, &$data, $disabled', '
               if (isset($disabled[\'url\']))
                  $tag[\'content\'] = \'$1\';'),
Can you explain what does it do? What is the side effect if If I change to
'validate' => '               if (isset($disabled[\'url\']))
               {
                  $data[0] = \'$1\';
               }',
Title: Re: Streaming 3
Post by: 1948Pal on September 29, 2005, 11:05:05 PM
Yellow1912, how did you install this mod, manual or using the package manager? It seems you did it manually, and you may have missed something, I can't pinpoint what went wrong. Can you remove this mod? And if so, is your warning fixed?
The array with the mms and http should work as it is, you may get an undefined index when you install the mod, which you can ignore for now.
The validate question, well it checks for the BBC to see if it is disabled, if so it sets the value of $1(the clip) to nothing and instead just displays the URL to the link.
Title: Re: Streaming 3
Post by: 1948Pal on September 29, 2005, 11:08:56 PM
Quote from: mrandall131 on September 27, 2005, 10:26:44 PM
I still get that error, but the mod seems to work other than that in IE.  In FireFox, the clips start automatically, even when replying to that thread.
I am working on an update to stop the auto start in FF, but if you want to do it manually before the update, I'll  gladly tell you what to do. BTW, do you still have this mod installed? If so, do you still get the undefined index 'protocols'?
Title: Re: Streaming 3
Post by: yellow1912 on September 30, 2005, 02:45:03 AM
Quote from: 1948Pal on September 29, 2005, 11:05:05 PM
Yellow1912, how did you install this mod, manual or using the package manager? It seems you did it manually, and you may have missed something, I can't pinpoint what went wrong. Can you remove this mod? And if so, is your warning fixed?
The array with the mms and http should work as it is, you may get an undefined index when you install the mod, which you can ignore for now.
The validate question, well it checks for the BBC to see if it is disabled, if so it sets the value of $1(the clip) to nothing and instead just displays the URL to the link.
I manually installed it coz i dont use the default theme (I use chatbubble theme). I'll check and try to reinstall again. I'll post here what happen^^
Title: Re: Streaming 3
Post by: mrandall131 on October 02, 2005, 08:22:13 AM
Here is the error:

Quote from: Error
8: Undefined index: protocols
File: **************/test_forum/Sources/Subs-Post.php
Line: 375

and here is the code:

Quote from: Code
   // Fix each type of tag.
   foreach ($fixArray as $param)
      fixTag($message, $param['tag'], $param['protocols'], $param['embeddedUrl'], $param['hasEqualSign'], !empty($param['hasExtra']));

   // Now fix possible security problems with images loading links automatically...
   $message = preg_replace('~(\[img.*?\]http://)(.+?)\[/img\]~eis', '\'$1\' . preg_replace(\'~action(=|%3d)(?!dlattach)~i\', \'action-\', \'$2\') . \'[/img]\'', $message);

(375 is the FixTag line)
Title: Re: Streaming 3
Post by: 1948Pal on October 02, 2005, 10:53:41 PM
AAAAARGH, this is really killing me, you see this line isn't even touched by my mod, and 'protocols" is obviously defined somewhere because it is already being used in all the tags before stream. I think it has something to do with 'mms' protocol not known to the code or something, but I don't know where. I admit, I am hitting a wall right now, I even posted in the scripting help forum, Hopefully some nice person :) will try to help.
Title: Re: Streaming 3
Post by: mrandall131 on October 02, 2005, 11:08:40 PM
Reguardless, I am gonna use your mod in my "new" forum.  It still kick a$$!   ;)
Title: Re: Streaming 3
Post by: ivo2296 on October 03, 2005, 08:30:43 AM
Seems to be a problem when i try to install the mode under smf 1.0.5 with Subs.php
In fresh installation or working forum i can't find in Subs.php the required lines:

for files stream-4.2.mod and stream-4.mod:

  <search for>
      /* The following bbc are formatted as an array, with keys as follows:
  </search for>
  <search for>
      'tag' => 'green',
  </search for>
  <search for>
      // !!! Change maybe?
  </search for>

then i tried file stream-3_1.mod:
  <search for>
         $codetocache[] = '"<embed type=\"application/x-shockwave-flash\" src=\"" . strtr("$3", array("\"" => "&quot;")) . "\" width=\"$1\" height=\"$2\" play=\"true\" loop=\"true\" quality=\"high\" AllowScriptAccess=\"never\" /><noembed><a href=\"" . strtr("$3", array("\"" => "&quot;")) . "\" target=\"_blank\">$3</a></noembed>"';
  </search for>


Do i miss anything i just looked up in the Subs.php and no such a code lines are in it?
Title: Re: Streaming 3
Post by: 1948Pal on October 06, 2005, 07:13:22 PM
ivo2296, sorry for the delay. Not sure if you still need help with this. For SMF 1.0.5, that code should definitely be there! If you search for the code from stream_3.1 manually, can you find it there? It should under the section that reads // Handle flash
Title: Re: Streaming 3
Post by: ivo2296 on October 06, 2005, 11:14:45 PM
Quote from: 1948Pal on October 06, 2005, 07:13:22 PM
ivo2296, sorry for the delay. Not sure if you still need help with this. For SMF 1.0.5, that code should definitely be there! If you search for the code from stream_3.1 manually, can you find it there? It should under the section that reads // Handle flash

So it is my mistake i have modified Subs.php
// Handle flash.
if(isset($add['[flash='])){
$arr1[] = '~\[flash=(\d+),(\d+)\](?:<br />)*([^<>]+?)(?:<br />)*\[/flash\]~ie';
if(empty($modSettings['enableEmbeddedFlash']) || isset($disabled['flash']))
$arr2[] = isset($disabled['url']) ? '"$3"' : '"<a href=\"" . strtr("$3", array("\"" => "&quot;")) . "\" target=\"_blank\">$3</a>"';


I did all changes to all files but i get a blank page when try to open the forum - the problem stays still in Subs.php - when i undo the changes in Subs.php  but all other files the forum works at least.


Thaks that you taking care about our problems!
Title: Re: Streaming 3
Post by: Wingman7659 on October 07, 2005, 12:45:08 AM
Hi guys,

I have ver 4.2.1 installed under my SMF 1.1b3 and it wroks great! The only thing that bugs me is the display size of the embedded media, it remains the same in size no matter what I put on [stream=xxx,yyy] (quicktime tag got the same problem too). The problem appears on both IE and FireFox.

Is there anyone of you gurus could enlighten me?

Thanks,
Title: Re: Streaming 3
Post by: 1948Pal on October 07, 2005, 09:59:27 AM
Quote from: ivo2296 on October 06, 2005, 11:14:45 PM
Quote from: 1948Pal on October 06, 2005, 07:13:22 PM
ivo2296, sorry for the delay. Not sure if you still need help with this. For SMF 1.0.5, that code should definitely be there! If you search for the code from stream_3.1 manually, can you find it there? It should under the section that reads // Handle flash

So it is my mistake i have modified Subs.php
// Handle flash.
if(isset($add['[flash='])){
$arr1[] = '~\[flash=(\d+),(\d+)\](?:<br />)*([^<>]+?)(?:<br />)*\[/flash\]~ie';
if(empty($modSettings['enableEmbeddedFlash']) || isset($disabled['flash']))
$arr2[] = isset($disabled['url']) ? '"$3"' : '"<a href=\"" . strtr("$3", array("\"" => "&quot;")) . "\" target=\"_blank\">$3</a>"';


I did all changes to all files but i get a blank page when try to open the forum - the problem stays still in Subs.php - when i undo the changes in Subs.php  but all other files the forum works at least.


Thaks that you taking care about our problems!
I get the blank page problem sometimes, and its not because of a bad code, edit your file and remove all the blank lines at the end of it. That should get rid of that problem.
Title: Re: Streaming 3
Post by: 1948Pal on October 07, 2005, 10:05:38 AM
Wingman7659, to change the size of window, you actually need to change the width and hight in the code. It would be in the code from the streaming MOD that goes in Subs.php. I'll be releasing a version soon that will have a slightly larger player window. But you know, the larger the window of the player the longer it will take to stream, it still needs to download, which means much longer wait time for users with slow connections like dial up, yep, many still have them.
Title: Re: Streaming 3
Post by: ivo2296 on October 07, 2005, 12:37:12 PM
Quote from: 1948Pal on October 07, 2005, 09:59:27 AM
Quote from: ivo2296 on October 06, 2005, 11:14:45 PM
Quote from: 1948Pal on October 06, 2005, 07:13:22 PM
ivo2296, sorry for the delay. Not sure if you still need help with this. For SMF 1.0.5, that code should definitely be there! If you search for the code from stream_3.1 manually, can you find it there? It should under the section that reads // Handle flash

So it is my mistake i have modified Subs.php
// Handle flash.
if(isset($add['[flash='])){
$arr1[] = '~\[flash=(\d+),(\d+)\](?:<br />)*([^<>]+?)(?:<br />)*\[/flash\]~ie';
if(empty($modSettings['enableEmbeddedFlash']) || isset($disabled['flash']))
$arr2[] = isset($disabled['url']) ? '"$3"' : '"<a href=\"" . strtr("$3", array("\"" => "&quot;")) . "\" target=\"_blank\">$3</a>"';


I did all changes to all files but i get a blank page when try to open the forum - the problem stays still in Subs.php - when i undo the changes in Subs.php  but all other files the forum works at least.


Thaks that you taking care about our problems!
I get the blank page problem sometimes, and its not because of a bad code, edit your file and remove all the blank lines at the end of it. That should get rid of that problem.

Still the same blank page.
Title: Re: Streaming 3
Post by: Wingman7659 on October 08, 2005, 10:44:54 AM
Quote from: 1948Pal on October 07, 2005, 10:05:38 AM
Wingman7659, to change the size of window, you actually need to change the width and hight in the code. It would be in the code from the streaming MOD that goes in Subs.php. I'll be releasing a version soon that will have a slightly larger player window. But you know, the larger the window of the player the longer it will take to stream, it still needs to download, which means much longer wait time for users with slow connections like dial up, yep, many still have them.

Well, does it mean that there the xy value in the tag won't change anything? Well, I found that if I delete the size value in the sub.php, I can display the quicktime with original size!  :) I understand that the display size does affect the download, but you do need to change the size because I have a lot of QTVR file on my forum. Anyway, it's working now.

One more question, is there any way show QT player control as well?

My SMF ver : 1.1beta3
Streaming ver : 4.2

Thanks again!
Title: Re: Streaming 3
Post by: impulsia on October 08, 2005, 11:03:12 AM
Quote from: ArkServer on September 25, 2005, 10:28:21 AM
Quote from: geo on September 24, 2005, 04:15:05 PM
Quote from: ArkServer on September 24, 2005, 06:50:48 AM
It doesnt work?
http://arkserver.audiohosting.org/forum/index.php?topic=784.0

did i put the wrong tag?
yep,wrong tag.
easiest way to do it is to highlight the file,then click on the correct icon for streaming and tag will be inserted.
but it should be
[stream=300,300]http://www.hahahumor.com/funny-movies/Mouse.mpeg[/stream]

I dont have any icons, anyone know why? it could be the template but i dont know howto add it

Yes, change your language settings to english!
Title: Re: Streaming 3
Post by: ivo2296 on October 09, 2005, 12:32:20 AM
1948Pal mate,

i have upgraded to SMF 1.1 RC1 and everyting now is OK with the mod, no problem at all.
Just one thing - how can i disable autoplay?
Title: Re: Streaming 3
Post by: 1948Pal on October 09, 2005, 10:25:57 PM
Wingman7659. I'm unaware of the quicktime controls not showing up, R U sure? You should see your standard play, pause and progress bar belows the movie. Did you see the controls B4 you took out the size?
I think there is a parameter for autosize, without the width and height values, it should allow the player to display the original size of the clip. I'll check it out.

ivo2296, glad to hear it, what version are you using?
Depends on what player you're talking about, there should be a <param=autostart value="false"> in the IE section of the code, and a corresponding autostart="0" in the second part of the code, which I think should already be there, but check it in your Subs.php. Also what browser are you using?
Title: Re: Streaming 3
Post by: ivo2296 on October 10, 2005, 12:05:26 AM
Quote from: 1948Pal on October 09, 2005, 10:25:57 PM

ivo2296, glad to hear it, what version are you using?
Depends on what player you're talking about, there should be a <param=autostart value="false"> in the IE section of the code, and a corresponding autostart="0" in the second part of the code, which I think should already be there, but check it in your Subs.php. Also what browser are you using?

I'm using now SMF 1.1 RC1. I'll also check the code later, i have tested the mod with Opera, IE and Firefox. With Oprea there is a litle problem when the video goes and i try to scroll the page - that test was with AVI file.
Title: Re: Streaming 3
Post by: ivo2296 on October 10, 2005, 12:16:57 AM
In the code autostart is set to "false" all over in Subs.php, and it is funny when you have in one page two or more posts with "stream" links :) - all video and music play at same time.
Title: Re: Streaming 3
Post by: diva_uno on October 10, 2005, 01:34:48 AM
I'm using 4.1 and my players have disappeared in my post... and it's only in the audio post and not the video.
When I first posted them they were fine... now they aren't there. If I go to "modify" to modify my post the [stream][/stream] tags are still there but if I modify it and save the post... I just have a blank space with no player.
Title: Re: Streaming 3
Post by: 1948Pal on October 10, 2005, 12:59:22 PM
Quote from: ivo2296 on October 10, 2005, 12:16:57 AM
In the code autostart is set to "false" all over in Subs.php, and it is funny when you have in one page two or more posts with "stream" links :) - all video and music play at same time.
ivo2296, if this is only happenning in the windows media player stream, then look for the last entry of autostart="false" and change it to autostart="0". This is of course in Subs.php in the stream tag.
Title: Re: Streaming 3
Post by: 1948Pal on October 10, 2005, 01:04:14 PM
Quote from: diva_uno on October 10, 2005, 01:34:48 AM
I'm using 4.1 and my players have disappeared in my post... and it's only in the audio post and not the video.
When I first posted them they were fine... now they aren't there. If I go to "modify" to modify my post the [stream][/stream] tags are still there but if I modify it and save the post... I just have a blank space with no player.

in Subs.php, find

'tag' => 'stream',
'type' => 'unparsed_commas_content',
'test' => '.+?,.+?]',
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT id="mediaPlayer" width="320" height="285" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" /><param name="fileName" value="$1" /><param name="animationatStart" value="true" /><param name="transparentatStart" value="true" /><param name="autoStart" value="false" /><param name="showControls" value="true" /><param name="loop" value="false">' : '<EMBED type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" bgcolor="darkblue" showcontrols="true" showtracker="-1" showdisplay="0" showstatusbar="-1" videoborder3d="-1" width="320" height="285" src="$1" autostart="false" designtimesp="5311" loop="false"></EMBED></OBJECT>'

And replace it with

'tag' => 'stream',
'type' => 'unparsed_commas_content',
'test' => '.+?,.+?]',
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT id="mediaPlayer" width="320" height="285" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" /><param name="fileName" value="$1" /><param name="animationatStart" value="true" /><param name="transparentatStart" value="true" /><param name="autoStart" value="false" /><param name="showControls" value="true" /><param name="loop" value="false">' : '<EMBED type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="mediaPlayer" name="mediaPlayer" showcontrols="0" showtracker="1" showdisplay="0" showstatusbar="1" videoborder3d="1" width="320" height="285" src="$1" autostart="0" loop="0"></EMBED></OBJECT>'

let me know.
Title: Re: Streaming 3
Post by: ivo2296 on October 10, 2005, 08:51:45 PM
Quote from: 1948Pal on October 10, 2005, 12:59:22 PM
Quote from: ivo2296 on October 10, 2005, 12:16:57 AM
In the code autostart is set to "false" all over in Subs.php, and it is funny when you have in one page two or more posts with "stream" links :) - all video and music play at same time.
ivo2296, if this is only happenning in the windows media player stream, then look for the last entry of autostart="false" and change it to autostart="0". This is of course in Subs.php in the stream tag.

Now is OK it doesn't start automaticly.

Thanks a lot!
Title: Re: Streaming 3
Post by: Poreman on October 11, 2005, 11:27:07 AM
I figured it out, the installation didn't install the gif files, I had to extract and install them manually.  After I did that it corrected.
Everything ok now

Solved

Something didn't work right in install, I assume where the buttons for the media should be in put this text accross the post window
QuoteAdd Windows media sound or movies to your posts! Add Real media sound or movies to your posts! Add QuickTime media sound to movies to your posts!
No gif images just continuious text running across post editor between Flash Player button and Insert image button, what caused this weird deal.
Title: Re: Streaming 3
Post by: mrandall131 on October 11, 2005, 11:34:17 AM
I saw that too before.  Go into the admin panel and enable the mod, then the buttons will appear.
Title: Re: Streaming 3
Post by: 1948Pal on October 11, 2005, 02:52:03 PM
Perhaps the fact that Poreman is using mkportal is interferring with the setup, I don't know but possible. Just unzip the mod to your PC and ftp the 3 images to your /Themes/default/bbc.
Title: Re: Streaming 3
Post by: Wingman7659 on October 11, 2005, 04:09:32 PM
Quote from: 1948Pal on October 09, 2005, 10:25:57 PM
Wingman7659. I'm unaware of the quicktime controls not showing up, R U sure? You should see your standard play, pause and progress bar belows the movie. Did you see the controls B4 you took out the size?
I think there is a parameter for autosize, without the width and height values, it should allow the player to display the original size of the clip. I'll check it out.

Hi 1948Pal,
I see the controller now, I found that I have to add an extra 20ish pixels to have the QY controller shown and I didn't take out the size in sub.php eventually. Yeah, it will be awesome if there is an autosize setting, because my forum focuses on animation and digital video, there are tons of different size formats of mov and avi in our posts. Thanks again.
Thanks.
Title: Re: Streaming 3
Post by: diva_uno on October 11, 2005, 04:26:37 PM
Quote from: 1948Pal on October 10, 2005, 01:04:14 PM
Quote from: diva_uno on October 10, 2005, 01:34:48 AM
I'm using 4.1 and my players have disappeared in my post... and it's only in the audio post and not the video.
When I first posted them they were fine... now they aren't there. If I go to "modify" to modify my post the [stream][/stream] tags are still there but if I modify it and save the post... I just have a blank space with no player.

in Subs.php, find

'tag' => 'stream',
'type' => 'unparsed_commas_content',
'test' => '.+?,.+?]',
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT id="mediaPlayer" width="320" height="285" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" /><param name="fileName" value="$1" /><param name="animationatStart" value="true" /><param name="transparentatStart" value="true" /><param name="autoStart" value="false" /><param name="showControls" value="true" /><param name="loop" value="false">' : '<EMBED type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" bgcolor="darkblue" showcontrols="true" showtracker="-1" showdisplay="0" showstatusbar="-1" videoborder3d="-1" width="320" height="285" src="$1" autostart="false" designtimesp="5311" loop="false"></EMBED></OBJECT>'

And replace it with

'tag' => 'stream',
'type' => 'unparsed_commas_content',
'test' => '.+?,.+?]',
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT id="mediaPlayer" width="320" height="285" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" /><param name="fileName" value="$1" /><param name="animationatStart" value="true" /><param name="transparentatStart" value="true" /><param name="autoStart" value="false" /><param name="showControls" value="true" /><param name="loop" value="false">' : '<EMBED type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="mediaPlayer" name="mediaPlayer" showcontrols="0" showtracker="1" showdisplay="0" showstatusbar="1" videoborder3d="1" width="320" height="285" src="$1" autostart="0" loop="0"></EMBED></OBJECT>'

let me know.


Actually my Subs.php file is so messed up I don't know where to start. I have a few other mods on my board and I really don't want to start out fresh... but I may have to.
Title: Re: Streaming 3
Post by: L.G.S on October 19, 2005, 03:36:26 PM
I have this installed on the default theme with SMF 1.1 RC1, and I am getting a problem,

I click the sound streaming button, paste the link in between, and post, but all that shows is the link to the file.

any help?
Title: Re: Streaming 3
Post by: 1948Pal on October 20, 2005, 12:21:55 PM
Make sure it is enabled in admin center under features and options.
Title: Re: Streaming 3
Post by: Nitro on October 25, 2005, 11:28:39 AM
this is REALLY driving me NUTZZZ!!!!
whenever i try to install this MOD using the package i get this error:

550 /homepages/20/d107436098/htdocs/bb/bb: No such file or directory

i know that directory is there! i put my ftp info the correct data and still gives me that error!

can someone REALLY give me a hand? i just upgraded to RC1 so i am using the new file Streaming_4[1][1].2.1

please please?

thank you so much.
Title: Re: Streaming 3
Post by: thetzfreak on October 25, 2005, 11:33:32 AM
I really don't have the time to go through every post here, but can someone answer these questions?

This mod works with RC1?
Can I make it so that only admin can post videos?
Where will the files be hosted? On my server?
Can I set up a video size limit (i.e. 10 MB)?

Thanks.
Title: Re: Streaming 3
Post by: Nitro on October 25, 2005, 11:45:45 AM
that i can answer. you are the only can post videos, unless they have another link where they can point to the stream tags. nad yes it works with RC! i am just being lasy to do this manually but it should do it autom.
Title: Re: Streaming 3
Post by: L.G.S on October 25, 2005, 01:43:02 PM
Still need help, it's activated in Admin and I tried it, but I keep getting it as mms://link as a clicky link, that's all :(
Title: Re: Streaming 3
Post by: thetzfreak on October 25, 2005, 02:59:11 PM
Installed successfully for me, but just doesn't work. I put [stream]http://mysite.com/myvideo.wmv[/stream] but it doesn't work. When I preview it, it just shows the actual text ([stream]http://mysite.com/myvideo.wmv[/stream]). I checked, and the mod is turned on.

Help?
Title: Re: Streaming 3
Post by: Nitro on October 25, 2005, 03:12:31 PM
Quote from: thetzfreak on October 25, 2005, 02:59:11 PM
Installed successfully for me, but just doesn't work. I put [stream]http://mysite.com/myvideo.wmv[/stream] but it doesn't work. When I preview it, it just shows the actual text ([stream]http://mysite.com/myvideo.wmv[/stream]). I checked, and the mod is turned on.

Help?

that happened to me once and i noticed what i was trhing to play wasn't a video. you might want to check the actuall MOD file and see what's missing. you say you checked on options and features and it is anabled? what about permissions?
Title: Re: Streaming 3
Post by: thetzfreak on October 25, 2005, 03:17:43 PM
Quote from: Nitro on October 25, 2005, 03:12:31 PM
Quote from: thetzfreak on October 25, 2005, 02:59:11 PM
Installed successfully for me, but just doesn't work. I put [stream]http://mysite.com/myvideo.wmv[/stream] but it doesn't work. When I preview it, it just shows the actual text ([stream]http://mysite.com/myvideo.wmv[/stream]). I checked, and the mod is turned on.

Help?

that happened to me once and i noticed what i was trhing to play wasn't a video. you might want to check the actuall MOD file and see what's missing. you say you checked on options and features and it is anabled? what about permissions?
Yes, it is for sure a video. I uploaded the video to my server. What exactly should I look for in the mod file?

And, I'm the admin, so all permissions are enabled for me.

Thanks for the reply.
Title: Re: Streaming 3
Post by: Nitro on October 25, 2005, 03:26:12 PM
unpack the stream for the version of SMF, to your computer and open the .MOD file and follow the instructions and compare the code to what was actually modified in your server files shown IN the .mod file. so if something is missing you can updated.

that's my suggestion, but i am hoping someone else might tell you another TIP.
Title: Re: Streaming 3
Post by: thetzfreak on October 25, 2005, 03:40:16 PM
Quote from: Nitro on October 25, 2005, 03:26:12 PM
unpack the stream for the version of SMF, to your computer and open the .MOD file and follow the instructions and compare the code to what was actually modified in your server files shown IN the .mod file. so if something is missing you can updated.

that's my suggestion, but i am hoping someone else might tell you another TIP.
Hmm... I can't seem to find the .mod file on my server. Where is it? It's not in "packages\Streaming_4.2.1.zip" is it (that's the source files?)?

If I go to packages in admin, I can view the file, but I can't edit it. Where do I go to compare?

Thanks.
Title: Re: Streaming 3
Post by: Nitro on October 25, 2005, 03:55:27 PM
well, i finally made it to work. i had to do this manually ONE MORE time! i just can't get the package manager to work on these mods where we have to put the FTP info, what a pain!

this MOD works SUPER EXTRA REALLY MEGA ULTRA GRRRREAT!!!!

once again! AWESOME JOB!!!!!
Title: Re: Streaming 3
Post by: thetzfreak on October 25, 2005, 05:17:13 PM
Hmmm... any help on how to fix my problem?
Title: Re: Streaming 3
Post by: Nitro on October 25, 2005, 08:49:23 PM
OK, now i have this error:
well, actually when i try to play only Real media i get this error:

[real=400,300]://http://m----------.com/extras/mood.ram[/real]

do you see the :// before the http ??? well that is weird, why is it doing that?

EDIT: i have checked the code over and over again and every thing looks in place
Title: Re: Streaming 3
Post by: thetzfreak on October 26, 2005, 01:38:47 PM
Never mind... got it to work =\
Title: Re: Streaming 3
Post by: huijaa on November 03, 2005, 02:49:24 PM
Installation of streaming is failed, because of version SMF 1.0.5 with fasterparsecode.
Wondering, how do i get it?

Thanks...
Title: Re: Streaming 3
Post by: 1948Pal on November 04, 2005, 10:06:50 AM
Way back on this topic, someone said they had done this and offered if anyone wants it, may you can contact that member and ask him. Here is a link to that post. (http://www.simplemachines.org/community/index.php?topic=32951.msg257460#msg257460) If you don't hear back from him, then perhaps I can make a "faster parse code" version.
Title: Re: Streaming 3
Post by: Nitro on November 04, 2005, 10:21:48 AM
oh really, that's cool. by the way, i could never get this mod to be installed through the package manager because i went to ftp and set files that needed to be changed to CHMOD 777 and still it's telling me that the directory doesn't exists or error... i think 550, anyone can PLEASE suggest a resolution to this, anyone out there? what do you think 1948Pal, should i put this MOD in a FD and step on it MANY times? ;D
Title: Re: Streaming 3
Post by: huijaa on November 04, 2005, 11:10:03 AM
Quote from: 1948Pal on November 04, 2005, 10:06:50 AM
Way back on this topic, someone said they had done this and offered if anyone wants it, may you can contact that member and ask him. Here is a link to that post. (http://www.simplemachines.org/community/index.php?topic=32951.msg257460#msg257460) If you don't hear back from him, then perhaps I can make a "faster parse code" version.
All right, thanks,  i've send to this member. Maybe look at the subs.php with installed fasterparsencode/streaming 3.
Title: Re: Streaming 3
Post by: Bigguy on November 04, 2005, 04:47:11 PM
When I try to install this mod on smf 1.0.5 I get an error in "Sources/Subs.php". The version I am trying to install to smf 1.0.5 is "streaming_4[1][1].2.zip" does anyone kow how I can fix this error ???
Title: Re: Streaming 3
Post by: huijaa on November 04, 2005, 04:56:31 PM
Same problem, Bigguy, have you already installed a fasterparsencode?
Title: Re: Streaming 3
Post by: Nitro on November 04, 2005, 05:06:46 PM
what's a parsencode for?
Title: Re: Streaming 3
Post by: huijaa on November 04, 2005, 05:09:22 PM
i mean fasterparsecode.
Title: Re: Streaming 3
Post by: Nitro on November 04, 2005, 05:18:46 PM
whatever, what's that for?
Title: Re: Streaming 3
Post by: huijaa on November 04, 2005, 05:26:21 PM
A mod FasterParsecode (http://www.simplemachines.org/community/index.php?topic=18659.0) only works on version 1.0.5 or older.
Title: Re: Streaming 3
Post by: Bigguy on November 04, 2005, 05:57:36 PM
Yes I have that installed. Is this the problem ???
Title: Re: Streaming 3
Post by: huijaa on November 04, 2005, 06:08:04 PM
Yep! it's just same problem. 't is into Sources/Subs.php.
Title: Re: Streaming 3
Post by: Bigguy on November 04, 2005, 06:11:20 PM
Ok I unistalled faster parsecode and streaming works now. I cant seem to get the bbc buttons to show up but it does work. thanks for the hint. Can fasterparsecode be re-installed now.
Title: Re: Streaming 3
Post by: UnpackedRope on November 04, 2005, 08:45:00 PM
Help...

BBCode buttons don't work and show text instead!!

Like so..

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.andythomson.e7even.com%2Fimages%2Fbuttons.png&hash=e74eb834a6d850a8719716aafd3d4f7639cb396b)

Using RC1 and a CSS based theme so "Show buttons as images instead of text" is disabled - When it is, it shows like this in IE and Firefox.  When it is enabled, it still shows like this in Firefox and shows broken image links (but the right sized buttons) in IE.

Does this for the classic/default theme too.

Any ideas how to fix?

Thanks

edit: v4.2.1
Title: Re: Streaming 3
Post by: 1948Pal on November 07, 2005, 10:42:33 PM
Hi, if you still need help with this, make sure the 3 image files got uploaded in your "Themes/default/images/bbc" folder.
Title: Re: Streaming 3
Post by: 1948Pal on November 07, 2005, 10:47:16 PM
Quote from: Bigguy on November 04, 2005, 06:11:20 PM
Ok I unistalled faster parsecode and streaming works now. I cant seem to get the bbc buttons to show up but it does work. thanks for the hint. Can fasterparsecode be re-installed now.
In the admin center, for the bbc code to show, under forum-posts and topics-bullitten board code, look for the three bbc code and make sure they're checked "stream, real and quick" they should be in the first column under flash.
Title: Re: Streaming 3
Post by: Bigguy on November 09, 2005, 11:35:48 AM
I am using smf 1.0.5 there is no "forum-posts and topics"
Title: Re: Streaming 3
Post by: UnpackedRope on November 10, 2005, 12:40:39 PM
Quote from: 1948Pal on November 07, 2005, 10:42:33 PM
Hi, if you still need help with this, make sure the 3 image files got uploaded in your "Themes/default/images/bbc" folder.

I was tearing my hair out over this.. checked everything.  Turns out the files transfered but the ftp must've broke them as they were all 0 bytes - so no images!  Working now.  Thanks - great mod!
Title: Re: Streaming 3
Post by: Bigguy on November 18, 2005, 04:04:06 PM
damn, Ive been looking and I know Ive asked this question but what program can I use to stream into the forums from a webcam. ??? using the streaming mod someone had an idea early (well awhile ago) but I cant find it.
Title: Re: Streaming 3
Post by: beemer on November 21, 2005, 11:03:15 AM
Did 1948pal did you ever resolve this one or did it really kill you  ;D
http://www.simplemachines.org/community/index.php?topic=32951.msg364382#msg364382

As I have the same in my error log


8: Undefined index: protocols
File: ************\Forum\Sources\Subs-Post.php
Line: 375

Where line 375 is the fixTag($message   shown below


// Fix each type of tag.
foreach ($fixArray as $param)
fixTag($message, $param['tag'], $param['protocols'], $param['embeddedUrl'], $param['hasEqualSign'], !empty($param['hasExtra']));
[/code[
Title: Re: Streaming 3
Post by: Nitro on November 21, 2005, 11:32:54 AM
I GOT THE SAME PROBLEM!!!! goodness i am not the only one!!!

i would love to know the answer to this. THIS IS THE LAST ERROR I have in my powerforum. once this is done, NO MORE ERRORS!!!!

what's the TIP?

come on, don't give up, we know you can come up with an answer.

you ROCK!!


Quote from: beemer on November 21, 2005, 11:03:15 AM
Did 1948pal did you ever resolve this one or did it really kill you  ;D
http://www.simplemachines.org/community/index.php?topic=32951.msg364382#msg364382

As I have the same in my error log


8: Undefined index: protocols
File: ************\Forum\Sources\Subs-Post.php
Line: 375

Where line 375 is the fixTag($message   shown below


// Fix each type of tag.
foreach ($fixArray as $param)
fixTag($message, $param['tag'], $param['protocols'], $param['embeddedUrl'], $param['hasEqualSign'], !empty($param['hasExtra']));
[/code[

Title: Re: Streaming 3
Post by: beemer on November 22, 2005, 09:11:00 AM
Dont know enough about it but have managed to stop the error occuring in the log file.
Just to early to tell if it has any other "Knock On" effects yet


*testing on a local install*
Title: Re: Streaming 3
Post by: 1948Pal on November 25, 2005, 05:56:29 PM
Hi.
I am sorry but I still have not found why the undefined index error:protocols happens. Twice now I posted in general section of this board, trying to get some help from the experts, but its either no body knows, or simply I am just being ignored.
beemer, curious as if you actually found a solution? If so could you share?
I think it is the line for the "mms" protocol for the windows streaming is causing the errors, as if you take out the bit with "mms" the error goes away.
Title: Re: Streaming 3
Post by: Nitro on November 25, 2005, 06:05:10 PM
no we are still waiting for the you the master 1948Pal!

well, at least it's not messing up the forum because i see that error coming up in the error page and no one can see it.

however i have a little question. whenever i try to play only realmedia the code adds http://mypowerforum.com/ ??? i am not kidding you, it is SO WEIRD!!! the other format play just fine. so in order for me to play realmedia i have to just put in the code [real=300,300]/extras/real.ram[/real] that way it will ADD the path!!!

i have no idea WHY is that happening. .WMV and quick files are playing just fine, in fact, i have to add the full path.

do you have anyidea why it is adding the path automatically?
Title: Re: Streaming 3
Post by: 1948Pal on November 25, 2005, 06:29:36 PM
Nitro, I am afraid I dont exactly get what the code adds! Do you mean it wont add the bbc [real=300,300][/real] even if you click on the bbc button? Or am I misunderstanding?
Title: Re: Streaming 3
Post by: Nitro on November 25, 2005, 06:46:29 PM
sorry about that.
whenever i typed the path for a realmedia file, this is what happens:
if i type the full path that points to the realmedia file like this:
[real=300,300]http://mypowerforum.com/directory/file.ram[/real] and save it but when i click play i get a window with an error like this one:
http://mypowerforum//: http://mypowerforum/directory/file.ram saying cannot be found. AND when i click the "modify" to make changes then, this is what i see:

[real=300,300]:// http://mypowerforum.com/directory/file.ram[/real]

isn't that weird? and this happens ONLY for realmedia files. so this is what i have to do:
[real=300,300]/directory/file.ram[/real]

and everything goes fine.

any idea why is this?
Title: Re: Streaming 3
Post by: 1948Pal on November 27, 2005, 11:46:38 PM
OK, finally a new version is available(4.2.1a), also a small update package for those who have 4.2.1 installed, if you did not change the mod, the update should work and will bring your version up to 4.2.1a without having to uninstall the previous version.
There aren't any new features in this release except for a a little bigger streaming windows, it should however fix the undefined index errors, and and (hopefully) other strange behavior. Find it on The SMF MOD site (http://mods.simplemachines.org/index.php?mod=121)
I hope this works.
Title: Re: Streaming 3
Post by: jfigura on November 28, 2005, 11:36:45 AM
Please dont think me for a moron (of which I freely admit I try not to be), but I am a little lost. I have read thru every post on this board so I am beginning to think either I am a moron, or having one serious brainfart.

I have 1.1rc1, and 4.2.1a. Forum is fresh installation. I uploaded the zip file thru the packages section in SMF and everything "appeared" to install correctly.

However, there are no options to turn streaming on, anywhere, and no icons for the 3 additional tags.

is there something else I am supposed to modify? Is there a general guideline of FAQ somewhwere?

Thanks to whoever can help this bleeding fool get this mod working.

--Joe
Title: Re: Streaming 3
Post by: 1948Pal on November 28, 2005, 12:09:21 PM
Check to see if mod is enable in your admin panel; admin-features and options-layout and options. And for the icons:admin-forum-bulletin board code.
Hope this helps
Title: Re: Streaming 3
Post by: jfigura on November 28, 2005, 12:21:41 PM
No, none of the options are there, although it shows the mod being installed in the packages section.

I installed it like any other package, all files were writeable, I applied the mod and all appears fine, just no options to turn it on or off, no buttons, etc.
Title: Re: Streaming 3
Post by: Nitro on November 28, 2005, 02:07:06 PM
ok, you did a good job in getting rid off the protocols error, GREAT JOB!!! and i get no more strange http:// ... anyway!

now  :D ...
windows media files and quick files play just fine, BUT real files do not play at all. i had to install everything manually using the new Streaming_4[1][1].2.1a so i had to unistall the old one i had. but now i cannot play real files, i checked the path and everything is ok.

i got to tell you i have only one MOD installed and that is joomla bridge and that's it! i got no errors at all!!! miracle! but i cannot play realmedia files  :(

i get the feeling that the error is here:

this code should be added to the subs.php

'tag' => 'stream',
'type' => 'unparsed_commas_content',
'test' => '.+?,.+?]',
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT id="mediaPlayer" width="380" height="320" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" /><param name="fileName" value="$1" /><param name="animationatStart" value="true" /><param name="transparentatStart" value="true" /><param name="autoStart" value="false" /><param name="showControls" value="true" /><param name="loop" value="false" /></Object>' : '<OBJECT><EMBED type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" showcontrols="true" showtracker="-1" showdisplay="0" showstatusbar="-1" videoborder3d="-1" width="380" height="320" src="$1" autostart="false" /></EMBED></OBJECT>'
), 
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(
'tag' => 'real',
'type' => 'unparsed_commas_content',
'test' => '.+?,.+?]',
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT ID=RVOCX width="380" CLASSID="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" HEIGHT="320" />
<PARAM NAME="SRC" VALUE="file://F:\My%20Webs\mods\Streaming_4[1][1].2.1a\$1" ref /><PARAM NAME="CONTROLS" VALUE="ImageWindow,ControlPanel" />
<PARAM NAME="AUTOSTART" VALUE="0" />
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
</OBJECT><br />' : '<OBJECT ID=RVOCX CLASSID="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" WIDTH="380" HEIGHT="100" />
<param name="AUTOSTART" value="0">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
<EMBED height="320" width="380" controls="ImageWindow,ControlPanel" src="$1" type="audio/x-pn-realaudio-plugin" autostart="false" /></OBJECT>'
),
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(
'tag' => 'quick',
'type' => 'unparsed_commas_content',
'test' => '\d+?,\d+?]',
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="380" height="320" codebase="http://www.apple.com/qtactivex/qtplugin.cab" /><param name="src" value="$1" /><param name="autoplay" value="false" /><param name="controller" value="true" /><param name="loop" value="false" /><EMBED src="$1" width="380" height="320" autoplay="false" controller="true" loop="false" pluginspage="http://www.apple.com/quicktime/download/" /></EMBED></OBJECT>' : '<embed src="$1" type="video/quicktime" width="380" height="320" autoplay="false" controller="true" pluginspage="http://www.apple.com/quicktime/download/" />'
),
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(


i can see a big real window but that's it, i push the play button and it doesn't play.

now, please at least tell me you will research if you don't have the answer for now, please? so i am not wondering anything else. is that ok? thank you man, this is an AWESOME MOD and my members are REALLY enjoying the benefits of this useful tool!

thank you man!
Title: Re: Streaming 3
Post by: 1948Pal on November 28, 2005, 04:59:55 PM
Nitro,
Quote
array(
         'tag' => 'real',
         'type' => 'unparsed_commas_content',
         'test' => '.+?,.+?]',
         'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT ID=RVOCX width="380" CLASSID="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" HEIGHT="320" />
   <PARAM NAME="SRC" VALUE="file://F:\My%20Webs\mods\Streaming_4[1][1].2.1a\$1" ref /><PARAM NAME..........
The "src value=....etc" is incorrect.
Title: Re: Streaming 3
Post by: 1948Pal on November 28, 2005, 05:05:33 PM
Quote from: jfigura on November 28, 2005, 12:21:41 PM
No, none of the options are there, although it shows the mod being installed in the packages section.

I installed it like any other package, all files were writeable, I applied the mod and all appears fine, just no options to turn it on or off, no buttons, etc.
Can you manually checl the files this mod modifies and see if the code from the mod is actually inserted?
Title: Re: Streaming 3
Post by: Nitro on November 28, 2005, 05:16:37 PM
Quote from: 1948Pal on November 28, 2005, 04:59:55 PM
Nitro,
Quote
array(
         'tag' => 'real',
         'type' => 'unparsed_commas_content',
         'test' => '.+?,.+?]',
         'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT ID=RVOCX width="380" CLASSID="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" HEIGHT="320" />
   <PARAM NAME="SRC" VALUE="file://F:\My%20Webs\mods\Streaming_4[1][1].2.1a\$1" ref /><PARAM NAME..........
The "src value=....etc" is incorrect.

oh i see, so what i am i supposed to put there? i copied this one just exactly from the mod file.
so, am i supposed to type something there?
thank you for taking the time in looking into this error.
Title: Re: Streaming 3
Post by: beemer on November 28, 2005, 06:45:47 PM
Quote from: Nitro on November 28, 2005, 05:16:37 PM
Quote from: 1948Pal on November 28, 2005, 04:59:55 PM
Nitro,
Quote
array(
         'tag' => 'real',
         'type' => 'unparsed_commas_content',
         'test' => '.+?,.+?]',
         'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT ID=RVOCX width="380" CLASSID="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" HEIGHT="320" />
   <PARAM NAME="SRC" VALUE="file://F:\My%20Webs\mods\Streaming_4[1][1].2.1a\$1" ref /><PARAM NAME..........
The "src value=....etc" is incorrect.

oh i see, so what i am i supposed to put there? i copied this one just exactly from the mod file.
so, am i supposed to type something there?
thank you for taking the time in looking into this error.

Go over your edits again I cannot see the code you have in your subs in the mod file nor in my subs
Title: Re: Streaming 3
Post by: Nitro on November 28, 2005, 06:56:56 PM
well, i looked again and it looks exactly like this:

'tag' => 'stream',
'type' => 'unparsed_commas_content',
'test' => '.+?,.+?]',
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT id="mediaPlayer" width="380" height="320" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" /><param name="fileName" value="$1" /><param name="animationatStart" value="true" /><param name="transparentatStart" value="true" /><param name="autoStart" value="false" /><param name="showControls" value="true" /><param name="loop" value="false" /></Object>' : '<OBJECT><EMBED type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" showcontrols="true" showtracker="-1" showdisplay="0" showstatusbar="-1" videoborder3d="-1" width="380" height="320" src="$1" autostart="false" /></EMBED></OBJECT>'
), 
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(
'tag' => 'real',
'type' => 'unparsed_commas_content',
'test' => '.+?,.+?]',
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT ID=RVOCX width="380" CLASSID="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" HEIGHT="320" />
<PARAM NAME="SRC" VALUE="file://F:\My%20Webs\mods\Streaming_4[1][1].2.1a\$1" ref /><PARAM NAME="CONTROLS" VALUE="ImageWindow,ControlPanel" />
<PARAM NAME="AUTOSTART" VALUE="0" />
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
</OBJECT><br />' : '<OBJECT ID=RVOCX CLASSID="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" WIDTH="380" HEIGHT="100" />
<param name="AUTOSTART" value="0">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
<EMBED height="320" width="380" controls="ImageWindow,ControlPanel" src="$1" type="audio/x-pn-realaudio-plugin" autostart="false" /></OBJECT>'
),
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(
'tag' => 'quick',
'type' => 'unparsed_commas_content',
'test' => '\d+?,\d+?]',
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="380" height="320" codebase="http://www.apple.com/qtactivex/qtplugin.cab" /><param name="src" value="$1" /><param name="autoplay" value="false" /><param name="controller" value="true" /><param name="loop" value="false" /><EMBED src="$1" width="380" height="320" autoplay="false" controller="true" loop="false" pluginspage="http://www.apple.com/quicktime/download/" /></EMBED></OBJECT>' : '<embed src="$1" type="video/quicktime" width="380" height="320" autoplay="false" controller="true" pluginspage="http://www.apple.com/quicktime/download/" />'
),
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),
array(


i don't see any difference. i thought i was typing myself the ...
PARAM NAME="SRC" VALUE="file://F:\My%20Webs\mods\Streaming_4[1][1].2.1a\$1...
but i am not, it looks exactly like in the original mod file BEFORE being installed and after installed looks the same. i wonder why is that code there? can u check to see if you also have it? i have downloaded again the same file and it is there!

i think i am going to have to go back to previous version, the only thing is if i do, i will keep having an error on protocols and this new version doesn't give that error, although realplayer is not working.
Title: Re: Streaming 3
Post by: Nitro on November 28, 2005, 07:06:20 PM
Guys!!! i found out what the error was. for some STRANGE reason frontpage was adding all that extra code!!! i don't understand why? i didn't realize that but when i opened up the file using dreamweaver Mx EVERYTHING was OK!!!! WOW!!!
so i get no more errors!!!!

YES!!!!!!

i appreciate your time guys and i am sorry about that.
Title: Re: Streaming 3
Post by: 1948Pal on November 28, 2005, 07:08:40 PM
Alright. Sounds good to me.
Title: Re: Streaming 3
Post by: Chan Kong-sang on November 29, 2005, 11:04:51 AM
Hello,
i got a little request for this superb mod.

I own and run a helix server (professional streaming server from real) and i thought to use the rtsp protocoll to stream the files but i can't because this mod is adding http:// to any link. Is it possible (for me) to disable that?

Backround informations:
streaming mod version 4.2 and smf 1.0.5 (couldn't get other configurations to work).

"Streaming from a Helix Server is the best choice because it is designed specifically to stream media; it can adapt to congestion on the Internet and gives the best user experience."
With rtsp the server detects the users connection speed and provides the best quality for the user. Also you can stream any media type that is made for streaming (mp3, rm, wmv, quicktime, ...)

As you can see to disable (maybe as option in the admin panel) the http adding would be a step towards a more professional streaming solution.

Thank you very much!
Title: Re: Streaming 3
Post by: Nitro on November 29, 2005, 11:21:06 AM
i'd like to know the answer of that, because i was going to get a heli... whatever and i couldn't because of that same problem so i am streaming from my own server, still is good but i wouldn't mind moving my movies and audio into one of these.
Title: Re: Streaming 3
Post by: jfigura on November 29, 2005, 11:51:22 AM
Does anyone have any ideas about my problem? I sure could use some help.

Thanks in advance.

--Joe
Title: Re: Streaming 3
Post by: Nitro on November 29, 2005, 12:08:30 PM
did you go to -features and options ---> Layout and Options and made sure there are three options there. if they are not there, my best recommendation is to unpack the MOD file, and follow the installation MOD and see if all the code has been actually insterted in the files needed.
PM me if you want to, i can just check if to see if the actuall changes are inserted.
Title: Re: Streaming 3
Post by: 1948Pal on November 29, 2005, 06:01:20 PM
Quote from: jfigura on November 29, 2005, 11:51:22 AM
Does anyone have any ideas about my problem? I sure could use some help.

Thanks in advance.

--Joe
Are you sure all the installation steps went without errors? Can you manually confirm all the code was inserted where it should?
Title: Re: Streaming 3
Post by: 1948Pal on November 29, 2005, 06:11:36 PM
Quote from: Chan Kong-sang on November 29, 2005, 11:04:51 AM
Hello,
i got a little request for this superb mod.

I own and run a helix server (professional streaming server from real) and i thought to use the rtsp protocoll to stream the files but i can't because this mod is adding http:// to any link. Is it possible (for me) to disable that?

Backround informations:
streaming mod version 4.2 and smf 1.0.5 (couldn't get other configurations to work).

"Streaming from a Helix Server is the best choice because it is designed specifically to stream media; it can adapt to congestion on the Internet and gives the best user experience."
With rtsp the server detects the users connection speed and provides the best quality for the user. Also you can stream any media type that is made for streaming (mp3, rm, wmv, quicktime, ...)

As you can see to disable (maybe as option in the admin panel) the http adding would be a step towards a more professional streaming solution.

Thank you very much!
Wow, good stuff. I'll definitely look into it. Can you give me a link to a media file that uses rtsp so I can test it with the code?
Thanks
Title: Re: Streaming 3
Post by: Chan Kong-sang on November 30, 2005, 10:27:16 AM
rtsp://files.dahomenet.com:554/real9video.rm

You need to test it from 4PM to 8PM (GMT+1, middle europe) because i'm testing the helix server at my home as first and that's the times i'm online.


*edit*
At the weekends i'm alot longer online, maybe you want to test it than. The helix server is running whenever my computer starts.
Title: Re: Streaming 3
Post by: leewan on December 04, 2005, 02:56:45 AM
don't work :(

--link removed by admin--

[stream=380,320]--link removed by admin--[/stream]
Title: Re: Streaming 3
Post by: Chan Kong-sang on December 04, 2005, 12:18:19 PM
You know you are posting pron with that link?
Title: Re: Streaming 3
Post by: 1948Pal on December 06, 2005, 01:58:43 PM
OK. Sorry for the slight delay. This was easier than I thought it would be. A new update to support RTSP is on SMF MOD site (http://mods.simplemachines.org/index.php?mod=121) in the form of a small package.
Let me know if that works.
Title: Re: Streaming 3
Post by: Nitro on December 06, 2005, 02:34:36 PM
i have to say this MOD really KICKS!
Title: Re: Streaming 3
Post by: mrandall131 on December 07, 2005, 05:37:15 AM
Just installed 4.2.1a and so far, there is no errors!!  Awsome, hope it stays that way.  BTW, this mod is awsome!   Do I / should I still install the update patch?
Title: Re: Streaming 3
Post by: Chan Kong-sang on December 07, 2005, 03:10:14 PM
Thank you for the update. But! I need an update for 4.2 and smf 1.0.5. That's what i'm running. I couldn't get other configurations to work... If i try to install anything above 4.2 it says:
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

For your efforts: Thank you, again.

*edit*
Ok, i've installed smf 1.1 RC1. Now i tried to install streamer 4.2 (not compatible), 4.2.1, 4.2.1a and on the last i get:
   Execute Modification     stream-4.2.1a.mod     Modification parse error
Like said i only can get smf 1.0.5 and streamer 4.2 to work.

I still request an rtsp update for 4.2.
Title: Re: Streaming 3
Post by: Bigguy on December 07, 2005, 03:38:08 PM
Do you have faster parse code installed ??? I had to uninstall that mod for this one to work.
Title: Re: Streaming 3
Post by: nengrong on December 07, 2005, 10:05:12 PM
Just installed it, works great, but I have a question.

If I play video, everything is ok. Of I play audio, even I reduced the height of player to a small number, when the audio begins to play, the black screen for video always come out, look ugly.

Is there a way to show only the control area of the player when playing audio? Really don't like that black block.

Thanks.
Title: Re: Streaming 3
Post by: 1948Pal on December 07, 2005, 11:30:11 PM
mrandall131, if you installed 4.2.1a, then thre is no need for the 421a update, however if you want the ability to rtsp in real player then you should download the rtsp_update, otherwise no need for updating.

Chan Kong-sang, sorry about that. A new update for version 4.2 for SMF 1.0.5 is now available on the SMF mod site (http://mods.simplemachines.org/index.php?mod=121). Try that.

mengrong, although this mode plays audio, its primary function is for video. I am aware of this and sorry for that.
This perhaps will be for a future update.
Title: Re: Streaming 3
Post by: nengrong on December 08, 2005, 09:06:30 AM
Quote from: 1948Pal on December 07, 2005, 11:30:11 PM
mengrong, although this mode plays audio, its primary function is for video. I am aware of this and sorry for that.
This perhaps will be for a future update.

Thanks lot for the reply.

THis streaming should be very basic, common and also popular mod. It is available form the beginning for phpbb, vb.....

WHy for SMF looks like this mod come so late and unmatured? Looks like people ever waited it for long time? (BTW, I am a newbie for SMF, just transferred from VBulletin to SMF, due to SMF's simpleness ;D)
Title: Re: Streaming 3
Post by: diane_tt on December 16, 2005, 01:36:42 AM
help please. using smf 1.0.5 and  Streaming 4.2 version....everything except subs will not work so i haven't proceeded it in installing it. much help would be greatly appreciated. thank you.


Install Actions for archive streaming_411.2.zip:
Installing this package will perform the following actions:  Type Action Description
1. Extract File Themes/default/images/bbc/stream.gif 
2. Extract File Themes/default/images/bbc/real.gif 
3. Extract File Themes/default/images/bbc/quick.gif 
4. Execute Modification Themes/default/languages/Modifications.english.php Success
5. Execute Modification Themes/default/languages/Help.english.php Success
6. Execute Modification Sources/Printpage.php Success
7. Execute Modification Themes/default/Post.template.php Success
8. Execute Modification Sources/Subs-Post.php Success
9. Execute Modification Sources/Subs.php Failure  
10. Execute Modification Sources/ModSettings.php Success

Title: Re: Streaming 3
Post by: RoarinRow on December 24, 2005, 01:05:50 AM
Quote from: Nitro on December 06, 2005, 02:34:36 PM
i have to say this MOD really KICKS!

I'd have to agree.  Very cool!   8)  Installed it on my test smf 1.0.5 forum.
Title: Re: Streaming 3
Post by: RoarinRow on December 24, 2005, 11:40:52 AM
Has anyone re-installed faster parse code after this streaming mod?  Any negative impact or workaround?
Title: Re: Streaming 3
Post by: RoarinRow on December 24, 2005, 11:56:22 AM
Last question, has anyone noticed any overall forum slowness when users are watching a video or playing audio?
Title: Re: Streaming 3
Post by: RoarinRow on December 24, 2005, 01:06:47 PM
Quote from: RoarinRow on December 24, 2005, 11:56:22 AM
Last question, has anyone noticed any overall forum slowness when users are watching a video or playing audio?

I found the answer in the earlier pages.  It will slow things down if the file is on your server.  If the link is on another server, then no.
Title: Re: Streaming 3
Post by: geo on January 02, 2006, 07:40:13 AM
are you working on a version compatible with 1.1 rc 2?

QuoteApply Mod
Please remember to always make regular backups of your sources and database before installing mods, especially beta versions. 


!!Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Installation Readme
This is an update to version 4.2, it adds support for
mms protocol for windows media, and rtsp for real media. Also increased
the size of the media players slightly. Updated 12/7/05



Install Actions
Installations actions for "Streaming 4.2_update":
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/Subs-Post.php Test failed
2. Execute Modification ./Sources/Subs.php Test failed

Title: Re: Streaming 3
Post by: 1948Pal on January 02, 2006, 06:34:00 PM
New release compatible with 1.1 RC2 is now available.
Go to ==admin-features and options-layout and options tab to disable or enable, right after the who's online list feature.
Title: Re: Streaming 3
Post by: Bigguy on January 02, 2006, 06:44:52 PM
Just installed it on my personal server and it works like a charm, thanks for this. Not one error when installing.
Title: Re: Streaming 3
Post by: beemer on January 02, 2006, 06:54:41 PM
Ditto above

Very quick work  :D and Thanx
Title: Re: Streaming 3
Post by: geo on January 03, 2006, 06:26:59 AM
Quote from: 1948Pal on January 02, 2006, 06:34:00 PM
New release compatible with 1.1 RC2 is now available.
Go to ==admin-features and options-layout and options tab to disable or enable, right after the who's online list feature.
thanks for a quick reply and a quick fix.
Title: Re: Streaming 3
Post by: jfigura on February 23, 2006, 09:47:16 AM
I had this workign very well under RC1 and a Theme called "Black Day". When RC2 came out, I decided to make some changes to my board and installed a different Theme - "Sitra" which has the ability for the user to change to different color themes.

Since upgrading to RC2 and the new theme, I cannot get this installer to work again. It appears to install, but I never get the options to turn the streaming stuff on in layouts and Settings.

Can anyone offer any insight as to where to start troubleshooting?

Thanks.

-_Joe
Title: Re: Streaming 3
Post by: beemer on February 24, 2006, 04:44:35 AM
Not familiar with Sitra is it an RC2 compliant theme?


The options to enable streaming have moved i think in RC2

They can be found by forum CP > Features & Options > Layout & Options & scroll to the bottom of the page  ;)
Title: Using streaming in classic theme?
Post by: Orkin on February 25, 2006, 06:16:06 PM
SMF Version: SMF 1.1 RC2
Well, i just got my boards set up and I used the classic theme cos I liked it better, but I wanted to be able to use the video streaming feature, so I installed it and found that it only worked on the default theme, not the classic one, is there any way around this?

Thanks in advance,

Orkin
Title: Re: Using streaming in classic theme?
Post by: Orkin on February 26, 2006, 04:29:51 AM
*bump*

Im using the Streaming 3 package.
Title: Re: Streaming 3
Post by: 1948Pal on February 26, 2006, 04:49:57 PM
By default, this mod works on the default theme, if you're using a different theme, there are 3 files in your theme folder that you need to modify for the mod to work:
1- $themedir/languages/Modifications.english.php
2- $themedir/languages/Help.english.php
3- $themedir/Post.template.php

You can unzip the mod into you local machine, modify the .mod file to match your theme folder, re-zip it and install it via the packager, or manually edit these 3 files in your theme folder according to the mod file.
I hope that helps.
Title: Re: Streaming 3
Post by: Orkin on March 06, 2006, 01:03:53 PM
Cheers mate, works great now.
Title: Re: Streaming 3
Post by: spiritbreaker on March 07, 2006, 11:30:09 PM

is it already handle encripted attachments?
i have a forum can attach wma format, and the attachments are always encripted.
how can i use this mod with my attachments?

thank  :)
Title: Re: Streaming 3
Post by: Bigguy on March 13, 2006, 02:02:31 AM
Does the streaming mod work with joomla 1.0.8 ??? I have just recently install joomla and when you post a stream all it displays is the link. Any help is greatly appreciated.
Title: Re: Streaming 3
Post by: Bigguy on March 14, 2006, 07:46:08 PM
I have noticed that after installing joomla all the modifications that I installed into smf have been turned off. I turned the embed streaming into posts back on and it works. Sorry for any confusion.
Title: Re: Streaming 3
Post by: Bigguy on March 15, 2006, 11:44:35 AM
Any help at all ???
Title: Re: Streaming 3
Post by: 1948Pal on March 15, 2006, 09:29:02 PM
Sorry Bigguy, I don't know anything about joomla :(  But I am confused now, first you say ALL modifications are turned off then you say you turned the streaming on and now it works, but then you still looking for help. I am not sure what can I do to help. 
All I can say is I will have to get joomla installed on my server, then learn it, but until then I am afraid I am at a loss. Really sorry.
Title: Re: Streaming 3
Post by: Bigguy on March 15, 2006, 10:08:05 PM
LOL, I must have posted that "Any help at all ??? " in the wrong thread. Sorry bout that. The only thing I am having problems with is the membermap from google and the arcade.

When installing jooml it did turn off the streaming for some reason. I just turned it back on and it worked.
Title: Re: Streaming 3
Post by: nauS on March 29, 2006, 06:23:43 PM
Does this work with 1.0.6?
Title: Re: Streaming 3
Post by: HAGEN Bjorn erik on March 31, 2006, 05:00:46 AM
Hello, im new in this SMF and mods world.

Im trying uninstall this mod, because i cant get it to work.

I have installd SMF1.1 RC2 and Tinyportal. And im on a theme called Epsilon TP.

these 3 files is not present in the theme folder...

1. Execute Modification ./Themes/default/languages/Modifications.english.php Test failed
2. Execute Modification ./Themes/default/languages/Help.english.php Test failed
3. Execute Modification ./Themes/default/Post.template.php Test failed

So what should i do? ... I really want the mod to work, but it seems to much work..or?



Uninstall Actions
Uninstall Actions "Streaming 4.2.1b":
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test failed
2. Execute Modification ./Themes/default/languages/Help.english.php Test failed
3. Execute Modification ./Themes/default/Post.template.php Test failed
4. Execute Modification ./Sources/Subs-Post.php Test failed
5. Execute Modification ./Sources/Subs.php Test failed
6. Execute Modification ./Sources/ModSettings.php Test failed
7. Execute Modification ./Sources/ManagePosts.php Test failed

When i installed i got no errors, the errors came when i tryed to uninstall.

Strange..

Help?  :o


Title: Re: Streaming 3
Post by: HAGEN Bjorn erik on April 02, 2006, 02:01:56 PM
Well, after manually installed and "upgrading" all files, and making some folders that did not excist in the theme folder i got it working..  8)

But, i keep getting a error..

8: Undefined index: tag
File: /home/1/s/spaniautleie-ner/nirc/newnirc/Sources/Subs.php
Line: 1674

this line in subs.php:
      $bbc_codes[substr($c['tag'], 0, 1)][] = $c;

any ideas?
Title: Re: Streaming 3
Post by: Bronwyn Mawr on April 03, 2006, 02:50:49 PM
Quote from: 1948Pal on February 26, 2006, 04:49:57 PM
By default, this mod works on the default theme, if you're using a different theme, there are 3 files in your theme folder that you need to modify for the mod to work:
1- $themedir/languages/Modifications.english.php
2- $themedir/languages/Help.english.php
3- $themedir/Post.template.php

You can unzip the mod into you local machine, modify the .mod file to match your theme folder, re-zip it and install it via the packager, or manually edit these 3 files in your theme folder according to the mod file.
I hope that helps.


What are the mods needed on these files?  Can they just be copied into your Classic theme folder?

TIA
Title: Re: Streaming 3
Post by: HAGEN Bjorn erik on April 03, 2006, 02:56:32 PM
Quote from: Bronwyn Mawr on April 03, 2006, 02:50:49 PM
Quote from: 1948Pal on February 26, 2006, 04:49:57 PM
By default, this mod works on the default theme, if you're using a different theme, there are 3 files in your theme folder that you need to modify for the mod to work:
1- $themedir/languages/Modifications.english.php
2- $themedir/languages/Help.english.php
3- $themedir/Post.template.php

You can unzip the mod into you local machine, modify the .mod file to match your theme folder, re-zip it and install it via the packager, or manually edit these 3 files in your theme folder according to the mod file.
I hope that helps.


What are the mods needed on these files?  Can they just be copied into your Classic theme folder?

TIA

If you are installing the streamin mod and you are using the default theme. All the files and folders are there, but if you are using another theme;make that language folder and kopi the files into it.

The mod will not be able to install by package if you use default theme. You have to manually mod the files.

Hope this helps..

Title: Re: Streaming 3
Post by: Bronwyn Mawr on April 04, 2006, 12:02:39 PM
Cool! I got it to work fine.

I had another problem crop up that may or may not be related to Streaming3.

I can no longer attach any files at all...  I get a blank error pop up...

I have activated attachments
set max download to 5000KB
expanded the accepted files to include all music and video file extensions (although I cannot attach jpg, gif, txt, etc either)

This is the error from my log:
Applying Filter: Error message '8: Undefined index: attach\_lose
File: /vservers/melioris/htdocs/artgalleries/Themes/default/languages/Post.english.php (eval?)
Line: 451'

I have more on this posted here: http://www.simplemachines.org/community/index.php?topic=79745.msg533907#msg533907

Anyone have this issue when installing this mod?

Also, I had just upgraded from 1.0.7 to 1.1.rc2 in order to be able to use Streaming3

TIA
Title: Re: Streaming 3
Post by: Bronwyn Mawr on April 05, 2006, 08:12:41 PM
OK started all over...

I get an error when trying to attach a 3+MB movie file...  have max set to 5MB

An Error Has Occurred!
Your attachment couldn't be saved. This might happen because it took too long to upload or the file is bigger than the server will allow.

Please consult your server administrator for more information.  

Thougts?

Title: Re: Streaming 3
Post by: swampy on April 06, 2006, 03:59:38 PM
is anyone going to update this mod so it works with SMF 1.1 RC2 ?
Title: Re: Streaming 3
Post by: jfigura on April 06, 2006, 04:03:54 PM
It works just fine with 1.1RC2 and was updated awhile back.
Title: Re: Streaming 3
Post by: swampy on April 06, 2006, 04:13:47 PM
not for me, see below

============

Installations actions for "Streaming 4.2.1a":
Installing this package will perform the following actions:  Type Action Description
1. Extract File Themes/default/images/bbc/stream.gif 
2. Extract File Themes/default/images/bbc/real.gif 
3. Extract File Themes/default/images/bbc/quick.gif 
4. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
5. Execute Modification ./Themes/default/languages/Help.english.php Test successful
6. Execute Modification ./Themes/default/Post.template.php Test successful
7. Execute Modification ./Sources/Subs-Post.php Test successful
8. Execute Modification ./Sources/Subs.php Test successful
9. Execute Modification ./Sources/ModSettings.php Test failed
10. Execute Modification ./Sources/ManagePosts.php Test successful

Title: Re: Streaming 3
Post by: tracktrix on April 06, 2006, 04:17:15 PM
no problems installing this mod on my smf. only problem is that i can't see any icon for streaming (quicktime, real, wmv). all i can see are red "X". any inputs on this problem? thanks!
Title: Re: Streaming 3
Post by: jfigura on April 06, 2006, 04:53:55 PM
The fact that it failed does not mean it is not compatible with RC2. Suggest you check the permissions on the mod settings file. CHMOD it to 777 temporarily.
Title: Re: Streaming 3
Post by: jfigura on April 06, 2006, 04:55:17 PM
Quote from: tracktrix on April 06, 2006, 04:17:15 PM
no problems installing this mod on my smf. only problem is that i can't see any icon for streaming (quicktime, real, wmv). all i can see are red "X". any inputs on this problem? thanks!

Extract the icons out of the install pakcage and upload them to your *Theme*/Images/BBC folder
Title: Re: Streaming 3
Post by: jfigura on April 06, 2006, 05:39:51 PM
You mentioned you were using 4.2.1a... why dont you use the latest? 4.2.1b
Title: Re: Streaming 3
Post by: swampy on April 06, 2006, 06:35:27 PM
i'll give it a whirl
Title: Re: Streaming 3
Post by: tracktrix on April 06, 2006, 06:59:55 PM
Quote from: jfigura on April 06, 2006, 04:55:17 PM
Quote from: tracktrix on April 06, 2006, 04:17:15 PM
no problems installing this mod on my smf. only problem is that i can't see any icon for streaming (quicktime, real, wmv). all i can see are red "X". any inputs on this problem? thanks!

Extract the icons out of the install pakcage and upload them to your *Theme*/Images/BBC folder

wow that was it. thanks!
Title: Re: Streaming 3
Post by: swampy on April 06, 2006, 07:05:59 PM
that works, amazing what happens when you use the right mod......now I am off to slap myself silly!

much thanks
Title: Re: Streaming 3
Post by: Bill.Ramby on April 07, 2006, 09:23:27 AM
Question. I am having the "Subs.php" failure error. I went to uninstall fasterparsecode, but it too was going to fail on Subs.php. I don't want to uninstall every mod I have to get this one installed. Is there some way to manually do just the Subs.php?
Title: Re: Streaming 3
Post by: Bronwyn Mawr on April 08, 2006, 12:25:05 PM
Anyone ever have problems with modifying attachments, any attachment, after installing this mod?  I can post and modify as long as I do not attach a file.  Once a file is attached I can no longer modify the post or delete the attachment...

Help?
Title: Re: Streaming 3
Post by: djpaddystudio7 on April 26, 2006, 05:00:58 AM
mine is 1.1 rc2 update and still it shows on trying to install version 4.2.1b

"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

instead i tried applying 4.2.1a and atleast it showed

1.     Extract File     Themes/default/images/bbc/stream.gif     
2.    Extract File    Themes/default/images/bbc/real.gif    
3.    Extract File    Themes/default/images/bbc/quick.gif    
4.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Success
5.    Execute Modification    ./Themes/default/languages/Help.english.php    Success
6.    Execute Modification    ./Themes/default/Post.template.php    Success
7.    Execute Modification    ./Sources/Subs-Post.php    Failure
8.    Execute Modification    ./Sources/Subs.php    Failure
9.    Execute Modification    ./Sources/ModSettings.php    Success
10.    Execute Modification    ./Sources/ManagePosts.php    File not found


but it dosent do anything when i apply 4.2.1b

am i suppose to apply another previous version before adding 4.2.1b ???

Title: Re: Streaming 3
Post by: unrelenting on May 06, 2006, 10:35:15 AM
This mod is fantastic to say the least. It would be nice if it was a preinstalled feature of the next smf release.  ;)

I have a question. Is there any way to get the videos to start "stopped"? By this I mean, when the thread opens and the video loads I'd like it to be stopped and the viewer be required to push the play button to start it. I think the real files work this way but the stream files do not.

The problem I'm having is that when people hit quote and reply to is then there will be 2 of the video playing at the same time in the thread and I have to go in and edit out their posts. I don't want to have to lock the threads to avoid this. Also, it's annoying to have to listen to it while your typing a reply.

Is this even possible?

Thanks.


EDIT:

Alright, after further review, the problem is not with the mod. The problem is with my Firefox browser. When I test it with Internet Explorer it works fine. It seems as if Firefox ignores the Autostart=False tag in the code as well as the Loop=False.  :-\

Anyone else notice this or know of a fix?
Title: Re: Streaming 3
Post by: unrelenting on May 07, 2006, 10:36:55 AM
If any of you use the Helios Multi Theme by Bloc I have edited the posting buttons that came in this streaming pack to match the buttons in the Helios button pack. This way you get the nice hover over effect like the rest of the Helios buttons.

Just save these as stream.gif, real.gif and quick.gif (in that order) to your Themes/helios /images/bbc folder over the ones that are already there. If you'd like you can rename the existing ones instead of copying over them.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg376.imageshack.us%2Fimg376%2F5624%2Fstream2oy.gif&hash=81598a8d7ac9a406b13269134f20faab71d302c2) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg376.imageshack.us%2Fimg376%2F7756%2Freal8by.gif&hash=3eb0824f12a3beef036e50428f5884ad9b7346a7) (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg376.imageshack.us%2Fimg376%2F2272%2Fquick9iv.gif&hash=acc41288fd383bef7e76343b76af3040f98f58b1)



And I'm still looking for some help on my last post.  :-[
Title: Re: Streaming 3
Post by: 1948Pal on May 15, 2006, 10:13:44 AM
unrelenting, I am not sure why firefox ignores that. When I try it, it is fine. What version of SMF, the stream mod and firefox do you have? Also check this link out (http://forums.mozillazine.org/viewtopic.php?t=206216), you may find some good information there.
Title: Re: Streaming 3
Post by: unrelenting on May 16, 2006, 08:49:06 PM
Quote from: 1948Pal on May 15, 2006, 10:13:44 AM
unrelenting, I am not sure why firefox ignores that. When I try it, it is fine. What version of SMF, the stream mod and firefox do you have? Also check this link out (http://forums.mozillazine.org/viewtopic.php?t=206216), you may find some good information there.

I'm using 1.1 RC2, 4.2.1b and 1.5.

When you view a streaming video (say a .wmv), is it stopped when you first open the thread as it downloads in the background? That is what happens when I use IE. When I use Firefox it immediately starts buffering and then starts playing as it finishes downloading in the background.

Now when other people quote it in the reply it starts playing it two at once and so on. I see no reason that this shouldn't affect anyone that uses Firefox from the reading I have been doing on it. Even in that link it sort referenced a problem:

In addition, many websites use IE-only techniques (as opposed to standard code, which is supported by all browsers) to embed media.


Can anyone else confirm that their Firefox doesn't immediately start playing .wmv files that are streamed?  :-\
Title: Re: Streaming 3
Post by: unrelenting on May 17, 2006, 10:53:34 PM
I figured it out. Firefox doesn't like the autostart="false". It seems to work using autostart="0".

It's located twice (in red) in this line of code which is found in the Sources/Subs.php file. Just change the false to 0 and it should work.

Quotearray(
               'tag' => 'stream',
         'type' => 'unparsed_commas_content',
         'test' => '.+?,.+?]',
         'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT id="mediaPlayer" width="380" height="320" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" /><param name="fileName" value="$1" /><param name="animationatStart" value="true" /><param name="transparentatStart" value="true" /><param name="autoStart" value="false" /><param name="showControls" value="true" /><param name="loop" value="false" /></Object>' : '<OBJECT><EMBED type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="mediaPlayer" name="mediaPlayer" displaysize="4" autosize="-1" showcontrols="true" showtracker="-1" showdisplay="0" showstatusbar="-1" videoborder3d="-1" width="380" height="320" src="$1" autostart="false" /></EMBED></OBJECT>'
Title: Re: Streaming 3
Post by: MarkJ on May 19, 2006, 09:06:12 AM
Hi

Great mod this.  How do I get the windows media player to show the file being buffered?

Regards
Mark
Title: Re: Streaming 3
Post by: Gobo on May 27, 2006, 07:41:00 PM
hi

im getting a problem when i put the .rm extension

not .ram but .rm

i dont know much about media formats so is there a big difference between ram and rm ?

cos to my knowledge arent both real media formats?

oh yea the file in question is a video
Title: Re: Streaming 3
Post by: D0G on June 02, 2006, 06:35:15 AM
Hi everyone,

i would like to use this mod in my forum.
I have installed the following packages:

1.     Board Notes      1.0.4      [ List Files ]  [ Delete ]
2.    "New Topic/Poll" buttons in Display.template.php    1.1    [ Uninstall ] [ List Files ] [ Delete ]
3.    BBC edit tag    1.0    [ List Files ] [ Delete ]
4.    Enhanced Quick Reply    1.1RC2    [ Uninstall ] [ List Files ] [ Delete ]
5.    Gmail Field    1.1    [ Uninstall ] [ List Files ] [ Delete ]
6.    Lots_o_Smileys    1.0    [ Uninstall ] [ List Files ] [ Delete ]
7.    Display Number of Attachments    0.4.1    [ List Files ] [ Delete ]
8.    PagesToGo12    1.2    [ Uninstall ] [ List Files ] [ Delete ]
9.    PHP 4.4.0 Compatibility Update    1.0    [ List Files ] [ Delete ]
10.    Quick Menu    1.2    [ List Files ] [ Delete ]
11.    Topic Ratings    1.03    [ List Files ] [ Delete ]
12.    Skype Name Mod    1.0    [ Uninstall ] [ List Files ] [ Delete ]
13.    SMF-Mambo Mod    1.3.1b    [ Uninstall ] [ List Files ] [ Delete ]
14.    SMF 1.0.6 Update    1.0    [ List Files ] [ Delete ]
15.    MySQL 5.0.12 Compatibility Update    1.0    [ List Files ] [ Delete ]
16.    SMF 1.0.7 / 1.1 RC2 Update    1.0    [ Uninstall ] [ List Files ] [ Delete ]
17.    Spam-me-not    1.0.1    [ List Files ] [ Delete ]
18.    vWarn Mod    1.08    [ List Files ] [ Delete ]

but i can't get it working.
Anyone an idea of which version i should use?

i already tried the Streaming_4.2.1a.zip (6KB)
and the Streaming_4.2.1b.zip
but it still won't work.
When i try to post a movie  with the 4.2.1a i get the [code] tage in my post and the link of the movie... :-\ and i would like to get this working.
when i try to install the 4.2.1b i get
"Install Actions for archive Streaming_4.2.1b.zip:
The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
[/code]
Title: Re: Streaming 3
Post by: 1948Pal on June 29, 2006, 01:14:51 PM
This mod is back online now
Title: Re: Streaming 3
Post by: Bigguy on June 29, 2006, 03:04:57 PM
Just downloaded and installed. It went great. Is there going to be any support for google video or is there even away to do that ???
Title: Re: Streaming 3
Post by: K_4_kelly on July 01, 2006, 05:35:32 PM
hello.....

i installed it....
but it didnt work for me...
after i insert the link like this>>>> [stream=200,200]http://www30.testing.com/xxxWohexiangaita.wma[/stream]

it turn up with this>>> http://www30.testing.com/xxxWohexiangaita.wma

any idea??
thanks!

Title: Re: Streaming 3
Post by: Bigguy on July 01, 2006, 07:44:04 PM
If thats just a song then it worked fine for me in FF.
Title: Re: Streaming 3
Post by: unrelenting on July 02, 2006, 07:53:04 PM
Quote from: ukwalker on July 01, 2006, 05:35:32 PM
hello.....

i installed it....
but it didnt work for me...
after i insert the link like this>>>> [stream=200,200]http://www30.testing.com/xxxWohexiangaita.wma[/stream]

it turn up with this>>> http://www30.testing.com/xxxWohexiangaita.wma

any idea??
thanks!



Did you turn on streaming in the admin/features and options section?
Title: Re: Streaming 3
Post by: HRM on July 09, 2006, 07:13:11 AM
Quote from: ukwalker on July 01, 2006, 05:35:32 PM
hello.....

i installed it....
but it didnt work for me...
after i insert the link like this>>>> [stream=200,200]http://www30.testing.com/xxxWohexiangaita.wma[/stream]

it turn up with this>>> http://www30.testing.com/xxxWohexiangaita.wma

any idea??
thanks!



If you dont turn it on you get that link instead. Also nice, makes its stream straight in the meant player :)

BUT... what I wanted to say is: GREAT MOD!! Thanks for that.

For me it worked almost straight ahead only the resizing doesnt seem to work.


Title: Re: Streaming 3
Post by: goofy2feet on July 10, 2006, 09:41:12 AM
This mod has installed fine on my RC2 forum and audio files can be embedded into posts. The problem is the control bar does not re-size (in Firefox or Internet Explorer) according to the parameters given in the [quick=60,25]...[/quick] tags. Check here to see what I mean : http://language-global.com/lglbbs/index.php?topic=203.msg1217#msg1217

I need the control bar to be much smaller. Am I making some mistake here?
Title: Re: Streaming 3
Post by: Stuart on July 10, 2006, 11:02:28 AM
This is really cool, thanks. I made them slightly smaller (width="550" height="425") and it works great  :D
Title: Re: Streaming 3
Post by: HRM on July 10, 2006, 02:24:15 PM
Quote from: goofy2feet on July 10, 2006, 09:41:12 AM
This mod has installed fine on my RC2 forum and audio files can be embedded into posts. The problem is the control bar does not re-size (in Firefox or Internet Explorer) according to the parameters given in the [quick=60,25]...[/quick] tags. Check here to see what I mean : http://language-global.com/lglbbs/index.php?topic=203.msg1217#msg1217

I need the control bar to be much smaller. Am I making some mistake here?


It works great but only the resiszing wasnt working on the forum and if I changed something in subs.php my forum wouldn't appear anymore.

But now it works after having added the double "  instead of the single ' before and after the <object id= thingy..  ( For width and height added \"$1\" and \"$2\" instead of fixed values.)


So it was:
'<object id=\"wmp\" classid=\"CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95\" codebase=\"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0\" standby=\"Loading Microsoft Windows Media Player components...\" type=\"application/x-oleobject\"><param name=\"FileName\" value=\\3 width="625" height="425"><param name=\"ShowControls\" value=\"1\"><param name=\"ShowDisplay\" value=\"0\"><param name=\"ShowStatusBar\" value=\"1\"><param name=\"AutoSize\" value=\"1\"><param name=\"AutoStart\" value=\"0\">
<embed type=\"application/x-mplayer2\" pluginspage=\"http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeatured/mediaplayer/default.asp\" src=\\3 name=MediaPlayer2 showcontrols=1 showdisplay=0 showstatusbar=1 autosize=1 visible=0 autostart=0 animationatstart=0 transparentatstart=1 loop=0 width="625" height="425"></embed></object>';



And changed into:
"<object id=\"wmp\" classid=\"CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95\" codebase=\"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0\" standby=\"Loading Microsoft Windows Media Player components...\" type=\"application/x-oleobject\"><param name=\"FileName\" value=\\3 width=\"$1\" height=\"$2\"><param name=\"ShowControls\" value=\"1\"><param name=\"ShowDisplay\" value=\"0\"><param name=\"ShowStatusBar\" value=\"1\"><param name=\"AutoSize\" value=\"1\"><param name=\"AutoStart\" value=\"0\"><embed type=\"application/x-mplayer2\" pluginspage=\"http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeatured/mediaplayer/default.asp\" src=\\3 name=MediaPlayer2 showcontrols=1 showdisplay=0 showstatusbar=1 autosize=1 visible=0 autostart=0 animationatstart=0 transparentatstart=1 loop=0 width=\"$1\" height=\"$2\"></embed></object>"


I talking about the WMV/stream section as thats what I use on my forum (http://www.muziek4um.nl/forum/index.php?board=11.0) most.

Maybe this is of help to someone using this great mod. :)

Cheers!
Ed
Title: Re: Streaming 3
Post by: goofy2feet on July 10, 2006, 10:39:59 PM
So I need to edit the subs.php file in the same way, and the re-sizing will work? I don't use streaming video on my site, only small audio files. The bit I need to change is still the same?
Title: Re: Streaming 3
Post by: 1948Pal on July 10, 2006, 11:04:15 PM
Hi all. Sorry for the few replies, very little time lately.
Although this mod is primarily for video viewing, it will work with audio, but as you may have noticed the big window. I am working on a version for audio only, i.e. without the big display windows, not sure if it will be a separate mod or somehow included within this mod. Also thanks HRM for the resizing note, I'll see if I should include that as well.
Meanwhile, if you can't wait, for audio only, just edit the subs.php, find the bit for the player you want; stream, real or quick, and just make your width and height just big enough for the control bar. And for the resizing, I haven't tested it yet, but HRM's tip makes sense, so I would give it a try.
Title: Re: Streaming 3
Post by: goofy2feet on July 10, 2006, 11:20:50 PM
I don't mind waiting a while for a version focussed on audio. I tried editing the real and quick parts in Subs.php, just changing the height and width parameters (and nothing else), but when I uploaded the new Subs.php file I got this error:

Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/bdbtjap/public_html/lglbbs/Sources/Subs.php on line 3469

I don't understand this because I didn't change any quotes or anything, just the numbers inside the quotes.

I don't really like fiddling with other people's code as my php knowledge is fairly elementary, so I'm a bit reluctant to try HRM's idea.
Title: Re: Streaming 3
Post by: 1948Pal on July 10, 2006, 11:30:16 PM
Alright, maybe this weekend I'll come up with something.
Title: Re: Streaming 3
Post by: HRM on July 11, 2006, 03:17:51 PM
Quote from: goofy2feet on July 10, 2006, 10:39:59 PM
So I need to edit the subs.php file in the same way, and the re-sizing will work? I don't use streaming video on my site, only small audio files. The bit I need to change is still the same?

Guess the same counts for the audioplayer, as its the same as plays the video :) Just try it after having made a bckup of your working file.


Quote from: goofy2feet on July 10, 2006, 11:20:50 PM

Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/bdbtjap/public_html/lglbbs/Sources/Subs.php on line 3469

I don't understand this because I didn't change any quotes or anything, just the numbers inside the quotes.

I don't really like fiddling with other people's code as my php knowledge is fairly elementary, so I'm a bit reluctant to try HRM's idea.
I got the same error before the little edit. So dont be afraid.
Your not really touching the nice code of 1948pal in a big way.
And if it doesn't work for you you can just put back the original.
I only tried it for the Windows Media Player


Quote from: 1948Pal on July 10, 2006, 11:04:15 PM
Hi all. Sorry for the few replies, very little time lately.
No problem 1948pal.. I always thougth that was this forum all about. One throws in a good idea and the rest jumps in to make it better and better if necessary :) You already did a great job and from that on we can work.;) And I know time can be be a luxury thing.

Cheers...
Ed.
Title: Re: Streaming 3
Post by: HRM on July 11, 2006, 04:43:09 PM
The complete code with for fixed values (in windows media) works for me like:

$codetocache[] = "<object id=\"wmp\" classid=\"CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95\" codebase=\"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0\" standby=\"Loading Microsoft Windows Media Player components...\" type=\"application/x-oleobject\"><param name=\"FileName\" value=\\3 width=\"400\" height=\"320\"><param name=\"ShowControls\" value=\"1\"><param name=\"ShowDisplay\" value=\"0\"><param name=\"ShowStatusBar\" value=\"1\"><param name=\"AutoSize\" value=\"1\"><param name=\"AutoStart\" value=\"0\"><embed type=\"application/x-mplayer2\" pluginspage=\"http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeatured/mediaplayer/default.asp\" src=\\3 name=MediaPlayer2 showcontrols=1 showdisplay=0 showstatusbar=1 autosize=1 visible=0 autostart=0 animationatstart=0 transparentatstart=1 loop=0 width=\"400\" height=\"320\"></embed></object>"
Title: Re: Streaming 3
Post by: bugsmi0 on July 13, 2006, 05:18:31 PM
can this also work if the file is .mpg ?
Title: Re: Streaming 3
Post by: Bigguy on July 13, 2006, 05:29:54 PM
It works with .mpg, .avi, and .mov I do believe.
Title: Re: Streaming 3
Post by: HRM on July 14, 2006, 03:12:03 PM
I guess the stream will work with mpg as it uses the windows media player plugin but beside that I didn't knew Mpg could stream MPG is pretty large so why use that format to stream with?

Send me a link from a streaming MPG and I will check it out on my fourm :)
Title: Re: Streaming 3
Post by: goofy2feet on July 18, 2006, 11:05:36 PM
Can anyone offer a fix for audio files that will work with Quicktime so that the control bar is re-sizable?
HRM's earlier suggestion (changing ' to " around the object tags and using $1 and $2 for width and height) didn't work for me - I just got an error message. Of course, it could just be me doing something wrong, but I tried it a couple of times being very careful not to make typos etc..
Title: Re: Streaming 3
Post by: 1948Pal on July 18, 2006, 11:26:48 PM
Hi. I am done with a new version that will have the resizing in it where you'll just have to use [stream=x,y]blah blah[/stream] where x is your width which can be any number and y is the height. For audio only, just use any width and for height use 40 or 60, depends on how much info you want to show.
Also I am adding support for Google video. Now I just need to test the package and will release as soon as possible.
Title: Re: Streaming 3
Post by: goofy2feet on July 18, 2006, 11:39:47 PM
That's really great news 1948pal - thanks very much for your work...
Title: Re: Streaming 3
Post by: Bigguy on July 19, 2006, 01:47:11 AM
That sounds like some awesome improvements. I can`t wait to download it and try it out.

Quote from: 1948Pal on July 18, 2006, 11:26:48 PM
Hi. I am done with a new version that will have the resizing in it where you'll just have to use [stream=x,y]blah blah[/stream] where x is your width which can be any number and y is the height. For audio only, just use any width and for height use 40 or 60, depends on how much info you want to show.
Also I am adding support for Google video. Now I just need to test the package and will release as soon as possible.
Title: Re: Streaming 3
Post by: 1948Pal on July 19, 2006, 11:16:46 PM
Ok, new version added that supports Google video in the same fashion as the previous streams, only with Google video all you need is put the "docid" between the tags like so [gv=width,height]01234567890123[/gv] and you'll have an embedded Google video. The video must have permissions to be embedded, otherwise it won't play. Also now you can actualy resize any player window by changing the values in the [tag=x,y]. I am working on changing the graphic for the tag, so I'd appreciate it if anyone has a idea, or one that is made already. Thanks

[edit]
Edited the first post to reflect this change.
Please test this first on a test board, if one is available, and backup the files first.
You should uninstall any previous versions. This is compatible with SMF 107, 1.1RC1 and 1.1RC2 only. It should however still work under 104 105 and 106
[/edit]
Title: Re: Streaming 3
Post by: Bigguy on July 20, 2006, 12:27:40 AM
Very awesome, works like a charm. Thank you for all your hard work, this is great.
Title: Re: Streaming 3
Post by: ArkServer on July 20, 2006, 11:58:41 AM
How come when i enable the stream/real media files the boxes ticks off automaticly after a few days  by itself?
Title: Re: Streaming 3
Post by: perplexed on July 20, 2006, 02:42:55 PM
I had this 4.2.1b mod installed and working perfectly, then I had to restore my forum and reinstall all my mods earlier this week and...

This mod 4.2.1b installed successfully  BUT it doesnt seem to be working (or even there?)!

1.  there is nothing in features/options > layout when there was 3 options there previously
2.  any of the real/stream/quick items that we already had in posts are just showing like this:
[stream=380,320]http://downloads.veryfunnydownloads.com/downloads/videos1/stagpartyfamilyguy.wmv [/stream] instead of displaying the viewer with play buttons, and cant be played
3. in quick reply (I have enhanced quick reply for streaming) the 3 buttons are there, but in post preview they are missing, and they dont seem to be working

4. I am getting 100s of these in the error log:

8: Undefined index: quick
File: /home/me/public_html/forum/Themes/default/languages/Post.english.php (main sub template - eval?)
Line: 933
   
8: Undefined index: real
File: /home/me/public_html/forum/Themes/default/languages/Post.english.php (main sub template - eval?)
Line: 932
   
8: Undefined index: stream
File: /home/me/public_html/forum/Themes/default/languages/Post.english.php (main sub template - eval?)
Line: 931

5.  I tried to uninstall this mod but all the actions were 'failed' :

Uninstall Actions "Streaming 4.2.1b":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test failed
2.    Execute Modification    ./Themes/default/languages/Help.english.php    Test failed
3.    Execute Modification    ./Themes/default/Post.template.php    Test failed
4.    Execute Modification    ./Sources/Subs-Post.php    Test failed
5.    Execute Modification    ./Sources/Subs.php    Test failed
6.    Execute Modification    ./Sources/ModSettings.php    Test failed
7.    Execute Modification    ./Sources/ManagePosts.php    Test failed

(I dont know if this is normal but when I installed it this week (again) I had to put in my ftp details in order to complete the install, as apparently some files needed that)

Can someone tell me how to fix this and get it working again, its something we like using.

~thanks
Title: Re: Streaming 3
Post by: Bigguy on July 20, 2006, 03:15:23 PM
I would think if you added the code manually it should work fine after that. Look in the .xml file for the changes and compare it to the files in your smf folder to see if the edits are there.
Title: Re: Streaming 3
Post by: perplexed on July 20, 2006, 04:46:15 PM
Quote from: Bigguy on July 20, 2006, 03:15:23 PM
I would think if you added the code manually it should work fine after that. Look in the .xml file for the changes and compare it to the files in your smf folder to see if the edits are there.

hi bigguy :)  I havent tried that before but I will have a look in the morning and see if I can understand it

~thanks
Title: Re: Streaming 3
Post by: gtron on July 21, 2006, 01:34:25 PM
will this mod would slow down the forum???
Title: Re: Streaming 3
Post by: perplexed on July 21, 2006, 03:12:09 PM
Quote from: Bigguy on July 20, 2006, 03:15:23 PM
I would think if you added the code manually it should work fine after that. Look in the .xml file for the changes and compare it to the files in your smf folder to see if the edits are there.

hey bigguy

I opened the xml file but there was nothing helpful in it that referred to changes made?  Maybe I'm missing something, but please tell me how to get this working.

I got pages of errors as everytime someone posts it generates 3 errors in the log, one for each real, quick and stream, and the mod isnt working, and all the streaming we previously posted doesnt work now either.

Thanks for any help
Title: Re: Streaming 3
Post by: Bigguy on July 21, 2006, 03:29:01 PM
All I did was install it to the default theme and made edits to the theme I`m on now. Ihave errors to
Title: Re: Streaming 3
Post by: 1948Pal on July 21, 2006, 03:39:32 PM
perplexed, sorry you're having trouble with this mod, but it sounds to me as if you had an incomplete install of the mod. Do you have 4.2.1c? If so, open edit the stream-1.1rc2.mod, check each entry between the tags [edit file] and ...[/edit file], and compare with your files on the board, confirming all the steps were performed. My guess is you'll find at least one step not implemented.
Title: Re: Streaming 3
Post by: perplexed on July 21, 2006, 04:50:06 PM
Quote from: Bigguy on July 21, 2006, 03:29:01 PM
All I did was install it to the default theme and made edits to the theme I`m on now. Ihave errors to

oh I dont mind the errors so much as the fact that the mod isnt working at all :(

Quote from: 1948Pal
perplexed, sorry you're having trouble with this mod, but it sounds to me as if you had an incomplete install of the mod. Do you have 4.2.1c? If so, open edit the stream-1.1rc2.mod, check each entry between the tags [edit file] and ...[/edit file], and compare with your files on the board, confirming all the steps were performed. My guess is you'll find at least one step not implemented.

I have 4.2.1c downloaded from here but I had tried to install it after I had uninstalled 4.2.1b but it wouldnt install without 'fails' so I went back to 4.2.1b which installed successfully but isnt working at all. lol

I will go open the 4.2.1c file and see if I can work it out.  I would uninstall 4.2.1b but every action is a 'fail' so Id rather not mess it up.

~thanks

Title: Re: Streaming 3
Post by: 1948Pal on July 21, 2006, 05:19:56 PM
But if you install 2 releases on top of each other, then you'll have 2 entries of each code in your files, a newer version is not gonna overwrite the older.  I recommend uninstalling older versions, manually if you had to, and try the newer 4.2.2 release, maybe that'll work!
Title: Re: Streaming 3
Post by: perplexed on July 21, 2006, 05:26:02 PM
no I *did* uninstall the 4.2.1b first and then tried to install 4.2.1c but it wouldnt install. So I went back to install 4.2.1b again, it seemed to install ok, but its not working now.

I have printed off the stream file for 4.2.1b and will look at it in the morning and see if I can work out what to do with it.

thanks for helping, I just want to get it working again, as we like it :)
Title: Re: Streaming 3
Post by: 1948Pal on July 21, 2006, 05:33:02 PM
Sure. Just curious if you've tried version 4.2.2, if si does that fail?
Title: Re: Streaming 3
Post by: unrelenting on July 21, 2006, 10:07:37 PM
Glaring error..... :D

/* Stream */
$txt['stream'] = 'Add Windows media sound or movies to your posts!';
$txt['real'] = 'Add Real media sound or movies to your posts!';
$txt['quick'] = 'Add QuickTime media sound or movies to your posts!';
$txt['quick'] = 'Add Google video to your posts!';
$txt['enableEmbeddedStream'] = 'Embed stream into posts';
$txt['enableEmbeddedReal'] = 'Embed real into posts';
$txt['enableEmbeddedQuick'] = 'Embed QuickTime into posts';
$txt['enableGoogleVideo'] = 'Embed Google video into posts';
</add before>

Excellent mod, though. Keep up the good work, 1948Pal
Title: Re: Streaming 3
Post by: perplexed on July 22, 2006, 07:27:02 AM
Quote from: 1948Pal on July 21, 2006, 05:33:02 PM
Sure. Just curious if you've tried version 4.2.2, if si does that fail?

well I cant uninstall 4.2.1b without every action failing, so I think Im stuck with that version which I will have to fix using the info in the stream file (if I can)  I am going to attempt to work that out today, but Im not confident that I will be able to work it out lol
Title: Re: Streaming 3
Post by: unrelenting on July 22, 2006, 09:39:58 AM
Quote from: perplexed on July 22, 2006, 07:27:02 AM
Quote from: 1948Pal on July 21, 2006, 05:33:02 PM
Sure. Just curious if you've tried version 4.2.2, if si does that fail?

well I cant uninstall 4.2.1b without every action failing, so I think Im stuck with that version which I will have to fix using the info in the stream file (if I can)  I am going to attempt to work that out today, but Im not confident that I will be able to work it out lol

If you will email me all of these files, I'll remove the streaming mod manually and send them back to you clean.

Themes/default/languages/Modifications.english.php
Themes/default/languages/Help.english.php
Themes/default/Post.template.php
Sources/Subs-Post.php
Sources/Subs.php
Sourcss/ModSettings.php
Sources/ManagePosts.php

Unless you manually modified other files then that should be all of them. Someone correct me if I'm wrong. The only other things changed are the .gif files that were uploaded and you can just delete them. They are in Themes/default/images/bbc/ and anywhere else that may have manually added them.
Title: Re: Streaming 3
Post by: 1948Pal on July 23, 2006, 12:12:09 PM
Quote from: unrelenting on July 21, 2006, 10:07:37 PM
Glaring error..... :D

/* Stream */
$txt['stream'] = 'Add Windows media sound or movies to your posts!';
$txt['real'] = 'Add Real media sound or movies to your posts!';
$txt['quick'] = 'Add QuickTime media sound or movies to your posts!';
$txt['quick'] = 'Add Google video to your posts!';
$txt['enableEmbeddedStream'] = 'Embed stream into posts';
$txt['enableEmbeddedReal'] = 'Embed real into posts';
$txt['enableEmbeddedQuick'] = 'Embed QuickTime into posts';
$txt['enableGoogleVideo'] = 'Embed Google video into posts';
</add before>

Excellent mod, though. Keep up the good work, 1948Pal
Oh, look at that, its glaring alright. Sorry 'bout that.
New fixed package uploaded. Thanks
Title: Re: Streaming 3
Post by: mickyd2006 on July 27, 2006, 06:07:42 PM
Hi Guys, firstly I just wanna say thanks for such a great mod.. when I first installed 4.2.2 I spent ages looking for where to enable the streams, I even searched this whole thread for a reason why my enable options were not there only to realise that i had forgotten to click proceed after clicking apply mod in the package manager so it never actually installed lol... what fun you can have installing mods when half asleep hehehe.

I just have 2 Questions / feature ideas,

1. Is there a way to set this mod so that only Admins can post streams? or some kind of permission option so that only certain user levels may post streams?

2. Is There A way to stop people downloading the files the players are playing, specifically Quicktime?


I would love to see these features available in a future release  ;D


I have also encountered a problem when using Internet Explorer.. not sure if its been mentioned but when I use Internet Explorer to view the posts with streams in, it keeps poppuing up with a box saying click to run an activex control on this page.. how can I stop this from happening as I normally use FireFox.. Im just thinking that my users who use IE will start becoming annoyed with it.

Thanks in advance!

M.D
Title: Re: Streaming 3
Post by: HRM on August 06, 2006, 07:04:46 PM
Quote from: mickyd2006 on July 27, 2006, 06:07:42 PM
I have also encountered a problem when using Internet Explorer.. not sure if its been mentioned but when I use Internet Explorer to view the posts with streams in, it keeps poppuing up with a box saying click to run an activex control on this page.. how can I stop this from happening as I normally use FireFox.. Im just thinking that my users who use IE will start becoming annoyed with it.

I have no problem at all with the mentoined above. And this while I use an IE version from win98se, up2date but still it's old. :D I think you just have to update IE. ;)

Quote from: 1948Pal on April 11, 2005, 03:40:00 PM
Link to Mod (http://mods.simplemachines.org/index.php?mod=121)

The latest release as of 6/29/06 is 4.2.1c and is compatible with 104, 105, 106, 107 11RC1 and 11RC2, if you have previous versions installed and working properly, then there is no need to install this one.
[edit]
7/19/06 new version added that supports Google video in the same fashion as the previous streams, only with Google video all you need is put the docid between the tags like so [gv=width,height]01234567890123[/gv] and you'll have an embedded Google video. The video must have permissions to be embedded. Also now you can actualy resize any player window by changing the values in the [tag=x,y].

FANTASTIC Modifications, works greatly with rc2 as well!

Thanks a lot 1948pal!
Title: Re: Streaming 3
Post by: mickyd2006 on August 07, 2006, 07:50:42 PM
Quote from: HRM on August 06, 2006, 07:04:46 PM
Quote from: mickyd2006 on July 27, 2006, 06:07:42 PM
I have also encountered a problem when using Internet Explorer.. not sure if its been mentioned but when I use Internet Explorer to view the posts with streams in, it keeps poppuing up with a box saying click to run an activex control on this page.. how can I stop this from happening as I normally use FireFox.. Im just thinking that my users who use IE will start becoming annoyed with it.

I have no problem at all with the mentoined above. And this while I use an IE version from win98se, up2date but still it's old. :D I think you just have to update IE. ;)

Hey, Thanks For Replying...
I'm Using Windows XP Pro Sp2 & The Latest IE, But As I Said.. My Preference is FireFox.
Yesterday, I Reformatted My Pc As I Often Do Every Few Months To Keep Things Clean And Smooth And I Tried Again And Still I Get One ActiveX Control Box Pop Up Per Embeded Movie :Confused:
Title: Re: Streaming 3
Post by: Nic- on August 07, 2006, 08:26:24 PM
can we make mediaplayer collapse ? (hide/show)
Title: Re: Streaming 3
Post by: HRM on August 08, 2006, 04:04:05 AM
Quote from: mickyd2006 on August 07, 2006, 07:50:42 PM
Hey, Thanks For Replying...
I'm Using Windows XP Pro Sp2 & The Latest IE, But As I Said.. My Preference is FireFox.
Yesterday, I Reformatted My Pc As I Often Do Every Few Months To Keep Things Clean And Smooth And I Tried Again And Still I Get One ActiveX Control Box Pop Up Per Embeded Movie :Confused:

Then it's really weird. ::) Do you have the same problem with all players (flash, windows media, realplayer or google video?) or only with one of them?
Title: Re: Streaming 3
Post by: 1948Pal on August 08, 2006, 02:46:39 PM
Mickyd2006, this is related to a security issue and update that was done by Microsoft. Here is a link for more and also a fix (http://capitalhead.com/articles/click-to-activate-and-use-this-control---kb912812.aspx)
I hope that will help you.
Title: Re: Streaming 3
Post by: 1948Pal on August 08, 2006, 02:47:57 PM
Quote from: Nic- on August 07, 2006, 08:26:24 PM
can we make mediaplayer collapse ? (hide/show)
Can you elaborate further on what you want done? Is it different than resizing the player window?
Title: Re: Streaming 3
Post by: Nic- on August 08, 2006, 10:05:45 PM
hi 1948Pal
i mean it like shrink or expand in smf .
by default , the windowmedia is not show , when the user click on icon or link ( whatever ) in post then window media show .
Title: Re: Streaming 3
Post by: 1948Pal on August 09, 2006, 10:16:07 AM
I see. Not sure if you're ok editing, but this should help.
<edit file>
$sourcedir/Subs.php
</edit file>

<search for>
<param name="transparentatStart" value="true" />
</search for>

<replace>
<param name="transparentatStart" value="false" />
</replace>
Title: Re: Streaming 3
Post by: Bigguy on August 10, 2006, 01:52:37 PM
I keep getting this error and google video has stooped working. How can I fix this:

QuoteUndefined index: gv
File: /***/www/***/**.****.com/easyc_info/htdocs/forum/Themes/default/languages/Post.english.php (main sub template - eval?)
Line: 781
Title: Re: Streaming 3
Post by: Bigguy on August 10, 2006, 02:29:53 PM
I think I found the problem and this has happened to me before. For some reason all was working fine, all video`s were showing up and all. Then all you would see in any post that the streaming mod was used in would be the tags and the link to the file, or just the link without tags. I went to check my admin panel to see if all the settings were right and the settings that  you use to "Embed stream into posts" were not ticked anymore.

So for some reason my settings in the admin center are slipping a bit. Does this make sense ??? Has anyone else had this happen before ??? were you have tacked off all the settings for it to work only to find that later they are unticked. ???
Title: Re: Streaming 3
Post by: mforum on August 11, 2006, 09:28:55 AM
Only you have access to the panel?  ???
Title: Re: Streaming 3
Post by: Bigguy on August 11, 2006, 10:42:09 AM
Me and one other guy but I doubt he would do it. He`s never really around to begin with. But everytime my stream doesn`t work I find those checkmarks off.
Title: Re: Streaming 3
Post by: mickyd2006 on August 16, 2006, 10:40:27 AM
Thanks 1948pal. Im gonna go and try that fix now :)

RE 2 other questions / Ideas I Have had


1. Is there a way to set this mod so that only Admins can post streams? or some kind of permission option so that only certain user levels may post streams?

2. Is There A way to stop people downloading the files the players are playing, specifically Quicktime?

Thanks Again

M.D
Title: Re: Streaming 3
Post by: unrelenting on August 16, 2006, 09:00:32 PM
1948,

Is there a way to stop the embeds from immediately downloading the video from the server as soon as the thread is opened. I have threads that have several videos posted in video windows and they all start downloading at the same time and it bogs down our browser and occasionally locks it up.

I don't think it did this in the previous version. It used to just verify that the file was on the server and then display Stopped. Now it displays Stopped but in the background it is downloading every embedded video on the page and wasting bandwidth.

Is there a setting I can change to stop this and force the video player to wait on someone to push the Play button to initialize the download?

EDIT:

I forgot to mention, I am referring to streaming with the Stream button in a Windows Media Player window. As far as I know, this doesn't affect Quicktime or Real.
Title: Re: Streaming 3
Post by: mickyd2006 on August 18, 2006, 11:22:45 PM
Quote from: mickyd2006 on August 16, 2006, 10:40:27 AM
Thanks 1948pal. Im gonna go and try that fix now :)

RE 2 other questions / Ideas I Have had


1. Is there a way to set this mod so that only Admins can post streams? or some kind of permission option so that only certain user levels may post streams?

2. Is There A way to stop people downloading the files the players are playing, specifically Quicktime?

Thanks Again

M.D

@1948pal

I tried the activex fix you suggested I downloaded the patch for xp sp2 but it told me I was not using the correct version of IE yet Im up to date with sp2 and all the updates. I upgraded to IE 7 beta 3 but this still hasnt worked, I still get activex pop ups :(

Any other suggestions maybe?
Title: Re: Streaming 3
Post by: unrelenting on August 19, 2006, 10:43:03 AM
Are you sure it's all of your users having the problem?

Maybe you have a firewall or syware blocker screwing it up.
Title: Re: Streaming 3
Post by: mickyd2006 on August 19, 2006, 12:42:26 PM
I couldnt tell you about other users because my board is not live yet, its still under configuration and testing. I guess it would depend on which version of windows and IE they were using. I mean it doesnt worry me about the boxes, its just if new users join and see them they might worry that they were being exploited or something daft.  :(
Title: Re: Streaming 3
Post by: unrelenting on August 19, 2006, 01:00:09 PM
I don't have that problem with any of my users is why I asked. It might just be your computer.

Give me a link and I'll test it from here.
Title: Re: Streaming 3
Post by: mickyd2006 on August 19, 2006, 09:37:27 PM
Thanks unrelenting,

But before I tackle that problem, I have found another more serious one, Well serious for me anyway.

I'm having trouble with .asx files and the types of things I want to use this mod for use alot of .asx

does this mod support .asx?

In my stream tags i put the address for example

[stream,320,240]http://www.bbc.co.uk/newsa/n5ctrl/tvseq/n24/bb/wm/video/heads_bb.asx[/stream]

All I get when I press play is: Connecting To Media then it says ready. Click play again and it says connecting to media then back to ready.

In Properties under playlist I get the BBC Details

In statistice there are no stats to display

And In error details I get Windows Media Player cannot connect to the server. The server name might not be correct, the server might not be available, or your proxy settings might not be correct.

I have even tried replacing http with mms but no joy :(

I have tried other streams and get the same thing. I can play individual files such as addresses ending in /load.asp?clipid=xxxxx


Title: Re: Streaming 3
Post by: unrelenting on August 20, 2006, 01:07:14 AM
It may be that that server doesn't allow hotlinking of its files.
Title: Re: Streaming 3
Post by: mickyd2006 on August 20, 2006, 07:30:03 AM
True. But I have tried streams that I have seen working on other sites that are not the sites of origin for that stream. Does anyone have a test stream link or something so I can verify?


EDIT//

Re the activex thing, I was working on another computer today and I got the activex thing when I viewed my site but only once. When I clicked okay the page loaded and when I closed the browser and went back again there was no activex pop up. So that must be a local thing to my pc.. typica looool.. thanks for the offer though unrelenting.

RE the cant play asx / asf files.. still no solution...... I thought it may be a port thing but the radio mod works fine and I have no trouble. Anyone know if this mod uses fsockopen()? I have problems using my shoutcast stats xml on my host cos they dont allow fsockopen().. just an idea  :-\


Further Edit//

I tried this address and got a little more joy

mms://www.rtvchannel.tv:8080

These allow hotlinking

I got it to say connecting, Buffering then it sent a request for a codec. It downloaded that then it installed it as far as I can tell, then it stopped. I pressed play, it started to buffer then it said requesting codec..error downloading codec.. now it does doodly squat ::)

Just goes back to doing nothing and in error details I get

Windows Media Player cannot find the file. If you are trying to play, burn, or sync an item that is in your library, the item might point to a file that has been moved, renamed, or deleted.

Every time I click play it buffers.. gets to 81% and tells me error downloading codec. In the control bar  i can see the stations details.. name.. kbps etc. I have more codecs in this machine than I know what to do with mp3 codecs, avi codecs, wm codecs.. codecs codecs codecs.... Ahhh Oh for a standardisation

Im Confoooooosed :'( 1948pal where are yooooooou??? :(


Please Note, I have tried in Both Mozilla FF latest version and IE 6 sp1 and IE7 Beta 3
Title: Re: Streaming 3
Post by: ZeusChicago on August 20, 2006, 09:51:26 PM
Quote from: Bigguy on August 10, 2006, 01:52:37 PM
I keep getting this error and google video has stooped working. How can I fix this:

QuoteUndefined index: gv
File: /***/www/***/**.****.com/easyc_info/htdocs/forum/Themes/default/languages/Post.english.php (main sub template - eval?)
Line: 781

Me two. I am seeing about 2000 of these these error messages a day (looks like everytime someone post somthing)
Title: Re: Streaming 3
Post by: unrelenting on August 20, 2006, 10:22:12 PM
Quote from: Bigguy on August 10, 2006, 02:29:53 PM
I think I found the problem and this has happened to me before. For some reason all was working fine, all video`s were showing up and all. Then all you would see in any post that the streaming mod was used in would be the tags and the link to the file, or just the link without tags. I went to check my admin panel to see if all the settings were right and the settings that  you use to "Embed stream into posts" were not ticked anymore.

So for some reason my settings in the admin center are slipping a bit. Does this make sense ??? Has anyone else had this happen before ??? were you have tacked off all the settings for it to work only to find that later they are unticked. ???

Yes, it's happened to me before once or twice. I have no idea why.

Title: Re: Streaming 3
Post by: 1948Pal on August 21, 2006, 12:33:35 PM
Sorry for the delay. Mickyd2006, for the activex issue, as I mentioned before it is due to the way IE handles active-x and it user interface. I found a page that has a possible fix, unfortunately I will not be adding this to the mod as it is an insignificant extra step the user needs to do in order to start the active-x, also because it is due to security stuff, I won't be bypassing the user's having to click the active-x control to activate. The user should have to do it. Here is the page (http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/activating_activex.asp) If you would like, perhaps you can modify the code according to the directions there. Sorry :(
As for streaming .asx files, it seems some modifications are needed and I will be looking into it further, sorry I am not much of help to you now. BTW, have you tried using the link(s) the asx file is pointing to? Is it a mms http or rtsp, do you know?
Title: Re: Streaming 3
Post by: 1948Pal on August 21, 2006, 12:39:49 PM
Quote from: ZeusChicago on August 20, 2006, 09:51:26 PM
Quote from: Bigguy on August 10, 2006, 01:52:37 PM
I keep getting this error and google video has stooped working. How can I fix this:

QuoteUndefined index: gv
File: /***/www/***/**.****.com/easyc_info/htdocs/forum/Themes/default/languages/Post.english.php (main sub template - eval?)
Line: 781

Me two. I am seeing about 2000 of these these error messages a day (looks like everytime someone post somthing)
Hi, please make sure in your $themedir/languages/Modifications.template.php you have this
$txt['gv'] = 'Add Google video to your posts!'; under $txt['quick'] = 'Add QuickTime media sound or movies to your posts!'; and not the same $txt['quick'] line duplicated. This should fix the undefined index errors.
Title: Re: Streaming 3
Post by: 1948Pal on August 21, 2006, 12:43:21 PM
mickyd2006, this link mms://www.rtvchannel.tv:8080 seems to work for me, however it keeps on buffering every few seconds, I think because of connection speed maybe!
Title: Re: Streaming 3
Post by: mickyd2006 on August 21, 2006, 01:46:27 PM
Quote from: 1948Pal on August 21, 2006, 12:33:35 PM
Sorry for the delay. Mickyd2006, for the activex issue, as I mentioned before it is due to the way IE handles active-x and it user interface. I found a page that has a possible fix, unfortunately I will not be adding this to the mod as it is an insignificant extra step the user needs to do in order to start the active-x, also because it is due to security stuff, I won't be bypassing the user's having to click the active-x control to activate. The user should have to do it. Here is the page (http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/activating_activex.asp) If you would like, perhaps you can modify the code according to the directions there. Sorry :(
As for streaming .asx files, it seems some modifications are needed and I will be looking into it further, sorry I am not much of help to you now. BTW, have you tried using the link(s) the asx file is pointing to? Is it a mms http or rtsp, do you know?


Hey, not to worry... Thanks for getting back to me..

You mean open the asx file and extract the address of the stream? Rather than have the embed tags point to the asx file. yep.. tried that in various forms of mms: rtsp: http:

Example BBC News UK
http://www.bbc.co.uk/newsa/n5ctrl/tvseq/n24/bb/wm/video/heads_bb.asx

Extracts as

<ASX version="3.0">
   <ABSTRACT>http://www.bbc.co.uk/news</ABSTRACT>
   <TITLE>BBC News</TITLE>
   <AUTHOR>BBC News</AUTHOR>
   <COPYRIGHT>(c) British Broadcasting Corporation</COPYRIGHT>
   <MoreInfo href="http://www.bbc.co.uk/news" />
   <Entry>
        <ref href="mms://wmlive.bbc.net.uk/wms/news/heads_bb_s1" />
  <ref href="mms://wmlive.bbc.net.uk/wms/news/heads_bb_s2" />
                  <MoreInfo href ="http://www.bbc.co.uk/news" />
          <Abstract>BBC News</Abstract>
   </Entry>
</ASX>


I tried
mms://wmlive.bbc.net.uk/wms/news/heads_bb_s1

and

mms://wmlive.bbc.net.uk/wms/news/heads_bb_s2

The player window either says stopped all the time or waiting, if i try the addresses in my mindows media player through windows they work fine as do most of the streams I cant get working.

Im wondering if all this too could be local :( I just tried this mms://www.rtvchannel.tv:8080 and all I got was buffering... downloading codec then error downloading codec :(

I appreciate your taking time to help me out with this one! 8)
Title: Re: Streaming 3
Post by: 1948Pal on August 21, 2006, 03:18:04 PM
I tried the bbc link and I was not able to stream it either, however it seems it depends on how the site providing the video is configured and if it allows hot links and stuff, not sure though. I think so far my embed codes should work fine for asx file links
This link works for me without further modifications: http://www.videocodezone.com/videos/s/shakira/ojos_asi_113430.asx Can you see if it works for you?
Title: Re: Streaming 3
Post by: mickyd2006 on August 21, 2006, 03:57:31 PM
Yup, that one plays...

Re:
Quotehowever it seems it depends on how the site providing the video is configured and if it allows hot links and stuff, not sure though.

The list of streams I'm trying to get to function was a list of stations I have seen working on other sites (not the sites of origin) Specifically I got this list from a tv template distributed as a mod for an open source dating system. I assume if the streams work with all those users that have the mod installed that it should be possible for the streams to work here maybe?

I could Pm You the list if you like and maybe you could try some of them and see if you get similar results?


EDIT// I manged to get some other sources working not from the tv list I mentioned above, but like the station you gave me to try http://www.videocodezone.com/videos/s/shakira/ojos_asi_113430.asx the playback dithers and stalls... like mini freezes.. I dont see the player saying buffering or anything.. just that the playback stalls and stutters... I think this might be the sites themselves though.

If it would make things easier I could create a board in my forum so that you can see it and add the videos / streams I am having trouble with and you could see for yourself? Would this be easier??

Question, How could I create A Playlist Of All of the video urls i have? so that a user could watch videos one after the other or skip videos and play the next one?

Thanks again for the continued support withj my problems.
Title: Re: Streaming 3
Post by: 1948Pal on August 21, 2006, 05:13:26 PM
Quote from: mickyd2006 on August 21, 2006, 03:57:31 PM

I could Pm You the list if you like and maybe you could try some of them and see if you get similar results?
Sure pm me some links to try, I'll see if the same happens to me.
This is the link to how it plays on my forum (http://forum.allaboutpalestine.com/index.php?topic=1324.new#new) As you can see, no stuttering here.

QuoteEDIT// I manged to get some other sources working not from the tv list I mentioned above, but like the station you gave me to try http://www.videocodezone.com/videos/s/shakira/ojos_asi_113430.asx the playback dithers and stalls... like mini freezes.. I dont see the player saying buffering or anything.. just that the playback stalls and stutters... I think this might be the sites themselves though.
This happenned to me with this link mms://www.rtvchannel.tv:8080.

QuoteIf it would make things easier I could create a board in my forum so that you can see it and add the videos / streams I am having trouble with and you could see for yourself? Would this be easier??
No reason, I can see this issue with some links. I'll try to research this further and hopefully I'll be able to find a solid answer.
BTW, urls that end with a port like :80 or :8080 as you know are usually servers hosted by owners at home or something and usually don't have restrictions on certain functionalities, also may be with limited bandwidth/speed which explains why they work, and why they keep buffering. Just a thought.
Title: Re: Streaming 3
Post by: mickyd2006 on August 22, 2006, 08:32:31 AM
Okay, Something relly wiered is happening at my end..

I just hopped over to your test.asx board and I notice you have sunvibz embeded. It played fine when i first viewed it. I popped back to my board, tried that stream in my own board and it worked...

Nipped back to your board and yours didnt work, just kept going back to stop every time I pressed play.. I nipped back to my board and it was doing the same...

I put the http://www.sunvibz.tv/ stream url in my WMP and its up and working fine.. the stream is active..

I dont get it.. why is it so fussy.. some times it plays some times it dont... Just had the same thing happen with mania tv.. on your site it worked.. embed it to mine.. nothing.. go back to your test embed... nothing it wont work. Put the address in media player and it connects first time and is active no errors of buffering :(

What version of WMP are you using.. I have WMP 11 do you think its a problem with my WMP and browser plugins maybe?

I keep looking for similaraties for non working streams but so far it seems to be random.. sometimes tehy work.. sometimes they dont.. but the ones that have shown up all work when you ad the urls directly to media player itself..

But the fact they displayed in the embed tags in the forums means they can do it..

Im more confoosed now than when I first started. im prepared to except that some of the stations in the list I sent mite be home servers or just crappy connections.. but when some of them play one minute and not the next in the forum.. but all the ones that sometimes play in the forum always play in media player itself...

Just thought Id update you to my findings buddy.

Thanks :)


EDIT/// Ok so Im coming to the conclusion now that its the streams themselves... not so much that they are home ran... just that they are popular & heavily lagged.
Ive been working and testing like a man possesed today nearly all day testing various streams and it was when I translated a message that showed up on sunvibz.tv that put me on to following that thought.. the message was in french and from the gist I got from the google translation it was saying something about too much connections..

I gonna say that this must be the same for most of the streams I have in that list, that or they're just generally crappy sources.

Think I'll go find my own by trial and error and write for permission to hotlink them over to my forum.

Just a couple of ideas Ive had for the mod if your interested and I think would improve performance..

1. Have the ability to click a javascript link and transfer the video playing into a pop up window so that the user can still browse the forum.

2. have the pop up work with Iframes so that banners can be added above the player and refresh to new banners without interupting the playback

3. have the ability to disable right click so that the user viewing may not view the source of the files being played. People such as myself that have to get permission to show streams should not have to risk users hotlinking also.

Just a couple of thoughts that could be maybe implimented.. id especially love these features or if anyone knows how?

THANKS FOR ALL YOUR HELP WITH THIS 1948PAL But Im gonna go with your theorie that the streams i'm using suck and are unreliable. We will call this problem solved I think. :)

Many many thanks buddy. Any thoughts on the feature requests????

Title: Re: Streaming 3
Post by: katmai on August 23, 2006, 03:56:34 PM
does this mod work with rc3 yet? i really wanna upgrade but i cant :(
Title: Re: Streaming 3
Post by: 1948Pal on August 23, 2006, 05:08:24 PM
mickyd2006, Ok, sounds good. Sorry I couldn't be of more help to you. Good luck.
Title: Re: Streaming 3
Post by: 1948Pal on August 23, 2006, 05:11:14 PM
Quote from: katmai on August 23, 2006, 03:56:34 PM
does this mod work with rc3 yet? i really wanna upgrade but i cant :(

Yes, now it does. I uploaded a new file that should work for 1.1 RC3 and 1.0.8. Updated first post.  (http://mods.simplemachines.org/index.php?mod=121%5BHere%20is%20the%20link%20to%20the%20mod%5B/url)
Title: Re: Streaming 3
Post by: Polymath on August 24, 2006, 05:57:06 AM
Sigh~  I would love this one to work. the gifs show the code shows when clicked [quick=475,325][/quick]

but thats it. It just posts the link. There is nothing in my admin either.   
Title: Re: Streaming 3
Post by: mickyd2006 on August 24, 2006, 10:01:33 AM
Quote from: 1948Pal on August 23, 2006, 05:08:24 PM
mickyd2006, Ok, sounds good. Sorry I couldn't be of more help to you. Good luck.

No buddy.. not at all... I appreciate all the help you gave!!!!! Any thoughts on te feature requests??
Title: Streaming 3/Youtube support
Post by: SusanTN on August 24, 2006, 01:11:20 PM
I sent him an email with a rc3 mod with youtube support added. So if we are lucky he will be releasing it for the rest of you soon :) It's already working on one of my forums.

I suggested he consider adding two configurable permissions

Can view videos
Can post video
Title: Re: Streaming 3
Post by: 1948Pal on August 25, 2006, 11:11:46 AM
mickyd2006, feature requests 1 and 2 that you asked for I am not sure about, I'll investigate the possibility, but no promisses. The other request to disable "right clicking" I am sure it can be done. Perhaps my next release will have that.
Title: Re: Streaming 3
Post by: 1948Pal on August 25, 2006, 11:14:59 AM
Quote from: bl968 on August 24, 2006, 01:11:20 PM
I sent him an email with a rc3 mod with youtube support added. So if we are lucky he will be releasing it for the rest of you soon :) It's already working on one of my forums.

I suggested he consider adding two configurable permissions

Can view videos
Can post video

I'm not sure if you mean me who you sent the email to, but IF it was me, I did not receive it.
The 2 suggestions seems like a good idea, I'll see what I can do, unless you've already done it that is.
Title: Re: Streaming 3
Post by: mickyd2006 on August 25, 2006, 03:40:31 PM
Quote from: 1948Pal on August 25, 2006, 11:11:46 AM
mickyd2006, feature requests 1 and 2 that you asked for I am not sure about, I'll investigate the possibility, but no promisses. The other request to disable "right clicking" I am sure it can be done. Perhaps my next release will have that.

Thanks buddy.. Much appreciated.. Hope they can be done :)
Title: Re: Streaming 3
Post by: 1948Pal on September 01, 2006, 03:00:07 PM
4.2.2a (http://mods.simplemachines.org/index.php?mod=121) is out with YouTube support. No other new features at this point. There is however a new bbcpermission mod (http://mods.simplemachines.org/index.php?mod=449) by winrules (http://www.simplemachines.org/community/index.php?action=profile;u=12859) that adds permissions to all bbc including those ones in the streaming mod
Title: Re: Streaming 3
Post by: Garry1953 on September 01, 2006, 07:52:34 PM
Your streaming mod works great. :D
Thanks for adding YouTube.

Garry
Title: Re: Streaming 3
Post by: Reynard on September 03, 2006, 03:30:21 PM
I had to install it manualy. Now its all there, but the videos dont stream even after I activated them on the admin panel.

Mabye I am just not adding the correct code. this is what I put:

For google video:
Quote[gv=475,325]http://video.google.com/videoplay?docid=-6776936368672580073&hl=en[/gv]

For youtube:

[yt=425,350]http://www.youtube.com/v/zaITATr2C9c[/yt]

Any suggestions?
Title: Re: Streaming 3
Post by: SusanTN on September 03, 2006, 04:49:33 PM
Quote from: Reynard on September 03, 2006, 03:30:21 PM
I had to install it manualy. Now its all there, but the videos dont stream even after I activated them on the admin panel.

Mabye I am just not adding the correct code. this is what I put:

For google video:
Quote[gv=475,325]http://video.google.com/videoplay?docid=-6776936368672580073&hl=en[/gv]

For youtube:

[yt=425,350]http://www.youtube.com/v/zaITATr2C9c[/yt]

Any suggestions?

It's
Quote[gv=475,325]-6776936368672580073[/gv]
and

Quote[yt=425,350]zaITATr2C9c[/yt]
Title: Re: Streaming 3
Post by: Nic- on September 03, 2006, 10:45:06 PM
Quote from: Polymath on August 24, 2006, 05:57:06 AM
Sigh~  I would love this one to work. the gifs show the code shows when clicked [quick=475,325][/quick]

but thats it. It just posts the link. There is nothing in my admin either.   

the same problem , how can i display it
Title: Re: Streaming 3
Post by: SusanTN on September 03, 2006, 10:57:20 PM
Quote from: Nic- on September 03, 2006, 10:45:06 PM
Quote from: Polymath on August 24, 2006, 05:57:06 AM
Sigh~  I would love this one to work. the gifs show the code shows when clicked [quick=475,325][/quick]

but thats it. It just posts the link. There is nothing in my admin either.   

the same problem , how can i display it

You need to ensure you enabled the mod in the control panel see: my prior post (http://www.simplemachines.org/community/index.php?topic=110500.msg709811#msg709811) on the subject...
Title: Re: Streaming 3
Post by: Nic- on September 03, 2006, 11:05:22 PM
Quote from: bl968 on September 03, 2006, 10:57:20 PM
Quote from: Nic- on September 03, 2006, 10:45:06 PM
Quote from: Polymath on August 24, 2006, 05:57:06 AM
Sigh~  I would love this one to work. the gifs show the code shows when clicked [quick=475,325][/quick]

but thats it. It just posts the link. There is nothing in my admin either.   

the same problem , how can i display it

You need to ensure you enabled the mod in the control panel see: my prior post (http://www.simplemachines.org/community/index.php?topic=110500.msg709811#msg709811) on the subject...

Whoa...thank you so much . you made my day ;)
Title: Re: Streaming 3
Post by: SusanTN on September 04, 2006, 12:59:00 AM
Quote from: Nic- on September 03, 2006, 11:05:22 PM
Quote from: bl968 on September 03, 2006, 10:57:20 PM
You need to ensure you enabled the mod in the control panel see: my prior post (http://www.simplemachines.org/community/index.php?topic=110500.msg709811#msg709811) on the subject...

Whoa...thank you so much . you made my day ;)

You are welcome :) Enjoy I know I am!
Title: Re: Streaming 3
Post by: Syndel on September 06, 2006, 11:52:47 PM
Even with permissions set to Embed You Tube, movie is not loading....
Title: Re: Streaming 3
Post by: SusanTN on September 07, 2006, 01:20:59 AM
Quote from: Syndel on September 06, 2006, 11:52:47 PM
Even with permissions set to Embed You Tube, movie is not loading....

What is showing in the post when you embed the movie, what is showing on the screen when you view the post.
Title: Re: Streaming 3
Post by: 1948Pal on September 07, 2006, 10:00:51 AM
Quote from: Syndel on September 06, 2006, 11:52:47 PM
Even with permissions set to Embed You Tube, movie is not loading....
Do you mean in options and settings? Is the option checked there. Also what is the entry look like between the [yt]and[/yt]?
Title: Re: Streaming 3
Post by: Syndel on September 07, 2006, 02:12:27 PM
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs71.photobucket.com%2Falbums%2Fi160%2Fkhaotikdezirez%2Fab1d5f6d.gif&hash=eb6e56882655d096febf062a0b28f2dec3ce5e40)

[yt=425,350]http://www.youtube.com/watch?v=bq1_6D9QS9Y[/yt]

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi71.photobucket.com%2Falbums%2Fi160%2Fkhaotikdezirez%2F7fcd98be.gif&hash=cc44b6c6657092f7aa20f5c3df76b3f39f55aba4)
Title: Re: Streaming 3
Post by: 1948Pal on September 07, 2006, 02:45:45 PM
OK, you only need to put [yt=425,350]bq1_6D9QS9Y[/yt]
Title: Re: Streaming 3
Post by: Syndel on September 07, 2006, 02:50:16 PM
YAY! Thanks!!!
Title: Re: Streaming 3
Post by: myrule on September 09, 2006, 12:07:52 PM
I have the following problem
i cant find the you tube option in the options
i've installed 4.2.2a is there someone else i should install
google video works also
Title: Re: Streaming 3
Post by: mickyd2006 on September 09, 2006, 03:43:39 PM
Hey 1948pal...

I was working with quicktime today not in my forum but on my website and I had cause to need to embed a quicktime move... I had forgotten the complete embed tags string so I went to look it up on google and found this

http://www.apple.com/quicktime/tutorials/embed.html

This would explain those annoying activex boxes I got when viewing embeded quicktime media using the streaming mod on my forum.

When I used this method for to replace <object> </object> portion of the embed code for IE but continue to use <embed> for FF I get only one pop up at the top of the IE page asking me to run the activex only once :)

Annoying activex pop up no more...

Just thought I'ld post it incase it was of any use to ya in a future version of the streaming mod so that you could maybe impliment it....

Thanks :)
Title: Re: Streaming 3
Post by: unrelenting on September 10, 2006, 12:40:47 PM
Quote from: mickyd2006 on September 09, 2006, 03:43:39 PM
Hey 1948pal...

I was working with quicktime today not in my forum but on my website and I had cause to need to embed a quicktime move... I had forgotten the complete embed tags string so I went to look it up on google and found this

http://www.apple.com/quicktime/tutorials/embed.html

This would explain those annoying activex boxes I got when viewing embeded quicktime media using the streaming mod on my forum.

When I used this method for to replace <object> </object> portion of the embed code for IE but continue to use <embed> for FF I get only one pop up at the top of the IE page asking me to run the activex only once :)

Annoying activex pop up no more...

Just thought I'ld post it incase it was of any use to ya in a future version of the streaming mod so that you could maybe impliment it....

Thanks :)

So could you show your work here so that we can adjust ours as well?
Title: Re: Streaming 3
Post by: xrl2 on September 11, 2006, 01:53:56 PM
is there anyway to have a default size so all the user has to do is type
?
Title: Re: Streaming 3
Post by: 1948Pal on September 11, 2006, 09:53:20 PM
Thanks mickeyd2006 for the info.

Quote from: xrl2 on September 11, 2006, 01:53:56 PM
is there anyway to have a default size so all the user has to do is type
?
I suppose "in theory" it can be done by changing the type of tag to type "missing".
Title: Re: Streaming 3
Post by: mickyd2006 on September 12, 2006, 04:09:01 PM
Yes... I haven't modified the streaming mod with this.. I was just pointing it out incase it was of use to you buddy
Title: Re: Streaming 3
Post by: gotMilk on September 15, 2006, 09:29:48 AM
I'm sorry, if this has been asked already...

Is there a way to install the mod without using the Package-Manager? It seems not to work for me (not only for this mod).

Thanks a lot in advance - greetings
gotMilk
Title: Re: Streaming 3
Post by: gotMilk on September 15, 2006, 01:49:54 PM
So I just installed the mod step by step like described in the file "stream-gv-1.1rc3.mod". Without the Package Manager.
But when I try to use it now by typing

[gv=475,325]-3382491587979249836[/gv]

I just see the numbers... What's wrong? Any help?

Thanks in advance
gotMilk
Title: Re: Streaming 3
Post by: Gobo on September 15, 2006, 02:38:45 PM
did u enable it?

in Features & options -->      Layout and Options      
Title: Re: Streaming 3
Post by: gotMilk on September 15, 2006, 02:49:24 PM
:-[ Of course not...

Thanks for your quick help! :D

And for all Germans, who just don't know where to look:
Forum-Einstellungen --> Layout
Title: Re: Streaming 3
Post by: boz2006 on September 24, 2006, 04:48:21 PM
Why can't I see the buttons for gvideo and you tube in the editor when I create a new topic?
I'm using th rc3 version on stream and smf...
Before the upgrade there was some buttons to add video etc...

//boz
Title: Re: Streaming 3
Post by: gekon_n on September 25, 2006, 10:44:52 AM
Quote from: myrule on September 09, 2006, 12:07:52 PM
I have the following problem
i cant find the you tube option in the options
i've installed 4.2.2a is there someone else i should install
google video works also
i have the same problem for the 4.2.2 vrs, in 1.1 RC3, i don't have an option for YouTube videos to enable  ???
Title: Re: Streaming 3
Post by: 1948Pal on September 25, 2006, 12:02:44 PM
Hi.
Version 4.2.2 has no youtube support. 4.2.2a has it.
Title: Re: Streaming 3
Post by: 1948Pal on September 25, 2006, 12:03:42 PM
Quote from: boz2006 on September 24, 2006, 04:48:21 PM
Why can't I see the buttons for gvideo and you tube in the editor when I create a new topic?
I'm using th rc3 version on stream and smf...
Before the upgrade there was some buttons to add video etc...

//boz
What version of streaming3 are you using? And do the other stremas have buttons?
Title: Re: Streaming 3
Post by: boz2006 on September 25, 2006, 02:45:00 PM
latest for rc3...

4.2.2...

Wasn't there buttons before?
Could it be that the came from another mod?
It that is, is possible to add som buttons to the mod?
it's easy for me remember the code to put in, but my users can't!

//Boz
Title: Re: Streaming 3
Post by: 1948Pal on September 25, 2006, 03:00:16 PM
Hey. There should be BBC buttons, yes 5 in total.
1- Do you have any mods that modify any BBC?
2- This shouldn't be the case by default, but are these BBC disabled in posts and topics, bulletin board code settings?
3- Do you see anything in place of the buttons? Maybe images did not get copied over?
4- Latest for RC3 is 4.2.2a, but should only have the youtube bbc added from 4.2.2.
Title: Re: Streaming 3
Post by: gekon_n on September 26, 2006, 03:08:08 AM
Quote from: 1948Pal on September 25, 2006, 12:02:44 PM
Hi.
Version 4.2.2 has no youtube support. 4.2.2a has it.
i have downloaded it (4.2.2a), removed the previos vers, installed the new, it still says only 4.2.2. with no a, and still has no youtube version. 

p.s. after instalation, can i remove the buttons for severeal types from the post form, because de-checking them from the admin panel doesn't to the trick
Title: Re: Streaming 3
Post by: Hawkes on September 26, 2006, 11:34:54 AM
This has probably been answered but there are 28 pages of replies here.  If it has, I apologize.

I currently have 4.2.1b and 1.1rc2.  Do I need to uninstall 4.2.1b to upgrade to 4.2.2a?
Title: Re: Streaming 3
Post by: boz2006 on September 26, 2006, 04:40:02 PM
Quote from: 1948Pal on September 25, 2006, 03:00:16 PM
Hey. There should be BBC buttons, yes 5 in total.
1- Do you have any mods that modify any BBC?
2- This shouldn't be the case by default, but are these BBC disabled in posts and topics, bulletin board code settings?
3- Do you see anything in place of the buttons? Maybe images did not get copied over?
4- Latest for RC3 is 4.2.2a, but should only have the youtube bbc added from 4.2.2.


No buttons nothing at all no pictures missing, it's default view..
If I manually type the code in the message it works fine but there isn't buttons fot google video etc..

//Boz
Title: Re: Streaming 3
Post by: 1948Pal on September 26, 2006, 04:58:27 PM
Then maybe its your theme. Are you using the default theme?
Title: Re: Streaming 3
Post by: 1948Pal on September 26, 2006, 04:59:22 PM
Quote from: Hawkes on September 26, 2006, 11:34:54 AM
This has probably been answered but there are 28 pages of replies here.  If it has, I apologize.

I currently have 4.2.1b and 1.1rc2.  Do I need to uninstall 4.2.1b to upgrade to 4.2.2a?
Yes I 'm afraid so! Or you can just add the code manually to what you already have.
Title: Re: Streaming 3
Post by: boz2006 on September 27, 2006, 12:54:01 AM
Quote from: 1948Pal on September 26, 2006, 04:58:27 PM
Then maybe its your theme. Are you using the default theme?

Yes and No.
No i don't use the default theme, but when I switch back to default theme it's the same...
No buttons with default theme!

//boz
Title: Re: Streaming 3
Post by: Gobo on September 28, 2006, 09:54:26 AM
just a suggestion to the author....

maybe u could use this to make a "media center" mod for SMF where users could upload and share media files of:
- flash
- avi
- mpg
- mp3
- rm
etc etc

that would be awesome!! (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi26.photobucket.com%2Falbums%2Fc147%2Fjbrowning%2Fchewy.gif&hash=9a3a79222438b9e4568c4992e2adc0cf1f8fec6a)(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi26.photobucket.com%2Falbums%2Fc147%2Fjbrowning%2Fchewy.gif&hash=9a3a79222438b9e4568c4992e2adc0cf1f8fec6a)
Title: Re: Streaming 3
Post by: Wingnut31 on September 28, 2006, 04:58:30 PM
I tried to install this on my forum 1.0.8 and was having errors with Source\Subs.php so I set up a test forum and installed it there with no trouble at all, tried taking the Source\Subs.php from there to my working forum and now when I try to install it I get :

Type     Action     Description
1.    Extract File    ./Themes/default/images/bbc/stream.gif    
2.    Extract File    ./Themes/default/images/bbc/real.gif    
3.    Extract File    ./Themes/default/images/bbc/quick.gif    
4.    Extract File    ./Themes/default/images/bbc/gv.gif    
5.    Extract File    ./Themes/default/images/bbc/yt.gif    
6.    Execute Modification    Themes/default/languages/Modifications.english.php    Success
7.    Execute Modification    Themes/default/languages/Help.english.php    Success
8.    Execute Modification    Sources/Printpage.php    Success
9.    Execute Modification    Themes/default/Post.template.php    Success
10.    Execute Modification    Sources/Subs-Post.php    Success
11.    Execute Modification    Sources/Subs.php    Success
12.    Execute Modification    Sources/ModSettings.php    Success

But when I hit proceed I get the following errors:

2: fopen(Themes/default/languages/Modifications.english.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory
File: /home/wingnut3/public_html/forum/Sources/Subs-Package.php
Line: 1476

Any ideas on how I can fix this?

Thanks for the help
Title: Re: Streaming 3
Post by: guppy on September 29, 2006, 05:58:13 AM
Hi, I've installed 4.2.2a on SMF1.1 RC3. It's working great! A big thank you.  :D

Now the noob questions..

Can I see this mod as a "BBC version" to embed audio / video in a forum post? So that it's the same if I use HTML to embed?

For audio, does is stream the file from the server or play off the hard disk?

And a feature request..

Any chance that you would add a popup prompt for the file url / id like the URL Popup mod at http://mods.simplemachines.org/index.php?mod=451?
Title: Re: Streaming 3
Post by: Fourm.Man on October 02, 2006, 04:31:30 PM
@1948Pal - thanks for this mod!!!

using v4.2.2a

i have a problem, but i don't think it has anything to do with the mod because the same thing happened with the standalone youtube mod -- no audio plays for youtube (google works fine, i have not tried others yet).  i guess this is a mime type thing, but i know virtually nothing about mime types, so i could use some direction.
Title: Re: Streaming 3
Post by: SlyBaldGuy on October 04, 2006, 09:24:25 PM
I am using the classic theme.  When I installed the mod it installed without error and I can see all of the options in the admin section.  The problem is that I don't see BBC icons when I reply to a post.  Can someone tell me what I have to modify to get these to display in the classic theme?

Thanks!
Title: Re: Streaming 3
Post by: unrelenting on October 04, 2006, 10:55:36 PM
Quote from: SlyBaldGuy on October 04, 2006, 09:24:25 PM
I am using the classic theme.  When I installed the mod it installed without error and I can see all of the options in the admin section.  The problem is that I don't see BBC icons when I reply to a post.  Can someone tell me what I have to modify to get these to display in the classic theme?

Thanks!

To edit it manually, look in the zip file that you downloaded and open up the file named stream-gv-versionnumber.mod in a text editor. That will tell you which files and which parts to edit. Make sure you pick the .mod file to corresponds to your version of SMF software.

Make backups of all of the files that you edit in case you need to go back to the way they were before you start.
Title: Re: Streaming 3
Post by: choloman05 on October 05, 2006, 09:16:43 PM
Quote from: SlyBaldGuy on October 04, 2006, 09:24:25 PM
I am using the classic theme.  When I installed the mod it installed without error and I can see all of the options in the admin section.  The problem is that I don't see BBC icons when I reply to a post.  Can someone tell me what I have to modify to get these to display in the classic theme?

Thanks!

It sounds like you might just need to copy the image files of the package to your Theme/Images/BBC folder.   But I could be wrong. I did have to do that though bc of my theme.

AND, I just wanted to say Thank You to the creator of this mod. This is a reallly cool mod. Very useful and very fun. It was a great idea and you did a good job. Thanks!
Title: Re: Streaming 3
Post by: rickou812 on October 06, 2006, 01:00:33 AM
IS there anyway to limit or set permisions to certian groups?  I can't seem to find a way, it seems either on or off..
Thanks
Title: Re: Streaming 3
Post by: Vedmak on October 10, 2006, 06:38:11 PM
1948Pal, great mod, but could you make valid XHTML for streaming video like in this article http://www.alistapart.com/articles/byebyeembed
Title: Re: Streaming 3
Post by: clactongirl2002 on October 17, 2006, 07:34:00 PM
I have just installed this MOD onto my forum and everything installed fine but I tried to embed a google video and when I went to view it the google video box appeared but no video played  :( what am I doing wrong?
Title: Re: Streaming 3
Post by: Goad on October 31, 2006, 03:04:06 PM
I just installed this mod....youtube works, but google doesnt.

when i put the google code between the brackets, it shows the player with a black box and it doesnt play.

any ideas?

EDIT: I tried a different video from google and it worked......any idea why?

EDIT#2: it looks like i figured it out. I thought i just had to put in the numbers, but you need to put in everything after the =

Google URL Example: http://video.google.com/videoplay?docid=-4748618110269205249

Google BCC Example: [gv=475,325]-4748618110269205249[/gv]

I didnt think to add the - after the =


Also, is there a way to remove the buttons you dont want your users to use? i know you can disable embedding, but i want to remove those buttons.
Title: Re: Streaming 3
Post by: Wingnut31 on October 31, 2006, 04:57:23 PM
Could someone please explain how to hand code in youtube for version 1.0.9, I"ve got the others working but can't make youtube work.

Thanks
Title: Re: Streaming 3
Post by: FUBAR on November 04, 2006, 07:25:18 PM
Amazing mod, thank you so much for this!  :)
Title: Re: Streaming 3
Post by: 1948Pal on November 04, 2006, 11:42:13 PM
I am sorry people, but I havn't been on much lately. Here is what you need to do to add youtube to 1.0.9, I tried to make it an update to "streaming 3" 4.2.2a, but couldn't figure out what I need to do on SMF mod site, untill then though, here it is, this of course assuming you have "streaming 3" 4.2.2a installed.
Quote<edit file>
Themes/default/languages/Modifications.english.php
</edit file>

<search for>
$txt['enableGoogleVideo'] = 'Embed Google video into posts?';
</search for>

<add after>
$txt['enableYouTube'] = 'Embed YouTube video into posts?';
</add after>

<edit file>
$themedir/languages/Help.english.php
</edit file>

<search for>
$helptxt['enableGoogleVideo'] = 'This option will allow your users to use Google Video directly inside their posts!';
</search for>

<add after>
$helptxt['enableYouTube'] = 'This option will allow your users to embed YouTube directly inside their posts!';
</add after>

<edit file>
Sources/Printpage.php
</edit file>

<search for>
      $row['body'] = preg_replace("/\[gv=(.*)\](.*)\[\/gv\]/","$2",$row['body']);
</search for>

<add after>
      $row['body'] = preg_replace("/\[yt=(.*)\](.*)\[\/yt\]/","$2",$row['body']);
</add after>

<edit file>
Themes/default/Post.template.php
</edit file>

<search for>
         'gv' => array('code' => 'gv', 'before' => '[gv=475,325]', 'after' => '[/gv]', 'description' => $txt['gv']),
</search for>

<add after>
         'yt' => array('code' => 'yt', 'before' => '[yt=475,325]', 'after' => '[/yt]', 'description' => $txt['yt']),   
</add after>

<edit file>
Sources/Subs-Post.php
</edit file>

<search for>
      array('tag' => 'gv', 'protocol' => array('http', 'rtsp', 'mms'), 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true);
</search for>

<add after>
      array('tag' => 'yt', 'protocol' => array('http', 'rtsp', 'mms'), 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true);
</add after>

<edit file>
Sources/Subs.php
</edit file>

<search for>
                  // Handle Google video
             $codefromcache[] = '~\[gv=(\d+?),(\d+?)\](?:<br />)?(.+?)(?:<br />)?\[/gv\]~is';
         if (empty($modSettings['enableGoogleVideo']))
               $codetocache[] = '<a href="$3" target="_new">$3</a>';
         else
            $codetocache[] = '<object width="$1" height="$2" type="application/x-shockwave-flash" data="http://video.google.com/googleplayer.swf">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="http://video.google.com/googleplayer.swf?docId=$3" />
    <param name="quality" value="best" />
    <param name="bgcolor" value="#ffffff" />
    <param name="scale" value="noScale" />
    <param name="wmode" value="window" />
    <param name="salign" value="TL" />
    <param name="FlashVars" value="playerMode=embedded" />
    <embed id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=$3">
   </embed>
            </object>';
</search for>

<add after>
                  // Handle YouTube
             $codefromcache[] = '~\[yt=(\d+?),(\d+?)\](?:<br />)?(.+?)(?:<br />)?\[/yt\]~is';
         if (empty($modSettings['enableYouTube']))
               $codetocache[] = '<a href="$3" target="_new">$3</a>';
         else
            $codetocache[] = '<object width="$2" height="$3"><param name="movie" value="http://www.youtube.com/v/$1"></param><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" width="$2" height="$3"></embed></object>' : '<embed width="$2" height="$3" type="application/x-shockwave-flash" src="http://www.youtube.com/v/$1" /></embed>';
</add after>

<edit file>
Sources/ModSettings.php
</edit file>

<search for>
         array('check', 'enableGoogleVideo'),
</search for>

<add after>
         array('check', 'enableYouTube'),
</add after>
Title: Re: Streaming 3
Post by: 1948Pal on November 04, 2006, 11:51:18 PM
Quote from: Vedmak on October 10, 2006, 06:38:11 PM
1948Pal, great mod, but could you make valid XHTML for streaming video like in this article http://www.alistapart.com/articles/byebyeembed
That is a good thing, I will do that in the next update.
Quote from: rickou812 on October 06, 2006, 01:00:33 AM
IS there anyway to limit or set permisions to certian groups?  I can't seem to find a way, it seems either on or off..
Thanks
At this time, this mod does not have that feature, but there is a nice mod by winrules that that does this to all the BBC, bbc permissions mod (http://mods.simplemachines.org/index.php?mod=449). I suggest you check it out, if you havn't yet!
Title: Re: Streaming 3
Post by: rickou812 on November 05, 2006, 05:08:55 AM
QuoteAt this time, this mod does not have that feature, but there is a nice mod by winrules that that does this to all the BBC, bbc permissions mod. I suggest you check it out, if you havn't yet!
Thanks for the info  ;D
Title: Re: Streaming 3
Post by: Wingnut31 on November 05, 2006, 06:34:32 PM
Quote from: 1948Pal on November 04, 2006, 11:42:13 PM
I am sorry people, but I havn't been on much lately. Here is what you need to do to add youtube to 1.0.9, I tried to make it an update to "streaming 3" 4.2.2a, but couldn't figure out what I need to do on SMF mod site, untill then though, here it is, this of course assuming you have "streaming 3" 4.2.2a installed.
QuoteSources/Subs.php
</edit file>

<search for>
                  // Handle Google video
             $codefromcache[] = '~\[gv=(\d+?),(\d+?)\](?:<br />)?(.+?)(?:<br />)?\[/gv\]~is';
         if (empty($modSettings['enableGoogleVideo']))
               $codetocache[] = '<a href="$3" target="_new">$3</a>';
         else
            $codetocache[] = '<object width="$1" height="$2" type="application/x-shockwave-flash" data="http://video.google.com/googleplayer.swf">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="http://video.google.com/googleplayer.swf?docId=$3" />
    <param name="quality" value="best" />
    <param name="bgcolor" value="#ffffff" />
    <param name="scale" value="noScale" />
    <param name="wmode" value="window" />
    <param name="salign" value="TL" />
    <param name="FlashVars" value="playerMode=embedded" />
    <embed id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=$3">
   </embed>
            </object>';
</search for>

<add after>
                  // Handle YouTube
             $codefromcache[] = '~\[yt=(\d+?),(\d+?)\](?:<br />)?(.+?)(?:<br />)?\[/yt\]~is';
         if (empty($modSettings['enableYouTube']))
               $codetocache[] = '<a href="$3" target="_new">$3</a>';
         else
            $codetocache[] = '<object width="$2" height="$3"><param name="movie" value="http://www.youtube.com/v/$1"></param><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" width="$2" height="$3"></embed></object>' : '<embed width="$2" height="$3" type="application/x-shockwave-flash" src="http://www.youtube.com/v/$1" /></embed>';
</add after>

<edit file>
Sources/ModSettings.php
</edit file>

<search for>
         array('check', 'enableGoogleVideo'),
</search for>

<add after>
         array('check', 'enableYouTube'),
</add after>

Could someone please take a look at my file below and see if they could fix the code because I get a "Parse error: syntax error, unexpected" Thanks for the help.


                  // Handle Google video
    $codefromcache[] = '~\[gv=(\d+?),(\d+?)\](?:<br />)?(.+?)(?:<br />)?\[/gv\]~is';
if (empty($modSettings['enableGoogleVideo']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else
$codetocache[] = '<object width="$1" height="$2" type="application/x-shockwave-flash" data="http://video.google.com/googleplayer.swf">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="http://video.google.com/googleplayer.swf?docId=$3" />
    <param name="quality" value="best" />
    <param name="bgcolor" value="#ffffff" />
    <param name="scale" value="noScale" />
    <param name="wmode" value="window" />
    <param name="salign" value="TL" />
    <param name="FlashVars" value="playerMode=embedded" />
    <embed id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=$3">
</embed>
</object>';
// Handle YouTube
$codefromcache[] = '~\[yt=(\d+?),(\d+?)\](?:<br />)?(.+?)(?:<br />)?\[/yt\]~is';
if (empty($modSettings['enableYouTube']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else
$codetocache[] = '<object width="$2" height="$3"><param name="movie" value="http://www.youtube.com/v/$1"></param><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" width="$2" height="$3"></embed></object>' : '<embed width="$2" height="$3" type="application/x-shockwave-flash" src="http://www.youtube.com/v/$1" /></embed>';

}


// The HideTag :)
if (empty($modSettings['hide_hiddentext'])) $modSettings['hide_hiddentext'] = '&nbsp;'; //A tiny little space =)
// The MUI Switch ;D
if (!empty($modSettings['hide_MUIswitch'])) $modSettings['hide_hiddentext'] = &$txt['hide_hiddentext'];
Title: Re: Streaming 3
Post by: 1948Pal on November 05, 2006, 09:38:06 PM
Try it like this

// Handle YouTube
$codefromcache[] = '~\[yt=(\d+?),(\d+?)\](?:<br />)?(.+?)(?:<br />)?\[/yt\]~is';
if (empty($modSettings['enableYouTube']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else
$codetocache[] =  '<object width="$2" height="$3"><param name="movie"
value="http://www.youtube.com/v/$1"></param><embed
src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash"
width="$2" height="$3"></embed></object>';
Title: Re: Streaming 3
Post by: Wingnut31 on November 06, 2006, 10:59:26 AM
Quote from: 1948Pal on November 05, 2006, 09:38:06 PM
Try it like this

// Handle YouTube
$codefromcache[] = '~\[yt=(\d+?),(\d+?)\](?:<br />)?(.+?)(?:<br />)?\[/yt\]~is';
if (empty($modSettings['enableYouTube']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else
$codetocache[] =  '<object width="$2" height="$3"><param name="movie"
value="http://www.youtube.com/v/$1"></param><embed
src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash"
width="$2" height="$3"></embed></object>';

Thanks that was the end of the error message but I enabled YT and see no button and also when I try to post I get "value="http://www.youtube.com/v/425">
src="http://www.youtube.com/v/425" type="application/x-shockwave-flash"
width="350" height="zaITATr2C9c">"
Is there something I missed?

Thanks so much for the help. :)
Title: Re: Streaming 3
Post by: 1948Pal on November 06, 2006, 04:53:28 PM
My bad, I'm sorry I messed up
$codefromcache[] = '~\[yt=(\d+?),(\d+?)\](?:<br />)?(.+?)(?:<br />)?\[/yt\]~is';
if (empty($modSettings['enableYouTube']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else
$codetocache[] =  '<object width="$1" height="$2"><param name="movie"
value="http://www.youtube.com/v/$3"></param><embed
src="http://www.youtube.com/v/$3" type="application/x-shockwave-flash"
width="$1" height="$2"></embed></object>';

Asfor the button, is there a place holder with a red x or just no button/place at all? I no button at all, did you follow the directions in reply #433 (http://www.simplemachines.org/community/index.php?topic=32951.msg797625#msg797625)? If red x make sure you copy the image yt.gif into your /default theme folder/images/bbc.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.allaboutpalestine.com%2F11rc2%2FThemes%2Fdefault%2Fimages%2Fbbc%2Fyt.gif&hash=9ab4fb454c7b3d0f6d6d720d809c73c9d4ab2d24)
Title: Re: Streaming 3
Post by: Wingnut31 on November 06, 2006, 07:22:10 PM
Quote from: 1948Pal on November 06, 2006, 04:53:28 PM
My bad, I'm sorry I messed up
$codefromcache[] = '~\[yt=(\d+?),(\d+?)\](?:<br />)?(.+?)(?:<br />)?\[/yt\]~is';
if (empty($modSettings['enableYouTube']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else
$codetocache[] =  '<object width="$1" height="$2"><param name="movie"
value="http://www.youtube.com/v/$3"></param><embed
src="http://www.youtube.com/v/$3" type="application/x-shockwave-flash"
width="$1" height="$2"></embed></object>';

Asfor the button, is there a place holder with a red x or just no button/place at all? I no button at all, did you follow the directions in reply #433 (http://www.simplemachines.org/community/index.php?topic=32951.msg797625#msg797625)? If red x make sure you copy the image yt.gif into your /default theme folder/images/bbc.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.allaboutpalestine.com%2F11rc2%2FThemes%2Fdefault%2Fimages%2Fbbc%2Fyt.gif&hash=9ab4fb454c7b3d0f6d6d720d809c73c9d4ab2d24)
Thanks for staying with it for me. :)
I've got the button showing up but still can't get a video to show up, I'll post my subs.php from just above and just below the you tube entry and maybe you could tell me what I'm doing wrong. I'm very grateful for all the help.

// Handle Google video
    $codefromcache[] = '~\[gv=(\d+?),(\d+?)\](?:<br />)?(.+?)(?:<br />)?\[/gv\]~is';
if (empty($modSettings['enableGoogleVideo']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else
$codetocache[] = '<object width="$1" height="$2" type="application/x-shockwave-flash" data="http://video.google.com/googleplayer.swf">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="http://video.google.com/googleplayer.swf?docId=$3" />
    <param name="quality" value="best" />
    <param name="bgcolor" value="#ffffff" />
    <param name="scale" value="noScale" />
    <param name="wmode" value="window" />
    <param name="salign" value="TL" />
    <param name="FlashVars" value="playerMode=embedded" />
    <embed id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=$3">
</embed>
</object>';
// Handle YouTube
$codefromcache[] = '~\[yt=(\d+?),(\d+?)\](?:<br />)?(.+?)(?:<br />)?\[/yt\]~is';
if (empty($modSettings['enableYouTube']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else
$codetocache[] = '<object width="$1" height="$2"><param name="movie"
value="http://www.youtube.com/v/$3"></param><embed
src="http://www.youtube.com/v/$3" type="application/x-shockwave-flash"
width="$1" height="$2"></embed></object>';

}


// The HideTag :)
Title: Re: Streaming 3
Post by: 1948Pal on November 06, 2006, 10:37:58 PM
so what does show when you post a link to a video? Is it enabled in features and options?
Title: Re: Streaming 3
Post by: Wingnut31 on November 07, 2006, 10:19:29 AM
Quote from: 1948Pal on November 06, 2006, 10:37:58 PM
so what does show when you post a link to a video? Is it enabled in features and options?
I enabled it and the the button shows up fine but all I get is this:

value="http://www.youtube.com/v/http://www.youtube.com/watch?v=tkL42C5Gvhk">
src="http://www.youtube.com/v/http://www.youtube.com/watch?v=tkL42C5Gvhk" type="application/x-shockwave-flash"
width="425" height="350">


I might be trying the wrong info between the tags but I think I've tried every combination without luck.

Thanks for the help.
Title: Re: Streaming 3
Post by: 1948Pal on November 07, 2006, 11:07:01 AM
between the [yt=x,y]and the[yt] tags, all you have to put there is the value after the v= in the url to the movie; like so [yt=425,350]tkL42C5Gvhk[/yt].
If you have the correct code, this should work.
Title: Re: Streaming 3
Post by: Wingnut31 on November 07, 2006, 11:49:02 AM
Quote from: 1948Pal on November 07, 2006, 11:07:01 AM
between the [yt=x,y]and the[yt] tags, all you have to put there is the value after the v= in the url to the movie; like so [yt=425,350]tkL42C5Gvhk[/yt].
If you have the correct code, this should work.
Here's what I get.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.frostbittencanadianboy.com%2Fstream3.JPG&hash=f0d483810087de6a287063ac52535a6a3833146d)
Title: Re: Streaming 3
Post by: chevere on November 08, 2006, 06:27:48 AM
Quote from: Wingnut31 on November 07, 2006, 11:49:02 AM
Quote from: 1948Pal on November 07, 2006, 11:07:01 AM
between the [yt=x,y]and the[yt] tags, all you have to put there is the value after the v= in the url to the movie; like so [yt=425,350]tkL42C5Gvhk[/yt].
If you have the correct code, this should work.
Here's what I get.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.frostbittencanadianboy.com%2Fstream3.JPG&hash=f0d483810087de6a287063ac52535a6a3833146d)

Hello 1948pal I'm Max (I wrote you by MP).
I have the same problems of Wingnut31.
I made all the mod as you told me, I can see the button but when I put the Youtube code between the two [yt][/yt] I see something like this:

value="http://www.youtube.com/v/tkL42C5Gvhk">
src="http://www.youtube.com/v/tkL42C5Gvhk" type="application/x-shockwave-flash"
width="475" height="325">
Title: Re: Streaming 3
Post by: 1948Pal on November 08, 2006, 09:12:03 AM
This is really strange. I have this working on a fresh 1.0.9 install. Not sure what went wrong with you guys.
If possible, can you remove the streaming mod you have and download this working one (http://allaboutpalestine.com/download/streaming_4.2.2a.zip) from my test site? Please let me know if it works with you.
Title: Re: Streaming 3
Post by: chevere on November 08, 2006, 10:17:51 AM
Quote from: 1948Pal on November 08, 2006, 09:12:03 AM
This is really strange. I have this working on a fresh 1.0.9 install. Not sure what went wrong with you guys.
If possible, can you remove the streaming mod you have and download this working one (http://allaboutpalestine.com/download/streaming_4.2.2a.zip) from my test site? Please let me know if it works with you.

Just a question...I have to enable the include flash botton on the admin panel?
I didn't make it...

Anyway I downloaded the fresh mod and now I'll try to change the old...
Let you know as soon as I'll finish...


edit...

Ok I changed only the subs.php file and now there's a difference...I can see the video even before I see the value text.
http://www.lasalsavive.org/forum.salsa/index.php?topic=103.msg651#msg651
What I have to do?
About the code please take a look:
// Handle Google video
    $codefromcache[] = '~\[gv=(\d+?),(\d+?)\](?:<br />)?(.+?)(?:<br />)?\[/gv\]~is';
if (empty($modSettings['enableGoogleVideo']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else
$codetocache[] = '<object width="$1" height="$2" type="application/x-shockwave-flash" data="http://video.google.com/googleplayer.swf">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="http://video.google.com/googleplayer.swf?docId=$3" />
    <param name="quality" value="best" />
    <param name="bgcolor" value="#ffffff" />
    <param name="scale" value="noScale" />
    <param name="wmode" value="window" />
    <param name="salign" value="TL" />
    <param name="FlashVars" value="playerMode=embedded" />
    <embed id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=$3">
</embed>
</object>';

// Handle YouTube
$codefromcache[] = '~\[yt=(\d+?),(\d+?)\](?:<br />)?(.+?)(?:<br />)?\[/yt\]~is';
if (empty($modSettings['enableYouTube']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else
$codetocache[] = '<object width="$1" height="$2"><param name="movie"
    value="http://www.youtube.com/v/$3"></param><embed src="http://www.youtube.com/v/$3" type="application/x-shockwave-flash" width="$1" height="$2"></embed></object>';

}
Title: Re: Streaming 3
Post by: chevere on November 08, 2006, 10:41:32 AM
Finally i find the mistake!!!

There was a < less

The code was value="http://www.youtube.com/v/$3">

And I put < before value now the code is <value="http://www.youtube.com/v/$3">

and finally I see the video!

Thanks a lot for your help!
Title: Re: Streaming 3
Post by: Wingnut31 on November 08, 2006, 11:01:57 AM
Quote from: 1948Pal on November 08, 2006, 09:12:03 AM
This is really strange. I have this working on a fresh 1.0.9 install. Not sure what went wrong with you guys.
If possible, can you remove the streaming mod you have and download this working one (http://allaboutpalestine.com/download/streaming_4.2.2a.zip) from my test site? Please let me know if it works with you.
I made it work by just copying and pasting the subs.php from the version you asked us to download and it works perfect.

chevere spotted the missing < which I would have never found.

Thanks very much for staying with us to get it fixed.
Title: Re: Streaming 3
Post by: Earthview on November 18, 2006, 08:00:40 AM
Hi i have a question,

first, thanks for your great full mod.

i installed it on theme (Neptune) 1.1 RC3, i checked in Features & options -->      Layout and Options and can't find any button for enable or disable.

I turn my forum back to default and check the same options and i can't find it.

Do you have a second option for me.

Thanks for your help.

Title: Re: Streaming 3
Post by: 1948Pal on November 18, 2006, 05:32:39 PM
If the install went without errors, you should see the 5 stream check boxes in features and options - layout and options. Do you get errors? On post or reply, do you see any bbc images? What other mods do you have installed?
Title: Re: Streaming 3
Post by: Earthview on November 18, 2006, 05:42:10 PM
I checked the boxes in features and options, and i don't see the streaming bbc images. I had cmodd all 777 and i have no errors, installed it by theme neptune and the default theme, with no result.

This is my first mod, i will try a another mod.
Title: Re: Streaming 3
Post by: 1948Pal on November 18, 2006, 10:20:51 PM
What about in admin panel - posts and topics - bulletin board code? Are the boxes checked there?
Title: Re: Streaming 3
Post by: Earthview on November 19, 2006, 05:38:08 AM
Hi,

No, only standard bbc codes. I installed for test a wiki mod, and that will also not working.

The problem is not i thinks so the streaming or wiki mod...

It's strange, i installed all mods (Test succesfully) install it and can see afther install thats in my installed mod's view, I can uninstall it.thats working fine.

I have 1 problem i can't see everything where it is :-[

I checked all the configurations setting on my forum... very strange..
Title: Re: Streaming 3
Post by: Niteblade on November 30, 2006, 10:01:33 PM
I guess it's time to add Revver into the mix?

http://chris.pirillo.com/2006/11/27/youtube-vs-google-video-vs-revver/

I haven't investigated Revver, ... I just saw this video and posted this link.. I don't know if Revver would be worth it or not..

Tip: Play all 3 at the same time.
Title: Re: Streaming 3
Post by: Chriss Cohn on December 03, 2006, 07:21:35 AM
The mod is not working with the SMF 1.1 final  :'( :'(
QuoteInstall Actions
Installations actions for "Streaming 3":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
And of course after upgrading to 1.1final the old installation is gone
Title: Re: Streaming 3
Post by: twister909 on December 03, 2006, 04:52:12 PM
Make your own modification

Unpack the mod, then rename
stream-gv-1.1rc2.mod

into

stream-gv-1.1.mod

Open package-info.xml

in line 47 replace <install for="1.1 RC3"> with
<install for="1.1">

in line 58 replace
<modification type="file" format="boardmod">stream-gv-1.1rc3.mod</modification>
with
<modification type="file" format="boardmod">stream-gv-1.1.mod</modification>

change line from 75 to 79 with

<uninstall for="1.1">
      <readme type="inline">This will uninstall the streaming 3 mod, are you sure?
      </readme>
      <modification type="file" format="boardmod" reverse="true">stream-gv-1.1.mod</modification>
   </uninstall>

then create again the pack (i've made a .tar.gz cause smf seems don't like .zip packages maded by Linux) and install as usual
Title: Re: Streaming 3
Post by: Chriss Cohn on December 03, 2006, 06:25:59 PM
Yes works! Thank you very much!
Title: Re: Streaming 3
Post by: Wingnut31 on December 03, 2006, 06:40:56 PM
Worked like a charm for me too Thanks.
Title: Re: Streaming 3
Post by: Gobo on December 04, 2006, 06:08:02 AM
1.1 Final is out :D

Looking forward to the OFFICIAL 1.1 compatible mod :D
Title: Re: Streaming 3
Post by: choloman05 on December 04, 2006, 06:47:11 PM
My youtube and google videos are not displaying - I've had this happen before:  The first time, I went to look at a video that was posted and  there was nothing- just the id tags for the video. I had to go into admin and recheck the little boxes to allow streaming vide.  This time, the video block is there, but when I press play, nothing happens. It just gives me the "watch again/share" options from youtube. Google vids do nothing. Is there/will there be any fixes for this? Thanks.
Title: Re: Streaming 3
Post by: Gobo on December 05, 2006, 04:16:37 AM
Quote from: choloman05 on December 04, 2006, 06:47:11 PM
My youtube and google videos are not displaying - I've had this happen before:  The first time, I went to look at a video that was posted and  there was nothing- just the id tags for the video. I had to go into admin and recheck the little boxes to allow streaming vide.  This time, the video block is there, but when I press play, nothing happens. It just gives me the "watch again/share" options from youtube. Google vids do nothing. Is there/will there be any fixes for this? Thanks.

i got it to work for 1.1 final follow these instructions TO THE WORD!
http://www.simplemachines.org/community/index.php?topic=32951.msg837907#msg837907
Title: Re: Streaming 3
Post by: Excalibur! on December 05, 2006, 10:37:48 AM
This mod is not working with IE7!
Title: Re: Streaming 3
Post by: 1948Pal on December 05, 2006, 08:06:17 PM
Sorry guys, but I've been so busy at work along with the holiday season here in the US, I just don't have enough time. But I'll get it working for 1.1 final by this weekend.
Quote from: Excalibur! on December 05, 2006, 10:37:48 AM
This mod is not working with IE7!
Sorry to hear that! What exactly is not working? Because it works for me, all 5 streams. Can you elaborate further?

Just a not to all, if you get some dead white or black space in the video window, try resizing the width and height. Example, by default it starts with [gv=475,325]blahblahblah[/gv] make it [gv=375,225]blah[/gv] or whatever size fits! I think that should work.
Title: Re: Streaming 3
Post by: Excalibur! on December 06, 2006, 05:12:23 AM
I can see only this:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg141.imageshack.us%2Fimg141%2F9256%2Fsnap001zd4.th.jpg&hash=fe3596295f87bff24b8c6a47fcfa17570ea98f95) (http://img141.imageshack.us/my.php?image=snap001zd4.jpg)

Url is here: http://www.neotronic.info/index.php?option=com_smf&Itemid=68&topic=761.msg5484#new
Title: Re: Streaming 3
Post by: Gobo on December 06, 2006, 07:30:03 AM
that probably means u dont have the flash plugin installed for IE

Please also read the special notice on Adobe.com regarding "flash not working with IE"
I think thats the title - basically the fix is to uninstall flash using an uninstall file that u download from their site and then u have to reinstall flash.
Title: Re: Streaming 3
Post by: Excalibur! on December 06, 2006, 07:52:42 AM
Quote from: akulion on December 06, 2006, 07:30:03 AM
...basically the fix is to uninstall flash using an uninstall file that u download from their site and then u have to reinstall flash.

You're right! Now everything is fine... Tnx!
Title: Re: Streaming 3
Post by: 1948Pal on December 07, 2006, 12:25:43 AM
Hi.
A new file is uploaded on the SMF MOD site (http://mods.simplemachines.org/index.php); streaming_4.2.2b (http://mods.simplemachines.org/index.php?mod=121). It has no significant additions, but installation compatibility with 1.1 final, and also upon uninstallation, the BBC images will now be removed, where by before, they were left behind. Thats it.
Title: Re: Streaming 3
Post by: HRM on December 09, 2006, 09:06:07 AM
Just upgraded my  board to SMF 1.1. Final using the upgrade file. :)
and my Tinyportal also had to be upgraded to the latest version too to work.
www.muziek4um.nl and http://www.muziek4um.nl/index.php?action=forum

Everything runs fine now exept of the mods because now none of my mods are working anymore. :(

Tried to install the this great mod again, the latest version streaming_4.2.2b.  and it doesnt work at all.
Tried to install it with the package manager but it gives met the text:

Installations actions for "Streaming 3":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 

Any idea?


CORRECTION!!

OOps.. Excuse me guys, I had just taken the uploaded file from the wrong, old folder so it was an old version.(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.muziek4um.nl%2FSmileys%2Fdefault%2Fhammer.gif&hash=df5c43c9a8a859bbbe2ffa64e66b75148c45063c)

THe latest version works EXCELLENT!!! Tnx a lot 1948PAL!

Title: Re: Streaming 3
Post by: [tiktaktok] on December 14, 2006, 12:27:52 AM
Hi all,
works great under 1.1 so far.

But i need more :)

I need a custom embbed of a video stream service for freecaster.com
link example:
<a href="http://play.freecaster.com/1000045/1001187/DE" target="_blank">link</a>

And i need yahoo ...

link example:
<embed src='http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player/media/swf/FLVVideoSolo.swf' flashvars='id=1411903&emailUrl=http%3A%2F%2Fvideo.yahoo.com%2Futil%2Fmail%3Fei%3DUTF-8%26vid%3D5c2e23f313bbb26c6d52c98205595e87.1411903%26cache%3D1&imUrl=http%253A%252F%252Fvideo.yahoo.com%252Fvideo%252Fplay%253F%2526ei%253DUTF-8%2526vid%253D5c2e23f313bbb26c6d52c98205595e87.1411903%2526cache%253D1&imTitle=Global%2BWarming&searchUrl=http://video.yahoo.com/video/search?p=&profileUrl=http://video.yahoo.com/video/profile?yid=&creatorValue=bGVvbmFyZG8uZGljYXByaW9fZm91bmRhdGlvbg%3D%3D&vid=5c2e23f313bbb26c6d52c98205595e87.1411903' type='application/x-shockwave-flash' width='425' height='350'></embed>


So did any1 allready implemented this? I saw the code and i think i can somehow hack the mod but i liek to checkout here first ...


Cheers
Title: Re: Streaming 3
Post by: HRM on December 15, 2006, 02:51:18 PM
Many video sites are in flash so can also be used with the embed flash function.;)

Google videos also could be embedded with the flash function.;D

Freecaster is quicktime.
Title: Re: Streaming 3
Post by: mickyd2006 on December 15, 2006, 08:10:05 PM
Where can I get the streaming mod version that was available before this one??

Thanks...

I am asking because I am still using 1.1 RC3 and this new version doesnt seem to like this version.. not even showing the apply mod link.
I would upgrade to 1.1 final but Im not sure how my site would cope with a good deal of the template being 1.1 RC3 based plus mambo bridged amongst other things so for now I'll stick with RC3 lol

Thanks =]
Title: Re: Streaming 3
Post by: HRM on December 16, 2006, 07:29:57 AM
It should be compatible with rc3 1.1

http://mods.simplemachines.org/index.php?mod=555
QuoteName: Media Center
Created By: JayBachatero 
Type: New Feature 
First Created: December 02, 2006, 06:43:45 AM
Last Modified: December 07, 2006, 02:40:49 PM
Latest Version: 1.0
Compatible With: 1.1 RC3, 1.1
Total Downloads: 961
Rating: 4
Title: Re: Streaming 3
Post by: mickyd2006 on December 16, 2006, 10:19:16 AM
Yeah, I thought it would be too but my SMF 1.1 RC3 install wont have it....

I have a mambo site installed and I was working with Ortsio to correct errors in the smf 1.1 beta 2 bridge with mambo 4.6.1 which we did successfully... (You May revise details from that effort HERE (http://www.simplemachines.org/community/index.php?topic=131132.0))

During that process I had the streaming mod installed and working no probs but it was the version before 1948pal updated on dec 7th.... since that time I have had to reinstall everything... neither Ortsio nor I have altered a thing nor performed a step differently to the first time I installed mambo and smf bridged, I can only conclude that something has altered in the revised version of streaming since then that my 1.1 RC3 smf doesnt like, since it doesnt even give the option in package manager to apply the mod, instead it gives only two options... 1. List Files & 2. Delete.

I would upgrade, as I have mentioned to SMF 1.1 final but there could be some serious functionality problems occur if evreything doesnt work together since the template I am using for SMF 1.1 RC3 (Planetfall) is a shared template theme between mambo and SMF and is also designed for a version previous to SMF 1.1 RC3 but it does work however and well. I dont want to upset that by finding out that something subtle has been changed in SMF 1.1 final and my site goes boo boo lol

I mean a good example of this would be this current scenario with im having with the streaming mod, If it is a subtle alteration to the streaming mod that is causing me to have difficulty installing it into my SMF install, then I ask myself what can I expect if I upgrade from 1.1 RC3 to 1.1 Final...

slightly off topic....

I also have another site running SMF 1.1 RC2 (not related to the above mambo and smf site above) and I wanted that to upgrade to RC3 but due to the changes between RC2 and RC3 and also the mods I had insalled and the alterations I had made... It became a shambles trying to upgrade... I attempted to upgrade from RC2 to RC3 several times, even uninstalling all the mods but it never went well... too many DB and mySQL errors and it looked to me like the only way I would get my site up to RC3 would be a fresh install.. I even tried installing a fresh 1.1 RC3 on a test site and then installing a backup copy of the RC2 DB into it.. but still no luck...

So for now Ill hold off upgrading lol

back on topic

If I could get hold of the streaming mod prior to Dec 7th I could verify if it is the mod conflicting with my RC3 install.
Title: Re: Streaming 3
Post by: 1948Pal on December 16, 2006, 12:41:07 PM
Quote from: HRM on December 16, 2006, 07:29:57 AM
It should be compatible with rc3 1.1

http://mods.simplemachines.org/index.php?mod=555
QuoteName: Media Center
Created By: JayBachatero 
Type: New Feature 
First Created: December 02, 2006, 06:43:45 AM
Last Modified: December 07, 2006, 02:40:49 PM
Latest Version: 1.0
Compatible With: 1.1 RC3, 1.1
Total Downloads: 961
Rating: 4

This is the wrong mod HRM!
Title: Re: Streaming 3
Post by: 1948Pal on December 16, 2006, 12:43:17 PM
mickyd2006, did you try 4.2.2a here (http://mods.simplemachines.org/index.php?action=download;mod=121;id=18551)? or even 4.2.2?
Title: Re: Streaming 3
Post by: HRM on December 16, 2006, 02:20:22 PM
Quote from: 1948Pal on December 16, 2006, 12:41:07 PM
Quote from: HRM on December 16, 2006, 07:29:57 AM
It should be compatible with rc3 1.1

http://mods.simplemachines.org/index.php?mod=555
QuoteName: Media Center
Created By: JayBachatero 
Type: New Feature 
First Created: December 02, 2006, 06:43:45 AM
Last Modified: December 07, 2006, 02:40:49 PM
Latest Version: 1.0
Compatible With: 1.1 RC3, 1.1
Total Downloads: 961
Rating: 4

This is the wrong mod HRM!

Oops!
Thought it was the right one as it does say: "Compatible With: 1.1 RC3, 1.1" :)

And to mickyd2006 ... You better listen to 1948pal! ;)
Title: Re: Streaming 3
Post by: mickyd2006 on December 17, 2006, 09:25:53 AM
Thanks guys... you're both stars!

The 4.2.2a Worked like a charm... I couldnt find that for love nor money the other day lol.....
It installed without a single hitch.... Thats it... Im gonna put that zip somewhere REAL safe lol...

Thanks guys Im well happy now =]
Title: Re: Streaming 3
Post by: HRM on December 17, 2006, 04:15:33 PM
Quote from: 1948Pal on December 07, 2006, 12:25:43 AM
Hi.
A new file is uploaded on the SMF MOD site (http://mods.simplemachines.org/index.php); streaming_4.2.2b (http://mods.simplemachines.org/index.php?mod=121). It has no significant additions, but installation compatibility with 1.1 final, and also upon uninstallation, the BBC images will now be removed, where by before, they were left behind. Thats it.

Hi 1948pal,

Sorry that I have to say But something seems wrong with the youtube function in version 4.2.2b
It does not always work while on that very moment it does work with the flash function. Weird huh?
Check this topic on my forum to see what i mean: http://www.muziek4um.nl/index.php?topic=3487.0

The guy who posted the first message used the Youtube function.

Check the second message on that topic. That one is mine. The first embed video is with flash and the other is with YT and as you can see it will give a blank screen.
http://www.muziek4um.nl/index.php?topic=3487.msg10783#msg10783
Title: Re: Streaming 3
Post by: 1948Pal on December 17, 2006, 11:23:26 PM
HRM, Please try only using [yt=xyz,xyz]5Gx6CGvDj74[/yt]? You know just the bit of characters afte the www.youtube.com/v/. You don't need the whole url.
Title: Re: Streaming 3
Post by: HRM on December 18, 2006, 05:46:41 AM
Ooooooow! There you got a point!  :D Just like the google video's you mean.
I tried it and it really does work! http://www.muziek4um.nl/index.php?topic=3487.msg10783#msg10783
;D
Thanks a lot again 1948 pal!
Title: Re: Streaming 3
Post by: danfaz on December 18, 2006, 01:13:13 PM
Hi, do we need an update for 1.1.1? I tried to install it, and it said it wouldn't work.

Thanks.
Title: Re: Streaming 3
Post by: Gobo on December 18, 2006, 02:31:45 PM
man these version numbers are getting out of control!

1.1 , 1.1.1, 1.1.2, 1.1.3, 1.1.1.1.1.1.1RC1
dag nab it
Title: Re: Streaming 3
Post by: RvG on December 23, 2006, 10:51:55 AM
anyone tried to modify the xml  to 1.1.1 ?

did it worked?
Title: Re: Streaming 3
Post by: j.kay on December 24, 2006, 05:06:21 PM
Hi, i cannot install this versione on 1.1.1, with the modify of the xml file, I still have the error in Subs.php ...  :(

In this string  $bbc_codes[substr($c['tag'], 0, 1)][] = $c;
Title: Re: Streaming 3
Post by: Excalibur! on December 27, 2006, 09:15:10 AM
Quote from: RvG on December 23, 2006, 10:51:55 AM
anyone tried to modify the xml  to 1.1.1 ?

did it worked?

Anyone?
Title: Re: Streaming 3
Post by: Spork on December 27, 2006, 02:47:28 PM
I've just installed this, and it's allowed me to really expand what my site is offering. Thanks for writing it! :)
Title: Re: Streaming 3
Post by: 1948Pal on December 29, 2006, 12:46:33 PM
Quote from: danfaz on December 18, 2006, 01:13:13 PM
Hi, do we need an update for 1.1.1? I tried to install it, and it said it wouldn't work.

Thanks.
Quote from: RvG on December 23, 2006, 10:51:55 AM
anyone tried to modify the xml  to 1.1.1 ?

did it worked?
Quote from: Excalibur! on December 27, 2006, 09:15:10 AM
Anyone?
Updated the package on the mod site, it should install under 1.1.1 now. Sorry for the delay.
Title: Re: Streaming 3
Post by: 1948Pal on December 29, 2006, 12:47:53 PM
Quote from: HRM on December 18, 2006, 05:46:41 AM
Ooooooow! There you got a point!  :D Just like the google video's you mean.
I tried it and it really does work! http://www.muziek4um.nl/index.php?topic=3487.msg10783#msg10783
;D
Thanks a lot again 1948 pal!
Quote from: Spork on December 27, 2006, 02:47:28 PM
I've just installed this, and it's allowed me to really expand what my site is offering. Thanks for writing it! :)
You are welcome. I am glad someone finds useful.
Title: Re: Streaming 3
Post by: 1948Pal on December 29, 2006, 12:49:00 PM
Quote from: akulion on December 18, 2006, 02:31:45 PM
man these version numbers are getting out of control!

1.1 , 1.1.1, 1.1.2, 1.1.3, 1.1.1.1.1.1.1RC1
dag nab it
Yea really! Well, hopefully after this it will slow down a bit.
Title: Re: Streaming 3
Post by: Excalibur! on December 29, 2006, 12:51:39 PM
Quote from: 1948Pal on December 29, 2006, 12:46:33 PM
Updated the package on the mod site, it should install under 1.1.1 now. Sorry for the delay.

Thanks! It's working now! :)
Title: Re: Streaming 3
Post by: dpiercey on December 29, 2006, 01:17:05 PM
I feel somewhat foolish - but after installing in 1.1.1 (only with the most recent 4.2.2b (?) file offered), all I get is links.  No images etc.  And the links only function if the whole url is included.

I've tried copying the links posted on the muziek4um.nl site above, to no avail.

Neither flash/youtube/google video work.  I'm sure it's something I've done wrong but what?

Steps taken:

Installed package. (yep, it said all installed fine).
Posted message.
Tried different combinations of my own and copied and pasted:

[flash=425,350]http://www.youtube.com/v/5Gx6CGvDj74[/flash]  <--just a link

[yt=425,350]http://www.youtube.com/v/5Gx6CGvDj74[/yt] <--Just a link

[yt=425,350]5Gx6CGvDj74[/yt] <--bad link

Title: Re: Streaming 3
Post by: 1948Pal on December 29, 2006, 03:17:04 PM
Are you using default theme? If not, you need to modify mod for your theme. Also make sure these BBC are enabled in admin panel - posts and topics - bullettin board code, and in admin panel - features and options - layout and options.
Title: Re: Streaming 3
Post by: dpiercey on December 29, 2006, 03:22:24 PM
Default theme - check.

I'll look at the bbc stuff under admin - not looked there before.

Thank you.

Dave
Title: Re: Streaming 3
Post by: K_4_kelly on December 30, 2006, 08:14:55 AM
i got the error message as following:

You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

anyway please advice me what happen??

thanks a lot :)
Title: Re: Streaming 3
Post by: Bigguy on December 30, 2006, 05:34:37 PM
Make sure the packages folder is chmodded to 777 and that it has a folder in it called temp that is also chmodded to 777.
Title: Re: Streaming 3
Post by: cthunder on January 01, 2007, 11:17:20 AM
Ok,,, Need some help here please,

I have the latest version of streaming installed. (4.2.2b)

Installation went fine. All of the icons are in place and when clicked, the correct tags are placed in the body.

I am running the default theme, version 1.1.1

This is the first time streaming has been installed.

All of the bbc codes are checked in both locations in the admin pannel.

All of the boxes have been checked to embed into the post.

Now, this is the funny part; when I click on the type of media from the choices, place the link to the media, all I get is the link. Sometimes, and this has not been often, I get the black box that we are looking for with the start button. When I get that box, the play button never works.

Help me get this going please.

Bob
Title: Re: Streaming 3
Post by: cbn on January 01, 2007, 03:56:29 PM
Excellent. I installed and it worked like a charm. Thanks
Title: Re: Streaming 3
Post by: hawkshaw on January 05, 2007, 09:13:10 PM
This mod works smoothly, the guy invented it is a genius!!! I wish he can also modify it so it supports files from pornotube.com
Title: Re: Streaming 3
Post by: Bigguy on January 06, 2007, 01:47:32 PM
Are you putting the link in right. ??? I mean to use the google tags for streaming you don't use the whole url just the last part of it. Everything that is after the = in the url.

Quote from: cthunder on January 01, 2007, 11:17:20 AM
Ok,,, Need some help here please,

I have the latest version of streaming installed. (4.2.2b)

Installation went fine. All of the icons are in place and when clicked, the correct tags are placed in the body.

I am running the default theme, version 1.1.1

This is the first time streaming has been installed.

All of the bbc codes are checked in both locations in the admin pannel.

All of the boxes have been checked to embed into the post.

Now, this is the funny part; when I click on the type of media from the choices, place the link to the media, all I get is the link. Sometimes, and this has not been often, I get the black box that we are looking for with the start button. When I get that box, the play button never works.

Help me get this going please.

Bob
Title: Re: Streaming 3
Post by: Xarcell on January 07, 2007, 05:22:54 PM
Is there a php settings that keeps flash from working?
Title: Problems! Help, please!
Post by: stephanie_V on January 08, 2007, 12:18:02 PM
I installed the mod, but it didn't work.  It put the correct codes into the body of the post, etc., but the vids won't display in the posts.  So, anyway, I noticed that the mod messed up the buttons in my editor - speading instructions on how to post vids across multiple buttons. 

I uninstalled the mod but my buttons are still displaying the streaming instructions.  I want to start over.  What can I do, now that the mod is uninstalled, to get my editor buttons displayed properly again?
Title: Re: Streaming 3
Post by: heoconvn on January 13, 2007, 03:21:21 AM
When I try type: [stream=475,325]http://www.bytyb.byethost12.com/Aool.WMA[/stream] . And click post. It only appear a hyperlink: "http://www.bytyb.byethost12.com/Aool.WMA" you can click and download it, in the post don't have windowmedia player and can't play this music file

something is wrong , I follow to your help
How to use:
1- For Windows, real and quicktime video or audio, you need to add the
full url to the clip in between the corresponding tags;
[stream=width,height](http/mms)://www.url-to-wmv.com/video.wmv[/stream] OR
[quick=width,height]http://www.url-to-quicktime.com/clip.mov[/quick] OR
[real=width,height](http/rtsp)://www.url-to-realmedia.com/video.ram

2- For Google, each video has a docid consisting of a set of numbers, like
http://video.google.com/videoplay?docid=-6636382512614539408, you
just need to insert the numbers after the docid= between the tags;
[gv=width,height]7690777026382316757[/gv], sometimes there is a "-" (minus sign)
preceeding the numbers like in the url above, if so, it also must be included between the tags.

3- For YouTube, the url to each video ends with "v=Pf3z935R37E" without the quotes, like
http://youtube.com/watch?v=Pf3z935R37E, you just need to add the whole set of numbers and
letters after the "v=" between the tags; [yt=width,height]Pf3z935R37E[/yt].
Alternatively, you can click the BBC image corresponding to the type of video you want to
embed in your post to automatically place the tags in the post. Thats it.

But it only show the hyperlink, And You tube, when I copy, paste the number, It create the hyperlink to my host. EX: I click button Youtube, then copy, paste code:"co9qBme4Dgk", Click post, It show this hyperlink:
http://www.giaodichthuongmaidientu.com/forum/co9qBme4Dgk
Title: Re: Streaming 3
Post by: heoconvn on January 13, 2007, 10:11:02 AM
help me..please. I really want it for my forum
Title: Re: Streaming 3
Post by: heoconvn on January 13, 2007, 10:15:34 AM
Help me..please, I really want it to use in my forum. My SMF version is 1.1.1. I upload mod stream 4.2.2b. But it cannot work. I do it carefully but only a hyperlink in my post to download, don't have windowsmedia player to play music file. You can see and test it here:
http://www.sangiaodichtenmien.com/forum/index.php?topic=8.0
Title: Re: Streaming 3
Post by: 1948Pal on January 13, 2007, 12:25:18 PM
heoconvn, make sure you enabled the tags in the admin panel - features and options - layouts and options, check the streaming tags to enable.
Title: Re: Streaming 3
Post by: heoconvn on January 13, 2007, 12:54:42 PM
I follow "1948Pal" but can not see the streaming tags to check to enable
Title: Re: Streaming 3
Post by: heoconvn on January 13, 2007, 01:02:48 PM
Thank you, because I change my language to Vietnamese so that It does not appear. Now, then I change my language to English, I did it, very thank you
Title: Re: Streaming 3
Post by: denislici on January 14, 2007, 05:06:47 AM

hi
i write the link lik this [yt=width,height]Pf3z935R37E[/yt] but only the Pf3z935R37E part does display in the messages... need help plz...
Title: Re: Streaming 3
Post by: unrelenting on January 14, 2007, 01:45:30 PM
Quote from: denislici on January 14, 2007, 05:06:47 AM

hi
i write the link lik this [yt=width,height]Pf3z935R37E[/yt] but only the Pf3z935R37E part does display in the messages... need help plz...

Probably the same as the last guy, turn it on in the Admin panel.
Title: Re: Streaming 3
Post by: adp on January 21, 2007, 12:46:57 PM
Hi
All code links are working in my Softmc Blue theme, but how can i insert a link in edit box for the codes? I dont have Post.Template.php
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg442.imageshack.us%2Fimg442%2F3716%2F213545556py.jpg&hash=9d4ff7b25fdf9bc5ee3140a5c93b98678f06ddd0)

Tnks
Title: Re: Streaming 3
Post by: Chriss Cohn on January 22, 2007, 06:42:50 AM
Quote from: adp on January 21, 2007, 12:46:57 PM
Hi
All code links are working in my Softmc Blue theme, but how can i insert a link in edit box for the codes? I dont have Post.Template.php
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg442.imageshack.us%2Fimg442%2F3716%2F213545556py.jpg&hash=9d4ff7b25fdf9bc5ee3140a5c93b98678f06ddd0)

Tnks
Afaik post.template.php is used from the default Theme.
Title: Re: Streaming 3
Post by: txleo on January 22, 2007, 11:26:50 AM
The buttons are not displaying on my install.  Theres 35 pages of replies here, but can someone point me to the post, if this has been resolved?



ETA: nevermind, I was not using the default theme, which I changed.

Great mod!
Title: Re: Streaming 3
Post by: Dhekelian on January 23, 2007, 09:49:30 PM
I had that problem, the image holders were there but not the icons themselves but i just copied over the .gifs and it worked.
Title: Re: Streaming 3
Post by: Omega X on January 24, 2007, 09:42:34 AM
The icons for this mod is crude. But as long as the Mod works, I'm good. I can always replace the icons with my own.
Title: Re: Streaming 3
Post by: unrelenting on January 26, 2007, 11:17:12 PM
Quote from: Omega X on January 24, 2007, 09:42:34 AM
The icons for this mod is crude. But as long as the Mod works, I'm good. I can always replace the icons with my own.

Maybe you could make some sweet ones that we can all use and maybe even add to an update....
Title: Re: Streaming 3
Post by: Dhekelian on January 27, 2007, 06:50:57 PM
Is it possible to limit who posts the clips up? Like just Admin and Mods ? or maybe another user group? I'm currently am testing the mod on a test site and am wanting to put it on the main board but we need to limit who can embed the clips.
Title: Re: Streaming 3
Post by: amrita4ever on February 07, 2007, 07:00:42 PM
hey I cannot get this mod to work correctly with my forum with new theme at http://amrita4ever.kilu3.de/forum

Is there anything I need to change? I am using version 1.1.1
Title: Re: Streaming 3
Post by: amrita4ever on February 07, 2007, 07:05:44 PM
hey this is the same problem a lotta other folks here are having... so it must be something... is it because i need to change contents of my template's php files... if so which files do i need to change and where do i need to change it... thx
Title: Re: Streaming 3
Post by: amrita4ever on February 07, 2007, 07:14:55 PM
I am trying to mod my theme... just dont know wut all to mod?

Quote from: 1948Pal on December 29, 2006, 03:17:04 PM
Are you using default theme? If not, you need to modify mod for your theme. Also make sure these BBC are enabled in admin panel - posts and topics - bullettin board code, and in admin panel - features and options - layout and options.
Title: Re: Streaming 3
Post by: amrita4ever on February 07, 2007, 07:32:51 PM
im seeing this now: HELLLLPPPPP!

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg257.imageshack.us%2Fimg257%2F2235%2Funtitledkd8.jpg&hash=ccf10a286523935b73ca489697a34e1183ef6a6d)
Title: Re: Streaming 3
Post by: amrita4ever on February 07, 2007, 10:26:15 PM
ok i fixed the problem about but i still cant get it to work any ideas?? plz im supposed to be donen wit hthis site by tonight :-/... Thx...
Title: Re: Streaming 3
Post by: 1948Pal on February 08, 2007, 01:19:44 PM
amrita4ever, sorry for the late reply. You are using a custom theme, you need to follow the modifications in the .mod file and apply for your theme, i.e: /themes/orange-lt/post.template.php and /themes/ornage-lt/languages/modifications.template.php. Also don't forget to copy the image files to /themes/yourtheme/images/bbc.
Hope that helps.   
Title: Re: Streaming 3
Post by: amrita4ever on February 08, 2007, 06:00:52 PM
Hey late reply is fine wasnt too late... but still question... i modified the files according to the mod file ( i didnt know until late that it was a txt based file), I cud get all the images to work then, however even when i instaleld the mod when in Default SMF them, I was unable to get the tags to work... for stream i wud just get the link to the stream and for youtube i would just see the video ID... I do have them enabled in Admin mode... I am using SMF 1.1.1
Title: Re: Streaming 3
Post by: perplexed on February 08, 2007, 06:33:29 PM
are you entering the right part of the code?  http://www.simplemachines.org/community/index.php?topic=32951.0  first post  JAT :)
Title: Re: Streaming 3
Post by: goitalone on February 09, 2007, 12:40:02 AM
K this does work for me BUT, I always have to keep clciking the PLAY button a crap load of times to get the video to play/stream.

Where is this code so I can check into turning off auto start etc. I think that may be the reason why..not sure.
Title: Re: Streaming 3
Post by: choloman05 on February 14, 2007, 10:34:34 PM
I just tried to put up a couple google vids and no stream :(  Everything's enabled. Using 1.1.1 w/ default theme.  ???  of course on goole, the video display size is wayy bigger - is this the prob?
Title: Re: Streaming 3
Post by: goitalone on February 14, 2007, 11:34:58 PM
I haven't tested google vids yet personally, but I will tell you this I had to add this code to get my Windows Media vids to stream right (without having to keep clicking the play button of the player over and over and over until it started to play. This didn't happen with all the streaming .asx videos, however, it only happened with live streaming TV stations, not pre-recorded shows.

Maybe this is your problem as well with google vids...try hitting the play button over and over...if that's even possible with google player, and see if the video starts (not that it would solve yer problem.)

This is the code I had to manually use instead of the streaming tag code for .avi, .asx, etc. files to play right:

<center><embed src="http://WHATEVERYOUR.AVI_URL_IS" autostart="true" height=425 width=425"></embed>

Only thing bad other than having to type this manually, is that only the administrator can use this code, not your regular members.



You have me curious now tho, and I am going to go try a google video on my own forum and see if it works.


Title: Re: Streaming 3
Post by: Niteblade on February 22, 2007, 02:29:04 AM
Is this working with a fresh install of smf v1.1.2 ?
Title: Re: Streaming 3
Post by: 1948Pal on February 22, 2007, 08:34:38 PM
Yes.
Title: Re: Streaming 3
Post by: Kuwagatamushi on February 23, 2007, 03:24:56 AM
Hi. I'm new to SMF, and started a board for my online game clan. I'm using SMF 1.1.2 with TP installed. I successfully installed the mod, but I can't seem to get it to work. The BBC buttons don't appear in posts and I don't see anything to enable embeds in the admin center. Any clueas to what I'm doing wrong?
Title: Re: Streaming 3
Post by: Bigguy on February 23, 2007, 09:38:14 AM
If you are using a custom theme you will have to do some manual editing. THe .xml file in the package should hold all the info you need.
Title: Re: Streaming 3
Post by: Kuwagatamushi on February 23, 2007, 10:58:35 AM
Although I am using default theme at the moment, I will take a look at the xml file. Thank you.

EDIT: Ah, I see that my default them is missing the BBC code images at least. It doesn't seem as if it was installed, despite the fact that it appears as an installed package in my package manager.
Title: Re: Streaming 3
Post by: Shonick on February 26, 2007, 03:19:24 PM
it doesn't work on my forum. I have download it this mod.ANd try to post a music but it doesn't work. It doesn't embed .I am using version 1.1.2.Does it support for 1.1.2?If yes, how can I fix this so it can embed into my forum.thanks
Title: Re: Streaming 3
Post by: 1948Pal on February 26, 2007, 04:24:53 PM
What exactly is not working? Can you elaborate a bit further? Did it install error free? Did you enable in options and settings? are you using the default theme?
Title: Re: Streaming 3
Post by: Shonick on February 26, 2007, 04:33:23 PM
I didn't get any error while install.I am using default theme.What about that enable option and setting. i don't know about it cause I don't see any instructure at the mod page.How can I do it?thanks
Title: Re: Streaming 3
Post by: Shonick on February 26, 2007, 04:35:55 PM
ok I saw it now. Let me check it thanks
Title: Re: Streaming 3
Post by: Puriti on February 26, 2007, 06:55:11 PM
I installed this mod but it keeps telling me:

Windows Media Player encountered a problem while playing the file. For additional assistance, click Web Help.

-In error details because it won't play the video

O-o also does this play mp3s by chance?
Title: Re: Streaming 3
Post by: JimSelleck on February 28, 2007, 10:13:19 PM
I'm having a problem installing and activating Streaming 3.  The Package Manager SAYS it installed fine without errors, but I am not finding any change to the Admin menus, no place to control or turn on Streaming, so obviously the icons are not visible in the editor.

I am running the Dilber MC theme.  Is that the problem?
Title: Re: Streaming 3
Post by: Bigguy on February 28, 2007, 11:00:55 PM
Try adding the edits from the streaming mod to the template files of dilbermc. You will also want to add the edits in the language folder of dilbermc to the modifications.english.php file. All the edits can be found in the .xml file of the streaming zip file. (Not the package-info.xml)
Title: Re: Streaming 3
Post by: goitalone on March 01, 2007, 02:52:30 AM
Where and how (if possible) can I change the code from whatever it is now to something like this embed code?

<embed src="http://boss.streamos.com/wmedia-live/hopetv/14582/300_hopetv-hope_channel_061207.asx" autostart="true" height=400 width=425"></embed>

What I mean is, the way it is now, I cannot play Windows media files unless I keep clicking the play button over and over again to get them to stream which takes ferever.

I have no clue what the deal is other than I know when I embed it directly/manually it works great, but the tag in this mod for it doesn't  
Title: Re: Streaming 3
Post by: 1948Pal on March 01, 2007, 01:34:07 PM
goitalone, please try this, but first backup!
Edit /Sources/Sub.php. Search for pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" and replace with pluginspage="http://www.microsoft.com/windows/windowsmedia/download/AllDownloads.aspx/". Let me know if this helps. Thanks
Title: Re: Streaming 3
Post by: folkandfaith on March 01, 2007, 03:27:32 PM
I have version 1.1.2 and it tells me that this file is either corrupt or incompatible with my current version.

What can I do to make sure i can play things like google videos embedded?


I have the following mods installed if this changed anything:

1.     Users Online Today Mod     1.4.0     [ Uninstall ]
2.    audiblepm 1.5    1.5    [ Uninstall ]
3.    Signature Option Post    1.1    [ Uninstall ]
4.    Who Voted What?    1.1.2    [ Uninstall ]
5.    AutoSig    1.2    [ Uninstall ]
6.    Ad Managment    2.3    [ Uninstall ]
7.    Spell Checker    1.0    [ Uninstall ]
8.    Buddy Message Highlight    1.2    [ Uninstall ]
9.    Profile Comments    1.2.1    [ Uninstall ]
10.    YouTube BBC Tag (XHTML Compliant)    1.0    [ Uninstall ]
11.    Rename Topic
Title: Re: Streaming 3
Post by: 1948Pal on March 01, 2007, 06:28:36 PM
I think if you download the mod to your PC, and have you package manager install it from there, it should install fine.  
Title: Re: Streaming 3
Post by: NairB on March 02, 2007, 10:15:23 AM
Quote from: 1948Pal on March 01, 2007, 01:34:07 PM
goitalone, please try this, but first backup!
Edit /Sources/Sub.php. Search for pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" and replace with pluginspage="http://www.microsoft.com/windows/windowsmedia/download/AllDownloads.aspx/". Let me know if this helps. Thanks

1948Pal, I too have a problem with 3 members of my forum that cannot view the video but it buffers to them OK.

I tried changing the code as you advised but still no joy.

It seems to be only these 3 members.....is it a firewall incompatibility or something like that.

thanks,

nairb
Title: Re: Streaming 3
Post by: NairB on March 02, 2007, 02:41:21 PM
Hi 1948Pal,

An update regarding stream3 version 4.2.2b on forum version 1.1.2.

One of the members who cannot view the video is running XP service pack 2 and has also tested his connection by visiting http://members.aol.com/jrzycrim01/mozilla/wmp/vidtest-HS.html and says this test is fine.

But still he cannot view videos on the forum......pleeeezzz help.

thanks again,

nairb
Title: Re: Streaming 3
Post by: goitalone on March 02, 2007, 04:04:30 PM
Quote from: 1948Pal on March 01, 2007, 01:34:07 PM
goitalone, please try this, but first backup!
Edit /Sources/Sub.php. Search for pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" and replace with pluginspage="http://www.microsoft.com/windows/windowsmedia/download/AllDownloads.aspx/". Let me know if this helps. Thanks

I just tried it but it didn't make any difference..thanks for trying but that wasn't the answer.
Title: Re: Streaming 3
Post by: goitalone on March 02, 2007, 04:24:34 PM
Here is what my whole string looks like where you told me to modify it:

),
         array(
               'tag' => 'stream',
         'type' => 'unparsed_commas_content',
         'test' => '.+?,.+?]',
         'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT id="mediaPlayer" width="$2" height="$3" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" /><param name="fileName" value="$1" /><param name="animationatStart" value="true" /><param name="transparentatStart" value="true" /><param name="autoStart" value="false" /><param name="showControls" value="true" /><param name="loop" value="false" /><param name="showstatusbar" value="true" /></Object>' : '<OBJECT><EMBED type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="mediaPlayer" name="mediaPlayer" showcontrols="1" showdisplay="0" showstatusbar="1" width="$2" height="$3" src="$1" autostart="0" /></EMBED></OBJECT>'
      ),

Is there something wrong with it maybe?

Is there a different code I can try in here instead? Because this one simply does not work unless the user click really fast over and over the play button for about 30 seconds to a minute
Title: Re: Streaming 3
Post by: folkandfaith on March 11, 2007, 09:05:35 PM
Quote from: 1948Pal on March 01, 2007, 06:28:36 PM
I think if you download the mod to your PC, and have you package manager install it from there, it should install fine. 

I had it uploaded by my host and installed but it now only shows the Youtube video icon. No Google or Quicktime :(
Title: Re: Streaming 3
Post by: Bigguy on March 11, 2007, 10:47:45 PM
Are the icons for them where they are supposed to be. ???
Title: Re: Streaming 3
Post by: TapeWurm on March 16, 2007, 07:38:43 PM
Quote from: xrl2
Quoteon September 11, 2006, 12:53:56 PM
is there anyway to have a default size so all the user has to do is type
?
I suppose "in theory" it can be done by changing the type of tag to type "missing".

For some reason 'true' quoting wasn't working for me on this forum.
My question is, has this been answered? Or WAS this the answer and I'm too simple to understand it?
I LOVE this mod but cannot trust members, especially potential trolls, flamers, etc, to come in and post a video with a huge width, screwing up the layout completely.
Can you utilize the code without setting a width and height?
Thanks!
TapeWurm
Title: Re: Streaming 3
Post by: folkandfaith on April 02, 2007, 08:16:22 PM
I have Streaming 3 and tried another mod to play embedded video. I now have only the following mods (listed below) but am having a problem. I have two "Youtube" buttons, only one of which actually works of course. I don't know if it is an issue do t some other mod I HAD installed or HAVE installed, but how do I remove the one that doesn't work?

(mods I have that may be causing interference ?) :

   Mod Name     Version     
1.    audiblepm 1.5    1.5
2.    EmailFlash    1.0    
3.    Country Flags    1.0.1    
4.    Streaming 3    4.2.2b    
5.    SMF 1.0.9 and 1.1 RC3-1 Security Patch    1.0.8/1.1 RC3
6.    Reason For Editing Mod    1.14    
7.    Users Online Today Mod    1.3.1    
8.    SMF 1.0.7 / 1.1 RC2 Update    1.0    
9.    Streaming 3    4.2.2a    
10.    Karma Log    1.0.2  
Title: Re: Streaming 3
Post by: unrelenting on April 02, 2007, 08:46:07 PM
Try removing the mods in the reverse order that you installed them. Then reinstall the one you want.
Title: Re: Streaming 3
Post by: edwardsiow on April 03, 2007, 10:51:45 AM
i like this mod...

but i have a question...nowsaday, FLURL.com also famous as youtube...should we add support to FLURL video?

thanks
Title: Re: Streaming 3
Post by: godzadj on April 04, 2007, 02:26:16 PM
I'm new to the simple machines forum.  Just added it to my site.
But I'm having a problem with this mod.  Everything seems to be working but there are no icons it just says "Add google video to your posts!" says it about youtube and so on.
How can i fix this?
Title: Re: Streaming 3
Post by: nibb on April 04, 2007, 09:38:25 PM
It would be great if it supports Video Flash Videos uploaded by the user. Not just a link but the whole video uploaded.
Title: Re: Streaming 3
Post by: unrelenting on April 05, 2007, 08:22:59 PM
Quote from: nibb on April 04, 2007, 09:38:25 PM
It would be great if it supports Video Flash Videos uploaded by the user. Not just a link but the whole video uploaded.

You already have that preinstalled in smf......(https://www.simplemachines.org/community/Themes/default/images/bbc/flash.gif)
Title: Re: Streaming 3
Post by: nibb on April 05, 2007, 11:31:25 PM
Quote from: unrelenting on April 05, 2007, 08:22:59 PM
Quote from: nibb on April 04, 2007, 09:38:25 PM
It would be great if it supports Video Flash Videos uploaded by the user. Not just a link but the whole video uploaded.

You already have that preinstalled in smf......(https://www.simplemachines.org/community/Themes/default/images/bbc/flash.gif)

Yes but will it show as a download attachment or stream the video on the forum?
Title: Re: Streaming 3
Post by: goitalone on April 06, 2007, 02:19:08 AM
streams
Title: Re: Streaming 3
Post by: karenwalkersnipple on April 09, 2007, 03:18:25 AM
I would like to know how to get this mod to work in the Amber theme.

TIA
Title: Re: Streaming 3
Post by: t-readyroc on April 09, 2007, 10:50:32 AM
Firstly, thanks so much for a great mod.  Now to my issue.

I just noticed today that the mod has stopped working correctly.  It had been working w/out issue on my forums for quite some time, so I'm not quite sure what caused it to "break."  The buttons are displayed correctly, & the correct formatting comes up when one uses a button to enter a video, but once the post is submitted, the video is not displayed, only a link with the video id.  I'm running SMF 1.1.2.

To show what I mean, I've attached two images.  One is the editor window, with a video setup ready to submit, & the other is the resulting post.  Like I said, the mod had been working perfectly fine up until I noticed it this morning.

The link displayed is also incorrect.  The formatting is: http://www.mydomain.com/ciG-Xs7mBwU  (ciG-Xs7mBwU being the attempted YouTube video id)
Title: Re: Streaming 3
Post by: karenwalkersnipple on April 09, 2007, 05:28:53 PM
I uploaded this mod to my forum and it workd, however, none of the buttons are showing....just red X's.

Any help would be appreciated ;)
Title: Re: Streaming 3
Post by: littlefeather on April 09, 2007, 06:14:52 PM
right click on the red x's  and check the properties of each one, it will show a file path where the images should be...

unzip your mod and save it to your harddrive, then just upload the images to where ever file your forum is looking for then, refresh and that should be it.

hope this helps.. ;)
Title: Re: Streaming 3
Post by: 1948Pal on April 10, 2007, 06:37:43 PM
Quote from: karenwalkersnipple on April 09, 2007, 03:18:25 AM
I would like to know how to get this mod to work in the Amber theme.

TIA
http://www.simplemachines.org/community/index.php?topic=32951.msg949958#msg949958
Quote from: t-readyroc on April 09, 2007, 10:50:32 AM
Firstly, thanks so much for a great mod.&nbsp; Now to my issue.

I just noticed today that the mod has stopped working correctly.&nbsp; It had been working w/out issue on my forums for quite some time, so I'm not quite sure what caused it to "break."&nbsp; The buttons are displayed correctly, & the correct formatting comes up when one uses a button to enter a video, but once the post is submitted, the video is not displayed, only a link with the video id.&nbsp; I'm running SMF 1.1.2.

To show what I mean, I've attached two images.&nbsp; One is the editor window, with a video setup ready to submit, & the other is the resulting post.&nbsp; Like I said, the mod had been working perfectly fine up until I noticed it this morning.

The link displayed is also incorrect.&nbsp; The formatting is: http://www.mydomain.com/ciG-Xs7mBwU&nbsp; (ciG-Xs7mBwU being the attempted YouTube video id)
sounds like the mod is disabled, check the admin panel.
Quote from: karenwalkersnipple on April 09, 2007, 05:28:53 PM
I uploaded this mod to my forum and it workd, however, none of the buttons are showing....just red X's.

Any help would be appreciated ;)

copy the images from the mod to your theme folder's images directory.
Title: Re: Streaming 3
Post by: HaminX on April 11, 2007, 12:36:05 AM
Great Mod, but you need to add the fact that you need to activate it in "Features and Options", to the install.txt file.

Thanks, Rich
Title: Re: Streaming 3
Post by: unrelenting on April 15, 2007, 01:41:58 PM
Quote from: 1948Pal on April 10, 2007, 06:37:43 PM

sounds like the mod is disabled, check the admin panel.

Occasionally mine disables itself. Weird. It happens very infrequently but it does happen. All of the check marks in the admin setting for the streaming theme just magically get unchecked.

Just thought I'd throw that out there.
Title: Re: Streaming 3
Post by: guppy on April 16, 2007, 12:06:44 PM
Quote from: unrelenting on April 15, 2007, 01:41:58 PM
Occasionally mine disables itself. Weird. It happens very infrequently but it does happen. All of the check marks in the admin setting for the streaming theme just magically get unchecked.

Just thought I'd throw that out there.

Me too :) Cos' I hardly post media and by then I realise the media it's not showing up, I can't pinpoint the problem.. Once I think it was after I installed package or theme while testing a new site offline.
Title: Re: Streaming 3
Post by: AllMassive on April 18, 2007, 05:05:25 PM
A guy from our Community (lazyopossum) created new Buttons which are nicer in smf 1.1.2 than the default ones.

Feel free to use them:
http://files.borntobooze.com/streaming_buttons.zip (http://files.borntobooze.com/streaming_buttons.zip)

( YouTube-Button is stolen from YouTube BBC Tag (XHTML Compliant) (http://custom.simplemachines.org/mods/index.php?mod=595) by Marlon (http://www.simplemachines.org/community/index.php?action=profile;u=65108%5B/url) )
Title: Re: Streaming 3
Post by: Niteblade on April 24, 2007, 06:43:54 PM
Quote from: t-readyroc on April 09, 2007, 10:50:32 AM
Firstly, thanks so much for a great mod.&nbsp; Now to my issue.

I just noticed today that the mod has stopped working correctly.&nbsp; It had been working w/out issue on my forums for quite some time, so I'm not quite sure what caused it to "break."&nbsp; The buttons are displayed correctly, & the correct formatting comes up when one uses a button to enter a video, but once the post is submitted, the video is not displayed, only a link with the video id.&nbsp; I'm running SMF 1.1.2.

To show what I mean, I've attached two images.&nbsp; One is the editor window, with a video setup ready to submit, & the other is the resulting post.&nbsp; Like I said, the mod had been working perfectly fine up until I noticed it this morning.

The link displayed is also incorrect.&nbsp; The formatting is: http://www.mydomain.com/ciG-Xs7mBwU&nbsp; (ciG-Xs7mBwU being the attempted YouTube video id)

I just had this issue. How odd.

The "check marks" in the features and options settings magically unchecked themselves. Everything is working again now ... had to recheck everything.

Cheers.
Title: Re: Streaming 3
Post by: mrskumfetish on May 07, 2007, 05:39:22 AM
this mod is great at least i thought so but i must b doin something wrong because my videos keep comming up as links..?

any reason as to why or wat im doin wrong?
Title: Re: Streaming 3
Post by: guppy on May 07, 2007, 09:36:51 AM
You need to enable it. Go to admin/configuration/featuresand options/layout and options, scroll down to the bottom and check the "embed xx into posts".
Title: Re: Streaming 3
Post by: Chriss Cohn on May 10, 2007, 08:37:23 AM
Quote from: AllMassive on April 18, 2007, 05:05:25 PM
A guy from our Community (lazyopossum) created new Buttons which are nicer in smf 1.1.2 than the default ones.

Feel free to use them:
http://files.borntobooze.com/streaming_buttons.zip

( YouTube-Button is stolen from YouTube BBC Tag (XHTML Compliant) by Marlon )

GREAT!!!
These buttons rox!
Title: Re: Streaming 3
Post by: bklynjay on May 11, 2007, 04:40:32 AM
QUICK QUESTION FROM A NOOB...  does this take up alot of bandwith?  why does the player only play mpg movies?  and  why cant i play .wmv files?  is there a way to be able to play these diffrent media files?
Title: Re: Streaming 3
Post by: unrelenting on May 12, 2007, 09:57:04 PM
Quote from: bklynjay on May 11, 2007, 04:40:32 AM
QUICK QUESTION FROM A NOOB...  does this take up alot of bandwith?  why does the player only play mpg movies?  and  why cant i play .wmv files?  is there a way to be able to play these diffrent media files?

They all play. Play wmv files with the [stream] tag.
Title: Re: Streaming 3
Post by: bklynjay on May 13, 2007, 04:12:46 AM
Quote from: unrelenting on May 12, 2007, 09:57:04 PM
Quote from: bklynjay on May 11, 2007, 04:40:32 AM
QUICK QUESTION FROM A NOOB...  does this take up alot of bandwith?  why does the player only play mpg movies?  and  why cant i play .wmv files?  is there a way to be able to play these diffrent media files?

where is the stream tag?? when i downloaded this mod it only came with real

They all play. Play wmv files with the [stream] tag.
Title: Re: Streaming 3
Post by: Kleidi on May 15, 2007, 11:05:00 AM
Hello!

I have some simple question about this mod:
- How we can stream winamp files like .nsv (http://66.201.187.16:8600/;stream.nsv)
- I have tryed to stream google video files but i can't. Appear only the google player and no video playing. Is something wrong on this:
[gv=475,325]http://video.google.com/videoplay?docid=-9155327516986710013[/gv]
- Can we restrict stream option for some kind of users or membergroups?

Thank you very much!
Title: Re: Streaming 3
Post by: unrelenting on May 15, 2007, 10:37:12 PM
Quote from: Kleidi on May 15, 2007, 11:05:00 AM
Hello!

I have some simple question about this mod:
- How we can stream winamp files like .nsv (http://66.201.187.16:8600/;stream.nsv)
- I have tryed to stream google video files but i can't. Appear only the google player and no video playing. Is something wrong on this:
[gv=475,325]http://video.google.com/videoplay?docid=-9155327516986710013[/gv]
- Can we restrict stream option for some kind of users or membergroups?

Thank you very much!


:D

Try this instead:

[gv=475,325]-9155327516986710013[/gv]

Everything after the = sign.
Title: Re: Streaming 3
Post by: Kleidi on May 16, 2007, 07:06:15 AM
Thx man!
Title: Re: Streaming 3
Post by: Kleidi on May 16, 2007, 12:48:51 PM
But , what about winamp files? How we can stream this type of files?

Thx
Title: Re: Streaming 3
Post by: 1948Pal on May 17, 2007, 12:22:45 AM
Hi. Sorry if this sounds silly to you, but what exactly is a winamp file? What extension does winamp use? Can you give me a link to one? Thanks
Title: Re: Streaming 3
Post by: guppy on May 18, 2007, 10:28:59 PM
hmm.. winamp is a music player, is it not? winamp can play a few file extensions, i think [stream] should play fine.
Title: Re: Streaming 3
Post by: welder on May 21, 2007, 01:34:22 AM
hi i've just installed this mod v.4.2.2b on an smf 1.1.2 heavily modded forum, when trying to stream, the player appears in the post but no matter how many times i click play nothing happens, when i right click the player and check check error message this is what i get

Windows Media Player cannot find the file. If you are trying to play, burn, or sync an item that is in your library, the item might point to a file that has been moved, renamed, or deleted.

i thought it may have been my servers hotlink protection so i turned that off and left it till this morning, all the nessecarry boxes in admin and bbc are checked, the file is there, i added the link without bbc code and am able to download and play on my pc, any ideas how to get it to work?

btw i'm using [stream] tag for a .wmv&nbsp; &nbsp;file
Title: Re: Streaming 3
Post by: 1948Pal on May 21, 2007, 09:54:03 PM
Are you using the full url to the location of the file in between the [stream][/steam] tags? i.e. [stream=x,y]http://url.to.file.wav[/stream] or are using the absolute path? And does any of the other tags work for you?
Quote from: iwyen on May 18, 2007, 10:28:59 PM
hmm.. winamp is a music player, is it not? winamp can play a few file extensions, i think [stream] should play fine.
Thanks, thats what I thought. But the post sounded like winamp has its own file extensions that couldn't be streamed.
Title: Re: Streaming 3
Post by: welder on May 22, 2007, 02:40:10 AM
i worked it out in the end, it was down to the URL address, on one of my sites i need the full URL, and on the other i only need the sub folder and file name, this is a top mod, makes showing event vids more convenient
Title: Re: Streaming 3
Post by: Kleidi on May 25, 2007, 01:14:27 PM
Quote from: 1948Pal on May 17, 2007, 12:22:45 AM
Hi. Sorry if this sounds silly to you, but what exactly is a winamp file? What extension does winamp use? Can you give me a link to one? Thanks
Take a look to this kind of stream :
http://66.201.187.16:8600/;stream.nsv
It is based on winamp and can play only with winamp. With winamp can play all audio and video files generally but this kind of stream is specially and only for winamp.
Thx!
Title: Re: Streaming 3
Post by: clhenry on May 27, 2007, 12:56:43 PM
Anyway to get this working in SMF 1.1.2? I still get the incapatible error when trying to install.    thanks
Title: Re: Streaming 3
Post by: Kleidi on May 27, 2007, 01:32:45 PM
Quote from: clhenry on May 27, 2007, 12:56:43 PM
Anyway to get this working in SMF 1.1.2? I still get the incapatible error when trying to install.    thanks
Add it manually ... source code!
Title: Re: Streaming 3
Post by: clhenry on May 27, 2007, 02:05:56 PM
Quote from: Kleidi on May 27, 2007, 01:32:45 PM
Quote from: clhenry on May 27, 2007, 12:56:43 PM
Anyway to get this working in SMF 1.1.2? I still get the incapatible error when trying to install.    thanks
Add it manually ... source code!

And i do this how? Unzip the download, and then upload via ftp all files to the source folder??    Thanks cl
Title: Re: Streaming 3
Post by: clhenry on May 27, 2007, 07:09:39 PM
OK, i got it working in the default theme now. Looking around now to see if there is a way to get it working in other themes.
Title: Re: Streaming 3
Post by: welder on May 28, 2007, 01:02:35 AM
http://modparser.dev.dansoftaustralia.net/    try this for editing mods onto other theme's i've found it to be very usefull
Title: Re: Streaming 3
Post by: clhenry on May 29, 2007, 12:30:33 AM
Thanks      cl
Title: Disabling the new youtube related posts
Post by: SusanTN on June 07, 2007, 05:17:09 AM
Can we get a config option to disable youtube related videos?

To disable it you simply add &rel=0 to the youtube embed code.

With related video options:

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/ZozPIqEaEtM"></param><embed src="http://www.youtube.com/v/ZozPIqEaEtM" type="application/x-shockwave-flash" width="425" height="350"></embed></object>

Without related video options:

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/ZozPIqEaEtM&rel=0"></param><embed src="http://www.youtube.com/v/ZozPIqEaEtM&rel=0" type="application/x-shockwave-flash" width="425" height="350"></embed></object>

This is tested and confirmed to work. Since it's added on the youtube url adding it to the end should be a piece of cake!
Title: Re: Disabling the new youtube related posts
Post by: unrelenting on June 07, 2007, 07:59:03 PM
Quote from: bl968 on June 07, 2007, 05:17:09 AM
Can we get a config option to disable youtube related videos?

To disable it you simply add &rel=0 to the youtube embed code.

With related video options:

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/ZozPIqEaEtM"></param><embed src="http://www.youtube.com/v/ZozPIqEaEtM" type="application/x-shockwave-flash" width="425" height="350"></embed></object>

Without related video options:

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/ZozPIqEaEtM&rel=0"></param><embed src="http://www.youtube.com/v/ZozPIqEaEtM&rel=0" type="application/x-shockwave-flash" width="425" height="350"></embed></object>

This is tested and confirmed to work. Since it's added on the youtube url adding it to the end should be a piece of cake!

Why not just turn off google video in the admin panel settings that 1948Pal added?  ???
Title: Re: Disabling the new youtube related posts
Post by: SusanTN on June 08, 2007, 12:42:08 AM
Quote from: unrelenting on June 07, 2007, 07:59:03 PM
Why not just turn off google video in the admin panel settings that 1948Pal added?&nbsp; ???

I don't want to turn it off, I want to be able to post youtube videos. I just don't want the related videos popping up since it does that on mouseover.
Title: Re: Disabling the new youtube related posts
Post by: unrelenting on June 08, 2007, 11:21:43 AM
Quote from: bl968 on June 08, 2007, 12:42:08 AM
Quote from: unrelenting on June 07, 2007, 07:59:03 PM
Why not just turn off google video in the admin panel settings that 1948Pal added?&nbsp; ???

I don't want to turn it off, I want to be able to post youtube videos. I just don't want the related videos popping up since it does that on mouseover.


Ohhhh. That's a new feature is it not?
Title: Re: Streaming 3
Post by: John S on June 13, 2007, 12:36:23 AM
this is an awesome mod! it would be awesome to have it automatically convert the video files to a flash version embedded into the post.

one of the boards in my forum is 'videos'; where people can post videos and others can view and comment on..  (similar to YouTube)

but currently everyone is posting their videos from their harddrive as an attachment (nothing wrong with that..) BUT when another member wants to view the video they first have to download it > watch it > then go back to the forum and comment...

how can i allow for the attachment of video files be automatically converted into a flash video file (such as that in YouTube) and the members can just click on play and watch the video embedded into the post.?
Title: Re: Streaming 3
Post by: welder on June 23, 2007, 01:45:09 PM
i've recently encountered a major graphics problem with windows media it go's pixelated but stays like it til you close the browser

any idea's what may be causing it?
and how can i get the player to update
Title: Re: Streaming 3
Post by: ApplianceJunk on July 09, 2007, 01:49:59 PM
Easy to download and install.
Had a working video up and running on my forums with in minutes.

See example here:
http://appliancejunk.com/forums/index.php?topic=34.0

Thank you.....

Title: Re: Streaming 3
Post by: welder on July 09, 2007, 04:29:27 PM
i've found out my problem, in the advanced options for player i had to uncheck "use video mixing renderer" after that it's fine, will this mod be adding avi format? as yet i cant use avi files
Title: Re: Streaming 3
Post by: clhenry on July 15, 2007, 12:05:58 PM
I have  come across a problem. wonder if you could help. the mod is on and working. But i have noticed a lot of the times the Vids don't play all the way through.. The bar at the bottom goes all the way to the end and it shuts off. But there is still half a video to see. Yes i have checked the vid to make sure it is all there. Half the time they just don't play all the vids. Any ideas on this?      Thanks
Title: Re: Streaming 3
Post by: Xariov on August 10, 2007, 06:13:16 PM
Hello, I would really appreciate some help..
Take a look at this thread please.

http://www.simplemachines.org/community/index.php?topic=188120.0
Title: Re: Streaming 3
Post by: ragots on August 19, 2007, 04:36:13 PM
Hello, can I tweak this to make it work for .flv files as well ?



Right now, I have to embed this to make flv visible


<embed src="http://love.mixbeat.com/hype/fp/flvplayer.swf" width="480" height="320" bgcolor="#FFFFFF" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=http://www.after-eight.fr/flv/17.flv&showdigits=true&autostart=false&backcolor=0x222222&frontcolor=0xC0C0FF" allowfullscreen="true"/>
Title: Re: Streaming 3
Post by: rebel47 on September 12, 2007, 11:15:24 PM
I have installed the mod and gone to admin topics and boards to authorize.  all the buttons are there when you go to post.

This is what I imput into a post

[yt=425,350]h8E3fh5xIdc[/yt]

This is what shows in the preview
h8E3fh5xIdc

No video
Pls email me   [email protected]
Can you help??
Title: Re: Streaming 3
Post by: Bigguy on September 13, 2007, 05:05:38 PM
Have you turned it on under Features and Options and then Layout and Options ???
Title: Re: Streaming 3
Post by: Jaba on September 19, 2007, 01:11:50 PM
Works for me rebel47
QuoteThis is what shows in the preview
h8E3fh5xIdc

I'm running 1.1.3 but when I try to download I get the following:

"An Error Has Occurred!
The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

I got round that by downloading to my hard drive then installing from there!

I'm not using the default theme but I changed to default in my profile to test.
Problem:
When I un-check Google and YouTube under Features and Options/Layout and Options The image is removed from the post but the YouTube & Google icons remain!
I already have 2 MOD's for these installed so now I have two icons for YouTube & Google!

Not urgent but I would like to get this working for my theme but do not want icons duplicated!

Thanx for any info.
Title: Re: Streaming 3
Post by: 1948Pal on September 19, 2007, 04:07:09 PM
Go to admin panel - posts and topics - bulletin board code, and uncheck gv and yt bbc, that should remove thje icons.
Title: Re: Streaming 3
Post by: Jaba on September 19, 2007, 07:38:49 PM
Thanx, sorted!  :-[
Title: Re: Streaming 3
Post by: wesleyuk on September 29, 2007, 06:02:38 AM
i'm a little confused about this MOD, i've enabled everything in layout and option, i can see the video buttons in reply post. but how can i actually upload the actual video to my webhosting like WMV then anyone can streaming the video to their player,
Title: Re: Streaming 3
Post by: Jaba on September 29, 2007, 07:56:11 AM
Quote from: wesleyuk on September 29, 2007, 06:02:38 AM
i'm a little confused about this MOD, i've enabled everything in layout and option, i can see the video buttons in reply post. but how can i actually upload the actual video to my webhosting like WMV then anyone can streaming the video to their player,
It's easy ish! First ftp/upload the *.wmv files you want, to test you can put the link including the file name in your browser! If it works you know access is ok to that Folder!!
Then place the complete link inside the wmv code! e.g. [stream=475,325]http://your-web-site/vid-folder-etc/test.wmv"[/stream]

When anyone visits the post the clip will auto play in FF anyway!
Would be nice if there was a way to have Stop, Pause and Play but I don't think so!
So if you post more than one .wmv in a post they play at the same time!

Anyway it works, it just needs to be managed/if you want users to upload these to your Server! It didn't seem to work for me when copied to the Attachments folder! the forum root was ok.
Title: Re: Streaming 3
Post by: wesleyuk on September 29, 2007, 09:58:07 AM
Quote from: Jaba on September 29, 2007, 07:56:11 AM
Quote from: wesleyuk on September 29, 2007, 06:02:38 AM
i'm a little confused about this MOD, i've enabled everything in layout and option, i can see the video buttons in reply post. but how can i actually upload the actual video to my webhosting like WMV then anyone can streaming the video to their player,
It's easy ish! First ftp/upload the *.wmv files you want, to test you can put the link including the file name in your browser! If it works you know access is ok to that Folder!!
Then place the complete link inside the wmv code! e.g. [stream=475,325]http://your-web-site/vid-folder-etc/test.wmv"[/stream]

When anyone visits the post the clip will auto play in FF anyway!
Would be nice if there was a way to have Stop, Pause and Play but I don't think so!
So if you post more than one .wmv in a post they play at the same time!

Anyway it works, it just needs to be managed/if you want users to upload these to your Server! It didn't seem to work for me when copied to the Attachments folder! the forum root was ok.


thanks :) i just uploaded a small wmv video to my webhost, but there is no button for wmv video? all i see real/quicktime/google/youtube, that it

thanks
Title: Re: Streaming 3
Post by: wesleyuk on September 29, 2007, 09:59:07 AM
i mean stream button, cant find one

thanks
Title: Re: Streaming 3
Post by: Jaba on September 29, 2007, 01:22:04 PM
Quote from: wesleyuk on September 29, 2007, 09:59:07 AM
i mean stream button, cant find one

thanks

umm, you said
Quotei can see the video buttons in reply post. but how can i actually upload the actual video to my webhosting
But anyway see the icon below. It's the same as the Volume icon that sits on your Windows task bar!
I'm using a different theme, if I have an icon missing I will see text in its place! Then I copy the .gif for the icon to my Theme and that usually does the trick! Just in case that's your problem!
Title: Re: Streaming 3
Post by: wesleyuk on September 29, 2007, 01:25:10 PM
ahh i see it now lol didnt realise the audio icon was part of the MOD, silly of me

thanks :)
Title: Re: Streaming 3
Post by: lanlord on September 29, 2007, 01:33:10 PM
I couldn't find the answer to my question anywhere else.

Why does this mod cause you not to be able to post an img without text?
I get the error message:  The message body was left empty.

I have this same problem on three sites.  All 1.1.3 and differing mods on all three.  Removing this mod solves the problem but I would like to use this mod.

Any ideas?
Title: Re: Streaming 3
Post by: Jaba on September 29, 2007, 01:36:47 PM
Quoteahh i see it now lol didnt realise the audio icon was part of the MOD, silly of me

thanks :)
No problem, glad it was just that  :P
I guess that icon could be mistake for turning the sound on-off LOL..
Title: Re: Streaming 3
Post by: Jaba on September 29, 2007, 01:47:48 PM
Quote from: lanlord on September 29, 2007, 01:33:10 PM
I couldn't find the answer to my question anywhere else.

Why does this mod cause you not to be able to post an img without text?
I get the error message:  The message body was left empty.

I have this same problem on three sites.  All 1.1.3 and differing mods on all three.  Removing this mod solves the problem but I would like to use this mod.

Any ideas?
It's works in Personal Messages but I didn't know this MOD was the problem in posting to boards!
Just stick a . at the end and that will get you by for now!!
Title: Re: Streaming 3
Post by: lanlord on October 12, 2007, 01:24:28 AM
Also I found out that if I enable or disable the spell check Checkbox that it will clear the 5 embedding checkboxes.  I can recreate it at will.

Any ideas on this or my problem 3 posts up?
Title: Re: Streaming 3
Post by: Jaba on October 12, 2007, 05:28:29 AM
I don't have that problem, embedding icons still show when I disable spell check!
Title: Re: Streaming 3
Post by: lanlord on October 12, 2007, 12:45:28 PM
I'm not talking about the icons just the check boxes in admin panel that enable or disable the function.
Title: Re: Streaming 3
Post by: natcolley on October 12, 2007, 06:42:34 PM
Is there a list of themes, either with post.template.php, or known to work with this mod?
Title: Re: Streaming 3
Post by: Jaba on October 12, 2007, 09:01:00 PM
Quote from: lanlord on October 12, 2007, 12:45:28 PM
I'm not talking about the icons just the check boxes in admin panel that enable or disable the function.
Mine still show in Admin with Spell Check on or off.
Title: Re: Streaming 3
Post by: lanlord on October 12, 2007, 09:29:13 PM
Quote from: Jaba on October 12, 2007, 09:01:00 PM
Quote from: lanlord on October 12, 2007, 12:45:28 PM
I'm not talking about the icons just the check boxes in admin panel that enable or disable the function.
Mine still show in Admin with Spell Check on or off.

I've got two sites doing this.  One someone else set up with bablon theme and one I created from scratch with ApolloBB theme.

Title: Re: Streaming 3
Post by: lanlord on October 12, 2007, 10:21:19 PM
<edit file>
$sourcedir/Post.php
</edit file>

<search for>
      if ($func['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '')
         $post_errors[] = 'no_message';
</search for>

<replace>
      if ($func['htmltrim'](strip_tags(parse_bbc($_POST['message'],false), '<img>')) && (strip_tags(parse_bbc($_POST['message'], false), '<yt>')) === '')
         $post_errors[] = 'no_message';
</replace>


The bolded section is what's causing my not being able to post an img without adding some text to the post.

I am not a programmer so can someone explain to me why this is needed?
Title: Re: Streaming 3
Post by: lanlord on October 12, 2007, 10:26:43 PM
Nevermind.  Now I see, when you take it out you get the empty message on the youtube.

Title: Re: Streaming 3
Post by: lanlord on October 12, 2007, 11:53:12 PM
Quote from: lanlord on October 12, 2007, 01:24:28 AM
Also I found out that if I enable or disable the spell check Checkbox that it will clear the 5 embedding checkboxes.  I can recreate it at will.

Any ideas on this or my problem 3 posts up?

After further testing the five check boxes clear anytime you hit the save button in Post Settings whether you change anything or not.
Title: Re: Streaming 3
Post by: Jaba on October 13, 2007, 06:12:54 AM
Quote from: lanlord on October 12, 2007, 11:53:12 PM
Quote from: lanlord on October 12, 2007, 01:24:28 AM
Also I found out that if I enable or disable the spell check Checkbox that it will clear the 5 embedding checkboxes.  I can recreate it at will.

Any ideas on this or my problem 3 posts up?

After further testing the five check boxes clear anytime you hit the save button in Post Settings whether you change anything or not.
Nope I don't have that problem. Try changing your theme to see if you can link it to that!
Title: Re: Streaming 3
Post by: lanlord on October 14, 2007, 01:06:47 AM
Thanks for the help!  I'll check.
Title: Re: Streaming 3
Post by: lanlord on October 14, 2007, 01:19:36 AM
It does it with all the themes.  :(
Title: Re: Streaming 3
Post by: 1948Pal on October 14, 2007, 07:13:09 PM
Confirmed, lanlord is right. I'll see if I can figure out why, and will post back.
Title: Re: Streaming 3
Post by: OneActivist on October 16, 2007, 07:47:49 PM
  I installed streaming 3 and now the forum will not load. I tried repair_settings.php to no avail.
I already had a flash button and a youtube button. Should I have removed those first? If so how can I remove those without the forum loading?
Title: Re: Streaming 3
Post by: Jaba on October 16, 2007, 08:15:09 PM
Quote from: OneActivist on October 16, 2007, 07:47:49 PM
  I installed streaming 3 and now the forum will not load. I tried repair_settings.php to no avail.
I already had a flash button and a youtube button. Should I have removed those first? If so how can I remove those without the forum loading?
I think you can go to Posts and Topics/Bulletin Board Code
Then you can deselect any options you don't want! So if you have 2 YouTube icons you can sort that out here!
Not sure how you will get that done unless you can access these options with repair_settings.php
Did you run a Backup before making changes!
Title: Re: Streaming 3
Post by: 1948Pal on October 17, 2007, 10:15:18 AM
Quote from: OneActivist on October 16, 2007, 07:47:49 PM
  I installed streaming 3 and now the forum will not load. I tried repair_settings.php to no avail.
I already had a flash button and a youtube button. Should I have removed those first? If so how can I remove those without the forum loading?
I'm sorry this mod caused your forum to crash. However, there has been 12168 downloads of this mod so far, and this is the first time something like this happens to a forum, did you try to do any manual modifications to the mod before you installed it? Did you install other mods right before or after this mod? Do you get any errors? Or does the forum just "not load"? Please try to elaborate so I can try to help.
Title: Re: Streaming 3
Post by: SoulPleX on October 24, 2007, 06:51:45 AM
Is it possible to create BBC to own video link site?   

For example:

http://123.123.123.123/folder/video.wmv.

All i would put into the post is video.wmv. which 'video' could be anything and wrap it with BBC. The file extension and the IP address would always stay the same.
Title: Re: Streaming 3
Post by: 1948Pal on October 24, 2007, 11:33:52 AM
in Subs.php findarray(
'tag' => 'stream',
'type' => 'unparsed_commas_content',
'test' => '.+?,.+?]',
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT id="mediaPlayer" width="$2" height="$3" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" /><param name="fileName" value="$1" /><param name="animationatStart" value="true" /><param name="transparentatStart" value="true" /><param name="autoStart" value="false" /><param name="showControls" value="true" /><param name="loop" value="false" /><param name="showstatusbar" value="true" /></Object>' : '<OBJECT><EMBED type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="mediaPlayer" name="mediaPlayer" showcontrols="1" showdisplay="0" showstatusbar="1" width="$2" height="$3" src="$1" autostart="0" /></EMBED></OBJECT>'
),
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),

and change every occurance of $1 to http://123.123.123.123/folder/$1. Then just insert the name of the video file in bvetween the stream bbc
I think that should do it.
Title: Re: Streaming 3
Post by: SoulPleX on October 24, 2007, 09:17:27 PM
Quote from: 1948Pal on October 24, 2007, 11:33:52 AM
in Subs.php findarray(
'tag' => 'stream',
'type' => 'unparsed_commas_content',
'test' => '.+?,.+?]',
'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<OBJECT id="mediaPlayer" width="$2" height="$3" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" /><param name="fileName" value="$1" /><param name="animationatStart" value="true" /><param name="transparentatStart" value="true" /><param name="autoStart" value="false" /><param name="showControls" value="true" /><param name="loop" value="false" /><param name="showstatusbar" value="true" /></Object>' : '<OBJECT><EMBED type="application/x-mplayer2" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" id="mediaPlayer" name="mediaPlayer" showcontrols="1" showdisplay="0" showstatusbar="1" width="$2" height="$3" src="$1" autostart="0" /></EMBED></OBJECT>'
),
'validate' => create_function('&$tag, &$data, $disabled', '
if (isset($disabled[\'url\']))
$tag[\'content\'] = \'$1\';'),
'disabled_content' => '<a href="$1" target="_blank">$1</a>',
),

and change every occurance of $1 to http://123.123.123.123/folder/$1. Then just insert the name of the video file in bvetween the stream bbc
I think that should do it.

Groovy! It works!!!
Title: Re: Streaming 3
Post by: Craig on October 29, 2007, 03:44:00 PM
Getting this on the test install

Type Action Description
1. Extract File ./Themes/default/images/bbc/stream.gif 
2. Extract File ./Themes/default/images/bbc/real.gif 
3. Extract File ./Themes/default/images/bbc/quick.gif 
4. Extract File ./Themes/default/images/bbc/gv.gif 
5. Extract File ./Themes/default/images/bbc/yt.gif 
6. Execute Modification streaming.mod Modification parse error


i knew it wasnt 1.1.4. but i gave it a shot, will this be getting updated for version smf 1.1.4 ?
Title: Re: Streaming 3
Post by: unrelenting on October 30, 2007, 09:01:54 PM
Pal1948,

Is there an easy edit I could do to make it simpler for 'dummies' who just can't grasp the  idea of using everything after the = sign in youtube links between the [yt] tags?

I'd like to set it up to handle whole addresses as well or maybe just whole addresses, period. Similar to how the stream tag works. That way I won't have to go in behind people editing their embed attempts.
Title: Re: Streaming 3
Post by: 1948Pal on October 31, 2007, 11:33:15 AM
I suppose the quickest fix for this is in Subs.php, find the array for youtube and change where the src and the value="http://www.youtube.com/v/$1" to src and value="$1".
And users can put the whole url for the video in between the tags.
Title: Re: Streaming 3
Post by: unrelenting on October 31, 2007, 08:21:51 PM
Quote from: 1948Pal on October 31, 2007, 11:33:15 AM
I suppose the quickest fix for this is in Subs.php, find the array for youtube and change where the src and the value="http://www.youtube.com/v/$1" to src and value="$1".
And users can put the whole url for the video in between the tags.

But that removes the option of just using everything after the = sign in the youtube links, correct? I'm assuming that's where it would get difficult.
Title: Re: Streaming 3
Post by: 1948Pal on November 01, 2007, 10:23:33 PM
Difficult maybe, but doable.
Title: Re: Streaming 3
Post by: mcliff1971 on November 04, 2007, 06:50:38 AM
I installed the mod.  But when I try to embed a YouTube video into a post, I wind up with just a hyperlink to the video (rather than an image of the video with the play button, etc;)  I am sure it is something I missed.  Any help would be great!

Thanks.
Mike
Title: Re: Streaming 3
Post by: mcliff1971 on November 04, 2007, 06:59:02 AM
Never mind....I'm an idiot...I had to turn on the feature...
Title: Re: Streaming 3
Post by: jossanaijr on November 14, 2007, 05:42:38 PM
Can this MOD be used to play (only) mp3 files?
Title: Re: Streaming 3
Post by: c a g a t a y on November 27, 2007, 08:14:24 AM
Hi all

I have installed and have been using this mod

Recently I saw the mod did not work

Nothing has been changed related with mod

Although I tagged the URL like this;

[stream=320,240]http://123.123.123.123/folder/video.wmv[/stream]

It looks like in a message just an URL, like this;

http://123.123.123.123/folder/video.wmv

I dont know where is the problem? Is it related with host?

Any idea?

Regards
Title: Re: Streaming 3
Post by: 1948Pal on November 28, 2007, 06:51:46 PM
Most likely the mod features got disabled. Go to the admin panel and check.
Title: Re: Streaming 3
Post by: tibbiye on December 08, 2007, 01:45:45 PM
doesn't work that mod...
Title: Re: Streaming 3
Post by: clarkkent93 on January 24, 2008, 03:55:55 PM
Quote from: Craig on October 29, 2007, 03:44:00 PM
Getting this on the test install

Type Action Description
1. Extract File ./Themes/default/images/bbc/stream.gif 
2. Extract File ./Themes/default/images/bbc/real.gif 
3. Extract File ./Themes/default/images/bbc/quick.gif 
4. Extract File ./Themes/default/images/bbc/gv.gif 
5. Extract File ./Themes/default/images/bbc/yt.gif 
6. Execute Modification streaming.mod Modification parse error


i knew it wasnt 1.1.4. but i gave it a shot, will this be getting updated for version smf 1.1.4 ?

Has it been decided if it works with smf 1.1.4 or will be updated to?
Title: Re: Streaming 3
Post by: Chopper on February 11, 2008, 04:01:40 PM
I get the following error when trying to access "features and options" to turn on the mod:

HTTP 500 Internal Server Error.

How can i fix this?
Title: Re: Streaming 3
Post by: forummaker on May 02, 2008, 05:49:51 PM
Seems like a pretty good mod, only thing I need is to set permission for this. I want to set premium members with this mod. Any way to do this? Thanks.
Title: Re: Streaming 3
Post by: sorosh1 on May 16, 2008, 02:54:42 PM
Thanks man i was searching a long time for this! You should ask money for this man! Awesome mod! BEST MOD OF ALLL!!!!
Title: Re: Streaming 3
Post by: Nica on July 02, 2008, 01:30:06 PM
Quote from: 1948Pal on April 11, 2005, 03:40:00 PM
Link to Mod (http://mods.simplemachines.org/index.php?mod=121)

This Mod will allow users to add streaming video and sound (real, quicktime and Windows Media) to their posts.
Now, installable/uninstallable via the package mnager and works for both Internet Explorer and FireFox.
[edit]
7/19/06 new version added that supports Google video in the same fashion as the previous streams, only with Google video all you need is put the docid between the tags like so [gv=width,height]01234567890123[/gv] and you'll have an embedded Google video. The video must have permissions to be embedded. Also now you can actualy resize any player window by changing the values in the [tag=x,y].

[edit=8/23/06]Updated for 1.0.8 and 1.1 RC3, same version 4.2.2[/edit]
[edit]
9/1/06, new version 4.2.2a added with YouTube support. use [yt=x,y]code to youtube after the v=. Usually a mixture of 11 upper and lower case characters and numbers like yh2XtuP4jhG[/yt]
[/edit]

Latest release as of 12/29/2006 is 4.2.2b, it has no significant changes, but mdified to work with SMF 1.1 final and 1.1.1, additionally, now included a more detailed readme file, also now upon uninstall, the streaming bbc images will also be removed, whereby before, they were left behind.


Is the mod compatible with 1.1.5 yet/, or even soon to be/
Title: Re: Streaming 3
Post by: forummaker on July 02, 2008, 05:28:35 PM
Works for me on 1.1.5 no problem.
Title: Re: Streaming 3
Post by: Nica on July 03, 2008, 10:29:12 AM
Quote from: forummaker on July 02, 2008, 05:28:35 PM
Works for me on 1.1.5 no problem.

Thanks for info. :D
Title: Re: Streaming 3
Post by: Nica on July 05, 2008, 04:03:05 PM
Quote from: forummaker on July 02, 2008, 05:28:35 PM
Works for me on 1.1.5 no problem.

Mod installed fine. But inFeatures I can't see anything o turn the mod on or off. There is a set of five check boxes at the bottom which I suspect may be the controls but the the wording is invisible.

Can youtell me if those are the controls and what they say?
Title: Re: Streaming 3
Post by: Nica on July 05, 2008, 04:27:10 PM
Humm...I was able to view the controls as global Moderator but not as Admin.  Having that same problem with the arcade.
It works fine and all the members can view it on the navigation bar but not the Admin.
Title: Re: Streaming 3
Post by: Nica on July 09, 2008, 10:46:23 PM
I love this mod. I am not able to view the edit features in Admin though. But I can even  live with that unless someone has a solution.
I use 1.1.5 Default theme.

I'd like to know what the bbcode is for the players to auto start.. I use Quicktime most often and would like the music to auto start.
Any help, greatly apprcated.

Thanks
Title: Re: Streaming 3
Post by: 1948Pal on July 09, 2008, 11:36:08 PM
Nica. For viewing the edits, make sure the entries in your "themedir/languages/Modifications.english.php" concerned with this mod are there. For autostart, at this point you have to manually edit some code in the mod in /sources/subs.php and for quicktime, under the "quick" tag, change where it says "autoplay=false" to "autoplay=true. However, keep in mind that if there are more than one post with music in it on any given page, they will all start to play at once, and that would be, well, less than desirable to say the least.
I hope that helps.
Title: Re: Streaming 3
Post by: Nica on July 10, 2008, 01:32:33 AM
Quote from: 1948Pal on July 09, 2008, 11:36:08 PM
Nica. For viewing the edits, make sure the entries in your "themedir/languages/Modifications.english.php" concerned with this mod are there. For autostart, at this point you have to manually edit some code in the mod in /sources/subs.php and for quicktime, under the "quick" tag, change where it says "autoplay=false" to "autoplay=true. However, keep in mind that if there are more than one post with music in it on any given page, they will all start to play at once, and that would be, well, less than desirable to say the least.
I hope that helps.


Thanks so  much. The autostart is no biggie. I have lots of music everywhere, so that's the last thing I need.

Don't really understand what entries I should be looking for regarding that file. Know of any tutorials
could read up on that?
Title: Re: Streaming 3
Post by: 1948Pal on July 10, 2008, 11:28:53 PM
If you download the mod to your PC and unzip it locally, there is a file called streaming.mod, it contains instructions that carry out the actual modifications of the files. Each instruction is preceded with [edit file] and ends with[/edit file]. In this case edit your /themes/default/languages/Modifications.english.php, and look toward the end of file to make sure the "stream" is there, particularly I believe these lines of code $txt['enableEmbeddedStream'] = 'Embed stream into posts';
$txt['enableEmbeddedReal'] = 'Embed real into posts';
$txt['enableEmbeddedQuick'] = 'Embed QuickTime into posts';
$txt['enableGoogleVideo'] = 'Embed Google video into posts';
$txt['enableYouTube'] = 'Embed YouTube stream into posts';
I think these are the missing 5 lines in your admin.
Give it a try.
I am sorry I don't know where to look for a tutorial for editing mods.
Actually here are 2 links that may help with editing files and stuff :
Manual editing mods (http://docs.simplemachines.org/index.php?topic=402)
How do I modify files (http://www.simplemachines.org/community/index.php?topic=24110.0)
Title: Re: Streaming 3
Post by: Nica on July 11, 2008, 12:27:49 AM

Oh thanks. I will try those.
I checked the file and those five lines are there.
My whole Admin situation is just jacked up.
I can't use or use functions from several mods although they are viewable and functioning in all the other member groups.

I would just start over if I could avoid re-registering all the members and losing all the great posts, there are lots of poetry and music posts from some really talented women. But I'll keep searching for help a little longer before doing so.
Title: Re: Streaming 3
Post by: Maxys on July 11, 2008, 04:31:58 AM
i am trying to add another one (russian) site with videos but have no luck at all.
is there any "guide" or something on how to add another sites?
Title: Re: Streaming 3
Post by: CrazyHorse80 on July 11, 2008, 04:47:36 AM
Does it work with auto embed video clips mod version 2.2 (http://custom.simplemachines.org/mods/index.php?mod=977)?
I would like using streaming3 only for media video and mov files, and let aevac mod to embed yt and gv automatically without putting it between BBC tags. Is it possible?
Bye,
PS
Title: Re: Streaming 3
Post by: 1948Pal on July 11, 2008, 12:03:53 PM
I am not aware of any conflicts. So I think it is ok. Just disable what you don't want to use in streaming3.
Title: Re: Streaming 3
Post by: CrazyHorse80 on July 11, 2008, 01:12:26 PM
Thanks
Title: Re: Streaming 3
Post by: CrazyHorse80 on July 11, 2008, 02:16:54 PM
Ok, I've installed it on my forum without any error, and I've done proper localization (I'm Italian) of ModSettings.italian.php and Help.italian.php, but...
Now I have some trouble with BBC buttons: I've got the text showing up instead of images... And even when I disable all of the embeddings, they always shows up! Any idea?
Bye,
PS
Title: Re: Streaming 3
Post by: CrazyHorse80 on July 11, 2008, 02:32:32 PM
Nevermind, I'm dumb... :-[
I copied all the BBC images into the proper folder of my custom theme, then I went to my admin CP and disabled unneeded BBC tag from list.
Bye,
PS
Title: Re: Streaming 3 I can't get it to work!
Post by: jzonewarrior on July 11, 2008, 07:18:45 PM
I think I did everything correct - the video embed icons show up in the post tools but the result for you tube is just the youtube v number.  Here is a link to the post

http://thatcrack.com/forums/index.php?topic=36.msg86#msg86

thanks for any help you can give! I am a total newbie
Title: Re: Streaming 3
Post by: 1948Pal on July 11, 2008, 11:28:27 PM
Check Admin panel - Features and options - Layout and options. Make sure the box for youtube, and other media, are checked or enabled.
Title: Re: Streaming 3
Post by: Ricolla on July 18, 2008, 07:47:02 AM
Hi,we use SMF 1.1.5 and want to use the streaming 3 mod, but it will not work.

We installed the mod trough the packetmanager and activated the bbcode 'stream' and all others. SMF is running with the 'Red Essence' theme as standard, but the mod also doesn't work with the default theme. The problem is that every wmv is only shown as a link (not embed). Does anyone know, what we did wrong?

In editormodus the link is shown like this -->>  [stream=206,160]http://www.tld.xxxxxx/test4.wmv[/stream]

We have also installed AUTO EMBED VIDEO/AUDIO CLIPS (AEVAC) v3.1.1 (that works fine), could that be a reason while streaming3 won't work?

best regards Ricolla
Title: Re: Streaming 3
Post by: CrazyHorse80 on July 25, 2008, 11:11:12 AM
Hi, I have all my forum members using Internet Explore complaining about an error when they try to open a post with a video embedded (YT) it says "Cannot open the internet site" and showing a blank page... Can this be solved?
Bye,
PS
Title: Re: Streaming 3
Post by: forummaker on July 26, 2008, 11:27:54 AM
Here's something that just went wrong overnight. Last night I was able to place a youtube video in my forum with no problem, now today after uploading a new video to youtube and then placing it in a post it didn't work. I'm not sure if youtube changed something, but this is what I had to do to make it show up in the post.
Here is the embed link that youtube gave me:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/0402ZXBugQM&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/0402ZXBugQM&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>

Here is what I had to use to make it show up in the post:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/0402ZXBugQM&hl=en"></param><embed src="http://www.youtube.com/v/0402ZXBugQM&hl=en" type="application/x-shockwave-flash" width="425" height="344"></embed></object>

To simplify it, in bold is what I had to remove from the embed link that youtube gave me:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/0402ZXBugQM&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/0402ZXBugQM&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>

If anyone else is having this issue, you can use what I did for a temp fix. If someone knows of a fix for this GREAT! Thanks in advance.
Title: Re: Streaming 3
Post by: Steveuk on July 29, 2008, 01:03:33 PM
Hi, :)
I really like this mod - and works wonderfully
Could it be possible so it will allow (wav) format
I try to add my recordings from  http://www.hotlinkfiles.com/
that are in (wav) format  and I cannot get them to play
or display the music player - Thanks Steve :)
Title: Re: Streaming 3
Post by: 1948Pal on July 31, 2008, 03:51:31 PM
Hi. Although this is a video streaming mod, wav files should still work using the [stream][/stream] tag. Just change the size values so the black screen wouldn't show, say use [stream=300,70]http://linktofile.wav[/stream].
However you may be able to find a better suited mod to use for this purpose.
Title: Re: Streaming 3
Post by: baijianpeng on December 15, 2008, 10:11:14 AM
Does this streaming3 Mod support FLV format videos now?

If not now, will they be supported in future versions ?

Thanks to the author.

Another question: Can this Mod hide/encrypt the Path of the local video file?

I tested this Mod v4.2.2b with SMF 1.1.7 today. I used an AVI format file. It can be played properly. But it is very easy to find the URL to the video file.

Thanks.
Title: Re: Streaming 3
Post by: Eyesman on March 01, 2009, 12:02:52 PM
Hi all,

I'm trying to install the mod but I get these two errors (while checking for the compatibility)

Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
7. Execute Modification ./Themes/default/languages/Help.english.php Test successful
8. Execute Modification ./Themes/default/Post.template.php Test failed
9. Execute Modification ./Sources/Post.php Test successful
10. Execute Modification ./Sources/Subs-Post.php Test successful
11. Execute Modification ./Sources/Subs.php Test successful
12. Execute Modification ./Sources/ModSettings.php Test failed
13. Execute Modification ./Sources/ManagePosts.php Test successful

I'm using smf v. 1.1.8

Can anyone help me?

Thank you!
Title: Re: Streaming 3
Post by: hellboy78 on September 13, 2009, 12:08:32 PM
it doesn't works,
after manually installation I still don't known how this fuction should works.

can someone put few screenshots?

ty
Title: Re: Streaming 3
Post by: Trishah on June 03, 2010, 07:29:58 PM
I am having the same problem.  I have tried the automated install as well as the manual install and still cannot see how this is supposed to work.  No buttons appear in the BCC.  Can anyone help?
Title: Re: Streaming 3
Post by: 1948Pal on June 10, 2010, 03:29:53 PM
Quote from: Trishah on June 03, 2010, 07:29:58 PM
I am having the same problem.  I have tried the automated install as well as the manual install and still cannot see how this is supposed to work.  No buttons appear in the BCC.  Can anyone help?
Trishah, sorry for the delay. What version SMF are you using? This will not work on SMF 2. And are you using the default theme? If not, you need to modify the MOD to accommodate your theme. If you describe your setup in more details it would help.
Title: Re: Streaming 3
Post by: Trishah on June 10, 2010, 03:40:12 PM
Forum is version 1.1.11 and has a custom design based on the default theme.

http://www.savejfc.net/forum

Since I couldn't get this to work I installed Aeva Media and am using that.  It seems to work for what we use it for...

However, if you would be willing to explain what modifications need to be made to the mod so it will work with a custom theme, I am sure others would like to have the information here.
Title: Re: Streaming 3
Post by: !RFAN on June 11, 2010, 12:26:07 AM
i want this for smf2 rc3 .???
Title: Re: Streaming 3
Post by: PLAYBOY on October 29, 2010, 11:43:40 AM
Is there any mod like this for 1.1.x? looks like the owner hasnt touch it since 2008. Can please somebody take it over or make another mod similar to this? we are pertty desperate about it.
Title: Re: Streaming 3
Post by: HRM on November 10, 2010, 03:36:02 PM
Thinks this mod is for 1.1.X  but not for 1.1.11  but there's another another version of this mod which includes youtube video too. I'm just searching for it myself.
Title: Re: Streaming 3
Post by: YogiBear on November 10, 2010, 06:49:15 PM
If you're thinking of Aeva the link for download is...

http://aeva.noisen.com/

Support for the free version v1.4b is here on SMF, for the paid version v.2.04 is on Noisen itself.
Title: Re: Streaming 3
Post by: arreferee on May 13, 2011, 03:15:33 PM
Since it looks like this mod hasn't been updated, what are you guys using to stream video?
Title: Re: Streaming 3
Post by: hellboy78 on July 29, 2012, 06:49:48 AM
is it support videobam videos?
Title: Re: Streaming 3
Post by: engrz on May 06, 2016, 05:00:13 AM
Hello

is there any update for this mod so that i can use it on 2.0.11?
Title: Re: Streaming 3
Post by: engrz on May 10, 2016, 09:24:31 AM
Hello friends

any reply