-
Notifications
You must be signed in to change notification settings - Fork 148
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
Restricted playback on Ionic app #106
Comments
This API is pretty much useless to me with so many restrictions. I have a couple recommended solutions below:
|
could you provide a link to a video that plays on mobile but doesn't play with this directive?
what do you mean by this? |
@brandly @brandly @brandly @brandly I really hope that this API could work with any Youtube video on mobile devices. Do you have any idea how to solve this? Also, is this API requesting video with HTTPS header? or http |
I have the same problem and I think the following is the reason: "It means that your friend's website uses the HTTP protocol and can be identified by IP address as to where her website is. If that IP address has not been restricted by UMG - then no problem. On the other hand - if your website use the "File" Protocol ( commonly used in Site Builders ) Then UMG can not detect where your website is. So in simple terms - your website is in a restricted region - or -and probably more likely - your website running "File" protocol - AKA - Developer Mode. Your website needs to be running on a Server ( AKA www or at least http)" The Ionic App runs on mobile device using "file:///" and the browser/server using "http(s)://", that is why the problem occurs only in the mobile device. |
Some sites report using origin:"https://www.yoursite.com" in your playervars works. Didn't work for me. Stinks because my entire app relies on using overlays to improve music videos. Now I have to figure out an effective way to filter out vevo and other restricted videos. "embeddable" doesn't help because vevo are embeddable, just not for mobile. One other thing to check is uploading the app to a web server and running it from there. My app doesn't use any native functions, so that might work. |
@fzschornack Thank you for your reply. So do you have a solution for this? Thank you!:) |
@AtomSub I feel you. My app is totally useless with so many restrictions. So you mean I can try to set playvar origin:https://www.youtube.com? I am building a mobile app with Ionic Framework. I don't have a website. What should I put for the origin? Thx:) |
@UniSoundEcho You're supposed to put the url of your "website" and I think the purpose is to identify your site if you've been "whitelisted" by YouTube to embed these videos. I've tried different values though , with no success, so I can't really offer any advice. |
It worked on Android? Did you try multiple videos?
|
@AtomSub I tried with the following code but it is still giving the same error on android
Can you share your code as itried lot of ways but none of them worked |
Hi,
I am using this API and it works fine, but there are certain videos like Vevo that are restricted from playing on Mobile device. I think this is not the fault of the APIrather the mobile device. There is no restriction when I run the ionic app in my browser. I bet there is a way to remove the restriction. Please help!!
The text was updated successfully, but these errors were encountered: