Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Still need FLV. help

Guest
Mar 02, 2009 Mar 02, 2009
I need to make flv> LIBRARY USING DREAMWEAVER, ALL THE FLV. VIDEO FILES ARE ON MY HOME SERVER AND ALL LESS THAN 90 MEGS. pLEASE HELP, i POSTED A WEEK AGO AND HAVE YET TO GET A REPLY OTHER THAN MY OWN.tHANKS
TOPICS
Server side applications
345
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Mar 02, 2009 Mar 02, 2009
doughuffman11181 posted in macromedia.dreamweaver.appdev

> How do I set up a folder in my webroot folder to save my flv
> video's in and the video's show in list form on my website where I
> can just log onto my website, choose a video from the list, click
> it, and be directed to another page that will display the video in
> progresive download?

Got PHP?

If so, here is a very basic example you could save as index.php in the
folder that contains the .flv files (beware of word wrap).

Oops. ...
Translate
LEGEND ,
Mar 02, 2009 Mar 02, 2009
I don't understand your question. Can you please try again?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"doughuffman11181" <webforumsuser@macromedia.com> wrote in message
news:gohpoq$pmc$1@forums.macromedia.com...
> I need to make flv> LIBRARY USING DREAMWEAVER, ALL THE FLV. VIDEO FILES
> ARE
> ON MY HOME SERVER AND ALL LESS THAN 90 MEGS. pLEASE HELP, i POSTED A WEEK
> AGO
> AND HAVE YET TO GET A REPLY OTHER THAN MY OWN.tHANKS
>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 02, 2009 Mar 02, 2009
I record with 4 camera's at home 24/7. Each recording is reset every hour to give me 24 61 meg video's der day. I am running Adobe flash media server on my home server with a domain forwarded to my website on my home server(running windowsxp pro) and it all works great. I want to setup like a video libary on my server using dreamweaver to allow me to log onto my home server from a remote pc and watch the video's without downloading them to view them.
My question.. How do I set up a folder in my webroot folder to save my flv video's in and the video's show in list form on my website where I can just log onto my website, choose a video from the list, click it, and be directed to another page that will display the video in progresive download? The reason Im doing this may make more sence than my question. Im away from home a lot and I have security camera's setup and want to be able to watch the video's from anywhere through my website hosted on my home pc. Kinda like a Mini youtube for private use only. As my home server saves the video's in a folder on my pc, I want to be able to watch the video without doing the remote access thing and setting each video up with its own player and then adding it to my website. I hope this helps.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 02, 2009 Mar 02, 2009
LATEST
doughuffman11181 posted in macromedia.dreamweaver.appdev

> How do I set up a folder in my webroot folder to save my flv
> video's in and the video's show in list form on my website where I
> can just log onto my website, choose a video from the list, click
> it, and be directed to another page that will display the video in
> progresive download?

Got PHP?

If so, here is a very basic example you could save as index.php in the
folder that contains the .flv files (beware of word wrap).

Oops. I just realized you asked for "list form", but I already did
this as a table. Oh well, it should help you get started.

<?php
echo "<html><head><title>File list</title></head><body>\n";
echo "<table border=1 cellspacing=0 cellpadding=2><tr><th>Filename</th><th>Size</th><th> </th></tr>\n";
foreach (glob("*.flv") as $filename) {
$size = filesize($filename);
printf('<tr><td><a href="%s">%s</a></td><td>%2s</td>',$filename,$filename, $size);
printf('<td><a href="player.php?filename=%2s">View</a></td></tr>' ."\n",$filename, $filename);
}
echo "</table></body></html>";
?>

The above will allow you to click the filename to download the video
or use a View link to player.php. player.php is a page with your
Flash video player and $_GET['filename'] will contain the filename.

Assuming you're using one of the CS3 or CS4 FLVPlayers, you should be
able to replace all instances of:

&streamName=someVideoFilename>

with:

&streamName=<?php echo $filename;?>

You /might/ need to strip off the ".flv" from the filename in
player.php. If so, pathinfo() can provide the basename.

I leave security considerations and sanitization of user input
($_GET) to you.



--
Mark A. Boyd
Keep-On-Learnin' :)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines