Video on iOS

Is there a way to make videos work in the iOS App? I can’t find a way to either upload them via a file-type column or show them via a show-type virtual column.
However it works fine on the emulator. I don’t know if it works on Android.

1 Like

To get videos to work in an iOS app, there are a few troubleshooting steps and adjustments you can consider:

  1. File Uploading Issues:

Ensure that the file format of the video is supported by iOS (e.g., MP4 with H.264 codec).

If using a file-type column, ensure that the backend supports serving video files in a way compatible with the app. For example, videos might need to be served with correct MIME types.

  1. Show-Type Virtual Column:

If you’re trying to display a video through a virtual column, ensure the URL provided is accessible over HTTPS and properly encoded for embedding in an iOS WebView or video player.

Check if the virtual column is implemented using a compatible video player or iframe embed.

  1. Emulator vs. Real Device:

If it works fine on the emulator, but not on an actual iOS device, the issue might be related to:

File permissions or storage access.

Network restrictions (e.g., videos hosted on insecure HTTP links may not work on iOS due to ATS [App Transport Security] rules).

Compatibility of the player used.

  1. Android vs. iOS:

Android is often more lenient with video handling, so the code may work without issues on Android but fail on iOS due to stricter policies.

  1. Video Embedding Code:

If you’re embedding a video, ensure you’re using an appropriate HTML5

  1. Debugging Tools:

Use Xcode’s debugging tools to check if there are any specific errors logged when the video fails to load or play.

.