* Replaced isWatched() function.
* Switched to `updateVideoWatchStatus()` function
* Updated Onclick to `updateVideoWatchStatus(this)`
* Handle `this` input in `updateVideoWatchStatus()`
* Reduce API calls
* Fix video id
* Updated `createVideoTag()` description.
* Fixed URL used for cast integration
* Check video duration
* Updates progress bar on watched and close.
* Set progress bar width to 0% by default
* Cleanup, function descriptions
* Cleanup console logging
* Update progress bar on cast progress every 10s
* Catch short <30s videos and mark as watched
* Added cast integration docs.
* Changed header sizes.
* Added more space above Requirements
* Added cast integration docs.
* Removed separate cast integration docs
* Further indented quote from Google
* Switch to HTML based video position.
* Ground work for API changes and video progress
* Added onpause attribute to video.
* Added save video progress feature.
* Added API check for subtitle status.
* Switch method to DELETE if position is 0
* Added `createVideoTag()` function
* Added `InsertVideoTag()` function
* Switch to JS generated video tag, add on page load
* Removed extra data from DELETE request
* Removed unused code
* Reduced duplicate code
* Cleanup & groundwork cast pull metadata from API
* Minor bug fix
* Fix saving video progress on player close.
* Only send video progress when unwatched
* Cleanup
* Added `getURL()` function
* Cast use API & save progress/mark as watched
* Added cast progress checks
* Changed thresholds for marking videos as watched
* Added `watchedThreshold()` function
Changes:
- merges subtitle suport for JS video player
- merges hint what to do when no videos found
- merges better indexing and error handeling of subtitles
* 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 `&` with `&` in video titles.
* Check if the video is already marked as watched
* Switch to HTML watched check.
* 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>
* 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>
* Added Start and Stop cast buttons.
* Modified from the internet.
* Code to initialize casting
* Added `video-item` id to video
* Renamed function to make more sense
* Renamed cast functions to make more sense
* Renamed cast functions to make more sense
* Changed console logging message.
* Make cast buttons appear if enabled in settings.
* Make cast scripts only load if enabled in settings
* add cast configuration form, #140
* fix spelling
Co-authored-by: simon <simobilleter@gmail.com>