Émilien Devos
2ea986326d
Bump videojs to 7.12.1 ( #3011 )
2 years ago
Samantaz Fox
a1bb421eec
Remove useless 'hl' parameters on captions URL
3 years ago
Samantaz Fox
947fe4fbb3
HTML escape video mimetype
...
Video mimetype may contain code information between double quotes.
If not properly escaped, it breaks the browser's parser. E.g:
```
type="video/mp4; codecs=" avc1.64001f,="" mp4a.40.2""=""
```
Thank Robin for catching this!
3 years ago
Émilien Devos
8b62c05fe2
remove 3gp only from the player ( #2376 )
...
+ video quality precedence on default player when js is not enabled
3 years ago
Samantaz Fox
56ebef4352
Multiple front-end fixes ( #2247 )
...
Fixes:
* Sanitize user-provided content in HTML (Fixes #2193 )
* Fix encoding of search query in prev/next pages (Fixes #2229 )
* Fix some issues introduced with #2196 :
- Fix alignment of all <h3> elements (Move the inline style from the parent to the <h3> element)
- Add missing comma on 'dir' HTML attribute (Typo introduced by PR #2196 )
Code cleaning:
* Remove unnecessary 'each_sclice' + 'each' double loop in ECR files
* Clean the player's <source> list generation code (in player.ecr)
3 years ago
syeopite
54b19a04bb
Fix caption parsing on age restricted videos
3 years ago
Andrew Zhao
9b79e35d52
do not preload captions
3 years ago
saltycrys
5f03a583d1
Update code for Crystal 0.36.0
...
Rename `HTTPClient@socket` to `HTTPClient@io`, see
https://github.com/crystal-lang/crystal/pull/9543 .
Rename `URI#full_path` to `URI#request_target`, see
https://github.com/crystal-lang/crystal/pull/10099 .
3 years ago
Andrew Zhao
0cb442d40e
do not proxy hls on supported browser
4 years ago
Andre Borie
a54cbe896d
Remove on-hover tooltip from player
...
Using the player on latest Safari, the tooltip appears and stays stuck for long even when switching to fullscreen which is annoying. You need to explicitly click anywhere to dismiss that stuck tooltip.
This doesn't seem to happen in Firefox so I am not sure whether this is a browser bug, but in any case I don't see any value in keeping this tooltip so maybe we can just remove it?
4 years ago
Omar Roth
1eca969cf6
Add support for polymer redesign
4 years ago
Omar Roth
3b2e142542
Fix JSON serialization
4 years ago
leonklingele
70cbe91776
Migrate to a good Content Security Policy ( #1023 )
...
So attacks such as XSS (see [0]) will no longer be of an issue.
[0]: https://github.com/omarroth/invidious/issues/1022
4 years ago
Leon Klingele
46577fb128
Add support for player styles
...
This currently includes the following styles:
- Invidious, the default
- YouTube, using a centered play button and always visible video control bar
Implements https://github.com/omarroth/invidious/issues/670 .
Supersedes https://github.com/omarroth/invidious/pull/661 .
5 years ago
Omar Roth
2cc25b1e6e
Add administrator option to disable proxying
5 years ago
Omar Roth
b43e9ed7e7
Refactor 'description_html'
5 years ago
Omar Roth
fd8af88493
Use separate asset version for cache busting
5 years ago
Omar Roth
4616f889fd
Add simple form of cache busting
5 years ago
Omar Roth
058711d3a8
Refactor player.js
5 years ago
Omar Roth
e04b7d0f01
Fix video previews for embeds
5 years ago
Omar Roth
2faa2ed1f4
Refactor watch.js
5 years ago
Omar Roth
6d92775ab5
Add video previews
5 years ago
Omar Roth
1a9360ca75
Minor formatting changes
5 years ago
Omar Roth
56fe3ede5b
Add annotation preferences
5 years ago
glmdgrielson
e48a000784
Add annotation player
...
This addresses issue #110 from master. Yay for adding annotations back!
5 years ago
Omar Roth
075adb4f03
Add http-source-selector
5 years ago
Omar Roth
8c2958b86d
Add 'local=true' to hlsUrl
5 years ago
Omar Roth
eac0a52f10
Fix shiftKey for player hotkeys
5 years ago
Omar Roth
e8c5246645
Fix share button
5 years ago
Omar Roth
5de300fb35
Fix default background color for player
5 years ago
Omar Roth
0c6cede287
Format files and trim trailing whitespace
5 years ago
Omar Roth
1c8075ca40
Add 0.25 to list of playback rates
5 years ago
Omar Roth
56b0952cd1
Update sources
5 years ago
Omar Roth
d85020079f
Add shortcuts for changing playbackRate
5 years ago
Omar Roth
405e98f429
Add 1.25 and 0.75 playback rates
5 years ago
Omar Roth
4a56a2cad6
Remove outline when clicking on player
5 years ago
Omar Roth
46e985b306
Add 'dark_mode', 'thin_mode' as query parameters
5 years ago
Omar Roth
fdc014af67
Add '&local=true' to watch and embed pages
5 years ago
Omar Roth
a65998274f
Defer loading videojs-share until last
5 years ago
Omar Roth
9989c8100a
Properly escape email when creating view
5 years ago
Omar Roth
d5c9b7dfe8
Only play after error if already playing
5 years ago
Omar Roth
def58ff11f
Add interval and timeout for errors in player
5 years ago
Omar Roth
1e214aae7c
Reload player instead of removing invalid source
5 years ago
Omar Roth
ff09a7255a
Add handling to remove invalid sources
5 years ago
Omar Roth
26b7200360
Respect playback rate when reloading player
5 years ago
Omar Roth
b38a2bbd12
Reload player on error
5 years ago
Omar Roth
a9aae6b36c
Add internal redirect for video URLs
5 years ago
Omar Roth
a160c645c9
Add support for translations
6 years ago
Omar Roth
b030149d76
Revert "Use <audio> tag for audio only"
...
This reverts commit e6bc5bb35d
.
6 years ago
Omar Roth
32bd593a8a
Remove log statement
6 years ago