Opened 6 years ago

Closed 5 years ago

Support preview rendering

Reported by: Owned by: Scott Gifford Ryan J Ollos normal MovieMacro normal juha.mustonen@… 0.11

Description

MovieMacro should be a preview renderer for movie types. That makes it show up whenever a recognized video file is shown, without the user having to download the file or embed it with MovieMacro.

I will attach a patch that implements this.

Changed 6 years ago by Scott Gifford

Patch to support preview rendering

comment:1 Changed 5 years ago by Ryan J Ollos

Cc: juha.mustonen@… added; anonymous removed

comment:2 in reply to:  description Changed 5 years ago by Ryan J Ollos

Owner: changed from Louis Cordier to Ryan J Ollos new → assigned

That makes it show up whenever a recognized video file is shown, without the user having to download the file or embed it with MovieMacro.

The two cases I think that of where this would apply are the attachment page and the browser. The next checkin will add support for both. Please let me know if you can think of any others.

comment:3 Changed 5 years ago by Ryan J Ollos

(In [12037]) Refs #8808:

• Added preview rendering of movies. Previews are rendered for attachments and repository files. For preview rendering to be available for all attachments, set the value of the [mimeviewer] max_preview_size configuration entry to greater than or equal to the value of the [attachment] max_size configuration entry in trac.ini.

The initial version of the patch was by sgifford. Thanks!

comment:4 Changed 5 years ago by Ryan J Ollos

Feedback from testing is appreciated. You'll need to enable the new movie.web_ui component in trac.ini, or through the web admin panel.

comment:5 Changed 5 years ago by Ryan J Ollos

(In [12038]) Refs #7422, #8808: Renamed 0.11 directory to trunk.

comment:6 Changed 5 years ago by Ryan J Ollos

I was having a strange problem with the pages needing numerous refreshes initially, before the IHTMLPreviewRenderer first seemed to register. I think this was probably just an issue with my development environment, but please let me know if you encounter any similar issues.

comment:7 Changed 5 years ago by Ryan J Ollos

Resolution: → fixed assigned → closed

Modify Ticket

Change Properties