Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
171 views
in Technique[技术] by (71.8m points)

html - html5 video player

<!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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...