Dynamic Playlist for streaming video

This is my first attempt at building a dynamic playlist for
streaming flash video and I'm following the tutorial at
"macromedia.com/devnet/flash/articles/video_player.html". I've
changed the paths to my FMS and loaded the video files to the
applications directory of the FMS (flash_applications/videosource).
The thumbnails load and the player skin loads but the videos do not
load when I click on the thumbnails.
I've read the earlier post about this same issue. I followed
the advice from that post and reloaded the 'main.asc' file from my
Flash 8 program files but the video still does not play.
Here is a link to the site so you can see the problem:
http://media.us.elsevierhealth.com/videosource/VideoSource1.swf
My FMS is 'media.us.elsevierhealth.com'
I believe my code is correct and I believe the paths I've
created are correct. If someone could review my code and check the
path info I would appreciate it. Here is the code from
'VideoSource1.as'
import mx.video.*;
//Set up the list box, call function VideoThumb to create the
actual thumbnails
list.rowHeight = 70;
list.cellRenderer = "VideoThumb";
list.selectable = true;
//create new empty listener object
listListener = {};
nc = new NetConnection(); //create a connection
nc.connect("rtmp://media.us.elsevierhealth.com/videosource");
//connect to FCS (nav.attributes.url)
ns = new NetStream(nc); //create a stream
ns.connect(); //connect the stream
nc.connect("rtmp://media.us.elsevierhealth.com/videosource");
var stream_ns:NetStream = new NetStream(nc);
stream_ns.play("video2.flv");
// Create function to trace all the status info.
function traceStatus(info) {
Message.text+="Level: " + info.level + " Code: " +
info.code+"\n";
} // Assign this function to onStatus handlers when you
create objects.
//Function to handle what happens when an item in the list is
selected
listListener.change = function( evtobj ) {
var nav = list.dataProvider[list.selectedIndex];
var reset = true;
for ( var i = 0; i < nav.childNodes.length; i++ ) {
var stream = nav.childNodes
if ( stream.nodeName == "stream" ) {
attachMovie("FLVPlayback", "my_FLVPlybk", 10, {width:320,
height:240, x:90, y:100});
//center the FLVPlayback component when FLV is ready to play
var listenerObject
bject = new Object();
listenerObject.resize = function(eventObject
bject):Void {
//center video in playback area
newx = (460 - my_FLVPlybk.preferredWidth)/2;
newy = (470 - my_FLVPlybk.preferredHeight)/2;
my_FLVPlybk._x = newx;
my_FLVPlybk._y = newy;
my_FLVPlybk.addEventListener("resize", listenerObject);
listenerObject.ready = function(eventObject
bject):Void {
my_FLVPlybk.setSize(250, 350);
my_FLVPlybk.skin = "ClearExternalAll.swf";
my_FLVPlybk.clear();
my_FLVPlybk.contentPath =
"rtmp://media.us.elsevierhealth.com/videosource/stream/_definst_/"
+ stream.attributes.name+".flv";
my_FLVPlybk.autoSize = true;
trace(my_FLVPlybk.contentPath);
reset = false;
//Add an event listener on the list, when it triggers, run
the listListener function to repopulate the list
list.addEventListener("change", listListener);
//Function that loads the XML file, parses it, and builds the
list of available video clips
var xmllist = new XML(); //setup a variable to hold the XML
xmllist.ignoreWhite = true;
xmllist.load( "playlist-demo-1.xml" ); //load the XML file
//The following gets called when the XML has been loaded
xmllist.onLoad = function( status ) {
if ( !status )
trace( status );
var entries = this.childNodes[0];
var playlists = {};
var nav = [];
for ( var i = 0; i < entries.childNodes.length; i++ ) {
var entry = entries.childNodes;
if ( entry.nodeName == "listitem" )
//builds array of video clip names
playlists[entry.attributes.name] = entry;
else if ( entry.nodeName == "menu" ) {
//builds array of available videos
for ( var j = 0; j < entry.childNodes.length; j++ )
nav[j] = playlists[entry.childNodes[j].attributes.name];
} //end else if
} //end if
//sends the array of videos to the listbox UI
list.dataProvider = nav;
} //end xmllist.onload
Any advice or troubleshooting will be appreciated. Thanks in
advance.

I just used the server on Windows (as opposed to linux) and
it worked great. So the issue, at least for me and my issue (could
see the thumbnails, couldn't play the video) was windows vs. Linux.
I guess the linux version doesn't work with this exact script. Now
to put together something of my own to test to see if the linux
version works right.

Similar Messages

  • Dynamic Playlist for Streaming Video Errors

    I'm using Lisa Larson's tutorial on the adobe website to
    create a dynamic playlist from an XML file to work with out FMS
    server. After playing around with it for an hour I finally got it
    to connect to the FMS and generate the thumbs but it won't stream
    any of the videos. When I click on the list item the video player
    comes up but doesn't load a video. Any ideas? The live log in the
    FMS console is giving me this error: "
    Error:
    command msg sent before client connection has been
    accepted."
    This is the link for the tutorial
    http://www.adobe.com/devnet/flash/articles/video_player.html

    i don't even get to see the thumbnails! i've left one of the
    original addresses in the xml, and that one always loads, both
    thumbnails and stream. however, every other one i've changed a
    number of ways, i never get any thumbnails nor streams. while
    testing the movie with flash 8, i get the output that the first
    connection (the original one) is a success, but all others are
    failed. in the xml, do you have to put the port in too? cause i've
    tried that, but it makes no difference whatsoever...

  • Problem with tutorial:Creating a dynamic playlist for streaming flash video

    hi, anyone tried the tutorial: creating a dynamic playlist
    for streaming flash video?
    i follow the instruction exactly as stated in the tutorial
    and test the fla file, it worked perfectly well when i open the swf
    using the macromedia flash 8. Everything look fine. Nothing is
    changed except the url is changed to "rtmp://localhost/videosource"
    in the xml file.
    after i publish the file using the setting: access network
    only, i try to open the swf and html file from the folder, the
    thumbnail did not appear and there is no way i can click on any
    videos. What i see is only the list, and there is no response from
    the flash media server 2. All the files is in the same folder.
    Anyone please help with this problem???? thanks

    ....i debug the movie step by step
    and realised that the xml file is being read by the code...
    Your original problem stated it worked but not when playing
    outside the
    Flash authoring environment by simply loading the swf from
    the hard drive.
    The Flash authoring environment is a trusted environment and
    so you really
    need to test in the actual deployment mode which loading an
    swf from the
    hard drive is not a valid deployment unless an installed
    Flash player is
    available outside the web browser which you would have as you
    have the
    authoring tool and your users will not.
    Use a browser with
    http://yourdomain.com/yourmovie.html
    to do final
    debugging.
    In this regard you may need to debug the movie while running
    in real time
    mode in a web browser with
    http:// A technique to trace I suggested is to
    create a temporary TextField perhaps named out_txt and send
    trace message to
    it such as out_txt.text += "My Trace Expression".
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "free23" <[email protected]> wrote in
    message
    news:[email protected]...
    sorry but i don't understand what you mean....i debug the
    movie step by step
    and realised that the xml file is being read by the code...
    this is a sample of my log files:
    #Fields: date time x-pid x-status x-ctx x-comment
    2006-05-15 20:08:58 3072 (i)2651170 Unloaded application
    instance
    videosource/_definst_ -
    2006-05-15 20:48:19 3848 (s)2641173 FCApplication loaded
    successfully.
    2006-05-15 20:48:19 3848 (s)2641173 Communication Framework
    loaded
    successfully.
    2006-05-15 20:48:19 3848 (s)2641173 SimpleConnect loaded
    successfully. -
    2006-05-15 20:48:19 3848 (s)2641173 VideoConference loaded
    successfully. -
    2006-05-15 20:48:19 3848 (s)2641173 Video Playback loaded
    successfully. -
    2006-05-15 20:48:19 3848 (s)2641173 Communication Components
    loaded
    successfully.
    2006-05-15 20:48:19 3848 (s)2641173 Sending this message:
    Hello! You are
    connected as: undefined -
    2006-05-15 20:48:19 3848 (e)2641190 Error : command msg sent
    before client
    connection has been accepted. -
    2006-05-15 20:48:20 3848 (s)2641173 Sending this message:
    Hello! You are
    connected as: undefined -
    2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent
    before client
    connection has been accepted. -
    2006-05-15 20:48:20 3848 (s)2641173 Sending this message:
    Hello! You are
    connected as: undefined -
    2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent
    before client
    connection has been accepted. -
    2006-05-15 20:48:20 3848 (s)2641173 Sending this message:
    Hello! You are
    connected as: undefined -
    2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent
    before client
    connection has been accepted. -
    2006-05-15 20:48:20 3848 (s)2641173 Sending this message:
    Hello! You are
    connected as: undefined -
    2006-05-15 20:48:20 3848 (e)2641190 Error : command msg sent
    before client
    connection has been accepted. -
    2006-05-15 20:49:42 3848 (s)2641173 Sending this message:
    Hello! You are
    connected as: false -
    hope this help...

  • Creating a Dynamic Playlist for Streaming Flash Video

    Hello,
    I have been trying the tutorial given by Lisa Larson in order
    to create a dynamic playlist for streaming Flash video files. I
    have realized some of the FLV files that I have downloaded from
    internet don’t show in the thumbPlayList and cannot be
    played. But once I convert them back to WMV and the use the Flash 8
    Video Decoder to convert them to FLV file everything works fine.
    Any idea or suggestion why there is such a problem?
    Thank you for your advice.
    Babak
    ps.
    This
    is the link to the tutorial I mentioned ...

    Hello,
    I have been trying the tutorial given by Lisa Larson in order
    to create a dynamic playlist for streaming Flash video files. I
    have realized some of the FLV files that I have downloaded from
    internet don’t show in the thumbPlayList and cannot be
    played. But once I convert them back to WMV and the use the Flash 8
    Video Decoder to convert them to FLV file everything works fine.
    Any idea or suggestion why there is such a problem?
    Thank you for your advice.
    Babak
    ps.
    This
    is the link to the tutorial I mentioned ...

  • Trouble with Creating a Dynamic Playlist for Progressive Flash Video

    Hey There,
    I have been working on building a flash video player and are
    trying to incorporate the Dynamic Playlist for Progressive Flash
    Video. Everyting is working expect the thumbs are not appearing.
    Instead, on each row of the list it says " type function". The list
    is populated with data b/c i can navigate it and select a video to
    watch, just the thumbs are missin.
    Any ideas how I can get my jpg thumbs to appear?
    thanks

    I worked on the same project and it is working alright and
    still interested in adding more features like play pause etc ....
    but for now I'm more interested in adding the buffering bar and
    progress bar.
    Any help is welcome.

  • Creating a Dynamic Playlist for Progressive Flash Video

    Hi
    I just finished reading the Creating a Dynamic Playlist for
    Progressive Flash Video (
    http://www.adobe.com/devnet/flash/articles/prog_download.html)
    tutorial, and it gives a pretty good overview, however I would like
    to be able to add the ability to stop and start the video as well,
    and the tutorial doesn't really explain how the embedded video
    works. Does anyone know how this can be accomplished, or at least
    know where I can find information on how to do this.
    Thanks

    I worked on the same project and it is working alright and
    still interested in adding more features like play pause etc ....
    but for now I'm more interested in adding the buffering bar and
    progress bar.
    Any help is welcome.

  • Will my phone carrier be charged for streaming video on a wifi only ipad?

    Will my phone carrier be charged for streaming video on a wifi only ipad?

    If you are using your phone as a hotspot for you to connect your iPad to for streaming then YOU will be charged for data... not your carrier.

  • Mac book pro verses iMac(intel)for streaming video

    Mac book pro verses iMac (intel) for streaming video (skpying) which one would you recommend?

    Neither one is particularly advantageous. Streaming video will take a considerable amount of power, meaning you'll probably want to keep a MBP's power adapter connected.

  • How pinnacle can be used for streaming video for mac app?

    How pinnacle can be used for streaming video for mac app?

    Hi naturalfemale,
    As mentioned in the referring article, closed captioning content has to be specifically added/enabled to a video for closed captioning to function:
    Additional Information
    Not all videos include caption or subtitle tracks. Check the documentation for the video you are using to see if it includes these features.
    OS X: Using captioning features in Mavericks
    http://support.apple.com/kb/HT5910
    At the moment, I do not believe there is an option for universal captioning.
    Regards,
    - Brenden

  • What is the best flash app for an S3 for streaming video?

    What is the best flash app for an S3 for streaming video?

    Flash Player 11, but you have to sideload if you lost it.
    http://blogs.adobe.com/flashplayer/2012/06/flash-player-and-android-update.html
    Adobe stopped support a while ago for it.  They are replacing Flash Player with Air.  WatchESPN for example uses Air.

  • Creating a Dynamic Playlist for use with Amazon Cloudfront

    I am working on a soultion for my website to deploy Falsh encoded videos from the Amazon Cloudfront using Flash Streaming Video Server 3.5 and the JW Falsh Player (www.longtailvideo.com).
    I am NOT a code person but here is what I am trying to accomplish. I hope I am in the correct forum! If not, I apologize.
    I have several videos a week that I edit and can save in different kbps versions for Dynamic Bitrate streaming through the JW Player. My problem is creating the XML or SMIL playlist to initiate the bitrate switching. I would like to find an authoring tool or someway to generate the required file in a fairly easy manner as I am more videographer/editor that code warrior.
    I would also like to have a playlist of other available videos associated with any given video that could be delivered with the Dynamic Bitrate Switching feature. Example: a lawyer that specializes in several different fields of law and would like to have 5 videos, one for each area of specialization, delivered to clients with high bandwidth and clients on mobile devices and everyone in between!
    Thanks in advance for your time and consideration.
    Lindsey

    I'm looking for the answer to this question too.  If you don't have the answer, or if you don't care to link to the answer, or to recommend a knowledgable expert, please remain silent.

  • Is there any way to change a title for streaming video in QT Pro?

    I'm trying to follow several streaming feeds at the same time, all with unhelpful titles.
    For example, this is the URL I'm using to view the ROV 2 feed for Discoverer Enterprise.
    http://mfile.akamai.com/97892/live/reflector:21145.asx?bkup=21327
    which results in the title, reflector:21145.asx?bkup=21327.

    Actually, what I was wanting to know is if I could just change the title while watching the streaming video rather than saving the feed. I can do this in a VLC playlist but I can't seem to figure out how to open multiple windows for feeds in VLC. Also, VLC doesn't let me go back in the cached feed to see and/or save snippets which I can easily do in QuickTime Pro.
    I have been able to save the streaming feeds like this although I have the $30 upgrade for Flip4Mac which I needed to export for YouTube. There may be a way to do the same thing with something free but I know less than nothing about video and this worked.
    Move the playhead slider to start of snippet
    Type "i" to get slider for start of snippet
    Move the playhead slider to end of snippet
    Type "o" to get slider for end of snippet
    Adjust the "i" and "o" sliders if needed.
    Right click on the feed and choose copy.
    Go to File -> New Player (command N)
    Go to Edit -> Paste (command V)
    Go to File -> Save (command S) and save as self-contained movie
    After that I use the file I just saved with the directions on YouTube to export it to a file that will process on their site.
    Here is an example that shows a ROV being lowered from the deck of its mothership into the water.
    http://www.youtube.com/watch?v=VsYinE5cNx8
    I saved it from this streaming feed which I loaded into QuickTime Pro (File -> Open URL or command U and paste URL). I seem to recall I needed the free Flip4Mac to view this in QuickTime.
    http://mfile.akamai.com/97892/live/reflector:47175.asx?bkup=21144
    I'm all set with what I want to do other than being able to change the titles on the feeds as I'm watching them in QuickTime Pro.

  • No full screen option for streaming video podcasts??

    Why does Apple have to make things so difficult at times for something that should be so obvious and straightforward? Anyone know how to view streaming video podcasts in full screen?

    Turning off the TV safe area is to prevent parts of the images from being lost, which is not the issue here. The problem I'm having is that there there are black bars around the entire displayed image. I believe this is called windowboxing. Letterboxing has black bars at top and bottom of screen, pillarboxing has the black bars at the left and right of screen. It's all to do with the ratio of the photographs.
    My photos were all taken with a digital camera and are 4:3 ratio. I want the images to display FULL SCREEN. They are not doing this - not on a TV monitor - and not on a computer monitor!!! Is windowboxing hard-wired into the iDVD themes? This can't be right. PLEASE HELP!!!

  • Encoder to Server URL for streaming video??

    I am trying to encode and stream live video. I have downloaded both the Flash Media Encoder and Flash Media Server. To complete the process of streaming video, it appears that I need to obtain a "server URL address" which is called "RTMP" on the encoder page. Where can I find this? Is this something that can be downloaded, or do I have to purchase this from a partner like Level 3 communications, AT&T, etc.? Any information on this would be helpful. Thanks in advance!

    You can give the URL as "rtmp://localhost/live"
    where rtmp is the protocol used for streaming from FMLE to FMS.
    localhost is the name or IP address of the machine on which FMS is. I have used localhost becuase i have assumed that your FMLE and FMS are on same machine else use IP adrress or name if the machine on which FMS is instead of localhost.
    Live is the apploiction that is there in applocations folder of FMS.
    then in stream name give any name you want to give

  • Which Plugin for Streaming video?

    I am getting prompts from Quicktime for a missing plugin. I assume its related to streaming video fom sites I am viewing on Safari. I am directed to the codec download page for Quicktime. But I have no idea which plugin to download. I have current Quicktime Pro. My Quicktime Viewer is 7.1.3. I'm using a G5 Quad (non intel) with OS 10.4.8.
    Is there a QT plugin which will accomodate a wide range of streaming video?

    Can you post the URL to these videos your trying to view?
    Flip4Mac is one plugin you may need, it's free for view only.
    http://www.flip4mac.com/download.htm
    The green one.
    You may need the Perian component too...again it free.
    http://perian.org/
    Make sure you have the lastest in the Flash plugin...free.
    http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash
    All of this should help you view video on the net.

Maybe you are looking for

  • Purchase Order History Program - not working properly

    Dear friends i am developing purchase order history program in ALV, which shows the report of purchase order status i.e (fields as below). document no PO date line item material number material name purchase org plant purchase group orderd quantity o

  • Dbtab Getting Cleared

    Hi All   I am using one Y table for generation of numbers. This table stores the last no generated for a particular combination. But anyhow this table is getting reset and am unable to find the cause. When i wnt through the coding, i found it ok. Fir

  • How to check particular DHCP Scope all Details.

    How to check particular one DHCP Scope ALL Details. Server is Windows 2003 so Powershell. Any Command like Netsh or anything? For a particular Scope. Also How to export & import a particular DHCP Scope? AliahMurfy

  • 871W dot11 interface as a receiver?

    Hello, I have a 871W with advanced IP services image. What I have is a non-Cisco router which is connected to the internet and has a wireless. What I want to do is set up the 871W radio interface to receive the signal from my other router (Internet)

  • Need help with Call By Reference on cRIO-9012

    I have a RT application running on a cRIO-9012 in which I am attempting to establish references to a variable number of clones of the PID Autotuning (Temperature).vi, and then passing these references to a FOR loop in which I am opening each clone wi