Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Loop Helper

一个轻量、透明、无需安装扩展的 HTML5 视频循环播放书签工具。

打开 index.html,把页面里的“拖我到书签栏”按钮拖到浏览器书签栏。之后在含有标准 HTML5 视频的网页里点击这个书签,就会出现一个小型悬浮面板,用来开启、关闭、重新扫描和查看播放状态。

Features

  • Works as a bookmarklet, no extension or server required.
  • Supports Chrome, Edge, and Safari on Windows and macOS.
  • Detects accessible <video> elements in the page, same-origin iframes, and open shadow DOM.
  • Shows a compact draggable panel with video count, status, and progress.
  • Keeps behavior transparent: no login automation, no answer automation, no activity simulation, and no tracking bypass.

Usage

  1. Open index.html in a browser.
  2. Show the bookmarks bar.
    • Chrome / Edge: Ctrl+Shift+B on Windows, Command+Shift+B on macOS.
    • Safari: enable the favorites bar from the View menu.
  3. Drag “拖我到书签栏” to the bookmarks bar.
  4. Open a page with an HTML5 video and start the video.
  5. Click the bookmark and use the floating panel.

If the panel shows 0 videos, wait for the player to finish loading and click “重新扫描”.

Compatibility Notes

The helper can only control video elements the browser page is allowed to access. It cannot reach into cross-origin iframes, canvas-only players, encrypted custom players, or pages that intentionally block external script access.

If a site pauses playback by its own policy, this project does not bypass that behavior.

Project Files

  • index.html: main install page and bookmarklet generator.
  • video-loop-helper.html: compatibility copy of the install page.
  • LICENSE: MIT license.
  • CHANGELOG.md: release notes.

Development

This is a static project. No build step is required.

For local preview:

python3 -m http.server 8765

Then open:

http://127.0.0.1:8765/

License

MIT

About

A transparent bookmarklet helper for looping accessible HTML5 videos.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages