instructure / canvas-lms

The open LMS by Instructure, Inc.
https://github.com/instructure/canvas-lms/wiki
GNU Affero General Public License v3.0
5.41k stars 2.42k forks source link

Media Playback without external services #2327

Open amg-web opened 3 months ago

amg-web commented 3 months ago

since 2022 after uploading media file we unable to add it to the page or other content and see "Media file is processing. Please try again later"

It's ok for me to have only 1 resolution on Open Source Canvas LMS, and it's ok for me to serve this media file from local Canvas files storage.

How should I allow playback of such file?

0711kps commented 3 months ago

I did some modification and the canvas-media-player work in stable-2023-03-01 version

but the bad news is, when I checked out to the latest version, the patch is not working anymore, and looks like it's getting harder and harder to use canvas-media-player in pages

my solution at stable/2023-03-01 version was

when attachment record have a "maybe" in its media_entry_id field, canvas will treat it as "media to be converted by kaltura" so the solution was to skip "kaltura" flow and use old canvas-media-player for media playback


since Canvas themselves use kaltura service for video playback they might not put a lot of effort on the code they don't need maybe they will just remove canvas-media-player one day so the long-term solution might be, to host a kaltura instance yourself

amg-web commented 3 months ago

@0711kps

since Canvas themselves use kaltura service for video playback they might not put a lot of effort on the code they don't need maybe they will just remove canvas-media-player one day so the long-term solution might be, to host a kaltura instance yourself

Thanks for sharing. I do not want to use kaltura for hosting several audio/video files. it's not open community friendly way to use external services without alternative.