{"id":37032354,"url":"https://github.com/qoollo/stream-centre-player","last_synced_at":"2026-01-14T03:58:15.826Z","repository":{"id":57371966,"uuid":"63758603","full_name":"qoollo/stream-centre-player","owner":"qoollo","description":"Dash.js wrapper for easy-peasy usage","archived":false,"fork":false,"pushed_at":"2016-08-30T19:31:38.000Z","size":222,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-11-11T14:36:37.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qoollo.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":"2016-07-20T07:02:58.000Z","updated_at":"2016-08-15T16:25:43.000Z","dependencies_parsed_at":"2022-08-30T16:42:06.457Z","dependency_job_id":null,"html_url":"https://github.com/qoollo/stream-centre-player","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qoollo/stream-centre-player","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoollo%2Fstream-centre-player","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoollo%2Fstream-centre-player/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoollo%2Fstream-centre-player/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoollo%2Fstream-centre-player/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qoollo","download_url":"https://codeload.github.com/qoollo/stream-centre-player/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoollo%2Fstream-centre-player/sbom","scorecard":{"id":754333,"data":{"date":"2025-08-11","repo":{"name":"github.com/qoollo/stream-centre-player","commit":"9a17f0efdce1d3ac2488441fae7ebba635336fcf"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-22T21:10:52.398Z","repository_id":57371966,"created_at":"2025-08-22T21:10:52.399Z","updated_at":"2025-08-22T21:10:52.399Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408924,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-01-14T03:58:15.204Z","updated_at":"2026-01-14T03:58:15.820Z","avatar_url":"https://github.com/qoollo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stream-centre-player\nPlayer for video streams in StreamCentre by Qoollo.\n\n# Usage\n\n## In Browser\n\n1. Install\n    ```\n    npm install stream-centre-player\n    ```\n2. Use\n    ```js\n    //  if you use browserify\n    var Player = require(\"stream-centre-player\");\n    \n    var videoElement = document.getElementById('video-player'),\n        player = new Player(videoElement),\n        url = 'http://dash.edgesuite.net/envivio/EnvivioDash3/manifest.mpd';\n    player.initialize(url);\n    player.play();\n    ```\n    ```html\n    \u003c!-- If you just include script on your page --\u003e\n    \u003cscript src=\"/node_modules/stream-centre-player/player.js\"\u003e\u003c/script\u003e\n    \u003cscript\u003e\n        var videoElement = document.getElementById('video-player'),\n            player = new Qoollo.StreamCentre.Player(videoElement),\n            url = 'http://dash.edgesuite.net/envivio/EnvivioDash3/manifest.mpd';\n    \u003c/script\u003e\n    ```\n\n## In Browser embedded into C# app (e.g. CefSharp with MSE)\n\nDon't ask me where to get CefSharp with MSE. I had to compile it myself. \nMSE (Media Source Extensions) are mandatory - these are codecs to actually play video.\nBut if you are here, so here's the way.\n\n1. Install\n    ```\n    Install-Package Qoollo.StreamCentre.Player\n    ```\n2. Serve files. I use [Qoollo.SharpHttpServer](https://www.nuget.org/packages/Qoollo.SharpHttpServer/) \nfor that. \n3. Add CefSharp's WebBrowser control to your window and navigate to served player.html file.\n4. Call js from C# and subscribe for callbacks if you need.\n    ```csharp\n    //  call js from C#\n    chromiumWebBrowser.GetBrowser().MainFrame.ExecuteJavaScriptAsync(code); // chromiumWebBrowser is CefSharp.Wpf.ChromiumWebBrowser\n    \n    //  subscribe for callbacks from js to C#\n    class BrowserCallback\n    {\n        public object Call(string method, Dictionary\u003cstring, object\u003e arg)\n        {\n            //  handle call from js\n        }\n    }\n\n    chromiumWebBrowser.RegisterJsObject(\"BrowserCallback\", new BrowserCallback());\n    ```\n\n# Develop\n\nJust run default gulp task to start dev server with live reload.\n```\ngulp\n```\nAll the source code is located at `src/` directory. Everything in \n`dist/` directory is being overwritten on build, so don't do anything\nthere.\n\nCurrently StreamCentre supports MPEG-DASH video streams, so [dash.js](https://github.com/Dash-Industry-Forum/dash.js/)\nis used under the hood. Source code is written in TypeScript and typings\nfor dash.js at `src/dashjs.d.ts` are written by me and, of course, those\ntypings only cover tiny percent of dash.js. You should see [dash.js API docs](http://cdn.dashjs.org/latest/jsdoc/index.html)\nfor actual dash.js APIs and add missing typings to `src/dashjs.d.ts` if you need.\n\nTODO: add `src/dashjs.d.ts` to [typings registry](https://github.com/typings/typings).\n\n# How to publish NuGet and npm packages\n\nThe following command builds and pushes npm and NuGet packages.\n```\ngulp publish\n```\n\nPushing NuGet package requires NuGet Gallery API key. You should setup\nyour local environment to know this key before publishing package. \n```\nnode_modules/nuget/bin/NuGet.exe setApiKey YOUR_API_KEY\n```\nYou can get YOUR_API_KEY at https://www.nuget.org/account","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqoollo%2Fstream-centre-player","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqoollo%2Fstream-centre-player","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqoollo%2Fstream-centre-player/lists"}