I have a javascript (inside of an html file) to load and reproduce the videos by streaming in my android app, so I am trying to use a webview to display the video. My problem is that the file is not in a server, but it is a project resource (I mean it is in the project directory, exactly in /res/raw/video_player.html
) and I want to call a specific function of the javascript passing the video url as param.
Does anyone have an idea about how to do this?
Thanks in advance.