我在php中做了一个网站(CakePHP框架),并使其apk在平板电脑上运行为webview,在点击Youtube视频重定向我的应用程序,我使用的代码如下:
<object width="311" height="176">
<param name="movie" value="http://www.youtube.com/v/<?php echo $video['Video']['video_key'];?>"></param>
<embed src="http://www.youtube.com/v/<?php echo $video['Video']['video_key'];?>" type="application/x-shockwave-flash" width="891" height="609"></embed></object>
谁能帮我运行这个嵌入的代码?
试一试
<iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www.youtube.com/embed/bIPcobKMB94" frameborder="0">