Skip to content

Moving images (GIF, Video) #46

Closed
ballaschk opened this issue Dec 4, 2019 · 5 comments
Closed

Moving images (GIF, Video) #46

ballaschk opened this issue Dec 4, 2019 · 5 comments
Labels
enhancement New feature or request

Comments

@ballaschk
Copy link
Collaborator

ballaschk commented Dec 4, 2019

It seems like there is no way of displaying moving pictures in Wagtail (uploading video and playing them with a HTML5 player, or even a animated GIF).

Is there a way to have this capability without having to rely on external sources like Youtube or Vimeo?

I found this plugin which aims for "feature parity with images but for html5 videos" https://pypi.org/project/wagtail-videos/

@ballaschk ballaschk added the enhancement New feature or request label Aug 28, 2020
@donald
Copy link
Member

donald commented Jan 10, 2021

Hmmm....

@donald
Copy link
Member

donald commented Jan 19, 2021

Fixed by #106

@donald donald closed this as completed Jan 19, 2021
@ballaschk
Copy link
Collaborator Author

Unfortunately, uploading a large(ish) file of 142 MB fails at 12% of the upload. Smaller files of 4-15 MB work flawlessly. This only occurs on the live server.

Screenshot 2021-01-20 at 10 56 03 Screenshot 2021-01-20 at 10 52 40

@ballaschk ballaschk reopened this Jan 20, 2021
@donald
Copy link
Member

donald commented Jan 20, 2021

Hmmm. That is strange. Its the same video as you uploaded to https://intranet2.molgen.mpg.de., isn't it? https://intranet.molgen.mpg.de and https://intranet.molgen.mpg.de/ are more or less the same. I'll have a look.

For the records:

141.14.14.50 - - [20/Jan/2021:10:49:26 +0100] "POST /admin/videos/chooser/upload/ HTTP/2.0" 403 1019

[Wed Jan 20 10:49:46.238836 2021] [reqtimeout:info] [pid 74954:tid 140028243015424] [client 141.14.14.50:63824] AH01382: Request body read timeout
[Wed Jan 20 10:49:46.253852 2021] [wsgi:error] [pid 74954:tid 140028243015424] [client 141.14.14.50:63824] WARNING 2021-01-20 10:49:46,253 log 74954 140028243015424 Forbidden (CSRF token missing or incorrect.): /admin/videos/chooser/upload/, referer: https://intranet.molgen.mpg.de/admin/pages/add/news/newsentry/6/

@donald
Copy link
Member

donald commented Jan 20, 2021

Okay. intranet2 had apache httpd 2.4.46 and intranet had apache httpd 2.4.39. As this was one of the very few differences, I've upgrade apache on the main server to 2.4.46, too, and now it works. This is really surprising, because 2.4.39 is already rather old on the 2.4 branch and shouldn't have to many bugs left.

@donald donald closed this as completed Jan 20, 2021
Sign in to join this conversation on GitHub.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants