Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Bullcat Webhosting on November 17, 2004, 10:08:21 AM

Title: Streaming
Post by: Bullcat Webhosting on November 17, 2004, 10:08:21 AM
Link to Mod (http://mods.simplemachines.org/index.php?mod=53)

Adding sound and movie fragment's to a posting, original for YabbSE, rewrite for SMF 1.0 RC2

Also for the Final release !
Title: Re: Streaming
Post by: Chaplin on November 17, 2004, 05:24:11 PM
How do I use this?? I've tried to upload it to my site via the package manager and it says:

QuoteAn Error Has Occurred!
The package you tried to upload either is not a valid package or has become corrupted.

Title: Re: Streaming
Post by: Bullcat Webhosting on November 17, 2004, 06:46:05 PM
I change the files by hand !  10 minutes work !
Title: Re: Streaming
Post by: Source on November 17, 2004, 06:50:30 PM
Thanks for this post.  :)
Title: Re: Streaming
Post by: Chaplin on November 17, 2004, 07:03:59 PM
Quote from: Hans_de_Echte on November 17, 2004, 06:46:05 PM
I change the files by hand !  10 minutes work !

Ah, I see, opened the .mod file. Thank you!
Title: Re: Streaming
Post by: Bullcat Webhosting on November 17, 2004, 07:12:22 PM
I'am now working on the mod so you can control it in your admin panel, just like Flash ! a link or a movie/sound box !

I think tomorrow i have fixed it !
Title: Re: Streaming
Post by: Bullcat Webhosting on November 18, 2004, 09:48:45 AM
I have added stream-mod-2 to the download section, this file is with admin controll
Title: Re: Streaming
Post by: Trekkie101 on November 18, 2004, 10:36:09 AM
Great ill test it right now. But can you help me with the arcade just wanna know how to get to see it. sorry if you cante help, ill go test your thing now.
Title: Re: Streaming
Post by: Trekkie101 on November 18, 2004, 10:40:24 AM
I cant test it, you havent got an install thingy  :(
Title: Re: Streaming
Post by: Bullcat Webhosting on November 18, 2004, 11:45:47 AM
take a look at http://www.bulldogforum.nl/index.php?topic=4558.0

there you can see the mod working.

The only help i have is just make a backup of all the files you have to change, and then Add or replace the code insite te Mod file into your files !

the stream.gif file have to go into the defailt/images/bbc  directory.
Title: Re: Streaming
Post by: babylonking on November 18, 2004, 11:57:02 AM
Nice mod thanks  :)

How about real player stream  ;)
Title: Re: Streaming
Post by: 1948Pal on November 20, 2004, 07:16:25 PM
Nice. What kind of impact does streaming have on bandwidth? I would think it is a lot! Also what about security, does it increase the security risk, just like when enabling flash?
Title: Re: Streaming
Post by: nvbk on November 20, 2004, 07:37:33 PM
Allemaal erg leuk!! Heb zojuist de mods bekeken.Ziet er goed uit voor iemand met ervaring.
Helaas beschik ik niet over deze ervaring.De files uploaden zou voor mij een goede zaak zijn.
Erg Jammer want dit is iets wat wij veel gaan gebruiken op het forum.Zal dus zoals vroeger moeten via url,helaas.
Mvg,
NVBK

Verry nice Hans.
Title: Re: Streaming
Post by: Bullcat Webhosting on November 20, 2004, 09:17:20 PM
Quote from: 1948Pal on November 20, 2004, 07:16:25 PM
Nice. What kind of impact does streaming have on bandwidth? I would think it is a lot! Also what about security, does it increase the security risk, just like when enabling flash?

the bandwidth for streaming is the same as for al the things on your forum, pictures or flash, when you put the files on your own account the bandwidth is for you , when you put a link(http://www....... to a other place on the net) between[ stream] and [ /stream] the bandwidth is voor the person of that account !

and for security ?? i don't know !

Quote from: nvbk on November 20, 2004, 07:37:33 PM
Allemaal erg leuk!! Heb zojuist de mods bekeken.Ziet er goed uit voor iemand met ervaring.
Helaas beschik ik niet over deze ervaring.De files uploaden zou voor mij een goede zaak zijn.
Erg Jammer want dit is iets wat wij veel gaan gebruiken op het forum.Zal dus zoals vroeger moeten via url,helaas.
Mvg,
NVBK

Verry nice Hans.

Als je exact doet wat er in die mod file staat, dus veranderingen aanbrengt in de bestanden die je ook moet veranderen is er niks mee aan de hand, maak altijd eerst een backup van die bestanden die je veranderd, dan kan je ze , mocht het toch fout gaan, gelijk weer terug zetten en heeft je forum maar een 2 tal minuten op zijn gat gelegen !

hans
Title: Re: Streaming
Post by: Bullcat Webhosting on November 21, 2004, 07:48:50 PM
Hallo nvbk, ik heb zojuist nog iemand geholpen van een ander forum, ik maak daar niet zo'n probleem van, wil gewoon dat iedereen lekker forumt dus wil er ook niks voor hebben, mocht je dus problemen hebben met het instaleren van deze Mod geef even een gil, ik help echt wel !

Hans
Ps. sorry for my English SMF-friends, but i have to answer in dutch sometimes !! :D
Title: Re: Streaming
Post by: 1948Pal on November 22, 2004, 12:15:29 AM
Is it possible to make a real player stream?
Title: Re: Streaming
Post by: Pause on November 22, 2004, 05:02:03 AM
I haven't taken a look at the files yet, but I'm assuming somewhere in the files there is a listing of allowed file types, so if that is true, you probably just add the realplayer file extension...
Title: Re: Streaming
Post by: nvbk on November 22, 2004, 08:30:18 AM
Ok Hans,
Thanks a lot for support,ranking  = 10/10.

Quote from: Hans_de_Echte on November 21, 2004, 07:48:50 PM
Hallo nvbk, ik heb zojuist nog iemand geholpen van een ander forum, ik maak daar niet zo'n probleem van, wil gewoon dat iedereen lekker forumt dus wil er ook niks voor hebben, mocht je dus problemen hebben met het instaleren van deze Mod geef even een gil, ik help echt wel !

Hans
Ps. sorry for my English SMF-friends, but i have to answer in dutch sometimes !! :D

Ja Hans Ik weet als geen ander!!Het was mijn forum denk ik.

Mvg
Marnix
Title: Re: Streaming
Post by: babylonking on November 22, 2004, 10:18:22 AM
Quote from: 1948Pal on November 22, 2004, 12:15:29 AM
Is it possible to make a real player stream?

Yes i converted to real stream but the real stream is not embedding on mozilla firefox, For now the real stream is working on IE  8)
Title: Re: Streaming
Post by: 1948Pal on November 22, 2004, 11:43:27 AM
Care about telling how?
When you say you "converted", does that mean you now have real stream but not WM? Can one have both?
Title: Re: Streaming
Post by: Bullcat Webhosting on November 22, 2004, 11:52:51 AM
Quote from: babylonking on November 22, 2004, 10:18:22 AM
Quote from: 1948Pal on November 22, 2004, 12:15:29 AM
Is it possible to make a real player stream?

Yes i converted to real stream but the real stream is not embedding on mozilla firefox, For now the real stream is working on IE 8)

Can i see how you do it ?? becourse i have take a look at ther home page and nothing found ! :(
Title: Re: Streaming
Post by: babylonking on November 22, 2004, 12:43:39 PM
just follow the stream mod steps and change every single stream text to real text

example
<edit file>
themes/default/languages/Modifications.english.php
</edit file>

<search for>
?>
</search for>

<add before>
/* Stream */
$txt['real'] = 'Add sound or movies to your posting!';
$txt['enableEmbeddedreal'] = 'Embeded real into posts?';
</add before>



The important step is adding the code below in subs.php

// Handle real.
$codefromcache[] = '/\[real=(.+?),(.+?)\](?:<br \/>)?(.+?)(?:<br \/>)?\[\/real\]/is';
if (empty($modSettings['enableEmbeddedreal']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else

                        $codetocache[] = '<OBJECT ID=RVOCX width=\\1 height=\\2 CLASSID="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" WIDTH=320 HEIGHT=240>
<PARAM NAME="SRC" VALUE="$3">
<PARAM NAME="CONSOLE" VALUE="MOVIE1">
<PARAM NAME="CONTROLS" VALUE="ImageWindow">
<PARAM NAME="AUTOSTART" VALUE="TRUE">
</OBJECT><OBJECT ID=RVOCX width=\\1 CLASSID="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" WIDTH=320 HEIGHT=32>
<PARAM NAME="CONSOLE" VALUE="MOVIE1">
<PARAM NAME="CONTROLS" VALUE="ControlPanel"></OBJECT>';


and upload the real icon to bbc folder (http://www.babylonking.net/temp/real.gif)

see it in action (IE only) http://www.babylonking.net/forum/index.php?topic=8531.0
Title: Re: Streaming
Post by: Bullcat Webhosting on November 22, 2004, 01:37:33 PM
i take alook to see it, but nothing happens :(

A litle question, what heppen when a user dont have real player on his pc ??
Title: Re: Streaming
Post by: Hally on November 22, 2004, 01:39:04 PM
Good codes! But i don't need them, i have phpBB forum.

Hello from SLO
Title: Re: Streaming
Post by: babylonking on November 22, 2004, 01:49:46 PM
Quote from: Hans_de_Echte on November 22, 2004, 01:37:33 PM
i take alook to see it, but nothing happens :(

A litle question, what heppen when a user dont have real player on his pc ??

To be able to see the embeded video clip or audio you must have real player installed.

Title: Re: Streaming
Post by: MrPHD on November 25, 2004, 04:33:10 PM
Sorry people, but i can´t see where i make this modifications and put , please tell for i use the stream.Regards
Title: Re: Streaming
Post by: Bullcat Webhosting on November 27, 2004, 03:33:27 PM
Open the mod file and folow the instruction sin that file secur!
Title: Re: Streaming
Post by: Bullcat Webhosting on November 27, 2004, 03:35:06 PM
Quote from: babylonking on November 22, 2004, 01:49:46 PM
Quote from: Hans_de_Echte on November 22, 2004, 01:37:33 PM
i take alook to see it, but nothing happens :(

A litle question, what heppen when a user dont have real player on his pc ??

To be able to see the embeded video clip or audio you must have real player installed.



And without that you see nothing :(  and with the settings in the mod everybody see it :)
Title: Re: Streaming
Post by: 1948Pal on November 27, 2004, 10:16:17 PM
Is it possible to have both streams at the same time? What would happen if you add both codes one right after another? Would that be bad?



Actually, it does. I tried it and they both work, but only on IE, fire fox is not.

Title: Re: Streaming
Post by: jjgarza70 on December 10, 2004, 08:34:08 PM
mod still does not work..

here the error i get

The package you tried to upload either is not a valid package or has become corrupted.

Title: Re: Streaming
Post by: nvbk on December 11, 2004, 06:33:28 PM
Quote from: Chaplin on November 17, 2004, 07:03:59 PM
Quote from: Hans_de_Echte on November 17, 2004, 06:46:05 PM
I change the files by hand !  10 minutes work !

Ah, I see, opened the .mod file. Thank you!
Title: Re: Streaming
Post by: jjgarza70 on December 13, 2004, 01:35:29 AM
I added the code and uptaded the admon panel to allow stram in posts but nothing happpens

[stream=256,256]http://lylasmusic.com/AmoresFingidos.wma[/stream]

what am I doing wrong?
Title: Re: Streaming
Post by: Bullcat Webhosting on December 13, 2004, 04:35:32 AM
I'am getting a 404 error on that site :(
Title: Re: Streaming
Post by: 1948Pal on December 17, 2004, 03:24:13 PM
Quote from: babylonking on November 22, 2004, 10:18:22 AM
Quote from: 1948Pal on November 22, 2004, 12:15:29 AM
Is it possible to make a real player stream?

Yes i converted to real stream but the real stream is not embedding on mozilla firefox, For now the real stream is working on IE 8)
I think I sort of managed to get it to stream on firefox using the <EMBED> tag within the  <OBJECT> tag.
So the last <object> tag in the "Handle real" now looks like this:

<OBJECT ID=RVOCX width=\\1 CLASSID="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" WIDTH="320" HEIGHT="32">
                  <PARAM NAME="CONSOLE" VALUE="MOVIE1">
                  <EMBED height="240" width="320" controls="ImageWindow,controlPanel" src="$3"?embed" type="audio/x-pn-realaudio-plugin" autostart="false">
                  </OBJECT>';

See it working here. (http://www.allaboutpalestine.com/yabbse/index.php?topic=869.msg6305#msg6305) The only thing is in IE, the control panel does not line up correctly under the player, but it works
If this is good enough for all, and Hans_de_Echte and babylonking do not mind, I put the stream and real codes into one package with small changes to some code, installable/uninstallable via the package manager. IF no one minds, I'll post the zip file here or provide a link. Let me know if its a go or not.
Title: Re: Streaming
Post by: Maxunit on January 09, 2005, 07:27:54 PM
Hi there,

im searching for a working version, because the one i have is the one from the download section but it is damaged. Please someone upload the newest avaible working version and post link here.

Thanks.

Greetings,

Maxunit
Title: Re: Streaming
Post by: JayBachatero on January 24, 2005, 10:43:52 PM
i got the mod workin gon my site.  i got 2 test pages so you can see but i only have the real media files playing.  i tried the windows one also and it works i got both of them in.  i dont have a windows media file to stream yet just a song

Real media video 1
http://www.kevmundial.com/board/index.php?topic=16.msg25#msg25

real video 2

Windows file
http://www.kevmundial.com/board/index.php?topic=168.0

Im still trying to ge the info bar on the media player on top of the player.  any one knows how to do it?
http://www.kevmundial.com/board/index.php?topic=31.msg47#msg47
Title: Re: Streaming
Post by: JayBachatero on January 25, 2005, 10:25:47 PM
the code above by 1948Pal only works for firefox.  i got this one working in ie but not on firefox
// Handle real.
$codefromcache[] = '/\[real=(.+?),(.+?)\](?:<br \/>)?(.+?)(?:<br \/>)?\[\/real\]/is';
if (empty($modSettings['enableEmbeddedreal']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else

                        $codetocache[] = ' <object id=RVOCX width=\\1 classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" height="200" width="320">
<param name="CONSOLE" value="MOVIE1">
<param name="controls" value="ImageWindow">
<param name="autostart" value="false">
<param name="src" value="$3"?embed">
<embed height="200" src="$3"?embed" type="audio/x-pn-realaudio-plugin" width="320" controls="ImageWindow" autostart="false" id="RVOCX">
</object>
<object id=RVOCX classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" height="32" width="320">
<param name="CONSOLE" value="MOVIE1">
<param name="controls" value="controlpanel">
<param name="autostart" value="false">
<param name="src" value="$3"?embed">
<embed height="32" src="$3"?embed" type="audio/x-pn-realaudio-plugin" width="320" controls="controlPanel" autostart="false">
</object>';
Title: Re: Streaming
Post by: babylonking on January 25, 2005, 10:34:22 PM
Quote from: LiL_J on January 25, 2005, 10:25:47 PM
the code above by 1948Pal only works for firefox.  i got this one working in ie but not on firefox
// Handle real.
$codefromcache[] = '/\[real=(.+?),(.+?)\](?:<br \/>)?(.+?)(?:<br \/>)?\[\/real\]/is';
if (empty($modSettings['enableEmbeddedreal']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else

                        $codetocache[] = ' <object id=RVOCX width=\\1 classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" height="200" width="320">
<param name="CONSOLE" value="MOVIE1">
<param name="controls" value="ImageWindow">
<param name="autostart" value="false">
<param name="src" value="$3"?embed">
<embed height="200" src="$3"?embed" type="audio/x-pn-realaudio-plugin" width="320" controls="ImageWindow" autostart="false" id="RVOCX">
</object>
<object id=RVOCX classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" height="32" width="320">
<param name="CONSOLE" value="MOVIE1">
<param name="controls" value="controlpanel">
<param name="autostart" value="false">
<param name="src" value="$3"?embed">
<embed height="32" src="$3"?embed" type="audio/x-pn-realaudio-plugin" width="320" controls="controlPanel" autostart="false">
</object>';


Try the code below  8)

// Handle real.
$codefromcache[] = '/\[real=(.+?),(.+?)\](?:<br \/>)?(.+?)(?:<br \/>)?\[\/real\]/is';
if (empty($modSettings['enableEmbeddedreal']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else

                        $codetocache[] = '<OBJECT ID=RVOCX width=\\1 CLASSID="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" WIDTH=256 HEIGHT=256>
<PARAM NAME="SRC" VALUE="$3">
<PARAM NAME="CONSOLE" VALUE="MOVIE1">
<PARAM NAME="CONTROLS" VALUE="ImageWindow">
<PARAM NAME="AUTOSTART" VALUE="TRUE"><PARAM NAME="CONSOLE" VALUE="MOVIE1">
<PARAM NAME="CONTROLS" VALUE="ControlPanel"></OBJECT><br /><OBJECT ID=RVOCX width=\\1 CLASSID="clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA" WIDTH="375" HEIGHT="100">
                  <PARAM NAME="CONSOLE" VALUE="MOVIE1">
                  <EMBED height="240" width="320" controls="ImageWindow,controlPanel" src="$3"?embed" type="audio/x-pn-realaudio-plugin" autostart="true">
                  </OBJECT>';
Title: Re: Streaming
Post by: Pause on January 26, 2005, 06:25:05 AM
I haven't actually taken a look at the mod yet, but does it allow streaming to Winamp?
Title: Re: Streaming
Post by: JayBachatero on January 26, 2005, 06:42:03 PM
what do you mean streaming to winamp.  listten to live radio stations online?
Title: Re: Streaming
Post by: Jazhawk on January 26, 2005, 08:43:26 PM
Is this mod on a package server or must it be installed by hand?

-Jazhawk
Title: Re: Streaming
Post by: Pause on January 26, 2005, 11:20:38 PM
Quote from: LiL_J on January 26, 2005, 06:42:03 PM
what do you mean streaming to winamp.  listten to live radio stations online?
I mean basically like is being done with windows media player and realplayer - winamp is just another popular way to do it isn't it...
Title: Re: Streaming
Post by: babylonking on January 27, 2005, 09:14:52 AM
Quote from: Mattitude on January 26, 2005, 11:20:38 PM
Quote from: LiL_J on January 26, 2005, 06:42:03 PM
what do you mean streaming to winamp.  listten to live radio stations online?
I mean basically like is being done with windows media player and realplayer - winamp is just another popular way to do it isn't it...

Can we embed winamp in html or in php pages?
Title: Re: Streaming
Post by: Jazhawk on January 27, 2005, 10:45:16 AM
Is this mod on any package server or does it have to be installed by hand?

-Jazhawk
Title: Re: Streaming
Post by: JayBachatero on January 27, 2005, 11:03:52 AM
Quote from: Jazhawk on January 27, 2005, 10:45:16 AM
Is this mod on any package server or does it have to be installed by hand?

-Jazhawk
No you have to install this mod by hand
Title: Re: Streaming
Post by: Jazhawk on January 27, 2005, 11:05:05 AM
Quote from: LiL_J on January 27, 2005, 11:03:52 AM
Quote from: Jazhawk on January 27, 2005, 10:45:16 AM
Is this mod on any package server or does it have to be installed by hand?

-Jazhawk
No you have to install this mod by hand

Thanx LiL_J

-Jazhawk
Title: Re: Streaming
Post by: Matthias Heil on February 07, 2005, 05:27:26 PM
I love this mod and got it to work on my site!-)

The one thing I have noticed that in Firefox the Real object is not positioned where it should be but rather seems to be putting in one or two free lines (IYKWIM). Is there a remedy for this?

The other thing I want to ask is really important to me: How can we insert Quicktime?

That would be another killer feature!
Title: Re: Streaming
Post by: Matthias Heil on February 09, 2005, 06:55:02 PM
Bump-)
Title: Re: Streaming
Post by: mennou on February 11, 2005, 03:53:03 PM
i was trying to add this mod on my forum  i found this error

An Error Has Occurred!
The package you tried to upload either is not a valid package or has become corrupted. 
  can anyone help?
Title: Re: Streaming
Post by: NayNay on March 02, 2005, 11:41:29 AM
Call me dense, I had this working on an older version, yet now on 1.0.2 I only get this when posted:

[stream=256,256]http://www.xxxxx.com/clips/Misc/test.wmv[/stream]

I have gone through my edits and I am almost certain nothing was missed.  Can anyone advise? 

Thanks.
Title: Re: Streaming
Post by: babylonking on March 02, 2005, 12:39:41 PM
Quote from: NayNay on March 02, 2005, 11:41:29 AM
Call me dense, I had this working on an older version, yet now on 1.0.2 I only get this when posted:

[stream=256,256]http://www.xxxxx.com/clips/Misc/test.wmv[/stream]

I have gone through my edits and I am almost certain nothing was missed.  Can anyone advise? 

Thanks.

Maybe you forgot to enable Embeded stream into post in Administration Center?
Title: Re: Streaming
Post by: NayNay on March 03, 2005, 09:40:44 AM
Nope, that is checked.   Hmmm....
Title: Re: Streaming
Post by: raedzaro on March 20, 2005, 07:42:01 AM
I tried to upload it and it gave me
The package you tried to upload either is not a valid package or has become corrupted.
Title: Re: Streaming
Post by: Dr.Tech on April 05, 2005, 10:48:17 AM
Did anyone have any luck getting Quicktime to stream inline?

Am I correct in assuming that the files to be streamed by code provided in this topic for flash and real player are attachment files (as opposed to pointing to a file elsewhere)?

I'm interesterd in using it to  stream .mov files in a 320x256 (includes controller bar) and .mp3 audio files in a 320x16 format that are added as attachments (similar to .gifs and .jpgs)

I was successful in getting both to work in pnPHPBB2 but have been struggling with the code in SMF.

This is one of my unsuccessful attempts and is only provided as a starting point for anyone who has the skills (I'm only a hacker at php).

               $codetocache[] = '<object id=\"QT\" width=\\320 height=\\256 type=\"application/x-oleobject\" classid=\"02BF25D5-8C17-4B23-BC80-D3488ABDDC6B\"
codebase=\"http://www.apple.com/qtactivex/qtplugin.cab\" 
<param name=\"AUTOPLAY\" value=\"false\"><param name=\"CONTROLLER\" value=\"true\">
<embed pluginspage="http://www.apple.com/quicktime/download"  src=\\3 name=MediaPlayer2 CONTROLLER="true" AUTOPLAY="false" type="video/quicktime" width=\\320 height=\\240></embed></object>';


thanks
DT
Title: Re: Streaming
Post by: 1948Pal on April 07, 2005, 11:04:12 PM
Hi, I have this, but it only works in IE, I still can't get it to work the plugin under FireFox
$codefromcache[] = '/\[quick=(.+?),(.+?)\](?:<br \/>)?(.+?)(?:<br \/>)?\[\/quick\]/is';
if (empty($modSettings['enableEmbeddedquick']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else

                        $codetocache[] = '<OBJECT ID=RVOCX width=\\1 CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="160"HEIGHT="144"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<PARAM name="SRC" VALUE="$3">
<PARAM NAME="CONSOLE" VALUE="MOVIE1">
<PARAM name="AUTOPLAY" VALUE="false">
<PARAM name="CONTROLLER" VALUE="true">
<PARAM NAME="CONSOLE" VALUE="MOVIE1">
<EMBED SRC="MOVIE1" WIDTH="160" HEIGHT="144" AUTOPLAY="false" CONTROLLER="true" PLUGINSPAGE="http://www.apple.com/quicktime/download/">
</EMBED>
</OBJECT>';
Title: Re: Streaming
Post by: [Unknown] on April 07, 2005, 11:59:43 PM
You want:

<EMBED SRC="$3" WIDTH="160" HEIGHT="144" AUTOPLAY="false" CONTROLLER="true" PLUGINSPAGE="http://www.apple.com/quicktime/download/">
</EMBED>

Instead of:

<EMBED SRC="MOVIE1" WIDTH="160" HEIGHT="144" AUTOPLAY="false" CONTROLLER="true" PLUGINSPAGE="http://www.apple.com/quicktime/download/">
</EMBED>

-[Unknown]
Title: Re: Streaming
Post by: 1948Pal on April 08, 2005, 10:08:55 AM
Thanks unknown, the simplest things in life make the biggest difference :)
It works in FF but I get this piece of code in the postCODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"
Ideas?
Title: Re: Streaming
Post by: [Unknown] on April 08, 2005, 04:19:21 PM
Try:

$codefromcache[] = '~\[quick=(\d+?),(\d+?)\](?:<br />)?(.+?)(?:<br />)?\[/quick\]~is';
if (empty($modSettings['enableEmbeddedquick']))
$codetocache[] = '<a href="$3" target="_new">$3</a>';
else
$codetocache[] = '<object width="$1" height="$2" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="SRC" value="$3" />
<param name="CONSOLE" value="MOVIE1" />
<param name="AUTOPLAY" value="false" />
<param name="CONTROLLER" value="true" />
<embed src="$3" width="$1" height="$2" autoplay="false" controller="true" pluginspage="http://www.apple.com/quicktime/download/"></embed>
</object>';


-[Unknown]
Title: Re: Streaming
Post by: 1948Pal on April 08, 2005, 05:31:47 PM
Great, thank you. That worked.
Title: Re: Streaming
Post by: CrazyJoe on April 09, 2005, 09:38:46 AM
Quote from: NayNay on March 02, 2005, 11:41:29 AM
Call me dense, I had this working on an older version, yet now on 1.0.2 I only get this when posted:

[stream=256,256]http://www.xxxxx.com/clips/Misc/test.wmv[/stream]

I have gone through my edits and I am almost certain nothing was missed.  Can anyone advise? 

Thanks.

I'm getting the same problem. I went through and checked my edits twice now and it all looks right. I have the check box checked in the admin panel for enabling streaming video.

My forum is running current version(1.0.3), anybody have any ideas on what could be wrong?
Title: Re: Streaming
Post by: 1948Pal on April 10, 2005, 05:12:01 PM
New version, installable/un-installable via the package manager, icludes all 3 media formats, QuickTime, Real and Windows media is now available here (http://mods.simplemachines.org/index.php?mod=121)
Thanks to Hans_de_echte for starting it, babylonking for the real media code, and unknown for making it possible to work under FireFox.
Title: Re: Streaming
Post by: Dr.Tech on April 15, 2005, 09:44:31 AM
Quote from: 1948Pal on April 10, 2005, 05:12:01 PM
New version, installable/un-installable via the package manager, icludes all 3 media formats, QuickTime, Real and Windows media is now available here (http://mods.simplemachines.org/index.php?mod=121)
Thanks to Hans_de_echte for starting it, babylonking for the real media code, and unknown for making it possible to work under FireFox.

Should it play inline or only in a new window? When I tried it, I had to click on the link and it opened in a new window only.

Can it also be adapted so attachments with the given extensions can play inline as well?  I would prefer to have users attach an .mp3 audio file (so it goes to the smf/attachments folder) and shows up in the post, just like the image file attachments do (as opposed to pointing to an external file).  The latter will be far too complicated for my userbase and space on my server is not an issue.
Title: Re: Streaming
Post by: 1948Pal on April 15, 2005, 04:37:28 PM
Quote from: Dr.Tech on April 15, 2005, 09:44:31 AM
Quote from: 1948Pal on April 10, 2005, 05:12:01 PM
New version, installable/un-installable via the package manager, icludes all 3 media formats, QuickTime, Real and Windows media is now available here (http://mods.simplemachines.org/index.php?mod=121)
Thanks to Hans_de_echte for starting it, babylonking for the real media code, and unknown for making it possible to work under FireFox.

Should it play inline or only in a new window? When I tried it, I had to click on the link and it opened in a new window only.

Can it also be adapted so attachments with the given extensions can play inline as well?  I would prefer to have users attach an .mp3 audio file (so it goes to the smf/attachments folder) and shows up in the post, just like the image file attachments do (as opposed to pointing to an external file).  The latter will be far too complicated for my userbase and space on my server is not an issue.
It would actually open a small player within the user's post and play the clip. All you have to do is click the play button. You just put the link for the media file between tags like [stream=256,256]http://www.url to file.mov[/stream].
Title: Re: Streaming
Post by: Dr.Tech on April 15, 2005, 05:22:33 PM
Thanks 1948Pal

It did not work for my build ... I'd like to see it in action.  Could you pm me a link?

Any idea how to get it to play inline from an attachment to the post instead of it pointing to a URL?

cheers
DT
Title: Re: Streaming
Post by: bjones9942 on April 16, 2005, 10:14:32 AM
First, I must say .... You're a f***ing god!  Thanks for the mod!

I'm having a little problem however - ok, two problems.

First, the option to post flash is now enabled during posting, even though I have it turned off in the admin panel.  Related?

Second, If I have 'show most recent posts at the top' set in my profile, the initial post of a wmv will show correctly, but all subsequent posts with wmv's are double wide.

Thanks again for your work!!!

Brett
Title: Re: Streaming
Post by: ivytony on April 22, 2005, 11:59:31 PM
my quickplayer is not working in the forum at all.

ps: I've installed the streaming mod. in my SMF. can you guys please help me out?

thanks
Title: Re: Streaming
Post by: p0w3r on June 25, 2005, 10:56:26 PM
when i pull over the mouse arrow above the "insert flash" icon it shows up a floating window that says "Insert Flash".
How can i do similar help on this 3 buttons?

Thak you very much and congratulations for this mod. Its divine.
Title: Re: Streaming
Post by: ddmscans on September 29, 2005, 07:02:57 PM
Has anyone gotten this to work correctly? I'm getting the same "Package is corrupted" error.
Title: Re: Streaming
Post by: Wingman7659 on October 04, 2005, 01:42:43 PM
Hi guys,

I have it 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
Post by: Bigguy on October 05, 2005, 08:39:29 PM
When I try to install this on smf 1.0.5 I get an error in the subs.php file How can I fix this ?
Title: Re: Streaming
Post by: 1948Pal on October 06, 2005, 07:18:57 PM
I am not sure if you guys are talking about my streaming 3 mod (http://mods.simplemachines.org/index.php?mod=121), if so please post your questions in this topic (http://www.simplemachines.org/community/index.php?topic=32951.0). And please tell what version of SMF you're running, and what version of the mod you're installing. Although they complete each other, these are two different mods with different authors.
Thanks.
Title: Re: Streaming
Post by: SoulPleX on January 27, 2006, 03:12:59 PM
Quote from: Dr.Tech on April 05, 2005, 10:48:17 AM

Am I correct in assuming that the files to be streamed by code provided in this topic for flash and real player are attachment files (as opposed to pointing to a file elsewhere)?

DT

Is there a way to have video files such as *.wmv uploaded as attachments then stream or display instead of only being able to download them?
Title: Re: Streaming
Post by: Bigguy on January 27, 2006, 03:56:48 PM
wmv, wma, mpg, mp3 all play in the streaming mod for videos inbedded in the post. I hope that answers your question.

Plus .mov files and such to.
Title: Re: Streaming
Post by: SoulPleX on January 27, 2006, 04:41:29 PM
Quote from: Bigguy on January 27, 2006, 03:56:48 PM
wmv, wma, mpg, mp3 all play in the streaming mod for videos inbedded in the post. I hope that answers your question.

Plus .mov files and such to.

yes, i would like them to stream when i upload them as an attachment. is that possible?
Title: Re: Streaming
Post by: Bigguy on January 27, 2006, 05:48:36 PM
When the streaming mod is installed I found the best way to do it was to get the link for the video or music file you want to play and then post the link, highlight it and press the appropriate stream button. Post the message like this and it will give you streaming. Of course I guess you could post the file as an attachment and then get the link to it and stream it that way. I hope you can understand this, I ramble sometimes. :)
Title: Re: Streaming
Post by: SoulPleX on January 27, 2006, 09:26:17 PM
Quote from: Bigguy on January 27, 2006, 05:48:36 PM
When the streaming mod is installed I found the best way to do it was to get the link for the video or music file you want to play and then post the link, highlight it and press the appropriate stream button. Post the message like this and it will give you streaming. Of course I guess you could post the file as an attachment and then get the link to it and stream it that way. I hope you can understand this, I ramble sometimes. :)

Phpbb allows you to do this is why i am asking.  is there some code that i can add to the attachment mod to allow this to happen?
Title: Re: Streaming
Post by: Bigguy on January 27, 2006, 10:11:35 PM
No code to add. You have to install the mod to get it to work.
Title: Re: Streaming
Post by: SoulPleX on January 28, 2006, 07:08:39 AM
Quote from: Bigguy on January 27, 2006, 10:11:35 PM
No code to add. You have to install the mod to get it to work.

the attachment mod is installed but the video does not stream after i upload it as an attachment. its just a file name and a paper clip.
Title: Re: Streaming
Post by: SoulPleX on January 30, 2006, 07:40:55 AM
Mods can you help me out here???
Title: Re: Streaming
Post by: goitalone on February 09, 2007, 12:28:33 AM
Anyone figure out how to get the streaming to work better? It works for me BUT I have to keep hitting the PLAY button continuously for it to start
Title: Re: Streaming
Post by: Bigguy on February 11, 2007, 01:47:50 AM
Dont upload the video you want to stream as an attachment, upload it to your server and link to it using the stream tags provided by the streaming mod.

Quote from: SoulPleX on January 28, 2006, 07:08:39 AM
Quote from: Bigguy on January 27, 2006, 10:11:35 PM
No code to add. You have to install the mod to get it to work.

the attachment mod is installed but the video does not stream after i upload it as an attachment. its just a file name and a paper clip.
Title: Re: Streaming
Post by: mrskumfetish on May 07, 2007, 09:58:12 AM
i had this same error twice.. notting fixed?


Quote from: Chaplin on November 17, 2004, 05:24:11 PM
How do I use this?? I've tried to upload it to my site via the package manager and it says:

QuoteAn Error Has Occurred!
The package you tried to upload either is not a valid package or has become corrupted.


Title: Re: Streaming
Post by: Kleidi on May 15, 2007, 11:04:11 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!