Youtube link in email does not open from iOS mail - iphone

Just using a link to a youtube video in an e-blast, works fine in any email client, but iOS won't open video. It opens youtube app and says 'can't open video' simple as that.
Anyone with experience in this?
I'm assuming you can't do any if/then being that you'll screw up some other email client.

If the video is disabled for playback on mobile devices (on the youtube video settings), this would happen.

Related

How can I link to featured music section in iTunes store application from my iphone application?

To be more descriptive, I do NOT want to link to particular song, or album as affiliation links. But only want to link to open the iTunes app with featured music section as open. Just like it is linked in iPhone's native music player application.
You want to send the user to the following URL - this will open the music store to the Featured tab.
https://itunes.apple.com/us/store
FWIW - this link works on both the desktop and mobile.

How to open my apps audio player to play audio after clicking an audio link which is present in email?

I am working on iphone application which plays audio in app.
I can share audio links via email. The person with whome I have shared link can listen to audio by clicking on audio link in the email.
What I need is, when user will click on audio link in email it should open my application and start playing in my apps audio player(if my app is already installed on the device). if app is not installed prompt user to download my app.
How to achieve this?
Thanks.
Well you will need to register your own URL scheme for your app. Read Apples Implementing Custom URL Schemes on how to do this.
But you can not make iOS prompt to install you app, since the OS does not know about you app.
What you could do is always open a website which will try to open your by its URL sheme and it this fails present the use a webpage that offers them to download it.
Please check this link http://mobile.tutsplus.com/tutorials/iphone/ios-sdk-working-with-url-schemes/. I hope it will be helpful.
About showing a prompt what you can do is always put your app's app store link in email saying "Please install app using below link if you don't have app installed on your device" or some other meaningful message you can have. Link will redirect user to app store page where user can install the app.

How to get Youtube URL into IPhone App

I'm developing an app were I would like to get youtube video url into my app from youtube app in IPhone. Whenever user clicks on video in youtube app that video's link should be directly retrieved into my app. Is it possible to do this?
Thanks
You can not get the data from some other app to your app...IOS doesnot allow it. All apps has their own separate documents directories. Only Media Files/contacts in phone are accessible.
Read this you might get some idea : Is it possible to access data across 2 different iOS apps?

How to send an email from UIWebView in iPhone?

I have a mailto: link in UIWebView, but when I tap it nothing happens,
How can I open email editor?
thanks
I've tried in this moment with mobile safari on my iPhone and when I tap on a mailto: link it open email composer.
Are you trying to do this in iPhone simulator?
If not, have you configured an email account on you iPhone?

How to play itunes videos in iphone?

I am new to iPhone development. I have a URL of a site.
On clicking the "visit itunes" button on page, the itunes for that particular site is opened in my Mac iTunes.
I am able to see the videos in iTunes. How can I implement this in my iPhone so that i can see the video in my iPhone?
Thanks.
You need Media Player Framework. If you use MPMoviePlayerController you can use initWithContentURL to show video from a URL.