Our team is working on a TVML video archive application. Recently we've encountered a problem with custom subtitles. Is it possible to load custom/external WebVTT subtitles track for application based on TVMLKit JS?
We are experimenting with creating/modifying our own player in swift and pass on this object to javascript but without success.
Right now we are using basic player which instance we create in our javascript:
var player = new Player();
player.playlist = new Playlist();
This will create an IKJSPlayer object. The question would be: Can we modify functions of IKJSPlayer or can we create a new object that would be based on IKJSPlayer and rewrite some of his functions?
Are we looking at this problem wrong and should we try to solve it in a different way?
Thank you for any suggestions.
Via Active questions tagged javascript - Stack Overflow https://ift.tt/2FdjaAW
Comments
Post a Comment