You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
I would like to set some media parameters in the web view to enable html5 video playback for example. We are rendering something in this web view which contains html5 videos. But they are not playing, you just get an image preview of the video.
Hi!
I would like to set some media parameters in the web view to enable html5 video playback for example. We are rendering something in this web view which contains html5 videos. But they are not playing, you just get an image preview of the video.
I found this:
https://developer.apple.com/documentation/webkit/wkwebviewconfiguration
For example this two:
allowsInlineMediaPlayback
https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1614793-allowsinlinemediaplayback
mediaTypesRequiringUserActionForPlayback
https://developer.apple.com/documentation/webkit/wkwebviewconfiguration/1851524-mediatypesrequiringuseractionfor
Is there a possibility to pass this parameters to the webview object? I'm very new to this topic, maybe someone have an idea.
The text was updated successfully, but these errors were encountered: