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

New extension: Media Session #1625

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

jexjws
Copy link

@jexjws jexjws commented Jul 26, 2024

This is a SC block form encapsulation of navigator.mediaSession, allowing SC works to basic utilize the browser's Media Session capabilities.

Learn more about the Media Session API

@CodeFoxy-Github
Copy link

Is this extension same from eureka(Media Session)?

@jexjws
Copy link
Author

jexjws commented Jul 27, 2024 via email

@SharkPool-SP
Copy link
Collaborator

Yes! And I'm porting it to the turbowarp extension library

于 2024年7月27日 GMT+08:00 10:24:04,CodeFoxy @.***> 写道:

Is this extension same from eureka(Media Session)?

--

Reply to this email directly or view it on GitHub:

#1625 (comment)

You are receiving this because you authored the thread.

Message ID: @.***>

Wait, did you copy the code directly?

@jexjws
Copy link
Author

jexjws commented Jul 29, 2024

Wait, did you copy the code directly?

Yes, I did copy the code, but the code I copied was also written by me .. XD

@Drago-Cuven
Copy link

tested, doesn't seem to work for me.

@jexjws
Copy link
Author

jexjws commented Aug 19, 2024

tested, doesn't seem to work for me.

Media Session requires media that is being played using an HTML element to be present on the page in order to display. Please enable the compatibility mode that comes with this extension. It shows the Media Session by playing a silent audio track through an element.

Before this PR is merged, please replace the audio link on line 309 with https://eureka.codingclip.cc/extensions/40codeTeam/pub/10sec_silent_audio.opus to ensure compatibility mode works properly

@GarboMuffin GarboMuffin added the pr: new extension Pull requests that add a new extension label Oct 14, 2024
@yuri-kiss yuri-kiss self-assigned this Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: new extension Pull requests that add a new extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants