I am working on this issue: https://github.com/interlegis/interlegis.portalmodelo.policy/issues/3
Facing some problems that may be easier for someone with more experience.
What I need to accomplish is, during site setup:
- Create or enable a portlet with an audio player.
- Create audio and video files with wildcard.media.
- Create a default view for an audio folder.
There is a working example, using collective.flowplayer here, look at the audio portlet on the right and the audio and video folders for plone hosted files:
- https://pm3demo.interlegis.leg.br/
- https://pm3demo.interlegis.leg.br/institucional/audios
- https://pm3demo.interlegis.leg.br/institucional/audio/campanha-legbr.mp3
- https://pm3demo.interlegis.leg.br/institucional/videos
- https://pm3demo.interlegis.leg.br/institucional/videos/campanha-legbr.mp4
Right now I checked and the website was down, but there are some screenshots on the issue.
What I am trying to solve is: The content-lenght header is empty.
What I checked: The theme engine is not finding a js lib,
/portal_javascripts/Sunburst%20Theme/++resource++wildcard-media/integration-p4.js
The file is there, it is possible to download.
I am working in two different repos, one depends on the other, here are the branches:
- https://github.com/CMCuritiba/interlegis.portalmodelo.policy/tree/wildcard.media
- https://github.com/CMCuritiba/portalmodelo/tree/atualiza_cover
Any help is very welcome.