<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br><br>Probably not the most elegant, but could you loop parse for the last element in the xml?<br><br><br>> Date: Wed, 22 Apr 2009 14:46:07 -0400<br>> Subject: Re: [Xerte] Inclusion of close captions onvideofiles         anduseofplaylists<br>> From: worldradiolabs@gmail.com<br>> To: xerte@lists.nottingham.ac.uk<br>> <br>> Hi all,<br>> <br>> Captions not always working.<br>> <br>> Thanks Julian for making this timedtext sample- it gave me a great<br>> start for captioning some videos but in testing on the server I ran<br>> into an issue- the captions don't always display if the user starts<br>> the video playing before the xml file is loaded. If I wait for the<br>> video to download first, the captions work fine. On the local machine<br>> I did not run into this issue- perhaps the solution is obvious and<br>> I've overlooked it?<br>> <br>> How may I ensure the XML file loads first?<br>> <br>> Best regards,<br>> <br>> Bill Laakkonen<br>> <br>> <br>> <br>> On Tue, Mar 24, 2009 at 5:47 AM, Julian Tenney<br>> <Julian.Tenney@nottingham.ac.uk> wrote:<br>> > I need to understand more about the timedText standard that the close<br>> > caption files the JW player use are based on. timedText seems to be an<br>> > emerging standard for marking up text with synching information. It's<br>> > attractive because hopefully there will be other tools available that<br>> > can handle the marking up and creation of the files, and possibly<br>> > services such as translation made available by other parties. I built a<br>> > very simple mockup of the basics yesterday:<br>> ><br>> > http://www.nottingham.ac.uk/~cczjrt/timedText.zip<br>> ><br>> > Which shows how to load an xml file (the timedText.xml) and use the<br>> > information in it to set up cue points in the .flv, and then respond to<br>> > those events and show the appropriate piece of text. You'll need to<br>> > reinstall Xerte from the website to make this work as I made a small<br>> > change to the engine to better handle the events from the Movie icon.<br>> ><br>> > The example shows how easy - and simple - this is to do in Xerte. There<br>> > are 8 lines of code.<br>> ><br>> > There's a bit to do to fully support timedText though as it has a number<br>> > of ways of marking up the synching information, and can support multiple<br>> > simulataneous captions, and probably quite a bit more. Maybe this gives<br>> > folk something to start with,<br>> ><br>> > J<br>> ><br>> ><br>> ><br>> > -----Original Message-----<br>> > From: xerte-bounces@lists.nottingham.ac.uk<br>> > [mailto:xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Johnathan<br>> > Kemp<br>> > Sent: Tuesday, March 24, 2009 9:16 AM<br>> > To: ea@emptech.info; Xerte discussion list<br>> > Subject: RE: [Xerte] Inclusion of close captions onvideofiles<br>> > anduseofplaylists<br>> ><br>> > Regarding a comparison of the accessibility of the JWFLV player as<br>> > compared to the player in Xerte, you may well be right regarding<br>> > keyboard users, I would not claim to be an expert regarding<br>> > accessibility issues. One of the many attractions for me of Xerte are<br>> > the accessibility features that are built in to it.<br>> ><br>> > I have a requirement for taking video footage of interviews and editing<br>> > the footage down into discrete chunks that demonstrate different stages<br>> > of the interview, e.g. introducing yourself, contracting, challenging,<br>> > summarising etc. By using play lists I could re-use the chunks in<br>> > different learning objects, e.g. one object could deliver a complete<br>> > interview, another different examples of contracting, etc.<br>> ><br>> > My current very limited knowledge of Flash and my previous experience of<br>> > using the JWFLV player tended me towards a solution that would enable<br>> > the JWFLV player to be called in Xerte and passed the play list which in<br>> > turn would identify the FLV files and close caption files to include.<br>> > Any solution that provided a similar capability in Xerte would be<br>> > wonderful.<br>> ><br>> > I am in the middle of launching a Company wide VLE based on Moodle at<br>> > the moment. Hopefully when this settles down I will get a chance to look<br>> > at the recent work that Julian has put into enhancing the FLV player in<br>> > Xerte. However I have to stress my Flash skills are limited, though I<br>> > think having now discovered Xerte the case for my getting to know Flash<br>> > is now overwhelming.<br>> ><br>> > Kind regards<br>> ><br>> > Johnathan<br>> ><br>> ><br>> > Johnathan Kemp<br>> > IT Dev. Manager<br>> > Connexions Staffordshire<br>> > www.cxstaffs.co.uk<br>> > 01785 355714<br>> ><br>> ><br>> ><br>> ><br>> ><br>> > -----Original Message-----<br>> > From: xerte-bounces@lists.nottingham.ac.uk<br>> > [mailto:xerte-bounces@lists.nottingham.ac.uk] On Behalf Of E.A. Draffan<br>> > Sent: 23 March 2009 20:52<br>> > To: 'Xerte discussion list'<br>> > Subject: RE: [Xerte] Inclusion of close captions on videofiles<br>> > anduseofplaylists<br>> ><br>> > Sorry to ask but are you sure JWPlayer will be as accessible as the<br>> > XERTE option from the point of view of a keyboard users? We have had to<br>> > add HTML tags to make sure it is accessible in all browsers such as<br>> > Firefox, Opera, Google Chrome and Safari. The keyboard access works in<br>> > Internet Explorer but not always in the other browsers. See example<br>> > http://www.lexdis.org/strategy/62 Our method of handling the difficulty<br>> > is fairly basic but I am not sure if there is another option at the<br>> > moment. I know folks in Washington University have been looking at the<br>> > same issue.<br>> ><br>> > Best wishes E.A.<br>> ><br>> > Mrs E.A. Draffan<br>> > Learning Societies Lab,<br>> > ECS, University of Southampton,<br>> > Tel +44 (0)23 8059 7246<br>> > http://www.lexdis.ecs.soton.ac.uk<br>> > http://www.emptech.info<br>> ><br>> ><br>> > -----Original Message-----<br>> > From: xerte-bounces@lists.nottingham.ac.uk<br>> > [mailto:xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Julian Tenney<br>> > Sent: 23 March 2009 12:12<br>> > To: Xerte discussion list<br>> > Subject: RE: [Xerte] Inclusion of close captions on video files<br>> > anduseofplaylists<br>> ><br>> > Yes, it could be done, I am sure. I'd be happy to provide some support<br>> > to ayone wanting to have go at it, but I'm a bit busy to take it on<br>> > myself at the minute. Presumably if you could play FLVs and give them<br>> > captions etc, you woulnd't need the JW player? Just build a similar<br>> > solution in Xerte?<br>> > There would be little point in recreating the JW player, if that's all<br>> > that's required, but if you wanted to integrate more sophisticated FLV<br>> > support with alll the other features of Xerte then it might be worth it.<br>> ><br>> ><br>> ><br>> ><br>> > Ulimately what would be great is to have a 'captionFile' property on the<br>> > Movie icon, point it to a caption file, and then have the movie icon<br>> > fire an onCaption event everytime a new caption point is encountered.<br>> ><br>> ><br>> ><br>> ><br>> ><br>> > From: xerte-bounces@lists.nottingham.ac.uk<br>> > [mailto:xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Johnathan<br>> > Kemp<br>> > Sent: Monday, March 23, 2009 12:03 PM<br>> > To: Xerte discussion list<br>> > Subject: RE: [Xerte] Inclusion of close captions on video files<br>> > anduseofplaylists<br>> ><br>> ><br>> ><br>> > Hello Julian,<br>> ><br>> ><br>> ><br>> > The JWFLV video player uses an xml configuration file, an xml playlist<br>> > file (which identifies the flv file and the close caption file to play<br>> > for each entry in the playlist) and separate xml close caption files<br>> > which are in a format unique to the JWFLV player. The makers of the<br>> > jwflv player supply a module that can be loaded into subtitle workshop<br>> > (free software) to generate the close captions in the necessary format.<br>> > If you have other software e.g. aegissub (also free, but which I found<br>> > easier to use than subtitle workshop) then you can output close caption<br>> > files in the .ass format. Subtitle workshop can import these and then<br>> > convert them to JWFLV format.<br>> ><br>> ><br>> ><br>> > >From what you say I suspect it would be achievable to call the jwflv<br>> >>player<br>> > from within xerte.<br>> ><br>> ><br>> ><br>> > I have been able to set up both coldfusion code and php code to call the<br>> > flvplayer and pass it the necessary parameters, so I guess it is now<br>> > down to my improving my action scripting and understanding of Xerte.<br>> ><br>> ><br>> ><br>> > I am looking forward to your forthcoming online tutorial on Friday 3rd.<br>> > I may not be able to be there live, but there's always the recording :-)<br>> ><br>> ><br>> ><br>> > Kind regards<br>> ><br>> ><br>> ><br>> > Johnathan<br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> > Johnathan Kemp<br>> > IT Dev. Manager<br>> > Connexions Staffordshire<br>> > www.cxstaffs.co.uk <http://www.cxstaffs.co.uk/><br>> > 01785 355714<br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> > ________________________________<br>> ><br>> > From: xerte-bounces@lists.nottingham.ac.uk<br>> > [mailto:xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Julian Tenney<br>> > Sent: 20 March 2009 10:27<br>> > To: Xerte discussion list<br>> > Subject: RE: [Xerte] Inclusion of close captions on video files and<br>> > useofplaylists<br>> ><br>> > The play list is just an xml file, so Xerte could easily enough load it<br>> > and create a list of items, that when clicked loaded and flv into the<br>> > player.<br>> ><br>> ><br>> ><br>> > Synching up the display of captions to the playback of the video would<br>> > mean tracking the current playhead time in the video and showing the<br>> > caption. I assume that the caption file is also xml, something like<br>> > this:<br>> ><br>> ><br>> ><br>> > <captions><br>> ><br>> > <caption time="00:12"><![CDATA[Here is a caption</caption><br>> ><br>> > </captions><br>> ><br>> ><br>> ><br>> > Which is all the inforamtion you'd need to also support them,<br>> ><br>> ><br>> ><br>> > From: xerte-bounces@lists.nottingham.ac.uk<br>> > [mailto:xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Johnathan<br>> > Kemp<br>> > Sent: Thursday, March 19, 2009 5:14 PM<br>> > To: xerte@lists.nottingham.ac.uk<br>> > Subject: [Xerte] Inclusion of close captions on video files and use<br>> > ofplaylists<br>> ><br>> ><br>> ><br>> > Prior to looking at Xerte I have been experimenting with the jwflv<br>> > player, which is free for non-commercial use and has a modest licence<br>> > fee for commercial use.<br>> ><br>> ><br>> ><br>> > This is flash based and allows for the playing of flv files, with<br>> > support for the use of playlists and close caption files.<br>> ><br>> ><br>> ><br>> > Is there any support within Xerte for the use of playlists or close<br>> > caption files?<br>> ><br>> ><br>> ><br>> > If not has anyone looked at the possibility of calling the jwflv player<br>> > from within Xerte?<br>> ><br>> ><br>> ><br>> > Kind regards<br>> ><br>> ><br>> ><br>> > Johnathan<br>> ><br>> ><br>> ><br>> > Johnathan Kemp<br>> > IT Dev. Manager<br>> > Connexions Staffordshire<br>> > www.cxstaffs.co.uk <http://www.cxstaffs.co.uk/><br>> > 01785 355714<br>> ><br>> ><br>> ><br>> ><br>> ><br>> > ________________________________<br>> ><br>> > This email and any files transmitted with it are confidential and are<br>> > intended solely for the use of the individual(s) or entity(s) to whom<br>> > they are addressed. All messages are monitored for virus, high risk<br>> > files and inappropriate content. As a result users should be aware that<br>> > this mail maybe accessed, read and the right is reserved to reject,<br>> > return, remove attachments or delete if considered to be inappropriate<br>> > or unsuitable.<br>> > Liability cannot be accepted for any loss or damage arising from this<br>> > email (or any attachments) or from scripts or any virus transmitted.<br>> > This communication represents the originator's personal views and<br>> > opinions, which do not necessarily reflect those of Connexions<br>> > Staffordshire. If you are not the original recipient or the person<br>> > responsible for delivering the email to the intended recipient, be<br>> > advised that you have received this email in error, and that any use,<br>> > dissemination, forwarding, printing, or copying of this email is<br>> > strictly prohibited. If you received this email in error, please<br>> > immediately reply to the sender or notify postmaster@cxstaffs.co.uk<br>> > Connexions Staffordshire Limited is registered in England No.4355170<br>> > Registered office: Foregate House, 70 Foregate Street, Stafford,<br>> > Staffordshire, ST16 2PX<br>> ><br>> > ________________________________<br>> ><br>> > This email and any files transmitted with it are confidential and are<br>> > intended solely for the use of the individual(s) or entity(s) to whom<br>> > they are addressed. All messages are monitored for virus, high risk<br>> > files and inappropriate content. As a result users should be aware that<br>> > this mail maybe accessed, read and the right is reserved to reject,<br>> > return, remove attachments or delete if considered to be inappropriate<br>> > or unsuitable.<br>> > Liability cannot be accepted for any loss or damage arising from this<br>> > email (or any attachments) or from scripts or any virus transmitted.<br>> > This communication represents the originator's personal views and<br>> > opinions, which do not necessarily reflect those of Connexions<br>> > Staffordshire. If you are not the original recipient or the person<br>> > responsible for delivering the email to the intended recipient, be<br>> > advised that you have received this email in error, and that any use,<br>> > dissemination, forwarding, printing, or copying of this email is<br>> > strictly prohibited. If you received this email in error, please<br>> > immediately reply to the sender or notify postmaster@cxstaffs.co.uk<br>> > Connexions Staffordshire Limited is registered in England No.4355170<br>> > Registered office: Foregate House, 70 Foregate Street, Stafford,<br>> > Staffordshire, ST16 2PX<br>> ><br>> ><br>> > No virus found in this incoming message.<br>> > Checked by AVG - www.avg.com<br>> > Version: 8.0.238 / Virus Database: 270.11.24/2018 - Release Date:<br>> > 03/23/09 06:52:00<br>> ><br>> > _______________________________________________<br>> > Xerte mailing list<br>> > Xerte@lists.nottingham.ac.uk<br>> > http://lists.nottingham.ac.uk/mailman/listinfo/xerte<br>> ><br>> > This email and any files transmitted with it are confidential and are<br>> > intended solely for the use of the individual(s) or entity(s) to whom<br>> > they are addressed. All messages are monitored for virus, high risk<br>> > files and inappropriate content. As a result users should be aware that<br>> > this mail maybe accessed, read and the right is reserved to reject,<br>> > return, remove attachments or delete if considered to be inappropriate<br>> > or unsuitable. Liability cannot be accepted for any loss or damage<br>> > arising from this email (or any attachments) or from scripts or any<br>> > virus transmitted.<br>> ><br>> ><br>> ><br>> > This communication represents the originator's personal views and<br>> > opinions, which do not necessarily reflect those of Connexions<br>> > Staffordshire. If you are not the original recipient or the person<br>> > responsible for delivering the email to the intended recipient, be<br>> > advised that you have received this email in error, and that any use,<br>> > dissemination, forwarding, printing, or copying of this email is<br>> > strictly prohibited. If you received this email in error, please<br>> > immediately reply to the sender or notify postmaster@cxstaffs.co.uk<br>> ><br>> ><br>> ><br>> ><br>> ><br>> > Connexions Staffordshire Limited is registered in England No.4355170<br>> ><br>> > Registered office: Foregate House, 70 Foregate Street, Stafford,<br>> > Staffordshire, ST16 2PX<br>> ><br>> > _______________________________________________<br>> > Xerte mailing list<br>> > Xerte@lists.nottingham.ac.uk<br>> > http://lists.nottingham.ac.uk/mailman/listinfo/xerte<br>> > _______________________________________________<br>> > Xerte mailing list<br>> > Xerte@lists.nottingham.ac.uk<br>> > http://lists.nottingham.ac.uk/mailman/listinfo/xerte<br>> ><br>> <br>> <div><br></div><br>> _______________________________________________<br>> Xerte mailing list<br>> Xerte@lists.nottingham.ac.uk<br>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte<br><br /><hr />Windows Live™ SkyDrive™: Get 25 GB of free online storage. <a href='http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_042009' target='_new'>Check it out.</a></body>
</html>