{"id":1454,"date":"2017-05-14T09:08:30","date_gmt":"2017-05-14T01:08:30","guid":{"rendered":"http:\/\/www.xttblog.com\/?p=1454"},"modified":"2017-05-14T09:08:30","modified_gmt":"2017-05-14T01:08:30","slug":"jquery-%e8%a7%86%e9%a2%91%e6%92%ad%e6%94%be%e5%99%a8-jquery-video-extend-%e8%af%a6%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=1454","title":{"rendered":"jQuery \u89c6\u9891\u64ad\u653e\u5668 Jquery-video-extend \u8be6\u89e3"},"content":{"rendered":"<p>\n\t<a href=\"https:\/\/github.com\/andchir\/jquery-video-extend\" name=\"jQuery Video Extend\" target=\"_blank\" title=\"jQuery Video Extend\">jQuery Video Extend<\/a> \u662f\u57fa\u4e8e <a href=\"http:\/\/jquery.com\/\" target=\"_blank\">jQuery<\/a> \u7684\u4e00\u6b3e\u89c6\u9891\u6269\u5c55\u63d2\u4ef6\u3002\u57fa\u4e8e <a href=\"http:\/\/baike.baidu.com\/item\/html5\" name=\"html5\" target=\"_blank\" title=\"html5\">HTML5<\/a>\uff0c\u652f\u6301\u591a\u79cd\u89c6\u9891\u683c\u5f0f\u7684\u64ad\u653e\uff0c\u5176\u4e2d\u5305\u62ec <a href=\"http:\/\/baike.baidu.com\/item\/flv\" name=\"flv\" target=\"_blank\" title=\"flv\">flv<\/a> \u89c6\u9891\u683c\u5f0f\u7684\u5185\u5bb9\u3002jQuery Video Extend \u62e5\u6709\u4ee5\u4e0b5\u5927\u4f18\u70b9\uff1a\n<\/p>\n<ul>\n<li>\n\t\t\u6dfb\u52a0\u89c6\u9891logo\uff0c\u4f8b\u5982\uff1a\u817e\u8baf\u89c6\u9891\u7684logo\uff0c\u4f18\u9177\u89c6\u9891logo\u3002\n\t<\/li>\n<li>\n\t\t\u6dfb\u52a0\u7c7b\u4f3c\u4f18\u9177\u89c6\u9891\u64ad\u653e\u8fdb\u5ea6\u6761\u4e0a\u7684\u6807\u8bb0\u4e0e\u6807\u7b7e\uff0c\u9884\u89c8\u7b49\u529f\u80fd\u3002\n\t<\/li>\n<li>\n\t\t<a href=\"http:\/\/baike.baidu.com\/item\/YouTube\" name=\"YouTube\" target=\"_blank\" title=\"YouTube\">YouTube<\/a> \u4e0a\u7684\u89c6\u9891\u683c\u5f0f\u7684\u5185\u5bb9\u5168\u90e8\u652f\u6301\u3002\n\t<\/li>\n<li>\n\t\t\u652f\u6301\u64ad\u653eFLV\u89c6\u9891\uff08\u57fa\u672c\u652f\u6301\uff09\u3002\n\t<\/li>\n<li>\n\t\t\u7b80\u5355\u4f5c\u51fa\u56de\u5e94\uff0c\u591a\u79cd\u4e8b\u4ef6\u652f\u6301\u3002\n\t<\/li>\n<\/ul>\n<p>\n\t\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"https:\/\/api.github.com\/repos\/andchir\/jquery-video-extend\/zipball\" name=\"jQuery Video Extend \u4e0b\u8f7d\" target=\"_blank\" title=\"jQuery Video Extend \u4e0b\u8f7d\">https:\/\/api.github.com\/repos\/andchir\/jquery-video-extend\/zipball<\/a>\n<\/p>\n<p>\n\t\u5b98\u65b9Demo\uff1a<a href=\"http:\/\/andchir.github.io\/jquery-video-extend\/\" name=\"jQuery Video Extend \u6848\u4f8b\" target=\"_blank\" title=\"jQuery Video Extend \u6848\u4f8b\">http:\/\/andchir.github.io\/jquery-video-extend\/<\/a>\n<\/p>\n<h2>\n\tjQuery Video Extend \u7684\u4f7f\u7528<br \/>\n<\/h2>\n<p>\n\t\u9996\u5148\u6211\u4eec\u8981\u5f15\u5165&nbsp;jQuery Video Extend \u7c7b\u5e93\u3002\n<\/p>\n<pre class=\"brush:xml;\">\r\n&lt;script src=&quot;js\/jquery-2.1.4.min.js&quot;&gt;&lt;\/script&gt;\r\n&lt;script src=&quot;js\/jquery.video-extend.js&quot;&gt;&lt;\/script&gt;<\/pre>\n<p>\n\t\u7136\u540e\u5f15\u5165 video \u6807\u7b7e\u8fdb\u884c\u89c6\u9891\u64ad\u653e\u3002\n<\/p>\n<pre class=\"brush:xml;\">\r\n&lt;video id=&quot;video1&quot; width=&quot;640&quot; height=&quot;360&quot; poster=&quot;video\/Sintel_poster.png&quot; controls&gt;\r\n    &lt;source src=&quot;video\/Sintel.mp4&quot; type=&quot;video\/mp4&quot;&gt;\r\n&lt;\/video&gt;<\/pre>\n<p>\n\t\u6211\u4eec\u8fd8\u53ef\u4ee5\u52a0\u5165\u7c7b\u4f3c\u4f18\u9177\u89c6\u9891\u8fdb\u5ea6\u6761\u4e0a\u7684\u9884\u89c8\u63d0\u793a\u529f\u80fd\u3002\n<\/p>\n<pre class=\"brush:xml;\">\r\n&lt;script&gt;\r\n$(document).bind(&#039;ready&#039;,function(){\r\n    $(&#039;#video1&#039;).videoExtend({\r\n        logo: &#039;img\/example_logo.png&#039;,\r\n        logoLink: &#039;http:\/\/www.codedq.net\/&#039;,\r\n        logoSize: [ 60, 40 ],\r\n        markers: [\r\n            {\r\n                time: 39.32,\/\/ seconds\r\n                text: &#039;www.xttblog.com&#039;\r\n            },\r\n            {\r\n                time: 350.23,\r\n                text: &#039;\u4e1a\u4f59\u8349&#039;\r\n            },\r\n            {\r\n                time: 470.88,\r\n                text: &#039;CODE\u5927\u5168&#039;\r\n            },\r\n            {\r\n                time: 677.82,\r\n                text: &#039;HTML5\u89c6\u9891\u64ad\u653e&#039;\r\n            }\r\n        ]\r\n    });\r\n});\r\n&lt;\/script&gt;<\/pre>\n<p>\n\tmarkers \u6807\u8bb0\u53e6\u5916\u4e00\u79cd\u5236\u4f5c\u65b9\u5f0f\uff1a\n<\/p>\n<pre class=\"brush:xml;\">\r\n&lt;video width=&quot;640&quot; height=&quot;360&quot; data-logo=&quot;img\/example_logo.png&quot; data-markers=&#039;[{\"time\":39,\"text\":\"Chapter 1\"},{\"time\":350,\"text\":\"Chapter 2\"}]&#039;&gt;\r\n    &lt;source src=&quot;video\/Sintel.mp4&quot; type=&quot;video\/mp4&quot;&gt;\r\n&lt;\/video&gt;<\/pre>\n<h2>\n\t\u5e38\u7528\u7684api<br \/>\n<\/h2>\n<pre class=\"brush:xml;\">\r\n&lt;script&gt;\r\n    $(&#039;#video1&#039;).get(0).play();\/\/ Play video\r\n&lt;\/script&gt;\r\n<\/pre>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=1454\">jQuery \u89c6\u9891\u64ad\u653e\u5668 Jquery-video-extend \u8be6\u89e3<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>jQuery Video Extend \u662f\u57fa\u4e8e jQuery \u7684\u4e00\u6b3e\u89c6\u9891\u6269\u5c55\u63d2\u4ef6\u3002\u57fa\u4e8e HTML5\uff0c\u652f\u6301\u591a\u79cd\u89c6 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[1179,49,495,1181,1180],"class_list":["post-1454","post","type-post","status-publish","format-standard","hentry","category-html5","tag-flv","tag-jquery","tag-video","tag-logo","tag-1180"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1454"}],"version-history":[{"count":1,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1454\/revisions"}],"predecessor-version":[{"id":1455,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1454\/revisions\/1455"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}