Coder Social home page Coder Social logo

inbasic / media-player Goto Github PK

View Code? Open in Web Editor NEW
36.0 36.0 27.0 7.37 MB

A simple yet powerful media player for browser built on top of video.js

Home Page: https://webextension.org/listing/the-media-player.html

JavaScript 98.13% CSS 1.74% HTML 0.14%

media-player's People

Contributors

inbasic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

media-player's Issues

[Feature Request] Switch or button for entering online URL

Currently by right clicking on URLs or videos and clicking Open with Media Player we can play online URLs , thank you very much for this great feature.
But the URLs are not all the time in browser so we could right click on them and so on, please implement a button or something for manually entering URLs, this is useful for stream URLs and M3U8 ones.
For example this is Deutsche Welle stream URL :
https://dwamdstream106.akamaized.net/hls/live/2017965/dwstream106/index.m3u8
How can we play it inside Media Player directly ?

Music played out of sequence

Pour certains albums, les morceaux ne sont pas joués dans l'ordre. (j'avais rencontré ce souci avec certain player audio, mais pas avec VLC, Rhythembox, ..)
Pourtant, les fichiers sont bien indexés et numérotés.

Headers or cookies?

is it possible to make the extension use the site cookies and custom headers while fetching the video? I am using mod header to change the user-agent for some websites to work however that doesnt work when using the player so any ideas what I can do?

[Feature] Remember playback speed

When playing files from a playlist at non-1.0x speed, playback speed resets to 1.0x when next file is loaded. It would be nice if Media Player maintained the current playback speed set by user between files.

.avi files not playing

I'm running Opera on my laptop, when i drag and drop an .avi into media-player window i get "No compatible source was found for this media." it's working fine with other file types

[Request] Load subtitle file automatically

If there is a subtitle file next to the video file, load it and enable it automatically. Of course the feature can be more advanced, configure whether subtitles should be enabled by default, set a different location where to look for subtitle files, allow downloading subtitles from services such as opensubtitles.com, ...

playing gifs

can you make the player detect and play gifs?

[request] Ability to open subtitle while the video is playing

Please add the ability to add a subtitle while the video is already playing. It would be very useful when you are watching something from a streaming site that doesn't have subtitle support itself, so you can add your own.

Also there shouldn't be a need for the subtitle to be the same filename as the playing video, to make this even more intuitive.

Question/Feature Request

Very nice add-on. I have a couple of question:

  1. How to switch audio track?
  2. Does it support mkv container having mp4 embedded video?
  3. Is there any JS api so that I can invoke into this library from another chrome window/tab? For example, use javascript to add another video into the playlist or switch the audio track (use Media player to play video and another chrome window to control)?

Thanks

[Feature Request] Compatibility with Video Dominator

Thanks for creating a player with playlist inside Firefox!! Just what I was searching for. Recently discovered another add-on, Video Dominator, which let you control speed, time and volume, only by rolling the mouse wheel, works in chrome also. I am watching videos one by one, then found your add-on, which have playlist. So my dream is to watch videos only rolling the mouse wheel, is a lot quicker to jump in time, increase speed or volume.

Would you make MediaPlayer be controllable with Video Dominator

cast message mutes audio

thanks for the extension, it works well except for one issue.

When playing local audio if the cast function is activated, the cast message appears in watermark on the screen and the audio is muted for 2 seconds, then resumes playing.
-all codec types
-repeatable
-browser is chromium, on arch linux, KDE plasma

rgds

Extension Mediaplayer freeze Chromium

Slowdowns on Chrome (chromium - Version 92.0.4515.107 Official Build 64 bits) with the use of MediaPlayer.
The pages in consultation freeze and it is the same for the scrolling of the extension (visual). However, the music plays without interruption.

[Feature Request / Question] Natively playback video files opened from URL

Would it be possible to hijack the chrome native player and run the extension whenever a video from web URL is opened in a tab?

Currently Google Chrome has issues with playback even with it's supposedly natively supported formats:
Screenshot_20230417_113727
Screenshot_20230417_113711

They simply do not load.
It would be awesome if this player could replace the native chromium player in the tab.

Google Chrome info:

Google Chrome | 112.0.5615.49 (Official Build) (64-bit)
Revision | bd2a7bcb881c11e8cfe3078709382934e3916914-refs/branch-heads/5615@{#936}
OS | Linux
JavaScript | V8 11.2.214.9

Video info:

ffprobe version 5.1.3 Copyright (c) 2007-2022 the FFmpeg developers built with gcc 12 (GCC)
Input #0, matroska,webm, from '/home/tdancs/Downloads/output.webm':
  Metadata:
    ENCODER         : Lavf58.29.100
  Duration: 00:02:26.50, start: 0.000000, bitrate: 93 kb/s
  Stream #0:0: Video: vp9 (Profile 1), gbrp(pc, gbr/unknown/unknown), 1920x1080, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 1k tbn (default)
    Metadata:
      ENCODER         : Lavc58.54.100 libvpx-vp9
      DURATION        : 00:02:26.500000000

[Feature request] More Supported File Formats

How are you, brother?

I'd like to make a request. I can not find a way to watch videos in .TS format using your extension. Please, friend, could you implement this feature? If not, could you tell me some way to do this that is not converting the files (because there are thousands of videos in .ts)?

From now on, I thank you very much! Many thanks for your incredible project! I use your extension to watch videos in English, to take advantage of the resource of Live Caption embedded in Chrome.

Playback position

As of latest Chrome extension update, the player does not remember playback position, even within the same session.

Loop Feature

If there is a button for looping, the add-on would be great
Thank you for nice add-on!

[Request] Double subtitle feature

Would be very nice to have the chance to load double subtitle at once, as bsplayer and other software already do.
Usefull for language learning or for multicultural groups of viewer.
By the way, very good project!

Clicking on video should pause not seek

The standard action when the user clicks somewhere on a playing video is to pause/resume the video.

It is not to jump to wherever in the video corresponds to wherever they happened to click!

keyboard shortcut for speeding up and slowing down video

I need a keyboard shortcut to control the playback rate — clicking on the playbackRateMenuButton only increase the rate. to cycle through all the options to get to the next lower playbackRate is awkward.

Having keyboard shortcuts to control the rate, makes it possible to fast-forward through some boring parts of a video;
I'm watching a lot of video where people talk about stuffs.

so this is a feature request to have it done properly.
patch.txt

But I've taken the liberty of butchering the code to add the functionality.

I'm ashamed of the patch. but it works. And I'm attaching the patch in the hope it can be useful.

[Feature Request] Chromecast Button

First, this is a good media player - well done.

As the title already states, could you add a button to the control bar which will cast videos to a Chromecast?
That would be a nice little addition.

There is already a plugin for this here at GitHub.

Thank you for your efforts - best regards

No playback rate menu in v0.2.1

I love media-player. It's simple and useful.
Since v0.2.1, I cannot find / change playback speed rate.
It seems that there's no available space for displaying playback speed?

Reduce time between tracks

The time is sometime long, is it possible to reduce the time between two tracks of music?
Maybe add (if video.js allows it) the gapless ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.