Hi there,
Does anybody notice the behave change on <video> tag in new iOS 4? ie, video
is forced to play in portrait mode, and can NOT rotate to landscape mode.
<video id="video" name="video" src="url_to_media_file" height="300"
width="140" scale="1" poster="url_to_poster_file"/>
<a href="javascript:var myVideo=document.getElementsByTagName('video')[0];
myVideo.play();">Play Video (duration: 02:31, size: 10.18mb)</a>
Portrait/landscape rotation is fine if using <embed> tag instead of <video>
tag. However I choose to use <video> tag because of this reported issue:
http://code.google.com/p/iui/issues/detail?id=193
I also want to use javascript to play video because I need put some text
description, I am not sure if <embed> tag supports such usage or not:
video.play();
The phone is iPhone 3G.
Is it a bug? or a feature of iOS 4?
--
Sent from my mobile. Ignore the typos unless they're funny.
--
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en.