Modify

Opened 4 years ago

Closed 2 years ago

#11088 closed enhancement (fixed)

picture instead of black screen

Reported by: w.pasman@… Owned by: Tetsuya Morimoto
Priority: normal Component: MovieMacro
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

I can't find in the documentation how to replace the black placeholder of the video (by placeholder I mean the black block that you see on the trac page, you get to see the video only after you click on the black block)

It would be nice if you can specify an image too show in the placeholder.

  • Black blocks don't look so nice
  • it's not clear to the user that it is a video
  • it's not clear to the user that he has to click on it.

Attachments (0)

Change History (6)

comment:1 Changed 4 years ago by Ryan J Ollos

The black box is specified here.

If you had another image to drop in its place, and we could determine how to scale it appropriately, we could include it in the plugin.

comment:2 Changed 4 years ago by anonymous

Thanks

It's not so clear where you are pointing at

But I suppose it's to this line

src = self._get_absolute_url(formatter.req, kwargs.pop('splash', 'htdocs://movie/img/black.jpg'))

Yes we can replace the black.jpg with our own picture.

The problem with this fixed placeholder is that it is a fixed image for ALL movies. What we want is something that gives a little more info on the movie (eg, a snap from the video or a short text). An image seems most practical.

I would suggest to add something like placeholder as additional optional argument, eg

[[Movie(http://ii.tudelft.nl/trac/pnprototype/raw-attachment/wiki/WikiStart/pn.flv, width=1024px,height=768px, placeholder=http://....img.png)]]

comment:3 Changed 4 years ago by anonymous

It also might work if the player just showed the first frame of the movie and its controls, instead of black. Then we can add the image as first frame to our movie.

comment:4 Changed 2 years ago by Tetsuya Morimoto

Owner: changed from Louis Cordier to Tetsuya Morimoto
Status: newassigned
Trac Release: 1.0

Flowplayer Splash image can be set in trac.ini. -> ticket:8807#comment:3

I hope it helps you ...

comment:5 Changed 2 years ago by anonymous

ok thanks!

comment:6 Changed 2 years ago by Tetsuya Morimoto

Resolution: fixed
Status: assignedclosed

This change has been included in 0.3 version (ticket:12046#comment:2).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Tetsuya Morimoto.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.