Modify

Opened 23 months ago

Closed 5 months ago

#11088 closed enhancement (fixed)

picture instead of black screen

Reported by: w.pasman@… Owned by: t2y
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 23 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 23 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 23 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.

comment:4 Changed 5 months ago by t2y

  • Owner changed from lcordier to t2y
  • Status changed from new to assigned
  • Trac Release set to 1.0

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

I hope it helps you ...

comment:5 Changed 5 months ago by anonymous

ok thanks!

comment:6 Changed 5 months ago by t2y

  • Resolution set to fixed
  • Status changed from assigned to closed

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

Add Comment

Modify Ticket

Action
as closed The owner will remain t2y.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.