-
Notifications
You must be signed in to change notification settings - Fork 887
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for viewing movie trailers with local api #4391
Add support for viewing movie trailers with local api #4391
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with the URL you provided in the PR body |
@efb4f5ff-1298-471a-8973-3d47447115dc are you using a vpn or a proxy? I was able to reproduce with a vpn (the movie wasn't available in the region my vpn was in) |
@ChunkyProgrammer Sounds like you need to also check the playability status of the trailer, the current code just assumes it always playable. |
Yes i was using a VPN but like i said when it was playable it on that server it also sometimes threw the error at me |
Age restricted trailer test: https://youtu.be/QgLjxu_xuzg |
Pull request was closed
Pull Request is not mergeable
Pull Request is not mergeable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
For anyone running into the same issues as me, use VPN server in Canada
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can confirm that it works as intended (tested with Canadian VPN server).
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
What's changed since I last tested~ |
The appearance and functionality of the movie items in search results (they had a broken channel link before, now it just shows the text. additionally the description will show up for them in the list layout). |
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No more error seen when searching Scott Pilgrim vs the World movie
(same VPN server)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
* development: (92 commits) Make video info section more concise (FreeTubeApp#4338) Playlist performance improvements (FreeTubeApp#4597) ! Fix playlist type not passed when playing next/prev item in a user playlist (FreeTubeApp#4623) Properly localize playlist view and video counts (FreeTubeApp#4620) Translated using Weblate (Croatian) Translated using Weblate (German) Translated using Weblate (Croatian) Fix search bar handling of Invidious channel URLs (FreeTubeApp#4568) Local API: List related games in featured channels section (FreeTubeApp#4562) Workaround community post slider dependency incorrectly calculating its size (FreeTubeApp#4598) Add support for viewing movie trailers with local api (FreeTubeApp#4391) Bump the eslint group with 2 updates (FreeTubeApp#4616) Translated using Weblate (French) Translated using Weblate (Finnish) Bump electron from 28.1.4 to 28.2.0 (FreeTubeApp#4611) Translated using Weblate (French) Bump the eslint group with 4 updates (FreeTubeApp#4581) Bump lefthook from 1.6.0 to 1.6.1 (FreeTubeApp#4608) Bump marked from 11.1.1 to 11.2.0 (FreeTubeApp#4612) Bump webpack from 5.89.0 to 5.90.0 (FreeTubeApp#4610) ...
Add support for viewing movie trailers with local api
Pull Request Type
Related issue
Going to a video uploaded by
YouTube Movies & TV
would cause an error and nothing would be displayed.Description
This PR will play the preview for movies.
Testing
(While using a canada vpn)
Scott Pilgrim vs the World movie
, click on the video byYouTube Movies & TV
Desktop