Commit Graph

47 Commits

Author SHA1 Message Date
Nathan DeTar 385d6bace8
Fix cast support to handle new video tag format. (#169)
* Added subtitle support to JS player.

* Move `video-item` id to source tag.

* Move `video-item` id to source tag.

* Fix cast support to handle new video tag format

* Add subtitle support to cast integration, WIP

* Replace `&amp` with `&` in video titles.

* Check if the video is already marked as watched

* Switch to HTML watched check.
2022-02-12 19:08:19 +07:00
Nathan DeTar 656a0c7327
Added subtitle support to JS player. (#168) 2022-02-11 08:53:09 +07:00
Nathan DeTar 9079a2a78b
Get Video Player Data Using New API (#151)
* Get  video player data using new API

* Spelling

* Removed extra data from play button

* Reworked createPlayer, switched functions to API

* Add theme to scrollbar

* Removed extra metadata from playlist page

* Removed extra metadat from channel page

* Reworked createPlayer, switched functions to API

* Update style.css

* Changed watched indicator to match createVideo()

* Fixed createPlayer() watched button

* Fix watched indicator duplication

* Minor clean up

* Removed player-wrapper background

* Added video/channel info to generated player

* Removed description due to textReveal() conflict

* Mark video as played at 90% playback

* Groundwork for saving video playback

* Add half and empty stars to getStarRating()

* Check videoProgress input.

* Added last refresh and date published

* Switched date in create functions to API

* Fomatted dates to match the old format

* Remove console log from formatDates()

* Cleaned up error on video player close

* Added check for ryd dislikes/rating

* Refined ryd check

* Simplified player

* Added player stats css formatting

* Formatting for playlist name/link

* Add playlist title/link to player

* Commented out no longer used code

* Fix missing end `"` on video-player class

* Additional playlist error checking

* Change setting video progress to html method

* center thumbs icon, add eye icon for watched

* add playerStats builder example, change some spacing

* Removed `-` before playlist, reordered cast button

* Minor cleanup of unused code.

* Corrected POST data formating

* consolidate video api calls into one

* remove redundant api calls for search result population

* do some jshint

* shorten unit and add K to formatNumbers

Co-authored-by: simon <simobilleter@gmail.com>
2022-02-05 18:26:31 +07:00
Nathan DeTar b7922d171d
Improved Cast Support (#143)
* Added cast integration requirements.

HTTPS and a supported browser are required for this integration.

* Improved cast handeling.

* Theme cast button.

* Improved cast support.

* Added proper cast button.

* Moved cast button location

* Moved button location

* Reorder cast button

* Fix typo

* Revert cast setting description.

* Match master branch

* Added comments

* Added id `cast-script` to cast-videos.js

* Reworked event listener

* Add cast  button to home player

* Check if active media on cast, pause browser video

* Commented out console logging

* Uncommented cast failed console log

* Cast video at current playback position

* use theme vars for cast color buttons

* add cast variable to base ArchivistViewConfig class

Co-authored-by: simon <simobilleter@gmail.com>
2022-01-15 13:33:16 +07:00
simon 099f9dfe00
make search results follow default view styles 2022-01-07 18:29:25 +07:00
simon 49eb565e2a
fix sort_by selected attribute and animation toggle 2022-01-02 16:25:05 +07:00
simon 4915aa0c11
remove now redundant search forms 2021-12-31 13:42:07 +07:00
simon e823d6e1b3
add multi search js functions to dynamically populate results 2021-12-30 22:13:47 +07:00
simon bf0b07f3d7
fix error when restarting player with same video 2021-12-18 17:15:53 +07:00
simon 3015e59a29
fix styling of sub unsub frontent feedback with span tag 2021-12-18 16:56:32 +07:00
simon f49895917a
change settings for backup restore 2021-12-14 19:06:47 +07:00
simon 279c4538ca
fix player wrapper and player channel links 2021-12-07 08:25:46 +07:00
simon 42eec604a7
reimagining the video player in theater mode, #98 2021-12-06 22:14:42 +07:00
simon 7516090e14
handle findPlaylists notification and fix spacing 2021-12-05 22:15:10 +07:00
simon a0d5837519
use new checkMessages for frontend button calls 2021-12-05 17:24:20 +07:00
simon b8f7aa3298
cleaner handeling of findPlaylists 2021-11-27 12:07:27 +07:00
simon 3f31e50b69
add delete download queue pending or ignored, #85 2021-11-25 20:02:25 +07:00
simon 39304ff2bd
add subscribe and unsubscribe buttons for channels and playlists, #81 2021-11-25 16:41:58 +07:00
simon 2ebd0a3e2f
extend unsubscribe for channels and playlists 2021-11-25 11:52:14 +07:00
simon 220d020c76
delete playlist buttons to frontend 2021-11-20 18:27:10 +07:00
simon 8d708fcdc8
add mark_playlist_watched and refactor mark_channel_watched to update_by_query 2021-11-20 10:58:25 +07:00
simon c3ece970ee
add playlist discovery button to channel_id page 2021-11-13 17:35:48 +07:00
simon b2a4f88980 add re_sync_thumbs to frontend 2021-11-01 16:42:07 +07:00
simon 266d3703cd validate search forms 2021-10-30 13:19:16 +07:00
simon e4352e5bec playsinline fix for mobile safari 2021-10-20 20:49:20 +07:00
simon ef75f6dd16 add delete channel to frontend 2021-10-09 20:33:32 +07:00
simon 8d3e2f14fc add delete video to frontend 2021-10-09 17:11:13 +07:00
simon 64ccd3830e implementing filesystem rescan to clean index 2021-10-08 14:56:07 +07:00
simon 0b88fd8b1f implement watched-unwatched toggle, #39 2021-10-07 23:38:17 +07:00
simon 7df4233224 cleaning up leftover code from old vesions 2021-10-03 19:33:58 +07:00
simon 5c2a8286d3 cleanup and fixing some spacing issues 2021-10-03 18:54:04 +07:00
simon ed73bff8fa implement toggle view ignored only in downloads page 2021-10-03 18:17:07 +07:00
simon 99781290db grid and list view for home and channel id templates 2021-10-01 16:24:39 +07:00
simon 7c34ceb9f8 framework to switch between grid and list view 2021-10-01 14:42:17 +07:00
simon 2905a67ab9 show ignored videos, forget or download ids 2021-09-28 16:53:45 +07:00
simon 2de99d7e37 better implementation for dl icon directly in message builder 2021-09-25 18:54:37 +07:00
simon c165f152a9 allowing to cancle download_now tasks 2021-09-25 17:40:33 +07:00
simon 51ec765433 add kill queue function to frontend 2021-09-25 15:35:36 +07:00
simon d0b54f8a88 add stop queue button to frontend 2021-09-24 18:03:22 +07:00
simon 1c3ca8364c added restore_from_backup to frontend and task 2021-09-20 20:26:28 +07:00
simon 3d2d11ba3a fix blocking issue where download_now wouldn't delay 2021-09-17 10:52:59 +07:00
simon c657baca97 backup functionality to frontend and tasks 2021-09-16 18:16:09 +07:00
simon 361d785e2e fix removing unsubscribe button 2021-09-15 20:54:30 +07:00
simon 0e4de95f97 moove animate function to general script 2021-09-15 20:47:26 +07:00
simon 297eb058cc added media files import to frontend and tasks 2021-09-14 18:24:02 +07:00
simon 7d60af1491 cleanup logging 2021-09-11 18:42:37 +07:00
simon dc9fd72cde minimal viable product 2021-09-06 00:10:14 +07:00