-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Is your feature request related to a problem? Please describe.
When a user navigates the direct-to-farmer app any video resources automatically load with the language that the user has selected (with a fallback option if the video is not available in that language)
Describe the solution you'd like
It would be good to show below a video all the languages a video is available in, and allow users to select a different language manually if they wish. Probably it would be best to show as a select dropdown
Additional context
The list of all videos can be imported (and logged) from the shared data
import { RESOURCE_VIDEO_HASHMAP } from '@picsa/data/resources;
console.log('all videos',RESOURCE_VIDEO_HASHMAP )The component that handles displaying a video resource is located in apps\picsa-tools\resources-tool\src\app\components\resource-item\video.ts
However this is only set to receive a single video, so it might also involve looking at how the video is selected and passed from apps\picsa-tools\resources-tool\src\app\components\resource-item\file\file.ts also
Example farmer video - loaded in English. it would be good to show list beneath of available languages

Metadata
Metadata
Assignees
Labels
Type
Projects
Status