{"id":30183754,"url":"https://github.com/zxy19/omps","last_synced_at":"2026-03-03T20:03:46.353Z","repository":{"id":65224739,"uuid":"526258755","full_name":"zxy19/OMPS","owner":"zxy19","description":"通过使多个客户端的播放进度同步来实现放映厅效果的浏览器视频播放器同步脚本","archived":false,"fork":false,"pushed_at":"2023-01-18T06:40:22.000Z","size":316,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-09T03:52:04.974Z","etag":null,"topics":["javascript","tampermonkey-userscript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zxy19.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":"2022-08-18T15:02:45.000Z","updated_at":"2023-01-13T15:56:32.000Z","dependencies_parsed_at":"2023-02-10T13:31:48.810Z","dependency_job_id":null,"html_url":"https://github.com/zxy19/OMPS","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/zxy19/OMPS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxy19%2FOMPS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxy19%2FOMPS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxy19%2FOMPS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxy19%2FOMPS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zxy19","download_url":"https://codeload.github.com/zxy19/OMPS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zxy19%2FOMPS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270055173,"owners_count":24519444,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"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":["javascript","tampermonkey-userscript"],"created_at":"2025-08-12T11:44:54.832Z","updated_at":"2026-03-03T20:03:46.316Z","avatar_url":"https://github.com/zxy19.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OMPS在线多人播放器同步脚本\n\n\u003e 想和朋友一起看剧/看番，但是缺少一个平台？\n\u003e \n\u003e 直播担心版权问题，远程桌面的卡顿也难以接受？\n\n部署OMPS，只需一个浏览器脚本，即可同步所有人的播放进度。\n\n[以下为部署指南，用户指南请点这里](https://xypp.cc/omps)\n\n## 功能/特性\n+ 加入时进度同步\n+ 播放过程中进度同步\n+ 快进/退后可以调整所有人的进度或跳转到最快的进度\n+ 打开页面自动加入房间\n+ 根据不同的页面匹配不同的用户\n+ 跳转时对原先放映厅的人发出提示\n+ 支持视频内文字聊天\n+ 跳转到任何人的位置\n\n## 支持性\n+ TamperMonkey\n    + 已测试支持Chrome，Edge，360极速（chromium）等等主流浏览器\n    + 无IE支持计划\n+ 直接运行脚本方式\n    + 已测试移动端下列浏览器\n        + 安卓Via（手机，平板）\n    + 理论上任何支持脚本的浏览器均支持\n\u003e **经测试，IOS SAFARI内核下，VIA浏览器会出现无法更改进度的bug**\n\n## 自行部署方式\n1. 选择一台拥有公网地址的服务器，运行server/app.js\n    + 更改端口号的方法：Line.4，更改port常量\n    + **需要为服务端配置证书。原代码例子采用宝塔LEv2证书。可直接将同域名的证书中的privkey.pem和fullchain.pem下载后放置于app.js同目录下**\n2. 所有需要同步的客户端安装脚本\n    + **您需要在脚本开头将URL替换成您的服务器地址**\n    + TamperMonkey可直接导入脚本\n    + 移动端请打开JS文件，全选复制后至浏览器的脚本选项中添加\n3. 打开同一个视频页面，在弹出的提示条中选择 加入(→) 按钮\n\n## QA\n\n\u003e 打开视频后没有出现提示条\n\n检查脚本是否正确安装。此外，如果视频宽小于1/3屏幕宽不会触发该功能\n\n\u003e 与服务器连接断开\n\n参考控制台输出，检查服务器配置是否正确 \n\n\u003e 视频总是卡\n\na)检查是否真的有人卡了\n\nb)刷新页面重试\n\n\u003e 其他\n\n由于测试人员严重不足，可能存在未发现的bug，可以在项目中提ISSUE","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxy19%2Fomps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzxy19%2Fomps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzxy19%2Fomps/lists"}