Comments (12)
@sanihaq I have finished implementing this feature. Could you take a look at the demo and let me know your feedback?
PR - #12
Demo - https://vimeo.com/673967473
from trimtube.
@iamsainikhil hey, I just want to add playlist created with a playlist link should auto update or at least have a button to update the playlist. anyway, keep up the good work. 👍
from trimtube.
@iamsainikhil this is great so far. please add a refresh button so playlist can be updated. I think it'll open up many more opportunities.
from trimtube.
I can use a regex to grab the playlist ID which should solve the above issue. 😄
Regex - https://regex101.com/r/U31ObX/1
from trimtube.
@iamsainikhil also, I think sorting playlist video by date (or a full blown sorting feature) would be great along with a update list button. shouldn't have any api overhead local sorting will do. Thanks. Your hard work is very much appreciated.
from trimtube.
@iamsainikhil also, I think sorting playlist video by date (or a full blown sorting feature) would be great along with a update list button. shouldn't have any api overhead local sorting will do. Thanks. Your hard work is very much appreciated.
@sanihaq could you create a issue (feature request) for this so it would be easy to track the progress?
from trimtube.
@iamsainikhil Ok. there's no rush, wish I could've helped, unfortunately I don't have much experience with next.js or react for that matter. 😟
from trimtube.
Thanks @sanihaq! That's a very good feature and I honestly missed it somehow in the app.
I will try to add this feature ASAP.
from trimtube.
The reason I went with creating the YT playlist in TrimTube with arbitrary name like Untitled
or Untitled-copy
is because the YouTube API response does not include metadata about the playlist itself, such as the playlist's title and description.
Additional metadata about the videos in the playlist can also be retrieved using the videos.list method which is an another API request.
To reduce API requests, I just went creating a playlist with the above names. However, I have added the functionality to edit a playlist name which should allow user to change the name.
from trimtube.
Thanks @sanihaq.
App doesn't support the URL format for the playlist search. So, you need to just paste the playlist ID and it should work.
The reason for doing this is because a playlist link could be:
- https://www.youtube.com/playlist?list=PLeLvSt3A0Ddk9lGjNqmzT0ctVPA5xfinn
- https://www.youtube.com/watch?v=XXYTRE34580eu&list=PLeLvSt3A0Ddk9lGjNqmzT0ctVPA5xfinn
from trimtube.
@iamsainikhil ohh, sorry my bad! got used to pasting video url.
from trimtube.
@sanihaq I have actually started working on it (sort) feature with ability to drag the videos in the playlists 😉.
However, I am busy working on making the YouTube video iframe autoplay video on mobile devices. This is an important problem to tackle compared to the above features.
Issue : #14
from trimtube.
Related Issues (7)
- Support for fetching playlist details based on the YouTube playlist link instead of just an ID
- Video doesn't autoplay on iOS devices HOT 1
- Ability to sort videos in playlist
- Add a button to update a playlist created with playlist link
- playlist not fetching the full list HOT 3
- using some playlist link leading to error HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trimtube.