Reading subtitles and captioning settings from device
Reading subtitles and captioning settings from device
- Subject: Reading subtitles and captioning settings from device
- From: David Rees <email@hidden>
- Date: Wed, 11 Jul 2018 15:51:33 +1000
Hi, I'm trying to render my own captions in a label over a
AVPlayerViewController.
This is because our client provides either .mp3 or .mp4 files along with a
.srt file to read the captions from.
We can however stream the media file and play the .srt captions along with
the media just fine however we can only show the captions in the style that
we chose which I'm not a fan of since it breaks a few accessibility rules
and this is app is intended for the deaf and hearing impaired community.
It would be difficult to say the least to convince the slow moving client
to transform all their content into m3u8 playlists with webvvt captioning
files.
After looking around the iOS API's I could not find any way to get these
styling rules only setting them with AVTextStyleRule.
However looking at the YouTube app, the seem to be able to show the
captions in the style that the user has selected and I doubt they're using
a AVPlayerViewController. Also looking closer they don't exactly match the
style selected in the accessibility options- particularly the white text
with black shadow (the black shadow is a little small).
Is there anything we can do or any exceptions that could be made since this
app is for the deaf community (reading private API) or just something we
didn't notice.
Thanks David.
--
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden