Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
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
Posted
Updated 11-Sep-12 3:18am
v2
Comments
ridoy 11-Sep-12 7:06am    
question isn't clear.do you want to know how to code for playing video in iPhone?
abhijit80 11-Sep-12 7:45am    
I am extremely sorry for that.
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.
abhijit80 11-Sep-12 7:46am    
please go through the following thread for details.

http://www.codeproject.com/Questions/456229/Play-video-from-deployed-application-on-IIS
AmitGajjar 11-Sep-12 9:33am    
are you using any flash to load your video ?
abhijit80 11-Sep-12 10:31am    
no..I am using player developed in html5..you can say it is html5 player..

1 solution

revisar http://www.daniusoft.com/es/iphone-4g/mp4-iphone-4g-mac.html[^]. ademas como te dijeron antes debes registrar en tu servidor los tipos mimes

AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm

Un saludo.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900