cnbeining / abplayerhtml5-py Goto Github PK
View Code? Open in Web Editor NEWAn HTML5 solution of danmaku playing.
License: MIT License
An HTML5 solution of danmaku playing.
License: MIT License
Linux 的主目录是/home/$USER
,而不是/User/$USER
。
我建议使用$HOME
来代替/home/$USER
,所有系统都会设置$HOME
的吧?
幸好我没有用 root 启动,要不然整个硬盘都要被你弄乱了……
另外,ABP 可以像 bilidan 一样,一边缓冲一边观看吗?(而不是下载完成了才能看)
现在ABPlayerHTML5支持进度拖动了, 可以从 jabbany/ABPlayerHTML5@242f02c 抓一下。现在也支持页面全屏和非全屏的切换了。
我觉得打开了用户非首选的浏览器很恼火,比如 ddd、LilyTerm,会试图打开“他们认为的首选浏览器”。
现代的 Linux 系统都有 xdg-open 这个工具,可以使用用户提前选择好的“默认程序”启动对应的 URL。
根据下面附上的 fish(一个主张现代感的 shell)的源代码,依次尝试了
所以我建议本程序尝试这样的顺序:
如果失败,直接提示用户输入 export BROWSER=firefox
重试,这个机率应该不太高。
附上 fish 的源代码作参考:
function open --description 'Open file in default application'
if count $argv >/dev/null
switch $argv[1]
case -h --h --he --hel --help
__fish_print_help open
return 0
end
end
if type -f cygstart >/dev/null
for i in $argv
cygstart $i
end
else if type -f xdg-open >/dev/null
for i in $argv
xdg-open $i
end
else
mimedb -l -- $argv
end
end
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.