Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to embed audio player only #5374

Open
rasos opened this issue Oct 24, 2022 · 5 comments
Open

Option to embed audio player only #5374

rasos opened this issue Oct 24, 2022 · 5 comments

Comments

@rasos
Copy link

rasos commented Oct 24, 2022

Describe the problem to be solved

Some communities on our PeerTube instance use their channel to publish Podcasts (audio only, no video). They would like to see an option to embed an episode in their Wordpress blog.

Describe the solution you would like

When offering to share the video with an embed link or snippet, there should be an option Audio only. This would embed a player restricted to show an audio play button only and without a frame for a full video.

I am aware of the ongoing discussion for Podcasts RSS feeds #3761 and that Funkwhale might be a more suitable Fediverse platform for Podcasts. However, our users really like PeerTube and might not want to onboard yet on another platform.

@Chocobozzz
Copy link
Owner

Hello,

Is this issue is about creating another peertube player dedicated to audio content like the soundcloud audio player? Or is it about providing the same player set to the "audio" resolution?

@Chocobozzz Chocobozzz added the Status: Waiting for answer Waiting issue author answer label Oct 26, 2022
@rasos
Copy link
Author

rasos commented Oct 26, 2022

A player optimized for audio (and e.g. visualizing the waveform with an option if that should be embedded like here https://cba.fro.at/574697) would be great.

Restricting to audio resolution only and offering a smaller version of the current player to embed audio only would work as well (for now). An ideal audio only embed player size seems to be width="180" height="100".

ScreenshotEmbedAudio

@sjjh
Copy link

sjjh commented Oct 30, 2022

The suggested workaround using an width="180" height="100" iframe doesn't work so nice with e.g. the settings menu, the context menu (right click in the player), displaying the title, etc. (see screen shots below). Maybe a dedicated audio player would be better?
Bildschirmfoto vom 2022-10-30 18-14-21
Bildschirmfoto vom 2022-10-30 18-16-10

@Chocobozzz
Copy link
Owner

Maybe a dedicated audio player would be better?

Unfortunately it would be too much work. We can however easily hide some other icons for players that have a very small width.

@ROBERT-MCDOWELL
Copy link
Contributor

@Chocobozzz
why not create a new repo to help developers join and work on it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants