How to play Text Tone from HTML5 app in iPhone - iphone

How do I play a iphone Text tone from my application that's running on safari browser?

I believe Mobile Safari outputs the contents of the HTML5 <audio> tag via the separate iOS media player. If you want audio within your webpage, take a look at jPlayer, a jQuery plug-in for audio.

Related

Play Video on Iphone using code developed in html5

I am playing videos through my asp.net application on desktops and mobile phones as well.
I have a code which is written in html using video tag. I send URL to user to play a video and it works totally fine on desktop's including Mac as well. I have tried accessing it on Samsung galaxy SII phone which has got android os in it. my video works on it with no issues but when I try to access that URL on iPhone player.aspx gets load properly but it just doesn't play the video.
Video is in .mp4 format.
I am playing it in IPHONE on safari browser.
Can anyone please help me regarding it.
Thank you

How to make mp4 video files open in native video players on iPhone and Android?

I am trying to make video files open in native Android and iPhone video players instead of playing on the web page. Right now I do it with a regular link Standard which does not work on Android and not always working on iPhone. What can I do to make it work?
Changing to a .m4v extension may fix your problem with opening in the iPhone video player.

Listening to an mp3 from a website with an iPhone / iPad

I've seen the answers to how to correctly add an MP3 to a website so that it'll play by default in iPad or iPhone - this question is different.
For a visitor of a website -- how can you hear that mp3? Changing the code of the webpage is not an option. The site/mp3 in question is on the bottom of this page: http://187.45.233.63/novenas.php?id=pa30_01_2011 (the mp3, not the video).
iOS (iPad and iPhone) doesn't support Flash, but that page is using Flash to play the MP3 (and the video).
The only way an iOS user could get to it is to view the source and copy and paste the path (videos/novenas/paieterno_30_01_2011.mp3) to the MP3.

Flash Component in iPhone

i have few questions regarding flash components in iphone
I would like to know if a safari browser in iphone can play a flash component(swf file).
Do i need to download a plugin for safari ? If so will the plugin update the existing safari browser or will it be another standalone application which plays the swf file in the safari browser? same doubt i have with mozilla browser in iphone.
I have a swf file .Will i be able to embed that to a native application in iphone.
I saw that iphone flash application can be developed and such applications are present in app store.If so which version of adobe flash has that capability ? (cs4 or cs5)
The Flash plugin is not available on iPhone, and will certainly never be...
You might take a look at Adobe Flash CS5, which will be able to create native iPhone apps from AS code.
http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/
You might be able to embed a Flash SWF into your app using Hirameki. Still not ready for market, but it plays Flash animations directly from a SWF file inside a native app.
http://flash-on-iphone.com/demo

video content on iPhone Safari/UIWebView

In my application I have a UIWebView that is able to play Youtube videos normally, but I'd like to play some videos from a website other than Youtube.
If i try to play those videos in the iPhone Safari browser it opens in the same way that YouTube videos (fullscreen mode, showing the player), but that doesn't happen in the UIWebView inside my application.
As an example, consider the following URL: http://m.video.globo.com/#video.php?id=1174097 (don't forget to open it in the simulator)
I didn't have to download any plugin or application to play it.
Both JavaScript and Plug-Ins options in the iPhone Settings are turned on.
Is there something wrong with my UIWebView? All I'm doing is loading the webpage using the "loadRequest" method from UIWebView class.
Thanks in advance.
The iPhone has support for youtube videos, (hence the built in youtube player), other than that it supports only quicktime. There is no support for other formats: most sites use flash for video these days (inc youtube), but flash is not supported on the iPhone. I site embedding a youtube video will work, but one embedding a video hosted elsewhere will not (unless its quicktime)