Modify

Opened 16 months ago

Last modified 16 months ago

#11088 new enhancement

picture instead of black screen

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

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 (3)

comment:1 Changed 16 months ago by rjollos

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 16 months 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 16 months 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.

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.