Markup: RegexpMarkup flv player help
Posted: Sat Oct 21, 2006 10:37 pm
I'm trying to add video to my new video site and have run into some trouble. I installed the Markup: RegexpMarkup plugin because it has the php script to play flv files.
Where it's at now. You can check to site to see lowerleftside.com, I get the player just not the video.
The entry for the blog looks like this
File locations.
serendipity - lowerleftside.com/main
the videos will be saved in - lowerleftside.com/videos/ (test.flv in this case)
FlowPlayer.swf is in - lowerleftside.com/videos/
I've messed around (too much) with the flv.php file that came with the plugin RegexpMarkup. And I think this is where my problem is... Here is what that file looks like.
In the end.
What I want is for the video to be ready to stream when the user clicks play.
It's completely possible that I'm going about this the wrong way and if that's true let me know the better / correct way.
If anyone could help me out that would be great! I don't have a great understanding of php so keep that in mind.
Where it's at now. You can check to site to see lowerleftside.com, I get the player just not the video.
The entry for the blog looks like this
Code: Select all
<flv: test.flv />serendipity - lowerleftside.com/main
the videos will be saved in - lowerleftside.com/videos/ (test.flv in this case)
FlowPlayer.swf is in - lowerleftside.com/videos/
I've messed around (too much) with the flv.php file that came with the plugin RegexpMarkup. And I think this is where my problem is... Here is what that file looks like.
Code: Select all
<?php
// Flash Player.
//
$regexpArray = array(
'SearchArray'=>array(
'/<flv:([^>]+)\/>/U'
),
'ReplaceArray'=>array(
'<object type="application/x-shockwave-flash" width="420" height="280" data="http://lowerleftside.com/videos/FlowPlayer.swf?file=/movies/$1"><param name="movie" value="http://lowerleftside.com/videos/FlowPlayer.swf?file=/movies$1" /></object>'
)
); In the end.
What I want is for the video to be ready to stream when the user clicks play.
It's completely possible that I'm going about this the wrong way and if that's true let me know the better / correct way.
If anyone could help me out that would be great! I don't have a great understanding of php so keep that in mind.