{"id":21541979,"url":"https://github.com/bisohns/mplayer","last_synced_at":"2025-07-17T06:04:26.027Z","repository":{"id":57519344,"uuid":"249259845","full_name":"bisohns/mplayer","owner":"bisohns","description":"A library to allow playing media files (remote and local) from your gocode","archived":false,"fork":false,"pushed_at":"2020-03-30T19:25:11.000Z","size":11,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-03T11:52:56.471Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bisohns.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-22T19:46:17.000Z","updated_at":"2023-01-18T12:12:52.000Z","dependencies_parsed_at":"2022-08-30T04:21:30.512Z","dependency_job_id":null,"html_url":"https://github.com/bisohns/mplayer","commit_stats":null,"previous_names":["bisoncorps/mplayer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bisohns/mplayer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bisohns%2Fmplayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bisohns%2Fmplayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bisohns%2Fmplayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bisohns%2Fmplayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bisohns","download_url":"https://codeload.github.com/bisohns/mplayer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bisohns%2Fmplayer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265571132,"owners_count":23790021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T05:08:10.249Z","updated_at":"2025-07-17T06:04:26.006Z","avatar_url":"https://github.com/bisohns.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mplayer\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://godoc.org/github.com/bisoncorps/mplayer\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square\" alt=\"Documentation\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://goreportcard.com/report/github.com/bisoncorps/mplayer\"\u003e\n    \u003cimg src=\"https://goreportcard.com/badge/github.com/bisoncorps/mplayer\" alt=\"Go Report Card\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"License: MIT\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://travis-ci.com/bisoncorps/mplayer\"\u003e\n    \u003cimg src=\"https://travis-ci.com/bisoncorps/mplayer.svg?branch=master\" alt=\"Build Status\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\nA library to allow playing media files (remote and local) from your gocode\n\n\n## Install\n```\ngo get github.com/bisoncorps/mplayer\n```\n\n## What is mplayer\nmplayer is just a means to allow for playing media files from golang. It allows for streaming online media\nfiles and local media files as well. It hopes to incorporate functionalities that support using any known\nmedia player. Currently only browser is supported but other players are currently being considered. It supports\n\n- In Browser Playing, MPV and VLC\n- playing local files\n- streaming online resource\n\n## Usage\n```go\npackage main\n\nimport  (\n  \"log\"\n  \"github.com/bisoncorps/mplayer\"\n)\n\nfunc main() {\n\t\tp, err := mplayer.GetPlayer(\"browser\")\n\t\tif err != nil {\n\t\t\tlog.Fatal(err)\n\t\t}\n    // urls can be remote too\n\t\tp.SetURL(\"/home/manasseh/Videos/Jumanji.mp4\")\n\t\tp.SetTitle(\"Jumanji MP4\")\n\t\tp.Play()\n}\n```\n\n## TODO\n- [x] Add other players (mpv, vlc)\n- [ ] Add subtitle options\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbisohns%2Fmplayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbisohns%2Fmplayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbisohns%2Fmplayer/lists"}