mediacms-io / mediacms

MediaCMS is a modern, fully featured open source video and media CMS, written in Python/Django and React, featuring a REST API.
https://mediacms.io
GNU Affero General Public License v3.0
2.7k stars 498 forks source link

Allow optios as autoplay/mute for video player when embeded #290

Closed dl-lim closed 1 year ago

dl-lim commented 2 years ago

Hi there, wonderful project here! :)

I can see that this can be embedded as an iframe, but are there currently also options to:

Youtube currently does this with query string "?" after the URL and some other video embeds can be done in the <video> tag itself.

Wondering what is the way to do this for MediaCMS?

mgogoulos commented 2 years ago

Hi @alderson59 , this is not possible with the current embedded player but for sure they can be implemented. I'll slightly change this title to be more descriptive!

mgogoulos commented 2 years ago

Also setting a different colour per embed would be great

EricGuic commented 2 years ago

For embed purposes, and in addition to the <iframe> tag, is it possible to get an HTML5 <video> tag ? Thanks.

shodanx2 commented 2 years ago

Curious if autoplay/looping works in the player now ? Also is it possible to animate thumbnail loops in the gallery view ?

mgogoulos commented 2 years ago

Curious if autoplay/looping works in the player now ? Also is it possible to animate thumbnail loops in the gallery view ?

Give it a try on https://demo.mediacms.io/ !

shodanx2 commented 2 years ago

Thanks, it seems there is not animation from the gallery view, at least not in the demo

I was thinking something like gfycat and maybe they even all play if you ask it

These kinds of short looping video are in a niche between photo galleries that support video and video sharing sites that expect videos being at least 10-20 seconds long at minimum

shodanx2 commented 1 year ago

I have two mediacms instances running

It's great !

However I have to report currently autoplay, looping and gallery view animated preview are not functionning

And I have the encode profile preview/gif enabled in /admin/files/encodeprofile/ (it is on by default)