how to embed video in android apk

6 views
Skip to first unread message

Choo Yai Wen

unread,
Dec 20, 2015, 9:46:28 PM12/20/15
to html5...@googlegroups.com
Hai

I facing a problem to embed video into android apk. I am using dreamweaver cs6. Can you help me to check the code whether am i on the right track?

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Kaunseling</title>
<link href="../../myStyleSheet.css" rel="stylesheet" type="text/css">
<link href="../html/jquery-mobile/jquery.mobile-1.0.min.css" rel="stylesheet" type="text/css"/>
<script src="../html/jquery-mobile/jquery-1.6.4.min.js" type="text/javascript"></script>
<script src="../html/jquery-mobile/jquery.mobile-1.0.min.js" type="text/javascript"></script>
</head>
<body>

<div data-role="page" id="titismata" data-theme="f" class="fade">
      <div data-role="header" data-position="fixed" data-theme="f">
        <a href="#kaunseling" data-role="button" data-icon="arrow-l" data-iconpos="notext"></a>
        <h1>Kaunseling</h1>
        <a href="#home" data-role="button" data-icon="home" data-iconpos="notext"></a>
      </div>
     <div id="med" data-role="content" class="text">
        <p class="textBigTitle">Ubat Titis Mata</p>
        <video controls width="480" height="320" autoplay id="movie">
            <source src="Titismata.mp4">
        </video>
     </div>
</div>
</body>
</html>

I had tried on different brand of smartphone. It only works on samsung, others all cannot be played. Why?

Thank you.
Reply all
Reply to author
Forward
0 new messages