Flash Videos or swf files
Flash Videos or swf files
I'd like to know, how I can stream flv or swf files via a streaming plugin or manually? i already installed the podcast plugin, but is there also a possibility to stream such files?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Flash Videos or swf files
Hi!
If you understand german, I just posted this today:
http://board.s9y.org/viewtopic.php?t=82 ... dio+player
Regards,
Garvin
If you understand german, I just posted this today:
http://board.s9y.org/viewtopic.php?t=82 ... dio+player
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 308
- Joined: Tue Nov 29, 2005 10:22 pm
- Location: Munich - Germany
- Contact:
Hi I postet a german tutorial on my Blog. I'm writing on the engl. version atm. I'll update here if the engl Version is ready.
http://www.taeglichanders.de/blog/index ... Blog!.html
Greetings, Lordcoffee.
http://www.taeglichanders.de/blog/index ... Blog!.html
Greetings, Lordcoffee.
-
- Regular
- Posts: 308
- Joined: Tue Nov 29, 2005 10:22 pm
- Location: Munich - Germany
- Contact:
EDIT: The english tut is online. Excuse my bad englishlordcoffee wrote:Hi I postet a german tutorial on my Blog. I'm writing on the engl. version atm. I'll update here if the engl Version is ready.
http://www.taeglichanders.de/
Greetings, Lordcoffee.
-
- Regular
- Posts: 308
- Joined: Tue Nov 29, 2005 10:22 pm
- Location: Munich - Germany
- Contact:
-
- Posts: 4
- Joined: Tue Feb 27, 2007 3:50 pm
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
That FlashVideoPlayer with the regexpmarkup plugin should work.
How did you configure the regexpmarkup plugin, and what do you enter in your entry? Can we see a URL of a posting where it doesn't work?
Regards,
Garvin
That FlashVideoPlayer with the regexpmarkup plugin should work.
How did you configure the regexpmarkup plugin, and what do you enter in your entry? Can we see a URL of a posting where it doesn't work?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Posts: 4
- Joined: Tue Feb 27, 2007 3:50 pm
My entry is:
where, test.flv is in C:\Inetpub\wwwroot\serendipity\movies\test.flv
The output is:
I'm running IIS6 btw, and followed the steps above...
Code: Select all
<flv:test.flv width=320 height=240 />
The output is:
Code: Select all
object type="application/x-shockwave-flash" width="320" height="240" data="http://yourdomain/flv.swf?file=%s">
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Ah, I think you'Re right, the FlashVideoPlayer.php file contained some bad code. "%s" needs in fact to read "\\1".
Use this FlashVideoPlayer.php:
Inside that code, replace "http://yourdomain/flv.swf" with the HTTP URL of where you put the flv.swf Videoplayer.
Once you saved that, you can use this code in your entry:
HTH,
Garvin
Ah, I think you'Re right, the FlashVideoPlayer.php file contained some bad code. "%s" needs in fact to read "\\1".
Use this FlashVideoPlayer.php:
Code: Select all
<?php
// Flash Player.
//
$regexpArray = array(
'SearchArray'=>array(
'/<flv:([^>]+)\/>/U'
),
'ReplaceArray'=>array(
'object type="application/x-shockwave-flash" width="320" height="240" data="http://yourdomain/flv.swf?file=\\1"><param name="movie" value="http://yourdomain/flv.swf?file=\\1" /></object>'
)
);
Once you saved that, you can use this code in your entry:
Code: Select all
<flv:/serendipity/movies/test.flv>
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Posts: 4
- Joined: Tue Feb 27, 2007 3:50 pm
Hi there...
I changed the FlashVideoPlayer.php:
and using:
in my post...
Output is totally blank.
If I change my posting to <flv:/serendipity/movies/test.flv/>, then output will become:
I tried the url http://localhost:81/serendipity/movies/ ... s/test.flv and it works fine by the way...
Thanx for your reply, but no do for now...
I changed the FlashVideoPlayer.php:
Code: Select all
<?php
// Flash Player.
//
$regexpArray = array(
'SearchArray'=>array(
'/<flv:([^>]+)\/>/U'
),
'ReplaceArray'=>array(
'object type="application/x-shockwave-flash" width="320" height="240" data="http://localhost:81/serendipity/movies/flvplayer.swf?file=\\1"><param name="movie" value="http://localhost:81/serendipity/movies/flvplayer.swf?file=\\1" /></object>'
)
);
Code: Select all
<flv:/serendipity/movies/test.flv>
Output is totally blank.
If I change my posting to <flv:/serendipity/movies/test.flv/>, then output will become:
Code: Select all
object type="application/x-shockwave-flash" width="320" height="240" data="http://localhost:81/serendipity/movies/flvplayer.swf?file=/serendipity/movies/test.flv">
Thanx for your reply, but no do for now...
-
- Posts: 4
- Joined: Tue Feb 27, 2007 3:50 pm
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Exactly, the '<' was missing. I'm sorry for all the confusion. I shouldn't code when I have a flu
Best regards,
Garvin
Exactly, the '<' was missing. I'm sorry for all the confusion. I shouldn't code when I have a flu
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/