- Posts: 8
COMMUNITY FORUM
Add a jpg preview image to the video
- Nico van de Kamp
-
Topic Author
- Offline
- New Member
I have in the past - J1.5 - used embedvideo.
It was possible to add a picture -preview image- to it, with a parameter, so that if page is opened by the visitor he doesn't see a black box with a arrow but for instance the first frame of the video.
I've looking in the source.php and I see a '{PLAYER_POSTER_FRAME}' right before the with and height. But if I add there the jpg file then the jwplayer starts imediatly to play, so it seems that allvideos think that the parameter autostart is set.
I can't find anything about preview image in the documentation, or am I wrong?
Nico
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Please Log in or Create an account to join the conversation.
- Nico van de Kamp
-
Topic Author
- Offline
- New Member
- Posts: 8
I wasn't aware of it that it works in such a way. But I think it isn't written in documentation or am I wrong?
Are there more 'hidden' features?
Nico
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Please Log in or Create an account to join the conversation.
- Nico van de Kamp
-
Topic Author
- Offline
- New Member
- Posts: 8
But if it was in documentation than I have a bad feeling, because I'm wasting you're time.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
Please Log in or Create an account to join the conversation.
- Dexter Bayack
-
- Offline
- Junior Member
- Posts: 25
Lefteris wrote: Hi. If you are using AllVideos then all you have to do is put a JPG image in the same directory as the video. Just give the image file the same name as the video. For example, if your video is named "test.mp4" then place a file "test.jpg" in the same directory.
Hello. I have a question on this issue. K2 video uploads are stored in the "media/k2/videos" folder and the file names are changed in this process. Is there an easy way to add a preview cover image from the admin panel? If not, how can I change the default storage location to "images/videos"?
Suggestion: K2 should consider adding a "Thumbnail" upload field for video preview images.
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
- Posts: 8743
The default location for K2 videos cannot be changed. However you can still put manually an image there and AllVideos should detect it.
Please Log in or Create an account to join the conversation.