小编iac*_*ach的帖子

UIWebview dos不播放mp4视频

我尝试使用UIWebView从网站(带有HTML5视频标签)播放.mp4视频.iPhone/iPad设备和模拟器仅显示带有敲击播放按钮的黑框.如果我只是在Safari Mac版本上调用此网站,则可以播放它.怎么了?

它不是本地文件.html看起来像这样:

    <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta charset="utf-8" />
        <link rel="stylesheet" type="text/css" href="../css/shared-culture.css" />
    </head>
    <body>
        <section class="base">
            <hgroup>
                <h1>creative commons</h1>
                <h2>a shared culture</h2>
            </hgroup>

                <p>To celebrate our 2008 fundraising campaign, Creative Commons has
                    released “A Shared Culture,” a short video by renowned filmmaker <a
                        href="http://en.wikipedia.org/wiki/Jesse_Dylan">Jesse Dylan</a>. Known for
                    helming a variety of films, music videos, and the Emmy Award-winning <a
                        href="http://my.barackobama.com/page/invite/yeswecanvideo">“Yes We Can”</a>
                    Barack Obama campaign video collaboration with rapper will.i.am, Dylan created
                    “A …
Run Code Online (Sandbox Code Playgroud)

video screen frame uiwebview ios

9
推荐指数
2
解决办法
6946
查看次数

标签 统计

frame ×1

ios ×1

screen ×1

uiwebview ×1

video ×1