Posts

Post not yet marked as solved
1 Replies
916 Views
Question about App Clips. Is anyone aware of a mechanism whereby an app clip can return the user to the app from which it was invoked when the task is completed? For example, for an app clip invoked via a url in safari, is there a way to programmatically close the app clip after the task is complete and return the user to safari? I imagine this might be technically possible via a deep link if you were to know the custom url scheme for whichever system app invoked the app clip, if system apps do in fact even have custom url schemes that are usable by non-system apps, but that seems like a poor practice. There is lots of documentation and guidance around app clip invocation but none that I can find around the conclusion of the experience. Is the guidance or best practice just to inform the user that they need to manually navigate away from the app clip after the task completes? Surprised to see so little information about this given Apple's emphasis on using app clips to allow the user to complete a discrete task or flow. Thanks in advance for any insights.
Posted
by mattk-wt.
Last updated
.
Post marked as solved
7 Replies
7.1k Views
Hello! I'm looking for more information on the "Auto" subtitle language setting on tvOS. I work on a video streaming application which uses AVPlayerViewController, HLS, subtitles in WebVTT format. The app has been in production for quite some time and everything works perfectly with respect to video streaming and subtitles except the "Auto" setting on tvOS, which never results in any subtitles at all. I can't find any documentation on what criteria the "Auto" setting uses to determine what subtitles to show. I have tried looking at the iTunes app on tvOS as a signifier of correct behavior, but its behavior is inconsistent (sometimes auto shows no subtitles until another language is selected, after which auto will continue to show the recently selected language).Other pertinent details and things I have already checked: - appliesMediaSelectionCriteriaAutomatically is set to true on the AVPlayer object - m3u8 file lists subtitles with AUTOSELECT enabled and both DEFAULT and FORCED disabled as shown below.#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",LANGUAGE="en",NAME="English",AUTOSELECT=YES,DEFAULT=NO,FORCED=NO,URI="segments/subtitles/en/prog_index.m3u8" #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",LANGUAGE="es",NAME="Español",AUTOSELECT=YES,DEFAULT=NO,FORCED=NO,URI="segments/subtitles/es/prog_index.m3u8"Any insight anyone can provide would be appreciated as far as what this setting is intended to represent, whether it is up to the application to implement the "automatic" behavior or if given the above conditions, the correct language selection should be determined by the operating system when appliesMediaSelectionCriteriaAutomatically is used.
Posted
by mattk-wt.
Last updated
.