Player embed functions do not update status when called?

My iOS app uses WebKit (WKWebView) to present the player using the below html input.

All the available player functions that can be called are listed below.

However, when I call any function from the html input the value doesn’t change. Examples…

  • I call pause but the player doesn’t pause
  • I call mute but the player doesn’t mute
  • I set the channel to a different channel, but the result from player.getChannel() is still an empty string
  • I call a test function function test() { alert(player.getChannel()); } and the alert message is an empty string, even when their is an active stream

The html input functions are called when certain conditions are met when interacting with the WKWebView.

I also cannot get the event listeners to work.

Any help with this weird behavior?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.