How To Stream A Video From A Server

var nc:NetConnection=new NetConnection();
nc.connect(null);
var ns:NetStream=new NetStream(nc);
ns.play("MySample.flv");
var video:Video=new Video(200,100);
video.attachNetStream(ns);
addChild(video);
video.x=200;
As seen above, I have only one idea how to take an external video file which is not in library.
My real problem is --->
If I put this swf to  a domain and put in the same domain this video also, what sholud be the link like.
There is an rtmp protocol and fms server which I have little knowledge.
Also , is a url loader or request method available for external video files to play in the swf. 
As much as I guess, there will be a change in the below null parameter, but how...
Shold I use an fms server or for short videos only a connection is enough ???
nc.connect(null);

I took this below code from a tutorial but opposite of this tutorial, I want the swf to take the video from the domains server where it was published from...
Not from a internet hyperlink adress, but how ?
function connect():void {
04
    nc = new NetConnection();
05
    nc.client = this;
06
    // STEP 2
07
    // note null
08
    nc.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
09
    nc.connect(null);
10
11
12
function startVideo():void {
13
    video = new Video(640, 385);
14
    video.x = video.y = 20;
15
    addChild(video);
16
    video.attachNetStream(ns);
17
    // entire url is passed into play() method
18
    ns.play("http://www.mydomain.com/videos/interstingVideo.flv");
19

Similar Messages

  • How to stream live video from a TV card to my iPad 2 in Windows 7.

    Hi guys, I hope I'm doing things the right way - as you can see, this is my first post.
    I would like to steam live TV from my home server to my iPad. The server is running Windows 7 Ultimate and the TV input is from a TV card via RCA.
    Any help would be appreciated

    http://www.pcworld.com/article/196415/10_great_ways_to_get_more_from_your_ipad.h tml
    about the only options

  • How to stream live video from ipad to apple tv

    How to do it?

    If you can play it on the iPad, you should be able to AirPlay to Apple TV.
    http://www.apple.com/sg/airplay/

  • HT201317 how do I automatically stream my videos from iPhone to my macbook pro?

    how do I automatically stream my videos from iPhone to my macbook pro?

    You may consider doing that, it largely depends on what you want the movie for once you have it on your Mac, sending it to YouTube is likely to cause it to lose much of its quality.

  • TS3989 How can I load videos from a GoPro camera to photo stream?

    How can I load videos from a GoPro camera to photo stream? I can download pictures but no videos.

    Helllo AM and Bob,
    It sounds like you are wanitng to add video to your Shared Photo Stream. this article outlines the requirements for video that can be used, named:
    iCloud: iCloud Photo Sharing FAQ
    http://support.apple.com/kb/HT5902
    iCloud Photo Sharing supports both MP4 and QuickTime video file types, and H.264 and MPEG-4 Video file formats. Videos can be up to 5 minutes in length and are delivered at up to 720p resolution.
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • Embed streaming video from FlashMedia Server 2 in a Captivate Course

    I am trying to add streaming video from FlashMedia Server 2
    Developer Edition in a Captivate 3.0 course. The streaming server
    is working fine and I can stream video from a Flash 8.0 file. The
    problem seems to be in Captivate 3.0 because the video will not
    display in a Captivate swf file. The html and swf file resides on
    the web server therefore it cannot not be a security issue. When I
    try to play the Captivate file; it does make connection to the
    media server however the flv file will not stream. The Bytes
    Out(Bytes to the client) number stops incrementing after a 1,000
    bytes. Once you close the browser then the connection to the media
    server is lost. However if I insert a .fla file from Flash
    8.0(which will connect to the streaming server and play) and
    publish it in the Captivate project; It will connect to the server
    and playback the audio but not the video. I turned on and off
    hardware acceleration on my video card thinking that was the
    problem. I would appreciate any help on this. Once I get this to
    work I can justify purchasing the full version of the Flash Media
    Server.

    I think this isn't really an InDesign issue at all. It sounds like an Acrobat issue.
    First, you haven't said what version of Acrobat you're using. I'm assuming Acrobat X Pro?
    I've used this with a friend's Flash Media Server so I know it works. What version of Flash server do you have installed?
    I the link you provide I see a spaceband after the word "test" in the path. Could that be a problem?
    Other than that, it appears that you're following the requirements listed in the Help file for Acrobat X Pro.
    If you have further problems, you might post this on the Acrobat User Forum.

  • Can I stream live video from mobile to fms using flashlite?

    Can I stream live video from mobile to fms using flashlite?
    I Know flash lite 4 also not access the mobile camera.  But, I need to develop a application it captures the mobile camera and stream the vedio to fms server and display the live event to other mobile users.
    Is it possible? 
    If possible what are the technologies i can use?
    Thanks for the help in adavance
    Prasad

    i have made a few test with Flash Lite 3.0 and Flash Media Server 3  and I have to say that it is pretty easy to stream FLV Video files and  Live Video from local web camera to mobile phone. Here are a quick  instructions how to do it in Windows (I will publish Linux version  later).
    Play FLV-video from Flash Media Server 3:
    Install Flash Media Server 3 (download developer version)
    There are a few sample FLV files in applications/vod/media folder, so you can use one of them for testing
    Create a new Flash Lite 3.0 file in Flash
    Add a new Video symbol to library
    Drag this Video symbol to Stage and give instance name to it: video
    Type following programming to timeline:
    // make a new video-object
    var video:Video;
    // make a new NetConnection-object
    var nc:NetConnection = new NetConnection();
    // check connection status from server
    nc.onStatus = function(info:Object):Void {
      status_txt.text=info.code;
      if (info.code == "NetConnection.Connect.Success") {
        startStreaming();
    // start streaming video to phone
    function startStreaming() {
      ns = new NetStream(nc);
      ns.setBufferTime(5);
      video.attachVideo(ns);
      // play sample.flv from server
      ns.play("sample",0);
    // show info to user
    status_txt.text = "Connecting server...";
    // connect FMS 3 video on demand service (default port 1935)
    nc.connect("rtmp://your.server.ip.here:1935/vod");
    Go to Publish Settings...
    Set Local playback security: Access network only
    Publish your SWF-file
    Send your SWF-file to your phone
    Test and you should see FLV-video playing in your phone
    Play live video from Flash Media Server 3:
    Install Flash Media Server 3 (download developer version)
    Install Flash Media Encoder 2 (Windows only)
    Start Flash Media Encoder 2
    You should see your live camera in Input screen
    Press Start-button to start sending live video to Flash Media Server 3
    Create a new Flash Lite 3.0 file in Flash
    Add Video symbol and programming as you did earlier
    Modify your programming:
    // in startStreaming()-function
    // Flash Media Encoder 2 publish stream name is "livestream"
    ns.play("livestream",-1,-1,true);
    // start connection to Flash Media Server 3
    // Flash Media Encoder 2 publishes Flash Media Server's default
    // live publishing point, so connect it
    nc.connect("rtmp://your.server.ip.here:1935/live");
    Publish, test and enjoy
    box office movies

  • How do I transfer videos from iPhone 5 to iPad Air?  My photos are automatically syncing but videos are not.

    How do I transfer videos from iPhone 5 to my iPad Air?   My photos are automatically streaming but my videos are not.   I tried through airdrop but they are in airdrop on my phone (twice) but not on my iPad. 

    Try using a third-party app like DropBox.

  • How do I transfer videos from one ipad to another

    How do I transfer videos from one ipad to another

    Sync to computer, then from computer to other device.
    http://support.apple.com/kb/HT4083

  • How can I move videos from Revolution phone to mac?

    How can i move videos from Verizon Revolution to Mac? My computer is Mac os x version 10.5.8
    I have several videos that are too long to send via email, which is how I have been moving pictures and videos. I plugged it in using the USB port. The phone says I'm connected via usb. My mac brought up a box warning that the "cd connected" is not readable.

    Hi ..
    You can use the Image Capture app located in your Applications folder to import vidoe content from the phone to your Mac
    Instructions here >  Using a camera with your Mac - Apple Support
    If you have problems, make sure your Mac's software is up to date.
    Open System Preferences > App Store then click:  Check Now

  • Hi,how can i transport objects from one server to other like (Dev To Qty)

    Hi Sir/madam,
       Can u explain how can i transport objects from one server to other like (Development To Quality To Production).
    Regards,
    Vishali.

    Hi Vishali,
    Step 1: Collect all Transports(with Packages) in Transports Tab(RSA1)- CTO
    Step 2: Release the subrequests first and then the main request by pressing Truck button
    Step 3: STMS or Customized transactions
    Object Collection In Transports:
    The respective Transports should have the following objects:
    1. Base Objects -
    a. Info Area
    b. Info object catalogs
    c. Info Objects
    2. Info Providers u2013
    a. Info Cubes
    b. Multi Providers
    c. Info Sets
    d. Data Store Objects
    e. Info Cube Aggregates
    3. Transfer Rules u2013
    a. Application Components
    b. Communication Structure
    c. Data Source replica
    d. Info Packages
    e. Transfer Rules
    f. Transformations
    g. Info Source Transaction data
    h. Transfer Structure
    i. Data sources (Active version)
    j. Routines & BW Formulas used in the Transfer routines
    k. Extract Structures
    l. (Note) If the transfer structures and related objects are being transferred without preceding
    Base Objects transport (e.g. while fixing an error) it is safer to transport the related Info
    Objects as well.
    4. Update Rules u2013
    a. Update rules
    b. Routines and formulas used in Update rules
    c. DTPs
    5. Process Chains u2013
    a. Process Chains
    b. Process Chain Starter
    c. Process Variants
    d. Event u2013 Administration Chains
    6. Report Objects u2013
    a. Reports
    b. Report Objects
    c. Web Templates
    Regards,
    Suman

  • How can I transfer videos from my PC to my iPod touch (iOS 7.0.2)?

    Hi,
    I'd like to know how I can transfer videos from my PC to my iPod touch (iOS 7.0.2)?
    Thank u for your help.

    iOS: Importing personal photos and videos from iOS devices to your computer

  • How can i send video from my iphone 4s to email

    How can i send video from my i phone 4s to an email address?

    Mail attachment size is determined by your ISP, & limit that size to betweem 10MB's & 25MB's, depending on ISP. So, unless it is a very small video, you won't be able to.

  • I use my iphone 5 to record home videos. I have an apple tv but dvd burners dont have a hdmi plug in. Any suggestions on how i can burn videos from iphone 5?

    I use my iphone 5 to record home videos. I have an apple tv but dvd burners dont have a hdmi plug in. Any suggestions on how i can burn videos from iphone 5?
    I had a av cord that plugged into the iPhone 3gs and iPad 2 but its not compatible with the 5 connector. Right now i have to email myself the videos in small segments and open and save on the iPad 2 to burn them.  Is there an easier way to burn these from my iPhone 5 or through air play on apple tv?
    Thanks

    Connect the phone by USB to the computer, import with image capture, iPhoto or whatever application you use to import movies, drop it into iTunes.

  • How can I download video from a Canon ZR30 video camera to my IMac.  I bought Elgato Video Capture, but the connections do not match.  There is no white female end in the camera.  Also, the red and yellow connections are loose at the camera end.

    How can I download video from a Canon ZR30 video camera to my IMac?  I have Elgato Video Capture, but the provided connectors are loose in the camera and the camera does not have a white female end.  No signal shows up on the computer when I connect the red and yellow connectors.

    Broken solder joints on the camera me thinks!!
    sorry

Maybe you are looking for

  • Error while inserting data in SQL Server.

    Hi', I am using SOA 11.1.1.5 I am inserting data using DB adapter in MS SQL Server. Some times I get below error. Error Message: {http://schemas.oracle.com/bpel/extension}bindingFault Fault ID     rrr/xxx!1.1*soa_313bd437-7bb9-41c6-a719-d1775b9afc4b/

  • Beginners Problem with Z_TUTORIAL1

    Hi, i try to create a web dynpro Z_TUTORIAL1. I edit it with se80, check it and activate it. Everything is OK. The URL: 'http://system.hn.company.de:8000/sap/bc/webdynpro/sap/z_tutorial1' was created. In C:WINDOWSsystem32driversetchosts i insert the

  • Nvidia 8600gt with DVI to HDMI cable on Samsung 32'' screen

    hi, got setup arch on a friend's pc with the title's featured for viewing...although that is viewable we cannot make it work properly (with the same quality as it is on windows...which is day and night...), is there any options which we can work on t

  • Dual screen hd cinema 30" on Win7

    Hi, I would like to know how to configure my apple hd cinema screen on windows 7. My computer is a macbookpro 15 and I want to use them like dual screen, at this moment I just see clone screens. I would like to have different application on each scre

  • Active ingredient and requirement quantity in COR6N

    Hello dears, I'm implementing the usage of ative ingredient unit of measure for batch management. I set up customizing point for "Define Calculation of Proportion Quantity from Base Quantity" and "Define Calculation of Product Quantity from Base Quan