Do i need to write extra code for newly added youtube video in iphone? - iphone

I am new in iPhone development. I want to create an app which will show youtube videos those i will upload in my account.
I will have admin panel in my app, from where i could control my videos. Suppose i developed the app and launched on app world.
Now after some time I want to add new videos to my account , should i need to write extra code or it will reflect automatically via used link in iphone app?

Speaking generally, you could have the application find your newest videos released in Youtube and display them in the app. Therefore, you would not need to have any more code.
There would be no code for any video within your app. Instead, have your app get the list of the videos from Youtube and play them.

Related

Creating a new directory in the photo library of iPhone using PhoneGap

I am currently developing an mobile app using the PhoneGap framework. I am just wondering if there is any PhoneGap APIs or plugins that will allow us to create a new directory inside the iPhone's photo library. So every time when a user is using my app to capture a picture, I can have it saved into that directory.
From my little knowledge, currently you cant create a new directory inside the iPhone's photo library using phoneGap
However you can save an image in to iPhone's photo library.
See the below code
save image
function runImageTest(img)
{
PhoneGap.exec("ImageHelper.saveToUserLibrary",img);
}
Please see the discussions here

Is it possible for a web based app to retrive images from an iphone?

I'm creating a website which I would like to be supported on the iphone as well. The site allows users to upload images and manipulate them. On a desktop the user will simply click the upload button to select the file from their computer and upload it to the site. But this will fail on an iphone.
Is there any way for a pure web app which is using php/mysql/js and runs inside the browser to get images from a user's camera roll? Does Apple offer any APIs to make this possible?
No, it's not possible currently - but apparently iOS 6 is going to support image and video uploads from MobileSafari.
(Apart from that, you can ask your users if their device is jailbroken and id so, suggest them downloading Safari Upload Enabler from Cydia).

(iOS) Is there a way for an app to open the iTunes music player app (preferably going straight to the Now Playing screen)?

I would like to be able to launch the iTunes app from my app when I tap a button (note that I mean the actual music player, NOT the iTunes Store or App Store). Preferably I'd like it to go straight to the Now Playing screen. Is there any way to accomplish this?
Yes, it is possible to open the iTunes music player to the "now playing" screen using the music:// URL scheme. Found this out rather incidentally while reading this post on how to quickly launch apps using Siri.
Also, here are a few sites that you might find handy if you ever need to answer the question "Can I open Application X with a url?"
handleOpenURL - a searchable database of iOS apps that accept URLs (and the URL schemes they take). You can submit your apps here.
Adrian Kosmaczewski's Wiki lists quite a few iOS app url schemes as well.
app lookup blog has more.

Creating links on a web page that tell a mobile device to play the media such as mp4 rather than download it. (android / iphone)

Is there a way to specifically format a link on my page to tell a mobile device such as an Android phone or an iPhone that when a user clicks a link to a mp4 file (for example) to go ahead and play it (or ask the user if they want to play it) using their phone media player?
I'm working on a web app with mixed results, most of the times the device just goes straight into download mode, and attempts to save the file to the downloads folder, but what I would like is to make it so the device starts automatically playing the file as soon as possible.
My app is basically a file sharing app that creates qr codes and thus allows you to share media to mobile devices... the thing is, when it comes to video files and maybe images, I want the phone to automatically display the media and not just download it.
Any help would be greatly appreciated. You can see the app here http://scan2see.me
You could always use a <video> tag to make your videos play instead of just linking to them.
FYI iOS devices never download anything, unless jailbroken and with Safari Download Manager plugin (or other one like it) installed. So even if you just link, it will always play. And the reason why all videos play at full screen is because the iOS instantiate Quicktime to play it.

Is there any way to play video on an iphone from a website, without using youtube or a custom app?

I'd like website viewers to be able to play a video on an iphone, without posting the video to youtube, and without them having to install any iphone apps. Are there any other options here?
If you host a Quicktime movie, it'll play just fine without any additional software. There is a "designing web pages for the iPhone" document somewhere on Apple's web site that gives more detail on supported formats, I think.
just having a link to a quicktime-playable video file works I believe