W3C home > Mailing lists > Public > public-html@w3.org > February 2013

idea for audio subtitles

From: GIDEON ISAAC <mad.gideon.isaac@hotmail.com>
Date: Tue, 26 Feb 2013 10:58:18 -0500
Message-ID: <SNT002-W74B3B7E2D41F1B57B1BA6AD0FC0@phx.gbl>
To: w3 html5 forum <public-html@w3.org>
I notice when using opera to show videos, that the subtitles in the text-track sometimes don't appear on the video at all, but in the webpage beneath the video.  I didn't check if this is just true of very large subtitles, or all the time.  But it would be a good idea to have this for audio too.  So if an audio has subtitles, you obviously can't display those subtitles on top of the audio, but they would appear beneath the audio slider on the webpage. There are other ways to accomplish this, for instance I could use: myTextTrack.addEventListener('cuechange', function() { 
                var cue = this.activeCues[0];
                 document.getElementById('fillmessage').innerHTML = cue.text ;
                }
but the problem with this is that it currently doesn't work correctly with google chrome, the only browser that worked with the javascript api of the three I tested.  In chome, I believe it works with the very first cue of a series, but not with the next ones, at least under the intervals that I used.-- Gideon 		 	   		  
Received on Tuesday, 26 February 2013 15:58:48 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:37 UTC