Commit Graph

350 Commits

Author SHA1 Message Date
Harvey Zack 134d4df546
Update subtitle.js 2018-10-17 19:23:03 +08:00
Harvey Zack c09070601a
Fix subtitle bug
Fix display problems with multiple lines of subtitles.

修复字幕存在多行的情况,`cue.getCueAsHTML() `本身并没有`innerHTML`方法,所以处理了一下。
2018-10-17 15:59:58 +08:00
A-Circle Zhang 9c43d49e4b
Update player.js 2018-09-29 12:09:54 +08:00
A-Circle Zhang 59f4ce6bc8
Update controller.js 2018-09-29 12:07:59 +08:00
A-Circle Zhang 7dfd75796f
Update thumbnails.js 2018-09-29 12:06:19 +08:00
A-Circle Zhang 892224d6c9
Update thumbnails.js 2018-09-29 10:20:26 +08:00
A-Circle Zhang 156552be97
Update controller.js 2018-09-29 10:18:57 +08:00
DIYgod 2f6d8378d9
format 2018-09-27 00:14:25 +08:00
david082321 6d09bf93f4
Update i18n.js
更新繁体翻译
2018-09-21 00:15:39 +08:00
eyhn 419fcb9c10 the browser's native context menu close #369 2018-09-09 14:10:20 +08:00
sdvcrx 852dae5729
Fix es5 compatibility 2018-08-24 13:22:16 +08:00
sdvcrx 5f2d9f042a
Fix scss build error 2018-08-24 12:40:40 +08:00
A-Circle Zhang 474eb0e719
Update thumbnails.js 2018-08-23 23:10:53 +08:00
A-Circle Zhang bb0fb95c3c
Update controller.js 2018-08-23 23:08:50 +08:00
A-Circle Zhang 9903b077ac
Update controller.scss 2018-08-23 23:07:45 +08:00
A-Circle Zhang 72b09d8b74
Update user.js 2018-08-22 12:41:28 +08:00
A-Circle Zhang 76eed8e570
Update player.js 2018-08-22 12:24:14 +08:00
A-Circle Zhang 7889126c20
Update player.js 2018-08-22 12:22:19 +08:00
A-Circle Zhang eadc721cd2
Merge branch 'master' into master 2018-08-20 11:37:44 +08:00
A-Circle Zhang dac48f1b5a
Update fullscreen.js 2018-08-19 21:13:00 +08:00
A-Circle Zhang 7077da7f0d
Update controller.scss 2018-08-19 19:09:23 +08:00
A-Circle Zhang 520e92b1f7
Update player.js 2018-08-19 18:33:05 +08:00
A-Circle Zhang 1df45adcad
Update controller.js 2018-08-19 18:30:09 +08:00
A-Circle Zhang c5026f071f
Update controller.scss 2018-08-19 18:28:49 +08:00
Yumin Xia d7444192c9 fix switch quality loop bug 2018-08-18 01:13:57 -07:00
A-Circle Zhang 6707e750ae
Update controller.js 2018-08-15 09:32:36 +08:00
A-Circle Zhang 523d5f2699
Update template.js 2018-08-15 09:29:27 +08:00
A-Circle Zhang 001b61da6e
Update fullscreen.js
add Fullscreen support for IE and fix fullscreen event bug for Firefox
2018-08-13 15:21:44 +08:00
sdvcrx f4d4f747b1
fix video.duration is Infinity
Fix #282 question 1
2018-08-13 14:59:23 +08:00
1061706520@qq.com 62d9d9f433 fix progress bar and video playing position function 2018-07-19 14:53:26 +08:00
DIYgod cd6afd7fb5
optimize danmaku request 2018-07-06 01:19:12 +08:00
DIYgod bad2200611
fix notice not display when error event triggered 2018-07-05 00:14:56 +08:00
DIYgod 046e8ee6b4
work with backend v3 2018-07-04 01:12:46 +08:00
deepred5 650e8a9d0d update style for ie input 2018-06-27 20:53:31 +08:00
DIYgod c3dc104735
fix firefox empty target blank 2018-06-14 01:02:29 +08:00
DIYgod 87e137e2c3
fix Hls is not supported in Safari Mobile 2018-06-14 00:00:19 +08:00
DIYgod 5b9a7f106d
fix empty setting box 2018-06-13 23:31:41 +08:00
DIYgod 248dc80f40
fix quotes format 2018-06-13 23:10:57 +08:00
DIYgod 0159d92f68
use timeupdate event 2018-06-13 23:09:35 +08:00
DIYgod dd2ebcf34d
change default preload to metadata 2018-06-13 22:43:59 +08:00
DIYgod 071c01c224
fix preview size 2018-06-13 22:43:37 +08:00
DIYgod d30fa4e176
time -> timer 2018-06-13 22:43:17 +08:00
DIYgod d3847a30a0
generate screenshot by blob and createObjectURL 2018-02-23 22:56:14 +08:00
DIYgod 94f8dea831
fix incorrect quality url 2018-02-23 11:22:07 +08:00
DIYgod 360878bcc7
fix broken quality template 2018-02-22 12:28:07 +08:00
metal A-wing f72764ab88 Fix POST Content-type: application/json
some RESTful backend unable to parse
2018-02-14 19:39:13 +08:00
DIYgod a16c948a2d
use art-template 2018-02-09 00:02:22 +08:00
DIYgod df1deb3c75
use svg-inline-loader 2018-02-08 17:57:46 +08:00
DIYgod 30b75be661
info panel 2018-02-03 23:13:53 +08:00
DIYgod 77a2ba88b4
trigger info panel 2018-02-03 21:09:30 +08:00
DIYgod 9b5fccb74c
trigger video info panel in contextmenu 2018-02-03 20:55:42 +08:00
DIYgod d9c76363e2
rm useless code 2018-02-03 20:04:52 +08:00
DIYgod 2eca9add4b
support hour in time string, @micooz and @Oukanina 2018-02-03 14:11:19 +08:00
guokeke 702302f041 Fix danmaku blocked after fullscreen 2018-01-25 02:18:02 +08:00
DIYgod 493c95fb0c
optimize thumbnails and bar-time in mobile 2018-01-20 21:15:03 +08:00
DIYgod d753f8289a
support custom video type 2018-01-19 18:50:25 +08:00
DIYgod 8e69adab3c
WebTorrent supporting judgement 2018-01-19 17:38:44 +08:00
DIYgod 5a12be0554
support WebTorrent 2018-01-19 17:30:35 +08:00
DIYgod 9573835b31
support dragging bar in mobile 2018-01-19 15:54:58 +08:00
DIYgod 4c079a64c2
disable autohide controller when paused 2018-01-19 14:48:21 +08:00
DIYgod 743b3d053b
longer autohide controller time 2018-01-19 11:25:48 +08:00
DIYgod e26f78eed2
use promise and object.assign polyfill 2018-01-19 01:52:04 +08:00
DIYgod cda90989b2
handle play promise 2018-01-18 00:24:15 +08:00
DIYgod 6524114f05
fix error in reading empty danmaku list 2018-01-12 00:45:09 +08:00
DIYgod 6f61076345
use DPlayer-node v2 2018-01-12 00:35:59 +08:00
DIYgod ec160d1587
fix autoplay mse video 2018-01-11 16:51:29 +08:00
DIYgod b7dcba30d8
new api: speed 2018-01-11 16:18:03 +08:00
DIYgod 3b675ea48a
modularized css 2018-01-11 16:04:07 +08:00
DIYgod 4395112b22
rename DPlayer.js to player.js 2018-01-11 16:03:03 +08:00
DIYgod 15631ecc59
fix utils.isMobile 2018-01-11 16:01:54 +08:00
DIYgod 100234774d
replace `module.exports` with `export default`; separate js and css files into different folder 2018-01-10 18:03:58 +08:00
DIYgod 71ed391e2f
fix a typo 2018-01-07 03:30:29 +08:00
DIYgod fa2f1241c3
contextmenu module and hotkey module 2018-01-07 03:14:42 +08:00
DIYgod e3cfb21fdf
extend controller module and some fixes 2018-01-07 02:56:54 +08:00
DIYgod 1331b6d5c0
fix a typo 2018-01-05 15:41:42 +08:00
DIYgod 7a2a40e8a9
Module: controller, comment, setting 2017-12-25 17:13:57 +08:00
Karl Chen 3ddbece5d1
Update fullscreen.js 2017-12-24 13:58:15 +08:00
Karl Chen 8b9cc21c96
Update fullscreen.js 2017-12-24 13:50:37 +08:00
Karl Chen 212db32d05
迎合以前顺序 2017-12-24 09:58:18 +08:00
Karl Chen 01bea4ac30
fix fullscreen switch logic 2017-12-24 09:54:34 +08:00
DIYgod 7ac02c8303
bezel module 2017-12-24 02:35:38 +08:00
DIYgod 49535a9fb2
time module & dplayer-arrow style 2017-12-24 02:14:18 +08:00
DIYgod 44866d64ce
bar module 2017-12-22 00:44:30 +08:00
Karl Chen eeec8e3cb6
Delete html.js 2017-12-16 11:43:19 +08:00
Karl Chen 1dd14c518b
Update template.js 2017-12-16 11:42:18 +08:00
Karl Chen d805f692ae
Update fullscreen.js 2017-12-16 11:38:56 +08:00
Karl Chen faf925b858
Update fullscreen.js 2017-12-16 11:30:14 +08:00
Karl Chen 001268c21e
Update fullscreen.js 2017-12-16 11:27:01 +08:00
Karl Chen 018ed245d6
Logical like #169, move the judgment code to toggle 2017-12-16 11:18:08 +08:00
DIYgod a8e03abf7a
template module 2017-12-15 19:02:02 +08:00
DIYgod 4c587e5829
fix danmaku showing bug and small ui probelm on live mode 2017-12-15 19:01:25 +08:00
Karl Chen a6912d3bdb
Update html.js 2017-12-11 15:36:37 +08:00
Karl Chen 1b4b0f465a
Update options.js
diy dog
2017-12-09 01:38:24 +08:00
DIYgod 5207d26a70
fix danmaku callback error in mobile and live mode 2017-12-01 16:58:46 +08:00
DIYgod 36d61c4d61
live mode & upgrade dependencies 2017-11-30 16:10:47 +08:00
DIYgod c0f515addb
MPEG DASH support 2017-09-26 01:51:33 +08:00
DIYgod d8cfa122b2
volume notice; better volume up svg 2017-09-24 07:25:20 +08:00
DIYgod 74eab49a8d
new option: mutex, pause other players when this player start play 2017-09-24 06:52:02 +08:00
DIYgod 3d5ea2c68a
clear danmaku after seeking 2017-09-24 06:38:10 +08:00
DIYgod db5483ef12
new danmaku sending panel 2017-09-24 06:15:41 +08:00
DIYgod c145ecfe90
subtitle button; subtitle events 2017-09-24 01:57:06 +08:00
Micooz 1d44769eee src: hide scrollbars after fullscreen, also consider scroll position 2017-09-22 11:42:10 +08:00
Micooz c7a7e6c519 src: add a patch class ".dplayer-web-fullscreen-fix" 2017-09-22 11:40:35 +08:00
Micooz e07c8254e0 utils: add getter/setter for scroll position, add browser detectors for firefox/chrome 2017-09-22 11:39:54 +08:00
DIYgod 9c09d324a7
webvtt subtitle 2017-09-22 02:41:11 +08:00
DIYgod d9a6de6fbc
webvtt subtitle 2017-09-22 02:33:12 +08:00
Donald Silveira 457daaac46 fix: Rename iconColor option to iconsColor to make it semantic 2017-09-18 22:45:38 -03:00
Donald Silveira 91b9a9e9a4 refactor: Remove unused styles 2017-09-18 22:44:07 -03:00
Donald Silveira 948a4778be fix: Changed Svg Class declaration to make it more semantic 2017-09-18 22:43:00 -03:00
Donald Silveira 7aaa23f482 fix: Passing options object to Svg class 2017-09-18 17:38:49 -03:00
Donald Silveira b8a16b509f feat: Added a option to set icons color 2017-09-18 17:38:17 -03:00
Donald Silveira 9758ef3e05 refactor: Expose svg icons as option 2017-09-18 16:36:23 -03:00
DIYgod 6ca11a21b3
options.element -> options.container 2017-09-15 23:10:52 +08:00
DIYgod 2323e73e30
rm useless console.log 2017-09-15 00:57:16 +08:00
DIYgod 652c6dc06c
optimize seek marked words; change version link; fix loading checker 2017-09-15 00:41:29 +08:00
DIYgod 1ff8e0e2f2
add tooltips 2017-09-15 00:10:23 +08:00
DIYgod 1ebd49497c
fix wrap text in setting box 2017-09-14 10:57:48 +08:00
DIYgod 6dd8e6fd1f
user module; unlimited danmaku setting 2017-09-11 02:26:09 +08:00
DIYgod 0bad7b7aed
fullscreen module; web fullscreen event 2017-09-10 01:10:27 +08:00
DIYgod e6652554cc
more events 2017-09-08 01:15:40 +08:00
WooLNinesun 8ecc609c33 option.lang.toLowerCase() return to self 2017-09-06 11:34:07 +08:00
DIYgod a6380b7251
add git hash 2017-09-06 01:10:08 +08:00
DIYgod cbcdda09af
enforce `About DPlayer` contextmenu 2017-09-03 05:03:19 +08:00
DIYgod 38c10cbd5a
MSE in switchVideo 2017-09-03 04:00:13 +08:00
DIYgod a3883ec046
hide cursor when no controller 2017-09-02 14:39:17 +08:00
DIYgod 76d34cc317
limited danmaku 2017-09-02 12:47:50 +08:00
DIYgod 72012e7f80
thumbnails image 2017-09-01 02:51:22 +08:00
DIYgod 450fdcce24
support initing MSE video outside; support switching quality for MSE video 2017-08-30 02:34:24 +08:00
WooLNinesun 42efc6b479 All corrected 2017-08-29 20:05:33 +08:00
WooLNinesun ce936277e3 add option.danmaku.margin to prevent block video subtitles 2017-08-29 17:06:59 +08:00
WooLNinesun 8eb07af09a src/options:
Browser langage support  IE6 ~ IE8
    use lowercase to prevent case typo from user
src/i18n.js:
     Use language-code to support more language trans
2017-08-29 15:58:14 +08:00
DIYgod 6c50dc2dad
debounce for preview 2017-08-29 11:49:50 +08:00
DIYgod 47cb3f6615
minor modification for preview 2017-08-29 03:04:56 +08:00
guokeke f0357f199c
Improve 2017-08-29 02:29:52 +08:00
guokeke dabb7fb699
Add preview thumbnails 2017-08-29 02:29:52 +08:00
DIYgod 8dfe6b4fb3
new option: volume; remember volume 2017-08-19 21:14:06 +08:00
DIYgod ab66123e22
show controller when seeking 2017-08-19 17:31:29 +08:00
DIYgod 6bf1975bf2
notice opacity 2017-08-19 16:47:16 +08:00
DIYgod 644e4734d5
seek and volume notice; enable hotkey after focus 2017-08-19 02:31:44 +08:00
DIYgod cdb534b8b9
eslint: no-trailing-spaces; minor style 2017-08-19 01:37:19 +08:00
DIYgod 4339338d30
fix danmaku.show 2017-08-17 00:12:48 +08:00
DIYgod 5f1ff79ab1
fix danmaku.show 2017-08-17 00:05:35 +08:00
DIYgod b8fde8da54
New API: danmaku show, danmaku hide, close #78 2017-08-16 23:57:02 +08:00
DIYgod f4d186f6ec
separate danamku module; fix some minor mistakes 2017-08-15 11:21:23 +08:00
DIYgod 7a8a2ac7ba
fix danmaku seek 2017-08-05 01:11:45 +08:00
DIYgod 1e21471519
New API: destroy 2017-08-05 00:55:22 +08:00
DIYgod 4fcd453599
remove Video module 2017-08-05 00:19:03 +08:00
Dean Shi 5a5fe7a6fe Update video.js 2017-08-04 00:42:16 -07:00
DIYgod 15cab8fbb3
compatible with hls.js's new version 2017-07-28 15:27:42 +08:00
DIYgod 09d0f43bff Merge branch 'master' into master 2017-07-28 12:33:20 +08:00