{"id":17226352,"url":"https://github.com/ccforward/simditor-video","last_synced_at":"2025-04-14T01:11:04.271Z","repository":{"id":36450984,"uuid":"40756044","full_name":"ccforward/simditor-video","owner":"ccforward","description":"simditor 的 video 扩展","archived":false,"fork":false,"pushed_at":"2016-08-21T07:10:36.000Z","size":11,"stargazers_count":9,"open_issues_count":1,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T15:12:18.297Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ccforward.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-15T11:21:19.000Z","updated_at":"2019-07-29T14:04:20.000Z","dependencies_parsed_at":"2022-08-18T20:10:30.505Z","dependency_job_id":null,"html_url":"https://github.com/ccforward/simditor-video","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccforward%2Fsimditor-video","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccforward%2Fsimditor-video/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccforward%2Fsimditor-video/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccforward%2Fsimditor-video/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ccforward","download_url":"https://codeload.github.com/ccforward/simditor-video/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248804825,"owners_count":21164135,"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-10-15T04:15:59.364Z","updated_at":"2025-04-14T01:11:04.246Z","avatar_url":"https://github.com/ccforward.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"simditor-video\n\n==============\n\n[Simditor](http://simditor.tower.im/)扩展，给编辑器添加视频\n\n当前版本 0.0.3\n\n### github \u0026 NPM\n[github](https://github.com/ccforward/simditor-video)\n\n[npm](https://www.npmjs.com/package/simditor-video)\n\n\n### 如何使用\n\n```html\n\u003clink rel=\"stylesheet\" type=\"text/css\" href=\"css/simditor-video.css\"\u003e\n\u003cscript src=\"js/simditor-video.js\"\u003e\u003c/script\u003e\n```\n\n### demo\n[simditor-video](http://simditor.sinaapp.com)\n\n### 配置\n\n```javascript\nnew Simditor({\n    textarea: textareaElement,\n    ...,\n    toolbar: [..., 'video']\n})\n```\n\n### 注意\n点击 video 按钮，可以在编辑器里添加视频。\n\n可以解析 `textarea` 里 `video` 标签为对应的 embed 或者 iframe 视频格式播放\n\n编辑器里鼠标滑过视频弹出视频编辑标签  \nPS: 这里会有些交互上的问题，因为视频点击后会播放，所以会出现误操作  \n对于这一点，后面会改变交互方式，毕竟视频会有多种的播放器，不像图片点击后无交互动作\n\n\n### History\n\nv0.0.2\n将所有视频统一到 `video` 标签管理，`video` 标签作为一个视频信息存储媒介  \n但是这种方式在编辑视频时候会存在交互上问题，等确认交互后改版\n\nv0.0.1\n\n对于不同格式的视频分享，使用不同的标签(embed video iframe)来展示\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccforward%2Fsimditor-video","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fccforward%2Fsimditor-video","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccforward%2Fsimditor-video/lists"}