<!DOCTYPE html>
<html>
<head>
<link href="http://vjs.zencdn.net/c/video-js.css" rel="stylesheet" type="text/css">
<script src="http://vjs.zencdn.net/c/video.js"></script>
</head>
<body>
<video id="example_video_1" class="video-js vjs-default-skin" controls preload="none" width="340" height="264"
poster="http://video-js.zencoder.com/oceans-clip.png"
data-setup='{"controls":true}'>
<source src="http://video-js.zencoder.com/oceans-clip.mp4" type='video/mp4' />
<source src="http://video-js.zencoder.com/oceans-clip.webm" type='video/webm' />
<source src="http://video-js.zencoder.com/oceans-clip.ogv" type='video/ogg' />
</video>
</body>
</html>
this code show the video player.video is not played while clicking play button.
I use this link videojs.com for creating videoplayer in android phonegap. video player is created successfully.but video is not played.It;s work fine in browser,but not in emulator.I want to play youtube video using that player. how to solve this problem.please guide me.it's urgent.thanks in advance .
how to play video using html5 videoplayer in android phonegap
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…