如何在移动应用上嵌入视频

时间:2011-04-25 17:57:22

标签: iphone video mobile

如何在移动应用上嵌入视频,以便适用于iPhone和机器人?这是我正在使用的,似乎它对驱动电话不起作用....任何帮助?

<noscript>
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" 
codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="http://hostname/images/Large.jpg" />
<param name="href" value="http://hostname/mobile/videos/green.mp4" />
<param name="target" value="myself" />
<param name="controller" value="false" />
<param name="autoplay" value="false" />
<param name="scale" value="aspect" />
<embed type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/" 
src="http://hostname/mobile/videos/green.jpg" href="http://hostname/mobile/videos/green.mp4" target="myself" 
controller="false" autoplay="false" scale="aspect" />
</object>
</noscript>
</div>

<div class="video-desc"><a href="/video.aspx?videoCollectionNumber=1&language=" title="Clean Hands" target="_self"><span class="title">Clean Hands</span><span class="released">Sat, May 02, 2009</span><span class="description">Clean hands....</span></a></div></li></ul><ul class="menu"><li><h1 class="phone">Videos</h1><ul class="video-list"><li><div class="video">

1 个答案:

答案 0 :(得分:1)

您应该使用HTML5的<video>标记为iPhone / Droid嵌入视频。