staticmediacenter:轻量级可扩展媒体库

  • Z8_811565
    了解作者
  • 40.2KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-05 05:58
    上传日期
静态媒体中心 这是一个轻量级的媒体库,可从视频流网站加载iframe。 仅需要。 可通过外部模块进行自定义。 要在媒体中心中获取一些实际内容,需要先调用_smc.addSource('src') ,然后再_smc.addVideo({'title':'..', 'img':'..'}, 'src') 。 包括几个用于内容加载的示例模块( , ),以及以下提供额外功能的模块: (请注意,该项目正在开发中,暴露的_smc函数或调度的事件可能仍会更改,恕不另行通知。) 国防部 描述 filter.mod.js 提供类型过滤器并按等级和年份排序。 (取决于内容模块添加适当的jquery数据属性。) filterexpired.mod.js 添加一个过滤器来解析googlevideo链接以隐藏过期的链接。 gpad.mod.js 适用于Chrome的游戏手柄控件。 使用dpad
staticmediacenter-master.zip
  • staticmediacenter-master
  • .gitignore
    14B
  • movs720p.mod.js
    1.8KB
  • README.md
    3.3KB
  • movs1080p.mod.js
    2.1KB
  • mobile.mod.js
    909B
  • vttlivecomms.mod.js
    1.2KB
  • mobile.css
    978B
  • mgr.mod.js
    2.6KB
  • Gruntfile.js
    1.4KB
  • seen.mod.js
    1.6KB
  • package.json
    272B
  • remember.mod.js
    1.3KB
  • src
  • util.js
    935B
  • vendor.js
    934B
  • index.js
    14.3KB
  • index.html
    1.9KB
  • style.css
    5.3KB
  • multi.mod.js
    5.3KB
  • imdbrss.mod.js
    1.3KB
  • gpad.mod.js
    3.8KB
  • filter.mod.js
    2.8KB
  • LICENSE.txt
    17.6KB
  • filterexpired.mod.js
    1.5KB
  • index.html
    14.9KB
内容介绍
# Static media center This is a lightweight media library that loads iframes from video streaming sites. Only [one static html file](index.html) required. Customizable through external modules. To get some actual content in the media center it depends on something to call `_smc.addSource('src')` and then `_smc.addVideo({'title':'..', 'img':'..'}, 'src')`. Included are a couple example modules for content loading ([movs720p.mod.js](movs720p.mod.js), [movs1080p.mod.js](movs1080p.mod.js)), and the following modules to provide additional functionality: (Note that the project is in development and the exposed _smc functions or dispatched events may still be changed without notice.) mod | description ---------------|------------ filter.mod.js | Provides genre filters and sorting by rating and year. (Depends on content module adding appropriate jquery data properties.) filterexpired.mod.js | Adds a filter that parses googlevideo links to hide the expired ones. gpad.mod.js | Gamepad control for Chrome. Select with dpad, play with A, close player with B, triggers scroll the page. (Only tested with Xbox360 controller) loadinfo | When video is played uses imdb id to load info from imdbapi.com. (This is module was hardcoded to test/demonstrate that modules don't necessarily require separate files but can live in localstorage.) imdbrss.mod.js | Filters movies by a list RSS feed created at IMDb http://www.imdb.com/help/show_leaf?listfaq mgr.mod.js | Lists loaded mods in the UI and provides controls for removing and adding new mods. mobile.mod.js | Improves mobile usability (changes header bar into a menu when window width < 520px) multi.mod.js | Support for opening multiple players in draggable layers (alt+h or alt+t to reorder the layers) remember.mod.js | Stores and restores values from input elements that have class "remember". seen.mod.js | Provides filtering for seen movies. Adds checkboxes to each video element and stores which videos user has checked in localStorage. vttlivecomms.mod.js | Asks [vttlive chrome extension](https://chrome.google.com/webstore/detail/vttlive/bnlbkeoehifnpknkegfjnhiaoechbnkj) for information on the video state at given intervals and remembers those for later use (like restoring unfinished video position). (TODO: once vttlive supports load time injection we can disable video autoplay and add a poster image.) ## Setup After `git clone` run `grunt`. It combines css and js files from `src/` to `index.html`, copy that file along with chosen modules to a chosen host. Notice that if you open the media library to browser directly from local disk some videostreaming services might not work as they e.g. might require a Referrer header that wouldn't be present, so prefer using over http. ## Known issues * multi.mod.js: due to mouse coordinate issues dragging players is implemented differently in Firefox and Chrome * filter.mod.js: reversing filters is not very useful, e.g. excluding a genre by selecting one genre and reverse causes "hide seen" filter to also reverse and show seen movies, TODO: allow reversing of individual filters * remember.mod.js: restoring options is tied to optionschange event, which might be missed if remember.mod.js ends up loading last (meaning that src from previous use might not be selected and videos are not listed until user selects a src)
评论
    相关推荐
    • Bookmarklet IDE-crx插件
      语言:English (United States) 用于创建/管理书签的IDE 轻松创建和管理您的书签。 在线查找书签?...IDE在您的Chrome书签中使用一个bookmarklet文件夹,因此您仍然拥有完全控制权。 小书签IDE也是主题化的。
    • Declarative Chrome Extension-crx插件
      声明式Chrome扩展程序用于调试基于Siemens Active Workspace Framework的应用程序。 这提供了以下功能。 1.Declarative Inspector检查选定的DOM元素的声明性视图模型属性(动作,ctx,数据,dataProvider,i18n,...
    • chrome 浏览器 selenium IDE插件
      免费下载,官方版本,chrome 浏览器 selenium IDE插件下载包;包含安装说明,简单易懂
    • Shortcuts for Chrome-crx插件
      Chrome快捷方式主要的Chrome页面包括:•历史记录•清除浏览器数据•扩展程序•设置•下载•书签•应用程序(新)•Chrome网上应用店Chrome快捷方式还包括几乎所有其他Chrome页面,这些页面可以在“高级”和“所有”...
    • IDE Support V2.0.9
      JS chrome 调试插件
    • Chrome Textarea Formatter-crx插件
      提供textareas现代IDE中发现的基本代码格式化功能。 如果您曾经尝试编辑在浏览器的textarea字段中截取的格式化代码,则您可能会注意到它的不便之处,因为textareas不支持Tab键格式。 此扩展旨在帮助那些在大多数现代...
    • Bizfone Chrome udvidelse.zip
      语言:dansk ... 它使Bizfone用户更容易进行拨打电话(请记住如果要通过BizFone.dk通知/答案来电,仍然在标签中打开bizfone.dk。 这些数字标有Bizfone标志和来自Bizfone.dk的识别蓝色。... 您还可以标记电话号码并右键单击...
    • macvideo:Chrome合金
      macvideo Chrome合金
    • video_sniffer-chrome
      视频嗅探器 Crappy Chrome插件,可在给定页面上找到所有视频,并为您提供下载按钮。 使用风险自负。 我不负责任,也不在乎您如何处理此事。
    • Continu for Chrome-crx插件
      使用Continu的Chrome扩展程序记录,练习和衡量结果 Continu是专为当今工作场所打造的现代学习管理系统(LMS)。 各种规模的跨国公司都信任Continu,以Continu易于使用,功能强大的学习平台为团队培训提供动力。 通过...