配置kaltura视频播放器为Android

时间:2011-12-14 11:40:17

标签: java android video-streaming

我真的厌倦了这个。我想创建一个持有kaltura视频对象的网页。视频在PC浏览器上播放完美(通过点击“Force Mobile Safari”也可以。但是当在android设备中打开它时用控件打开播放器并捕获图像然后什么也没发生。我使用了kaltura演示中给出的基本配置,然后是许多其他配置,但没有结果。我的代码是

<!DOCTYPE html>
<html>
<head>
    <script type="text/javascript" src="http://html5.kaltura.org/js"></script>
    <script type="text/javascript">
        if( document.URL.indexOf('forceMobileHTML5') != -1 ){
            mw.setConfig( 'forceMobileHTML5' , true );
        }
    </script>
</head>
    <body>
    <h2> Fall forward: </h2>
    <a href="?forceMobileHTML5"> Force Mobile Safari</a> 
    <br />

    <script type="text/javascript" src="http://www.kaltura.com/p/806582/sp/80658200/embedIframeJs/uiconf_id/6470722/partner_id/806582"></script>

    <object id="kaltura_player_1323844681" name="kaltura_player_1323844681" 
            type="application/x-shockwave-flash" allowFullScreen="true" 
            allowNetworking="all" allowScriptAccess="always" height="333" 
            width="400" bgcolor="#000000" xmlns:dc="http://purl.org/dc/terms/"
            xmlns:media="http://search.yahoo.com/searchmonkey/media/" rel="media:video" 
            resource="http://www.kaltura.com/index.php/kwidget/cache_st/1323844681/wid/_806582/uiconf_id/6470722/entry_id/0_4l0z0y9o"
            data="http://www.kaltura.com/index.php/kwidget/cache_st/1323844681/wid/_806582/uiconf_id/6470722/entry_id/0_4l0z0y9o">
        <param name="allowFullScreen" value="true" /><param name="allowNetworking" value="all" />
        <param name="allowScriptAccess" value="always" /><param name="bgcolor" value="#000000" />
        <param name="flashVars" value="&{FLAVOR}" />
        <param name="movie" value="http://www.kaltura.com/index.php/kwidget/cache_st/1323844681/wid/_806582/uiconf_id/6470722/entry_id/0_4l0z0y9o" />
        <a href="http://corp.kaltura.com">video platform</a> 
        <a href="http://corp.kaltura.com/video_platform/video_management">video management</a> 
        <a href="http://corp.kaltura.com/solutions/video_solution">video solutions</a>
        <a href="http://corp.kaltura.com/video_platform/video_publishing">video player</a>
        <a rel="media:thumbnail" href="http://cdnbakmi.kaltura.com/p/806582/sp/80658200/thumbnail/entry_id/0_4l0z0y9o/width/120/height/90/bgcolor/000000/type/2"></a>
        <span property="dc:description" content=""></span>
        <span property="media:title" content="Normal web quality video (400kbps)"></span>
        <span property="media:width" content="400"></span>
        <span property="media:height" content="333"></span>
        <span property="media:type" content="application/x-shockwave-flash"></span> 
    </object>
</body>

我在kaltura论坛上问这个也无奈。任何帮助都非常感激。 感谢。

0 个答案:

没有答案