Comments (8)
Steps to reproduce:
- Open the Youtube App on your phone. (I've tested on Androdi 4.4 with latest youtube app installed)
- Click the "share arrow"
- Make sure "Share as [YOUR NAME]" is checked (It was checked by default)
- Choose another app. (I've chosen "Clipboard" and pasted somewhere else to see the link)
from jsvideourlparser.
I don't get those for some reason but there are more links out there like that so I'll just add it.
from jsvideourlparser.
Actually it seems like this is a new mediaType since the actual id of the video is A3PDXmYoF5U
. The shared url produces a new id that isn't a video in itself. Using the id from your share comes up with no existing video https://youtu.be/E14kBrDEvYo. I'm gonna make a bigger update later on and will add the new mediaType there.
from jsvideourlparser.
@Zod- any way to get the real id
?
I think you have to open one of these links on your phone before to start seeing an option to create them when you click the Share option on the Android Youtube App.....
from jsvideourlparser.
There's probably some YouTube API out there to figure out the real url but this parser isn't the right place to put it in.
from jsvideourlparser.
Are you saying this parser will not support this kind of URL's?
from jsvideourlparser.
I just browsed the YouTube API for a while and actually couldn't find anything that would allow you to resolve the real url. Like the list API for videos just returns nothing when you use 'E14kBrDEvYo'
as id.
But yeah I didn't want to add it anyway since this is really just about parsing some text and I really don't want some random YouTube API calls to it. Maybe there is a way to get the API to return the real url so what you could do is parse urls with this parser to know it's one of those shared urls and then do API calls with the results.
from jsvideourlparser.
Ok.... I agree.
Just as a side note: I've found a commit in youtube-dl
that deals with this type of URLs: ytdl-org/youtube-dl@4080530
They download the page and get the meta tag videoId
.
from jsvideourlparser.
Related Issues (20)
- [Feature Req] Vidyard support?
- [ Feature Request ] Microsoft Stream support
- Get more audio and video extension
- Spotify support?
- Bugs regarding twitch provider videos & clips
- [Feature request] Youtube shorts support HOT 1
- [Feature request] Instagram support
- Support unlisted vimeo urls with parameters
- Support Wistia short links
- Handle non existing Youtube imageQuality-ies HOT 1
- [FEATURE] Add tiktok as new provider HOT 1
- [Feature] Add Loom support HOT 1
- [Feature request] livestream.com support (Vimeo) HOT 2
- TS: Error in type declaration HOT 11
- Vimeo Live Stream Events shouldn't parse as videos HOT 3
- [tiktok] Short URL support
- provide title as part of the video info object after parsing url.
- YouTube /c/ and /user/ aliases are treated interchangeably but might point to different accounts
- Twitch mobile clip url not parsing correctly HOT 1
- Please add support for Vimeo hash on URLs
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 jsvideourlparser.