Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save awestgate/e16907fab3841559884eb85e223b867e to your computer and use it in GitHub Desktop.

Select an option

Save awestgate/e16907fab3841559884eb85e223b867e to your computer and use it in GitHub Desktop.
single video play output
⚡️ To Native -> JwPlayer initialize 35530326
⚡️ To Native -> Device getInfo 35530327
[JWPlayer] initialize called
[JWPlayer] Setting license key
[JWPlayer] License key set successfully
⚡️ TO JS undefined
⚡️ TO JS {"webViewVersion":"18.4.1","osVersion":"18.4.1","iOSVersion":180401,"operatingSystem":"ios","platform":"ios","isVirtual":false,"name":"iPad","memUsed":150421504,"model":"iPad12,1","manufacturer":"Apple"}
⚡️ To Native -> JwPlayer play 35530328
⚡️ To Native -> App getInfo 35530329
[JWPlayer] play called with options: Optional([AnyHashable("mediaUrl"): "https://cdn.jwplayer.com/videos/ZqWpE1Ax-DYXCracM.mp4", AnyHashable("mediaType"): "video"])
[JWPlayer] Media type: video, URL: https://cdn.jwplayer.com/videos/ZqWpE1Ax-DYXCracM.mp4
[JWPlayer] Creating video configuration
[JWPlayer] Creating player view controller with config
⚡️ TO JS {"name":"kelbyone-mobile-update","build":"1","id":"com.kelbymediagroup.kt.onlineportal","version":"6.2.12"}
[JWPlayer] CustomPlayerViewController init with config
[JWPlayer] Set self as JWPlayerViewControllerUIDelegate
[JWPlayer] allowsPictureInPicturePlayback set to true
[JWPlayer] Setting up fullscreen config
[JWPlayer] viewDidLoad
[JWPlayer] Configuring player from init config
[JWPlayer] Player configured successfully from init config
[JWPlayer] Custom close button added
[JWPlayer] Fullscreen button hidden
[JWPlayer] Fullscreen config set
[JWPlayer] Resolving play call
⚡️ TO JS undefined
[JWPlayer] Presenting view controller
[JWPlayer] View controller presented
[JWPlayer] Size changed from (0.0, 0.0) to (1080.0, 810.0)
[JWPlayer] Event: playerSizeChange, Data: Optional(["oldSize": ["width": 0.0, "height": 0.0], "newSize": ["height": 810.0, "width": 1080.0]])
⚡️ To Native -> CapacitorHttp get 35530330
[JWPlayerKit/AVPlayerProvider.swift, 194]: A DRM content loader does not exist, so FairPlaySessionHandler cannot be initialized.
[JWPlayer] Control bar visibility changed: true
⚡️ TO JS {"data":{"data":{"content":{"completed":null,"position":0,"id":2295873,"touched":null,"started":null,"type":"lesson"},"index":0}},"headers":{"vary":"Accept-Encoding, Accept-Encoding, Accept-Encoding","x-powered-by":"WP Engine","x-qm-overview-memory":"24.6
⚡️ To Native -> Device getInfo 35530331
⚡️ TO JS {"webViewVersion":"18.4.1","name":"iPad","isVirtual":false,"platform":"ios","operatingSystem":"ios","memUsed":127434752,"osVersion":"18.4.1","model":"iPad12,1","iOSVersion":180401,"manufacturer":"Apple"}
⚡️ To Native -> App getInfo 35530332
⚡️ TO JS {"name":"kelbyone-mobile-update","id":"com.kelbymediagroup.kt.onlineportal","version":"6.2.12","build":"1"}
⚡️ To Native -> CapacitorHttp get 35530333
[JWPlayer] viewDidAppear
[JWPlayer] Button exists true
[JWPlayer] Control bar visibility changed: true
⚡️ TO JS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment