element-ios icon indicating copy to clipboard operation
element-ios copied to clipboard

display webm video

Open ara4n opened this issue 7 years ago • 10 comments

android & web are very happy to send and display video as webm. ios can't display it howver.

ara4n avatar Nov 22 '18 17:11 ara4n

My understanding is to do this you'd have to include something like https://wiki.videolan.org/VLCKit or https://github.com/brion/OGVKit. iOS doesn't support webm natively.

aaronraimist avatar Mar 05 '19 01:03 aaronraimist

Any chance of one of these kits getting added any time soon?

64fanatic avatar May 27 '21 20:05 64fanatic

oof, just hit this. unbelievable ios doesn't webm. :(

HarHarLinks avatar Dec 02 '21 16:12 HarHarLinks

As a workaround until this is implemented:

  • A friendly message should be displayed to the user that explains this
  • A direct URL of the video needs to be provided (and/or a copy/paste button), so that the user could open the video in the VLC App
  • Ideally a button could be shown that would open the video URL directly with the installed VLC App

bkil avatar Dec 21 '21 17:12 bkil

Hi! I have the same problem on iPhone. I checked matrix-synapse server logs - there is no any errors, just HTTP 200 OK reply on "GET /_matrix/client/v1/media/download/..." request.

c2rq13 avatar Feb 18 '25 09:02 c2rq13

@pixlwave Do you plan to fix this issue?

c2rq13 avatar Feb 18 '25 09:02 c2rq13

@pixlwave The issue that has been present for six years still persists. Apple introduced support for the WEBM format three years ago, and it works in browsers. Could you kindly share if there are any plans to fix this? If not, please let us know so we can explore alternative solutions.

severyn261 avatar Feb 18 '25 09:02 severyn261

We do not, no:

  • All of our efforts are focused on Element X iOS now, Element iOS is in maintenance mode and only receiving security fixes.
  • The app supports playback through the system's AVPlayerViewController and plays whatever formats Apple allows it to. I believe they added support for WebM to Safari, but not directly to AVFoundation I'm afraid.

pixlwave avatar Feb 18 '25 11:02 pixlwave

@pixlwave Could you please address my idea above? https://github.com/element-hq/element-ios/issues/2106#issuecomment-998983499

bkil avatar Feb 18 '25 12:02 bkil

As mentioned above, Element iOS is in maintenance mode. I just tested a WebM on Element X and the flow to play it back looks like this:

https://github.com/user-attachments/assets/b7c47273-b0e9-4f09-82d8-7b6129af8705

This seems acceptable to me as it has a consistent behaviour with any other file that the system can't preview and is easy enough to do what you would like with (inc saving to the Files app and handling from there).

pixlwave avatar Feb 18 '25 12:02 pixlwave