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.
Similar Messages
-
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?
thanksI 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. -
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 ... -
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.
LindseyI'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.
-
Creating a Replay Button for a Flash Video
I want to replay a flash video by clicking on a "replay" button. I know how to creat the buttons. I can't figure out how to create the action script. Thanks in advance for any help.
I know how to create the Action Script to replay flash, but when I have a flash video that I want to replay that's when I run into trouble.Hi,
This snippet should hint a solution to you (NetStream class):
netStream.seek = 0;
netStream.resume();
Anyway, you would need to know when the movie has finished playing.
On a Flash Media server, there should be an event just for that.
If you are not running on such a kind of server, make yourself a cuepoint to listen to, at the very last frame of the movie, so your app knows when its time to offer the replay functionality. You can insert cuepoints in a movie when you are in the Flash Video Encoder options.
Design Cyboïde
Création de sites web Montréal -
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. -
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.htmli 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... -
Can one create a smart playlist for multiple podcasts and to...
Can one create a smart playlist for multiple podcasts and to play one after the other on your iPod? I want to combine podcasts of the same topic in a smart playlist. When I tried to do this I chose smart playlist, album starts with, and then did it again for each podcast I wanted. That didn't work. If it can be done how do you do it?
I have a fifth generation iPod which is always updated to the latest as well as the itunes.Say for example I want to put different car related podcasts in one smart playlist. Car related podcasts such as Wall Street Journal Car Cast and NPR Car Talk. Can it be done and if so how?
-
Creating an offline playlist for flash videos
Hi
I have several flash videos that I want to create a play list for, can I do this? The videos are located on a PC HD. I have 3 files, Player.exe, video.flv and text.txt
Cheers
EugeneIf the text file is something that should be read in programmatically, you'll need actionscript to do this. This is typically contained in a swf file that would be loaded into the player. The swf would then read the text file and load the flv's appropriately.
The player by itself is not a media player like vlc, wmp, etc. -
My website progressively downloads some large flash videos.
The videos appear jumpy for people with slower internet
connections. Does anyone know of a way to create a preload
countdown (like in movies) that would give the video some more time
to load?Hi
Not as a transition but as You got iMovie HD 6 there might be a plug-in that does this
(in FinalCut Express or Pro when export back to Camera this can be selected)
Stupendous software http://www.stupendous-software.com
GeeThree http://www.geethree.com
cf/x. http://www.imovieplugins.com
Apple http://www.apple.com/downloads/macosx/video/ezediapluginsforimovievol1.html
http://www.imovieplugins.com/fxhome.html
Yours Bengt W -
How do you create a dynamic playlist?
I want a playlist for my videos, preferably with thumbnails like the flash player Adobe offered with Popeye sample/test videos. How do you configure the player for that? I believe it's by Kaltura, and their website shows that feature but I can't find it mentioned in the documentation. Thanks!
Hi mfuller52654,
Currently in Strobe MediaPlayback we have support for:
- simple playlists (m3u format): no thumbnails or title, example in http://osmf.org/dev/1.5gm/StrobeMediaPlayback.html?src=playlists/playlist.m3u
- JS playlists, without autoadvance - a sample can be found at http://osmf.org/dev/1.5gm/jsdemo.html
I think the second option can help you create your thunbnailed playlists.
Tell me if this helped,
S. -
How to add a toggle play/pause button for a flash video
Hi,
Can someone help me with this flash video. I am creating a
custom video controllers and I need to have a toggle play and pause
button. How would do I go about that. I tried to use it on a play
button and the video pauses and play, but I need to get the pause
image and play image in there. So, can anyone give me the code for
that . I really appreciate it.
Thanksthis is not truly an event driven state machine....
too many loops
data flow dependencies
wrong use of boolean controls
not a true state machine
here is a template...
Spoiler (Highlight to read)
Attachments:
event driven state machine.llb 27 KB -
Newb - adjusting quality bitrate for my flash video ...?
I just converted a WMV to flash video .flv through the wizard in Flash CS3 Pro.
It converted it OK, but made quite a large file.
Is it possible to produce a file of lower size and quality. Is there a bit-rate setting somewhere?
(We have some people outside the US in developing countries who don't have such a good connection. Whats about the lowest you would go in terms of quality / bitrate?)If you have Adobe Media Encoder that may have come with Flash Professional CS3, you can use that to create multiple bitrate versions of your videos. But, generally, there can be lots of possible solutions here. Your best bet, hoesntly, is to search for "encoding flash flv video" or something like that in google, and reading various pages that way. You're certain to find much more qualified hits & results versus posting in a forum.
You want to also be aware of if you can only support 1 single bitrate version of your video...or if you will have a way to provide multiple versions of your video, as in:
~200-400 kbps bitrate for slow connections
700 kbps for medium connections
~1,000 kbps - 1,5000 for faster connections
But providing this capability requires that - in a simple way - you provide your users with multiple buttons to load the video (which is not ideal). Beyond this, you can have somebody program in some bandwidth detection to determine which quality to load...or in the most sophistacted way, you need to use streaming video with a streaming media server. -
Create a dynamic attribute for each user
Hi All,
I request you all to let me know how to give an approach to the following requirement.
REQUIREMENT: I have to create a dynamic attribute in UME for each user and the read the attribute on lead selection of a table having list of Users.
On lead selection, the dynamic attribute value should be either true or false. Based on this value the rest of the application specific operations wil be taken care.
If a particular User does not have the dynamic attribute associated to it, then we need to create the same.
Looking forwarrd for your help.
Regards
Dipendra//@@begin javadoc:UMSavePropertiesByNode()
/** Declared method. */
//@@end
public boolean UMSavePropertiesByNode( )
//@@begin UMSavePropertiesByNode()
try {
if (wdContext.currentUserDataElement().getVaIUserMaint().setAttribute("com.sap.security.core.usermanagement", this.getUMPropertyName(null) + ".TableColumns", this.getPropertiesByNode())) {
wdContext.currentUserDataElement().getVaIUserMaint().save();
wdContext.currentUserDataElement().getVaIUserMaint().commit();
msg.reportMessage(IMessageTableUtilsComponent.UMPROPERTY__SAVE__FIELDS__SUCCESS, null, false);
} catch (UMException ex) {
wdContext.currentUserDataElement().getVaIUserMaint().rollback();
msg.reportMessage(IMessageTableUtilsComponent.UMPROPERTY__SAVE__FIELDS__ERROR, null, false);
return false;
return true;
//@@end
//@@begin javadoc:UMLoadFieldsProperties()
/** Declared method. */
//@@end
public petrobras.com.br.classes.FieldsTable UMLoadFieldsProperties( petrobras.com.br.classes.FieldsTable fields )
//@@begin UMLoadFieldsProperties()
String properties[] = wdContext.currentUserDataElement().getVaIUserMaint().getAttribute("com.sap.security.core.usermanagement", this.getUMPropertyName(null) + ".TableColumns");
if (Compare.getLenght(properties) > 0) {
//msg.reportWarning("[UMLoadFieldsProperties]: properties.length = " + properties.length);
for (int i = 0; i < properties.length; i++) {
int attrPos = Integer.parseInt(properties<i>.substring(properties<i>.indexOf("(") + 1, properties<i>.indexOf(")")));
String attrName = (String) properties<i>.substring(properties<i>.indexOf(")") + 1, properties<i>.indexOf("="));
int attrValue = Integer.parseInt(properties<i>.substring(properties<i>.indexOf("=") + 1, properties<i>.indexOf(";")));
Field item = fields.getField(attrName);
if (item != null) {
item.setPosition(attrPos);
item.setVisibility(WDVisibility.valueOf(attrValue));
fields.removeFieldByName(attrName);
fields.addField(item);
return fields;
//@@end
regards,
Angelo
Maybe you are looking for
-
Error while updating assignment of Contingent resource
Hi, I am getting the below error while updating Assignment of contingent resource using the Standard API. ORA-20001: HR_7949_ASG_DIF_SYSTEM_TYPE: N, SYSTYPE, ACTIVE_CWKCode for updating the record is - Declare Cursor c_emp_mig Is Select person_id, su
-
Hi, Is there any way to do a mass creation of gl-accounts in the chart of accounts? I have to create more than 300 accounts. Thanks Moderator: Please, search SDN
-
Need help in the String Format method
really need help in string.Format method. I would like to show the s in two digit numbers. for example: if s is below 10 then display *0s* the expecting result is 01,02,03.. 09,10,11.... I tried this method, somehow i got the errors msg. pls advise.
-
Exporting Originals (not Modified) from iPhoto 09 to Adobe Lightroom 2
Hi all. What is the best way (if any) to export photos in the Originals folder of iPhoto into Lightroom 2 and: 1. Keep keywords 2. Keep similar organization to "events" (e.g. an event called Fall 2009 in iPhoto would create a folder within a LR catal
-
Does anyone know how I can burn a multisession using DVD-R?