Opened 11 years ago
Closed 10 years ago
#11088 closed enhancement (fixed)
picture instead of black screen
Reported by: | 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 11 years ago by
comment:2 Changed 11 years ago by
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 11 years ago by
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 10 years ago by
Owner: | changed from Louis Cordier to Tetsuya Morimoto |
---|---|
Status: | new → assigned |
Trac Release: | → 1.0 |
Flowplayer Splash image can be set in trac.ini. -> ticket:8807#comment:3
I hope it helps you ...
comment:6 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
This change has been included in 0.3 version (ticket:12046#comment:2).
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.