Hello all,

The current project I am working on is based in the HTML language with a java 
wrapper to go on the iphone IOS4.

My current issue is that video is not being handled the way I want it to.
The video should open with 1 click and return to the previous screen.

If anyone has any advice/suggestions on how to accomplish this task it would be 
extremely helpful.

The issues & code snippets I have tested are :

This code plays the video and exit's to the previous screen but requires 2 taps 
(one to remove the image 2nd to play the video):
<div><img src="video.png" height="150" width="200" alt="" 
style="cursor:pointer;" onclick="this.parentNode.innerHTML = '\x3Cembed 
src=\'videos.mov\' width=\'200\' height=\'150\' autoplay=\'true\' 
controller=\'true\' type=\'video/quicktime\' scale=\'tofit\' 
pluginspage=\'http://www.apple.com/quicktime/download/\'\x3E 
\x3C/embed\x3E';"></div>

This code plays the video with 1 click however on exit goes to a fullscreen 
grey box with the play button (not back to the original screen):
<a href="videos.mov" target="popup" type="video/quicktime"><img 
src="videos.png"></a>

The following does NOT work: (shows the grey video button but will not play 
when tapped)
<embed src="videos.mov" width="200" height="150" autoplay="true" 
controller="true" type="video/quicktime" scale="tofit" 
pluginspage="http://www.apple.com/quicktime/download/";> </embed>
<OBJECT classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B' width="200"   
height="150" codebase='http://www.apple.com/qtactivex/qtplugin.cab'>  <param 
name='src' value="videos.mov">  <param name='autoplay' value="true">  <param 
name='controller' value="true">  <param name='loop' value="true">  <EMBED 
src="videos.mov" width="200" height="150" autoplay="true"   controller="true" 
loop="true" pluginspage='http://www.apple.com/quicktime/download/'>  
</EMBED></OBJECT>
<video src="videos.mov" controls="controls">your browser does not support the 
video tag</video>



Thank you for taking the time to look this over and any suggestions or advice 
would be appreciated.


Regards,

Kevin

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to