rtCamp / rtMedia

rtMedia (formerly Buddypress Media) adds advanced multimedia functionality to WordPress, BuddyPress and bbPress
https://rtmedia.io/
121 stars 111 forks source link

Video thumbnail not visible on Activity page #1912

Closed pooja-muchandikar closed 2 years ago

pooja-muchandikar commented 2 years ago

Currently if someone is using only rtMedia Core then on uploading video file, the default thumbnail is shown on /media page. But on activity page thumbnail is not displayed, because of which it shows dark video. Refer the below screenshot.

image


We need to find a solution for same.

Reference: https://rtmedia.io/ticket/2817504/

pooja-muchandikar commented 2 years ago

Hi @vishalkakadiya,

Can you please share update on this issue? Have you started working on same?

vishalkakadiya commented 2 years ago

@pooja-muchandikar Yeah, so the solution to add the thumbnail image is to add the poster attribute in the video tag and pass the thumbnail URL in it. And mostly it will be fixed by adding the default thumbnail URL in https://github.com/rtCamp/rtMedia/blob/develop/app/main/controllers/activity/RTMediaActivity.php#L267 place, but I'm not sure it will work directly because there are some filters are firing in between that are changing markup of the activity page so need to debug it more. Thanks!

CC @Pradeep1308

pooja-muchandikar commented 2 years ago

Alright Thanks @vishalkakadiya,

@Pradeep1308 please continue with this tasks taking the inputs from here

thebengalboy commented 2 years ago

Closing the issue as this has been solved.