-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to 7.0.0: After upgrading to version v7 the download URLs of the videos have changed. #6833
Comments
No sorry. The video file name changes when the file changes, to correctly invalidate caches. You can't use an iframe in Moodle to integrate the PeerTube player? |
Hi @Chocobozzz In Moodle you have lots of resources, for example books or pages. In this kind of resources, you can use an iframe. But there are other resources, better for education, for example H5P interactive video, and they need the URL of the video, and in this case you can not use an iframe ... Thanks ! |
Wow I have never seen this H5P.. This looks really interesting. It seems to me the best fix is to get the H5P people to support a Peertube destination as they do with YouTube on their home page example. https://h5p.org/ |
Hi I've tried it, but the message is clear: "video format not supported" The only way to embed a peertube video in a h5p content, is to use the download url of the video, but in this last update (in the previous ones I have had no problem and we have been using peertube for four years), all the download links in all the videos we have uploaded have been changed |
Have you tried a feature request for them to support Peertube instances? |
Do they support HLS (M3U8) video Url's like https://tv.dyne.org/static/streaming-playlists/hls/fe20dd86-5bfc-41ed-86d5-995fd297d487/9f9d673c-ff76-4aae-8c13-1ba85e1d2e38-master.m3u8 |
No, in principle, and given that peertube videos can be downloaded in mp4 format, which is valid for embedding in h5p, I thought maybe there would be a way to get a sharing url with that format in peertube. |
no, this format is not valid either |
If you have the new "separate audio" turned on and no other formats - the new mp4's may also not work as expected. It seems that you may need some middleware - |
Merging this issue in #6701 FYI the issue for H5P PeerTube support is h5p/h5p-video#40 |
Hi @Chocobozzz |
Yes it can change if the video is re-transcoded for example |
I'm facing the same problem, also for Moodle and H5P final destinations. @Chocobozzz : just to be sure : If so, could this behavior be changed (regarding the cache invalidation) : Sorry if there is an obvious reason (as I'm not a dev), if so just tell me and don't waste time explaning. |
Hi @parreitu, Why is that ? During the upgrade, do you switch your default config from "only web-video" to "only HLS" transcoding for example ? Or something else ? |
Describe the problem
We use Moodle as our LMS. When embedding videos in Moodle, we need a URL that refers to a video with an extension, for example https://media.mydomain.com/w/1SgcqhqYJMqoUm7yrZRnZN.mp4 , but when sharing the video on peertube, the URL it generates does not have the extension at the end, it generates something like https://media.mydomain.com/w/1SgcqhqYJMqoUm7yrZRnZN , and Moodle does not recognise it as a video.
As a solution, what we have always done is to use the URL that Peertube offers when you go to download the video. In those cases it gives you a URL similar to this: https://media.mydomain.com/download/web-videos/07048dcc-cbe8-4ff6-a052-47165eebd2e4-1080.mp4
We have always done it this way and it has worked for us, although it is true that this type of views are not counted in the views of each video, but it is a minor problem.
After the update to version 7.0, we have noticed a problem that had never happened before with the updates, and that is that they have changed the download URLs of the videos, and now in the Moodle content where the video was referenced, you only see a black screen where the video should be, with a message that says that the referenced video does not exist.
I remember that during the update process, at one point I saw that the videos were being re-encoded, so I suspect that this process has been responsible for modifying the download URLs of all the videos I have on my Peertube instance.
If this is the case ?
Thanks !!
Additional information
The text was updated successfully, but these errors were encountered: