Relative Path to Assets

how do i do relative path to assets so that my app can show videos on my device

For example you can use the FileSystem API to enumerate directories and files on disk. If you have video files on disk you can find them with the filesystem api and pass the path to a video player