Commit Graph

419 Commits (7a4fd56ccd86518a6b14c407fc977c7904337448)

Author SHA1 Message Date
William Lahti 999417328b Ability to programmatically control embeds (#776)
* first stab at jschannel based player api

* semicolon purge

* more method-level docs; consolidate definitions

* missing definitions

* better match peertube's class conventions

* styling for embed tester

* basic docs

* add `getVolume`

* document the test-embed feature
2018-07-10 17:47:56 +02:00
Chocobozzz 0b755f3b27
Fix video resolution limit 2018-07-10 09:50:38 +02:00
Chocobozzz 5634dfc811 Merge branch 'ctrl-number-hotkeys' into 'develop'
Disable hotkeys modifiers for numbers in the player

See merge request chocobozzz/PeerTube!14
2018-07-09 15:04:50 +02:00
Gaëtan Rizio 8244e18719 [#766] Fix the change of speed when quality changes
When changing the `playbackRate` of the video then changing the quality,
the `playbackRate` returned to its initial value (1).

The reason behind it is that the callback was not called when change
of the quality was done if there was no error.

This commit does the following:

* Ensure the callback (`done`) is called after changing the quality
2018-07-09 14:27:12 +02:00
Rigel Kent c4ccb08ab0
(client/player) disable hotkeys modifiers for numbers
fixes #771
2018-07-06 21:35:02 +02:00
Nitesh Sawant 06aa2726d7 filter to Cap the maximum resolution to the screen resolution 2018-06-30 12:44:10 +02:00
Chocobozzz 395ecf709d
Fix FPS label in resolution menu 2018-06-29 17:45:05 +02:00
Chocobozzz 3a6f351b25
Handle higher FPS for high resolution (test) 2018-06-29 17:10:54 +02:00
Chocobozzz 70b40c2ed3
Don't log "The play() request was interrupted..." 2018-06-29 17:10:51 +02:00
Chocobozzz 1b952dd426
Reset published date on publish 2018-06-28 16:58:15 +02:00
Chocobozzz 8afc19a612
Add ability to choose the language 2018-06-28 15:53:12 +02:00
Chocobozzz 332e7032c5
Log into the console torrent errors 2018-06-25 08:27:40 +02:00
Rigel Kent 5511da6289 Fix #639 providing magnet URI in player and download modal 2018-06-24 17:42:05 +02:00
Chocobozzz c4082b8b4e
Disable auto resolution on HTTP fallback 2018-06-22 15:11:04 +02:00
Chocobozzz 1a49822c32
Add title in player peers info to show total downloaded/uploaded data 2018-06-22 15:11:04 +02:00
Chocobozzz 575712a5c9
Fix HTTP fallback when having videostream issues on firefox 2018-06-20 08:57:52 +02:00
Chocobozzz 1ee156b2c5
Add margin for http fallback display 2018-06-18 10:26:19 +02:00
Chocobozzz 7b3a99d517
Move player local storage functions in their own file 2018-06-18 10:26:19 +02:00
Chocobozzz f5a2dc48eb
Don't send view on private video 2018-06-18 10:26:18 +02:00
Chocobozzz b7f1747dc7
Create webtorrent client on player load
So we don't run Angular change detection every 250ms on webtorrent
import, when https://github.com/mafintosh/speedometer/pull/7 will be
merged
2018-06-18 10:26:18 +02:00
Chocobozzz db5529f548
Add time mouse display to see where we seek the video 2018-06-13 16:14:31 +02:00
Rigel Kent 7754034641 (embed) sandbox the iframe 2018-06-11 17:18:04 +02:00
Chocobozzz 054a103b28
Add theatre mode 2018-06-11 16:49:56 +02:00
Chocobozzz 695237b258
Fix add icon path 2018-06-11 10:05:42 +02:00
Chocobozzz 4a7591e1a8
Remove video not found 2018-06-08 15:35:18 +02:00
Chocobozzz 6d272f396c
Smooth resolution change? 2018-06-08 15:01:22 +02:00
Chocobozzz 91d9558963
Fix seeking on auto resolution change 2018-06-08 14:20:43 +02:00
Chocobozzz 2ce2fd7f45
Improve player progress bar 2018-06-08 10:37:13 +02:00
Chocobozzz 8eb8bc201e
Pick average video file insead of max quality 2018-06-07 17:57:11 +02:00
Chocobozzz 6cca7360eb
Reduce bundle sizes 2018-06-07 16:50:33 +02:00
Chocobozzz 3baf9be283
Fix player resolution change that plays even if the video was paused 2018-06-07 14:58:41 +02:00
Chocobozzz cc69c8db39
Fix markdown links truncating 2018-06-07 10:32:50 +02:00
Chocobozzz 9f16472264
Rename fr locale -> fr-FR 2018-06-06 18:04:33 +02:00
Chocobozzz 74b7c6d48e
Little i18n refractoring 2018-06-06 17:37:13 +02:00
Chocobozzz e945b184a0
Localize player 2018-06-06 16:48:40 +02:00
Chocobozzz 3f9b33b02b
Remove bad import 2018-05-31 09:57:03 +02:00
Chocobozzz 77728efa62
Fix player progress bar 2018-05-31 09:51:51 +02:00
Chocobozzz 960a11e89d
Add context menu to player 2018-05-30 17:10:00 +02:00
Chocobozzz 04bf312cda
Improve create transcoding jobs tests 2018-05-30 11:12:09 +02:00
Chocobozzz b4f8277cb6
Fix resume video after peertube embed link click 2018-05-30 10:49:27 +02:00
Chocobozzz fc73684ada
Resume video on peertube link click in embed 2018-05-28 11:36:29 +02:00
Chocobozzz 1fad099d72
Fix protractor with Safari 2018-05-24 09:16:15 +02:00
Chocobozzz d1bd87e066
Make it works with new autoplay policy 2018-05-22 16:02:29 +02:00
Chocobozzz e7eb5b3997
Fix play on iOS (grumph) 2018-05-22 09:17:21 +02:00
Chocobozzz cd4d7a2ca8
Fix peertube with google bot 2018-05-22 09:17:20 +02:00
Chocobozzz 2efd32f697
Fix updating video tags to empty field 2018-05-16 09:42:56 +02:00
Chocobozzz 4935a6a1fd
Catch indexdb database destroy 2018-05-16 09:42:55 +02:00
Chocobozzz efda99c30f
Store webtorrent chunks in indexdb 2018-05-15 08:39:02 +02:00
Chocobozzz c7b0dacb28
Do not bundle two different videojs versions 2018-05-11 08:48:20 +02:00
Chocobozzz 3c40590d74
Fix auto quality 2018-04-20 10:21:28 +02:00
Chocobozzz 80109b2ddb
Handle when autoplay fails 2018-04-18 10:20:13 +02:00
Chocobozzz e6f627975b
Hide big play button on autoplay 2018-04-17 09:54:53 +02:00
Rigel Kent 244e76a552
feature: initial syndication feeds support
Provides rss 2.0, atom 1.0 and json 1.0 feeds for videos (instance and account-wide) on listings and video-watch views.

* still lacks redis caching
* still lacks lastBuildDate support
* still lacks channel-wide support
* still lacks semantic annotation (for licenses, NSFW warnings, etc.)
* still lacks love ( ˘ ³˘)

* RSS: has MRSS support for torrent lists!
* RSS: includes the first torrent in an enclosure
* JSON: lists all torrents in the 'attachments' object
* ATOM: lacking torrent listing support

Advances #23
Partial implementation for the accountId generation in the client, which will need a hotfix to add a way to get the proper account id.
2018-04-17 01:09:06 +02:00
Chocobozzz 864e782bc2
Improve big play button animation 2018-04-15 10:55:33 +02:00
Chocobozzz f37bad639b
Add ability to set a start time 2018-04-05 17:12:22 +02:00
Chocobozzz 7ee4a4af0b
Cleanup peertube plugin after dispose 2018-04-05 16:53:31 +02:00
Chocobozzz 877b0528f8
Fix auto quality with http fallback 2018-04-05 16:22:08 +02:00
Chocobozzz a8462c8e3a
Automatic resolution according to user bandwidth V1 2018-04-05 16:15:51 +02:00
Chocobozzz b891f9bc61
Fix watch page video change 2018-04-03 17:33:39 +02:00
Chocobozzz 33d7855229
Improve first play 2018-04-03 15:18:24 +02:00
Chocobozzz c6352f2c64
Improve player
Add a settings dialog based on the work of Yanko Shterev (@yshterev):
https://github.com/yshterev/videojs-settings-menu. Thanks!
2018-04-03 14:02:10 +02:00
Chocobozzz 6b9af12936
Add opacity effect on control bar icons 2018-04-03 12:06:28 +02:00
Chocobozzz e993ecb3b7
Improve player progress bar 2018-04-03 12:06:28 +02:00
Chocobozzz 0dcf9a14be
Fix player error when the media is not supported 2018-03-26 15:29:04 +02:00
Chocobozzz b00d377021
Test to remove google as stun server 2018-03-23 16:46:51 +01:00
Chocobozzz d402fb5b7a
Update stun servers 2018-03-23 16:02:07 +01:00
Chocobozzz a216c6233d
Fallback to torrent file if there is an incorrect info hash 2018-03-23 09:46:08 +01:00
Chocobozzz 09700934b9
BEARKING CHANGE: Update videos API response
before beta
2018-03-19 11:04:40 +01:00
Chocobozzz 066e94c538
Add "local" videos in menu 2018-03-13 10:24:28 +01:00
Chocobozzz 0f56c6e5ff
Make it works on iOS 2018-03-06 10:01:46 +01:00
Chocobozzz ff7589ba1b
Fix player dispose exception 2018-03-02 09:15:05 +01:00
Chocobozzz 3ec8dc0962
Cleaner videojs control bar implementation 2018-03-01 19:02:51 +01:00
Chocobozzz 1198a08cc7
Fix playback rate 2018-03-01 14:14:56 +01:00
Chocobozzz bf5685f0b7
Add fallback to HTTP 2018-02-26 10:49:27 +01:00
Chocobozzz 8a8e02a43e
Add help tooltip 2018-02-22 18:32:31 +01:00
Chocobozzz 07fa4c97ca
Add support to video support on client 2018-02-20 16:13:55 +01:00
Chocobozzz 16f1657097
Fix issue with webm and opus video 2018-02-18 09:48:07 +01:00
Chocobozzz 3bcfff7f44
Fix video play promise error on non supported browsers 2018-02-14 18:04:30 +01:00
Chocobozzz 8cac1b6446
Move adding a video view videojs peertube plugin 2018-02-14 17:16:32 +01:00
Chocobozzz 151edeee3a
Better peertube icons 2018-02-08 11:23:05 +01:00
Lucas Teixeira 9ccf111912 Include Web Manifest (#273)
* Include Web Manifest

Now we need to fix the path, which shouldn't be hard.

* Delete unused icon

* Remove Thumbs.db

That file was automatically generated

* Fixed icon path

* Fixed typo
2018-02-08 09:52:35 +01:00
Chocobozzz 481d35966f
Fix video play on google chrome 2018-02-07 10:03:11 +01:00
Chocobozzz 36f9424ff1
Add about page 2018-01-31 17:51:04 +01:00
Chocobozzz 531ab5b627
Don't play video if user paused it during loading 2018-01-23 15:02:48 +01:00
Chocobozzz 339632b4a3
Fix changing video in watch page 2018-01-12 17:17:45 +01:00
Chocobozzz d77014491b
Add hotkeys in video player
Double click for full screen
2018-01-09 15:40:46 +01:00
Chocobozzz a22bfc3ebc
Refractor peertube videojs plugin 2018-01-09 15:29:05 +01:00
Chocobozzz 4635f59d7c
Add video comment components 2017-12-27 16:11:53 +01:00
Chocobozzz 5f0805d39b
Design modals 2017-12-20 17:49:58 +01:00
Chocobozzz 8fa5653ad8
Add transition on play/loading player 2017-12-20 11:05:10 +01:00
Chocobozzz 85414add64
Fix player play exception on chromium 2017-12-19 15:17:43 +01:00
Chocobozzz b682782093
Upgrade to angular 5 2017-12-12 13:58:03 +01:00
Chocobozzz 63c4db6d71
Move to angular cli 2017-12-12 10:58:16 +01:00
Chocobozzz ed9f9f5fb0
Fix changing video we are watching 2017-12-11 11:20:54 +01:00
Chocobozzz a86309b4af
Responsive player 2017-12-11 09:13:01 +01:00
Chocobozzz cd83ea1b90
Design admin data tables 2017-12-08 14:34:17 +01:00
Chocobozzz 04e0fc4888
Begin admin design 2017-12-08 10:41:49 +01:00
Chocobozzz 27e1a06c33
First step upload with new design 2017-12-07 16:32:06 +01:00
Chocobozzz 4cc66133ab
Design video update 2017-12-07 15:18:03 +01:00
Chocobozzz 0727cab0df
Design video watch modals 2017-12-07 10:28:20 +01:00
Chocobozzz 7b272fd73f
Fix dropdown menu in video watch 2017-12-07 10:02:01 +01:00
Chocobozzz b1fa3eba70
Begin video watch design 2017-12-06 17:15:59 +01:00
Chocobozzz ce0e281d46
Client bulk delete 2017-12-06 15:07:17 +01:00
Chocobozzz 332542bc68
Add delete button to my videos 2017-12-06 14:05:38 +01:00
Chocobozzz a06a31c75c
Fix player control bar when video is not loaded 2017-12-05 18:43:15 +01:00
Chocobozzz 35fb2b68ff
Fix favicon ratio 2017-12-05 16:30:03 +01:00
Chocobozzz 6bafac54bf
Fix missing default avatar 2017-12-05 15:12:03 +01:00
Chocobozzz be6a480232
Design video player 2017-12-05 11:04:15 +01:00
Chocobozzz d2cc03aaad
Design account videos 2017-12-04 11:04:08 +01:00
Chocobozzz 2295ce6c4e
Add account avatar 2017-12-04 10:34:40 +01:00
Chocobozzz 26c6ee80d0
Implement header design 2017-12-01 13:15:53 +01:00
Chocobozzz b33f657c30
Begin new menu design 2017-12-01 10:55:56 +01:00
Chocobozzz 7dbdc3bace
Don't throw error on ice connection failed
Just log it in the console
2017-11-28 14:20:01 +01:00
Adam Magnier 8113a93a0d hide error message in https too (#108) 2017-10-26 07:46:15 +02:00
Chocobozzz a96aed1518
Add ability to download a video from direct link or torrent file 2017-10-19 14:58:28 +02:00
Chocobozzz 4dd551a066
Fix embed that does not start on firefox 2017-10-18 18:19:35 +02:00
Chocobozzz aa8b6df4a5
Client: handle multiple file resolutions 2017-10-06 11:03:09 +02:00
Chocobozzz b362290d40 Client: Use recharge typo for logo
http://www.dafont.com/recharge.font?text=PeerTube
2017-04-26 21:23:19 +02:00
Chocobozzz 4a6995be18 First draft to use webpack instead of systemjs 2016-06-03 22:08:03 +02:00