🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

video_background

use video as page background

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

You will need to install an extension such as Tampermonkey to install this script.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

작성자
zhuzemin
일일 설치 수
0
총 설치 수
945
평점
3 0 0
버전
1.94
생성일
2020-01-31
갱신일
2020-02-14
크기
22.3KB
라이선스
Mozilla Public License 2.0
적용 사이트
모든 사이트

Compatibility:
Firefox/Chrome,
Tampermonkey <--- !!!Attention: Greasemonkey 4 was not support!

This script play video as background in web page.
don't worry about slow down you computer, video will pause when you switch Tab or Minimize Window,
performance cause just like playing youtube.



it has 2 video source can be choice:
1: local folder
2: youtube playlist

if use case 1 local folder:
because browser security restrictions, browser can not directly play video from local,
so need a tiny soft: HFS, it's use to run a Http Server in your system,
don't worry, unless you open Port(80) in your Router, otherwise this Http Server are totally private.
and HFS is very easy to use, you can download from official site: https://www.rejetto.com/hfs/?f=dl
then:
1: Open HFS, drop your video folder into,
2: copy the Url show in HFS,
3: Paste it to this userscript setting: "Set root url",
4: refresh page.



in case 2 youtube playlist:
1: Paste youtube playlist url to this userscript setting: "Set youtube playlist",
(url look like: "https://www.youtube.com/playlist?list=PLmlTcWwPyp188O1lK2fyYA_WFckZNrb0b")
2: refresh page.



Notice:
*if the background video makes text unrecognizable, there have a Button on bottom, will give all Text BG-color.
*script will loop through all sub folder, play randomly , so just need set root folder.
*for best performance, after first use, script will store file list(or youtube url),
if you want refresh file list: click Button "Clear file list", then refresh page.
*if you are using firefox, need set Cache to 1024(max), otherwise after while use, will not play video anymore(need restart firefox)