1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-25 02:42:10 +02:00
Commit Graph

3857 Commits

Author SHA1 Message Date
zhcj
d90569fed6
fix: add PiP to zh-CN.json (#6680)
add "Picture-in-Picture" & "Exit Picture-in-Picture"
2020-06-19 14:38:05 -04:00
mister-ben
907d1cd730
fix: Disable PIP if tech doesn't support it (#6678)
The requestPictureInPicture API and button currently assume thta if the browser supports the PIP API, the tech supports it. This results in a broken button with certain techs, such as youtube or HTML5 with an audio el.

Checks if disablePictureInPicture is exactly false. If true it's disabled and if undefined the tech does not support it.

Fixes #6398.
2020-06-19 14:36:43 -04:00
Owen Edwards
0c081a3520
Update description of video.js in the package.json file, and add 'hls' keyword (#6603)
* Update descritpion of video.js in the package.json file, and add 'hls' keyword

* Update package.json

Co-authored-by: Steve Heffernan <git@heff.me>
2020-06-05 10:11:38 -07:00
Gary Katsevman
d6b07f089e
fix(fs): don't set player element css props on native fullscreen (#6673)
Fixes #6640
2020-05-28 10:29:36 -04:00
Soroush Chehresa
756fbfc247
docs(README): Update CDN version urls (#6658) 2020-05-26 17:46:59 -04:00
mister-ben
0b91f74260
fix: addChild with index should allow for children that are elements (#6644)
The fix in #6297 doesn't work where the child to insert before is an element rather than a component, e.g. the video element.
Check if the child to insert before is an element, as well as checking if it has an el_
2020-05-26 17:00:23 -04:00
Gary Katsevman
a4ea1f9657
fix(text-tracks): set withCredentials on XHR if crossOrigin='use-credentials' (#6588)
Fixes #6587
2020-04-22 16:39:01 -04:00
Gary Katsevman
f779bad5f0
fix(package): update to @videojs/http-streaming@1.13.3 (#6610) 2020-04-22 16:38:31 -04:00
Grzegorz Blaszczyk
dbd5203a0b
feat: adds disablePictureInPicture method to the player API. (#6378) 2020-04-22 12:41:21 -04:00
Gary Katsevman
8c66c58346
feat: support fastSeek during scrubbing if available (#6525)
This will allow us to use iframe playlists on HLS on Safari browsers and eventually, add support in VHS.
2020-04-22 12:40:26 -04:00
Gary Katsevman
808d818c7d
docs(faq): update FAQ about HLS and DASH with VHS (#6608)
Fixes #6590
2020-04-22 12:13:58 -04:00
Thalles Koester
90e2b0fa5c
fix(lang): Update pt-BR.json (#6598) 2020-04-22 12:13:25 -04:00
Gary Katsevman
a37f853c39 7.8.1 2020-04-16 11:47:46 -04:00
Brandon Casey
3ac11d0463
fix: update being called on seekbar during dispose (#6576) 2020-04-13 12:00:04 -04:00
EdgeNeko
8f930c5857
docs(angular): fix demo for angular v8+. (#6581)
Without the `static: true` property, an `not defined ReferenceError` will be thrown since the target is null on init.
2020-04-09 15:51:23 -04:00
Gary Katsevman
04e64622b3 7.8.0 2020-04-06 14:16:07 -04:00
Gary Katsevman
f711ddcfb6
feat(cors): allow both crossOrigin and crossorigin method and options (#6571)
Fixes a bug with the setter and aliases crossorigin to crossOrigin.

This is a followup from #6533.
2020-04-06 13:04:22 -04:00
Aaron Stone
ea20edcd99
feat(cors): add crossOrigin option to enable cookies on requests (#6533)
Co-authored-by: Abraham Cruz Sustaita <abraham.sustaita@gmail.com>
Co-authored-by: Gary Katsevman <git@gkatsev.com>
2020-04-06 11:53:45 -04:00
greenkeeper[bot]
6d18c40e1f
fix(package): update @videojs/http-streaming to version 1.13.2 🚀 (#6558)
Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-30 20:23:07 -04:00
Brandon Casey
47ba7040b0
feat: Add a function for getting descendants from components (#6519) 2020-03-30 17:39:23 -04:00
Brandon Casey
668c7f44d6
fix(liveui): tweaks to prevent jitter (#6405) 2020-03-30 17:27:45 -04:00
greenkeeper[bot]
1dd06a26c0
fix(package): update @videojs/http-streaming to version 1.13.1 🚀 (#6548)
Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-28 10:35:17 -04:00
greenkeeper[bot]
8dc1e6f247
fix(package): update @videojs/http-streaming to version 1.13.0 🚀 (#6547)
Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-26 18:16:37 -04:00
Gary Katsevman
da37fab130
feat(fs): return a promise from requestFullscreen and exitFullscreen when we can (#6424) 2020-03-26 17:26:26 -04:00
Kslr
a8d4d82f80
fix(lang): update zn-CH translations (#6546) 2020-03-26 13:49:34 -04:00
greenkeeper[bot]
2997b808d0
chore(package): update rollup to version 2.2.0 🚀 (#6542)
Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-25 17:55:59 -04:00
Marco Garay
768adb1200
feat: Improve currentTime to allow it to be called before player is ready (#6507)
In the cases where the player isn't ready, or we are in the middle of changing sources, we will wait for `canplay` and then seek to the provided time without requiring Video.js users to handle this themselves.

Co-authored-by: Marco Garay <mgaray@brightcove.com>
2020-03-25 17:54:51 -04:00
Gary Katsevman
4a82283b97 7.7.6 2020-03-25 16:26:18 -04:00
Gary Katsevman
2c9687596c
chore(package): upgrade to babel 7.9 and enable bugfixes (#6541) 2020-03-24 11:04:01 -04:00
Margaux
fce3ad23b9
docs: add an example Angular integration (#6390) 2020-03-16 17:29:00 -04:00
greenkeeper[bot]
0a7aba35ce
fix(package): update @videojs/http-streaming to version 1.12.3 🚀 (#6527)
Co-authored-by: greenkeeper[bot] <23040076+greenkeeper[bot]@users.noreply.github.com>
2020-03-16 17:13:46 -04:00
Gary Katsevman
d1702d5e45
docs(player): fix addRemoteTextTrack description of manualCleanup option (#6521) 2020-03-12 11:50:43 -04:00
Gary Katsevman
52c181ddb0
fix: trigger change events on remoteTextTrack when nativeTextTrack is set to true (#6410)
It seems we have never triggered change events on remoteTextTrack when we were using native text tracks. This was a problem for VHS, which exclusively uses text tracks.
This makes it so we do trigger the event. Main issue with this change is that it creates a potential for a false positive where a change event was triggered from a non-remote text track but the remoteTextTrack list still received a change event. This issue is mitigated by best practices of looping through the list looking for the modes that you care about.

Co-authored-by: Kevin Kipp <kevin.kipp@gmail.com>
Co-authored-by: Kyle Boutette <kyleveB@gmail.com>
2020-03-12 11:26:09 -04:00
Darius Oleskevicius
cc2b82b8d7
fix: DRM content goes black in IE/Edge when focus is placed on video element (#6508)
This is a followup from #6318 but for the poster image.
2020-03-10 16:35:54 -04:00
Brandon Casey
47349c8e29
fix: add a threshold of 30s for the liveui to show (#6409) 2020-03-10 15:53:17 -04:00
Grzegorz Blaszczyk
5682f14ccd
fix: fix a typo in en translation file (#6505) 2020-03-06 16:36:05 -05:00
Gary Katsevman
749ef548ed
fix: detect chromium-based Edge (#6497)
This loosens the regex used for Edge. Still detects legacy Edge but now
also detects the new Edge.

IS_CHROME still returns true for Edgium but I think that it's worth
keeping that as the behavior should be pretty close. If there is a need
to differentiate, can check IS_EDGE and also whether IS_EDGE &&
IS_CHROME is present. Combining with IS_WINDOWS could also be useful as
some capabilities of Edge are only available in Windows.
2020-02-26 11:43:04 -05:00
Ehsan Chavoshi
31ac9d7a58
fix(lang): improve Persian translation (#6468) 2020-02-24 17:48:01 -05:00
Gary Katsevman
a24d5a3a04 7.7.5 2020-02-19 11:41:29 -05:00
greenkeeper[bot]
30d5874226
fix(package): update @videojs/http-streaming to version 1.12.2 🚀 (#6469) 2020-02-18 23:52:27 -05:00
Marco Garay
e6c03c7896
fix: current time tooltip does not update (#6445) 2020-02-18 15:29:55 -05:00
Gary Katsevman
e4e8837ded
fix(package): update @videojs/http-streaming to version 1.12.1 (#6467)
Closes #6430
2020-02-18 14:39:31 -05:00
Pat O'Neill
3b0f0b9ea8
fix(lang): add missing Arabic translations (#6435) 2020-02-12 13:51:09 -05:00
Gary Katsevman
8a205d049e
refactor: support requestFullscreen's promise, better internal handling of events (#6422) 2020-01-31 15:59:12 -05:00
Grzegorz Blaszczyk
6f77778a70 fix: improves control bar hiding functionality (#6400)
Fixes #6391
2020-01-15 12:11:03 -05:00
Brandon Casey
7008777985 fix: slider screenreader value returning as NaN (#6404)
Slider's getProgress was return a string when it should've been returning a number.

Fixes #5984.
2020-01-15 12:07:45 -05:00
Brandon Casey
bcaa86989b refactor: use Fn.UPDATE_REFRESH_INTERVAL in seekBar & liveTracker (#6407)
Follow up from #6142 to include a couple of other uses.
2020-01-15 12:04:27 -05:00
Thijs Triemstra
9bb7acbeb3 chore(travis): test on ubuntu 18 (bionic) (#6399) 2020-01-13 14:24:09 -05:00
Gary Katsevman
8ae71d8adc 7.7.4 2019-12-24 11:41:34 -05:00
Gary Katsevman
17d8046836
revert: Revert "fix(iOS): pause player on suspend or stalled if extra buffer is available (#6199)" (#6373)
This reverts commit c791cd8c4e.

Fixes #6330
2019-12-24 11:25:01 -05:00