[Xerte] Inclusion of close captions onvideofiles anduseofplaylists

William Laakkonen worldradiolabs at gmail.com
Wed Apr 22 23:21:38 BST 2009


Thanks for the help Dave and Julian, adding an interaction is what I
figured I'd have to do. I'll have a look at the RSS sample- I should
have done that before posting.



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

<div><br></div>


More information about the Xerte mailing list