Still need FLV. help

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

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' :)

Similar Messages

  • I have a working problem, but still need some help

    import javax.swing.JOptionPane;
    class testing
      public static void main(String args[])
        int firstNum = 0, secondNum = 0;
        int evensTotal = 0, oddsTotal = 0;
        while(firstNum >= secondNum)
          int num = Integer.parseInt(JOptionPane.showInputDialog("Enter a number"));
          if(firstNum == 0) firstNum = num;
          else secondNum = num;
        for(int i = firstNum; i <= secondNum; i++)
          if(i % 2 == 0) evensTotal += i;
          else
            System.out.println("odd number = " + i);
        System.out.println("Even numbers total = " + evensTotal);
        for(int i=firstNum; i<= secondNum; i++)
      if( i % 2 == 0 ) evensTotal=i;
         System.out.println(i+" squared is " + (i*i) );
          for(int i = firstNum; i <= 10; i++)
              if(i % 2 == 0) evensTotal += i;
          else
                  oddsTotal += i*i;
        System.out.println("Odd numbers(squared) total = " + oddsTotal);
        System.exit(0);
    }I have everything I need, but I don't want it to display the even numbers squared. I want it to display the odd numbers squared. And also at the end I need to Output all of the uppercase letters. Any ideas of what that means or how to go about it??
    By the way. The program outputs the following when I use firstNum=1 and secondNum=13:
    odd number = 1
    odd number = 3
    odd number = 5
    odd number = 7
    odd number = 9
    odd number = 11
    odd number = 13
    Even numbers total = 42
    2 squared is 4
    4 squared is 16
    6 squared is 36
    8 squared is 64
    10 squared is 100
    Odd numbers(squared) total = 165
    Edited by: mk9000 on Oct 29, 2008 9:09 PM

    import javax.swing.JOptionPane;
    class testing
      public static void main(String args[])
        int firstNum = 0, secondNum = 0;
        int evensTotal = 0, oddsTotal = 0;
        while(firstNum >= secondNum)
          int num = Integer.parseInt(JOptionPane.showInputDialog("Enter a number"));
          if(firstNum == 0) firstNum = num;
          else secondNum = num;
        for(int i = firstNum; i <= secondNum; i++)
          if(i % 2 == 0) evensTotal += i;
          else
            System.out.println("odd number = " + i);
        System.out.println("Even numbers total = " + evensTotal);
        for(int i=firstNum; i<= 10; i++)
      if( i % 2 == 0 ) evensTotal+=i;
      else
         System.out.println(i+" squared is " + (i*i) );
          for(int i = firstNum; i <= 10; i++)
              if(i % 2 == 0) evensTotal += i;
          else
                  oddsTotal += i*i;
        System.out.println("Odd numbers(squared) total = " + oddsTotal);
        System.exit(0);
    }Ok. I figured out how to display the odd numbers squared. I was forgetting to place the else after the if statement. But I still don't understand what my teacher could be talking about when she says "the last step is to output all the uppercase letters"
    Any help here? It makes no sense to me. It's all numbers. How could I output any uppercase letters?
    Edited by: mk9000 on Oct 30, 2008 5:53 AM

  • Thanx Noeqplease & Bee jay but I still need some help form U or anyone out

    Answer From Noeqplease
    'Hi Teebow,
    You need to set up a simple pair of transformers, in your audio Layer.
    One transformer will feed MIDI channel 1, and one, MIDI channel 2, in your arrange page, for recording.
    First, create a simple Environment Object, and call it whatever you like (key splitter is good). This is so you can send one midi stream ot both Transformers.
    Cable this to the following two Transformers:
    The first Transformer will FILTER all notes BELOW your set parameter, ie whatever note you decide. This is the TOP of the keyboard split. Hook this up to your first Audio Instrument channel. this would be the melody instrument.
    The second transformer will FILTER all notes ABOVE your set parameter, ie whatever note you decide. this is the BOTTOM of the keyboard split.Hook this up to your second Audio Instrument channel. This would be the Bass instrument.
    In the Arrange Page, create your two instruments, and then select the TRANSFORMERS as the Instruments to be active. In other words, you'll see in the Arrange page "Transformer #1, Transformer #2" instead of the actual instruments. This is so you can record through them, and then the VIs just playback the correct notes.'
    I am not transformer savey However if you or anyone reading this could please send me a pic as to what the settings within the transformer should look like for both channels I would be grateful
    The support I have had thus far on this topic has been more frustrating than help full. One experienced member admits that this is complicated not impossible.
    I know through screen shots that the settings can be shown as this was what I saw in the original post to somebody else which drew me to pose my problem about transformer.
    As before all I need is someone who knows Transformer and is confident in its workings. I have tried but I cannot make head nor tail it would be so much more easier if I could get help with this so then I would have a correct base for getting more confidence with tying other operations.
    Cubase has a logical editor which works the same way I am coming from Cubase 3.1 from the Atari days and still I couldn't get my head around that and this was 1990. no matter how many books I read and believe me I have read quiet a few along with related manuals.
    Are there any books or DVDs on the workings of Transformer or any templates.

    Hi Teebow,
    Here's what you can do:
    Go to your Environment Layer.
    Go to the "Click & Ports" Layer.
    Create 2 new transformer objects, from the menu inside the layer window (not the main menu, but the one inside the window)
    Connect both of these between the INPUT object, and the Sequencer object.
    Now... you need to take out a notepad, and write down some settings.
    On the first transformer, you will make it FILTER out ANY MIDI from channel 2. and pass all else.
    On the second transformer, you will ONLY ALLOW MIDI data coming in from channel 2, and NOT ALLOW anything else to pass.
    Instead of trying to get you a screenshot, please just open the environment and create an EMPTY new Layer, and call it "practise layer" or the like.
    There create some new transformer objects, and FAMILIARIZE yourself with them. then you will be "transformer savvy"
    They are actually very very useful object for dealing and routing MIDI of all sorts. And since you are now needing this, it would behoove you to learn to use this feature of Logic.
    And no, it is not that I do not want to post screenshots, I am actually quite busy, and it would take me longer to have you learn through the forum, than for you to just do it. you need to stop fearing the environment, that's all...
    Cheers

  • Still need some help.. Please!

    I´ve tried to do the tree component transparent so that
    I can see the background thru it but it doesn´t seem to work.
    Do any one know how to do??

    cSource3D=thisComp.layer("Light"); //reference a 3D light as source
    cSource2D=cSource3D.toComp([0,0,0]); //convert to screen coordinates
    cMiddleX=thisComp.width*0.5; //midpoint X
    cMiddleY=thisComp.height*0.5; //midpoint Y
    cDiffX=cSource2D[0]-cMiddleX; //position difference X
    cDiffY=cSource2D[1]-cMiddleY; //position difference Y
    cAngle=Math.atan2(cDiffY,cDiffX); //find angle
    cOffset=200; //distance from middle
    X=cMiddleX+Math.sin(cAngle)*cOffset;
    Y=cMiddleY+Math.cos(cAngle)*cOffset;
    [X,Y]
    Yes, simply copy&paste the above code ( I corrected the typos) to your secondary element and adjust the cOffset variable to suit (you could tie it to a slider, if needed; negative values move in opposite direction). Make sure to adjust the reference to the light in your comp (or your 3D Null). If you use an expression Point control or the Lensflare effect on a solid, you don't need the first line and the second line would then look something like that:
    cSource2D=thisComp.layer("Lensflare").effect("Lens Flare")("Flare Center")
    Mylenium

  • Thanx Noeqplease but I still need some help form U or anyone out there

    Answer From Noeqplease
    'Hi Teebow,
    You need to set up a simple pair of transformers, in your audio Layer.
    One transformer will feed MIDI channel 1, and one, MIDI channel 2, in your arrange page, for recording.
    First, create a simple Environment Object, and call it whatever you like (key splitter is good). This is so you can send one midi stream ot both Transformers.
    Cable this to the following two Transformers:
    The first Transformer will FILTER all notes BELOW your set parameter, ie whatever note you decide. This is the TOP of the keyboard split. Hook this up to your first Audio Instrument channel. this would be the melody instrument.
    The second transformer will FILTER all notes ABOVE your set parameter, ie whatever note you decide. this is the BOTTOM of the keyboard split.Hook this up to your second Audio Instrument channel. This would be the Bass instrument.
    In the Arrange Page, create your two instruments, and then select the TRANSFORMERS as the Instruments to be active. In other words, you'll see in the Arrange page "Transformer #1, Transformer #2" instead of the actual instruments. This is so you can record through them, and then the VIs just playback the correct notes.
    Cheers '
    I am not transformer savey However if you or anyone reading this could please send me a pic as to what the settings within this beast should look like for both channels so that I can click an go thanx

    Logic can only show the parameters for one object at a time (the selected object) so a screenshot will do you no good, as it can't show all the parameters at once.
    Have you tried working through this? Or did you just not understand it without trying? The instructions, while not explicit, are clear enough in principle. Work through it, and if there is anything you don't understand, post back for clarification. That way you might just become a little more environment savvy...

  • Inverse Position Expression...still need some help please!!

    Following up a post from a few days ago....
    Im creating a hand made anamorphic lens flare and I want to control the position of the elements in it with a null
    Mylenium kindly pointed me to his site which has great projects to download but its beyond my math capabilities and I havent been able to get my head around it and apply it to my project.
    I have this expression which has got me started
    pRef=thisComp.layer("null 1").position;
    X=thisComp.width-pRef[0];
    Y=thisComp.height-pRef[1];
    [X,Y]
    But if I want to add additional lens flare elements that move at a different relative position, this expression wont do it. Its only good for one element.
    I only want a few elements in the flare
    Can anyone suggest a simple way to do this? Im only looking at having 2 or 3 flare elements in it...nothing heavy.

    cSource3D=thisComp.layer("Light"); //reference a 3D light as source
    cSource2D=cSource3D.toComp([0,0,0]); //convert to screen coordinates
    cMiddleX=thisComp.width*0.5; //midpoint X
    cMiddleY=thisComp.height*0.5; //midpoint Y
    cDiffX=cSource2D[0]-cMiddleX; //position difference X
    cDiffY=cSource2D[1]-cMiddleY; //position difference Y
    cAngle=Math.atan2(cDiffY,cDiffX); //find angle
    cOffset=200; //distance from middle
    X=cMiddleX+Math.sin(cAngle)*cOffset;
    Y=cMiddleY+Math.cos(cAngle)*cOffset;
    [X,Y]
    Yes, simply copy&paste the above code ( I corrected the typos) to your secondary element and adjust the cOffset variable to suit (you could tie it to a slider, if needed; negative values move in opposite direction). Make sure to adjust the reference to the light in your comp (or your 3D Null). If you use an expression Point control or the Lensflare effect on a solid, you don't need the first line and the second line would then look something like that:
    cSource2D=thisComp.layer("Lensflare").effect("Lens Flare")("Flare Center")
    Mylenium

  • Still needing help downloading program and using the redemption code given to me on the card I purchased at Home Depot two days ago.

    Still need ing help downloading and installing program from card I purchased at Home Depot two days ago.

    It isn't a good idea to start a second thread on the same topic. You have had responses under the first post. I suggest you go there and continue this discussion.

  • My airport problem has returned big time --Need some Help!!

    Aloha once again:
    I though that this was fixed by simply changing channels on my airport router, but that fix only lasted for a few days, but now it's back and even worse. Let me give you some background on this problem. Here's my original message concerning the problem:
    I have my Airport Router connected to the Internet via DSLcable. I then tie my two computers into the internet via their airport cards. For about 6 months this system has been working just fine. Recently my desktop computer quit listening to the router and can no longer connect to the internet. It shows no signal strength and the name of the network on the Airport is not seen in the "connect to internet" panel. The same Airport works just fine on my LapTop and I am using it right now to get this message off to the internet.
    I have fixed permissions, removed the airport card and cleaned the connector, the antenna plug and removed the system configuration folder from library preferences all to no avail!
    This problem has been hounding me, intermittently, for over a year now What can I do to remedy this??? HELP!!!!
    Dan Page
    Maui, Hawaii
    The suggestion to change channels, that came from this original request, worked but just for a very short time. Now I have to shut down my computer overnight to get connected and then it only lasts for several hours and the connection quits.
    I thought maybe heat was a problem, but the last time it happened I opened the computer and played a large fan right on the card. This did not help. I shut it down for the night and it was fine the next morning for about 2 hours.
    One new data point; if I turn off just the airport on my laptop computer overnight, that will fix the problem for a short time also.
    Still need some help!!!
    Dan

    First, power off both the Time Capsule and AirPort Express.
    Wait a few minutes, then power up the Time Capsule first, and let it run for a few minutes.
    Temporarily, move the AirPort Express to the same room or close proximity to the AirPort Express and power it up.
    If the Express powers up correctly, power it off again and move it approximately half the distance between the Time Capsule and the general area that needs more wireless coverage. Try to minimize obstructions like walls, ceiling, heavy furniture, etc as much as possible. 
    Please report on your results.

  • In need of help to replicate something and then modify it

    I need to recreate an image document that is a bit complex and I need to get some direct feedback regarding how exactly to do this. I'm new to Photoshop. Even though I've watched many of the Photoshop training videos I still need further help for this project. I have a sample of what I need to recreate. Unfortunately what I am trying to replicate has already been grouped or flattened, otherwise it would be easy enough to simply replace and modify each layer as needed. Does this make sense? If a seasoned Photo-shopper is available to assist me briefly I'd be most grateful. I may be contacted at [email protected] Many thanks!

    Thank you dj. I thought I was on the Photoshop forum so thanks for alerting me:)

  • I had to remove Mavericks and do a reinstall on 10.8.5 but still need help...

    I have been trying to undo my Mavericks upgrade in October and after considerable effort I am mostly got back to 10.8.5 OS but still need a bit of help. I just want the previous OS back in place then I'll try Mavericks soon....
    1)               I never seem to pay attention so is 10.8.5 the last OSX prior?  As long as it isn't Mavericks, I want to get it installed.
    2)               I had to reformat my iMac so I have a residual elements from 10.9 and one issue that I had before was permissions. Every number of files either on other hard drives or sometimes in my same user folder was asking for permission and authentication to simply move a file.. A popular one you'll see at the bottom the person/whatever/ problem known as fetching.  Could someone just give me the general reason of this fetching and permissions problem that I ran into?  Better yet since I just want to avoid it altogether into the future tell me what's the best way to assure it disappears forever.
    3)          Another, which is kind of a big ticket item for me is the backup/restore/cover your (!!!) system. I was a good little iMac User and had Time Machine backed up for a period prior to the Mavericks install. I'm a little bit upset that TM isn't 100%....but what is...?  I need another backup/restore system in place and that's what I am looking for recommendations on.  An item that saved me a bit was that I had OS 10.8.3 on an external hard drive.  The problem with that one was it was on a partition, on one of the drives requiring to be reformatted.  It worked as a bridge consolidating files and all but was a big headache as a partition on the external. Recovery Disk did it's part but wasn't enough as well.   Is there a simple/easy idea...clone, disk images, boot from an external drive… ?
    4)          iPhoto (9.4.3) currently will not open the libraries which iPhoto (9.5) converted. Is there way to go back?  Seems the App Store and Software update don't like something. I'm getting into a loop with App Store, iPhoto and the OS. Either the software needs operating system ... then the App Store says it's incompatible or some other complaint.  Right now I have 9.4.3 iPhoto installed for OSX 10.8.5 and was only able to create a new library and the converted ones currently do not open.
    Thanks to your help

    10.8.5 is the lates ML edition.  I use TM and also carbon copy cloner as my second backup.  If I were you and you have a TM backup prior to Mavericks I would try another restore at bootup.  You should erase your drive first in that process using disk utitlites and then use TM to put back you apps and files.  The other choice is to do an internet recovery and then use TM to restore your apps and files.  That should fix the permissions issue.  I did the same thing and all was OK including getting my original iPhoto progam (9.4.3), iphoto11 and photos back.

  • I need a help !!! Please  ,I dropped my iPhone 5 in toilet and I didn't get fast  maybe 5mins before I get it because I didn't notice drop it and it won't work now  it's almost 1week I'm waiting it  still  it don't work ...

    I need a help !!! Please  ,I dropped my iPhone 5 in toilet and I didn't get fast  maybe 5mins before I get it because I didn't notice drop it and it won't work now  it's almost 1week I'm waiting it  still  it don't work ... But when I plug my charger it goes light and show up apple logo and die again I don't know what to do and it's so expensive here at Japan pls.. Help maybe there still way to get it work again
    Thank you ,Rean

    At this point it's clear that it's been damaged and will need to be take or sent to Apple for replacement.
    Regards.

  • My screen wont light up. Its just blank on my iphone 4. I tried to plug it into the wall but that didnt make it light up it still wont turn on. Then i plugged it into the computer but the screen is still blank. Help me please i need my phone!

    My screen wont light up. Its just blank on my iphone 4. I tried to plug it into the wall but that didnt make it light up it still wont turn on. Then i plugged it into the computer but the screen is still blank. Help me please i need my phone!

    Restart your phone by holding the sleep/wake button and the home button until it starts back up.

  • HT1863 i have my serial number. I bought this macbook pro in Cleveland Ohio, and it is still under warranty. Now I am travelling in India and my disk drive is not working. need local help

    i have my serial number. I bought this macbook pro in Cleveland Ohio, and it is still under warranty. Now I am travelling in India and my disk drive is not working. need local help. in chennai. I also need to retriwve my warranty paper online, as I am right now in chennai ad all my docs are in Cleveland.

    You posted in the iPad forum instead of the MacBook Pro forum. To get answers to your question, next time post in the proper forum. See https://discussions.apple.com/index.jspa  I'll request that Apple relocate your post.
     Cheers, Tom

  • My iPhone 3g has 2 white horizontal lines i don't know where did it came from. I turn it off then on but its still there. the lines spreads everyday. I dont know how to fix it. need some help guys.

    my iPhone 3g has 2 white horizontal lines i don't know where did it came from. I turn it off then on but its still there. the lines spreads everyday. I dont know how to fix it. need some help guys.

    If you take a screenshot (Press the home button and Lock button at the same time), does it appear on the screenshot? Zoom in on the screenshot and see if it's still there.
    If not, then your display is failing. I would recommend taking it to an Apple Store if you can, if you can't then to an authorised Apple reseller.
    If it does appear on the screenshot when you zoom into the spot, then it's a really weird software issue! You might have to backup and restore the device.
    Let me know!
    xeni

  • Still need help with flash player download

    I'm still having a problem with the flash player, please read my last post below:
    "I've tried everything here & still can't download the flash player. Anytime I try to download it asks me to install ADM add-on and then when I click on that, my computer freezes. How do I enable this add-on without my computer freezing? Can anyone help pls?"

    Thanks a lot for your help, it is truly appreciated.
    Date: Thu, 29 Oct 2009 18:52:38 -0600
    From: [email protected]
    To: [email protected]
    Subject: Still need help with flash player download
    You can set Flash Player to check for updates on the Global Settings Manager panel:
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager05.htm l
    >

Maybe you are looking for

  • Error while deploying in SDM

    Hi all, I am getting an error while i try to deploy something in the SDM. The error is: "<b>Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure

  • Can you combine two Apple IDs?

    I have iPad2, iPhone4, iPhone3S, MacBook Air 2011 and a Macbook Pro 2010...all running on Lion OS and iOS 5.  My Issue is I have two apple accounts, one on gmail and the other on mobile me.  I have lots of music from both and want to combine them so

  • Syntax error  in writing a procedure

    Dear all I wrote a procedure in oracle 11g , but when i execute, i get an error. i will also provide table informations in needed. {code} create or replace PROCEDURE SPOKENLANGUAGE   LANG  in char AS landname country_language.cname%type; BEGIN select

  • How to append a picture in a mail?

    Hello! How to append a picture which like gif file in a e-mail? Like OutlookExpress append picture,but not just append attach file.. I want it look like a part of htm. Not look like a attach file. Please help~ Excuse me,I am not good in English. Best

  • How to create contact group in nokia n900

    Hi,        Kindly help me to create group in nokia n900. Group options i can;t understand how i will create groups.