saria <!--DOCTYPE html--> <html> <head> <meta charset="utf-8" /> <meta name="description" content="Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor." /> <meta name="keywords" content="online javascript editor, testing javascript online, online ide, online code editor, html, css, coffeescript, scss online editor" /> <meta name="author" content="JSFiddle" /> <meta name="copyright" content="share alike" /> <meta name="robots" content="index, follow"> <meta name="googlebot" content="index, follow"> <meta name="google-site-verification" content="9m4aWTtDLfQ1kJNm3NtNsCrtpsOx_QoOPQRJ7jAwup8" /> <!--meta name="viewport" content="width=device-width, maximum-scale=0.5" /--> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-touch-fullscreen" content="yes" /> <script type="text/javascript" src="/js/_dist-editor.js?update_05_01_2016_1"></script> <link rel="stylesheet" type="text/css" href="/css/_dist-editor.css?update_05_01_2016_1"/> <link rel="stylesheet" type="text/css" href="/css/light.css?update_05_01_2016_1"/> <script type="text/javascript"> var fiddleOptions = { example_id: "14539610", exampleURL: "//jsfiddle.net/ramp/nF7Mw/", slug: "nF7Mw" }; var csspath = "/css/", jspath = "/js/", imgpath = "/img/", mediapath = "/mooshellmedia/", codemirrorpath = "/codemirror/", panel_html = 'html', panel_css = 'css', panel_js = 'javascript', makefavouritepath = "/_make_favourite/", example_server = "//jsfiddle.net", username = "", static_hash = "update_05_01_2016_1", csrfToken = Cookie.read('csrftoken'), editor_save = "", mooshell, preload_resources; Layout.skin = "light";// "light" window.addEvent('domready', function() { if (panel_js != 'javascript' && $('jslint')) { $('jslint').getParent('li').hide(); } $extend(Layout, new Events()); mooshell = new MooShellActions({ example_id: fiddleOptions.example_id, exampleURL: fiddleOptions.exampleURL, exampleSaveUrl: '/_save/', // sendCallbackURL: '', loadDependenciesURL: '/_get_dependencies/{lib_id}/', loadLibraryVersionsURL: '/_get_library_versions/{group_id}/' }); new MooShellEditor.JS(document.id('id_code_js'), { language: panel_js }); // add user defined parameters new MooShellEditor.HTML(document.id('id_code_html'), { language: panel_html }); // add user defined parameters new MooShellEditor.CSS(document.id('id_code_css'), { language: panel_css }); // add user defined parameters Layout.render(); // show editors and content when the last editor loads // this will prevent flickering, plus looks nice document.id('content').setStyle('opacity', 1); // always keep this at the bottom $$('select.panelChoice').each(function(sel) { this.switchLanguage(sel); }, mooshell); }); </script> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-366077-13', 'auto'); ga('send', 'pageview', '/[user]/[fiddle]/'); // where `url_structure` is for example `/[user]/[fiddle]/[revision]/embedded/js,css/` </script> <script> var _prum = [['id', '526a363eabe53df827000000'], ['mark', 'firstbyte', (new Date()).getTime()]]; (function() { var s = document.getElementsByTagName('script')[0] , p = document.createElement('script'); p.async = 'async'; p.src = '//rum-static.pingdom.net/prum.min.js'; s.parentNode.insertBefore(p, s); })(); </script> <script> window.intercomSettings = { app_id: "wafdmsew" }; </script> <script>(function(){var w=window;var ic=w.Intercom;if(typeof ic==="function"){ic('reattach_activator');ic('update',intercomSettings);}else{var d=document;var i=function(){i.c(arguments)};i.q=[];i.c=function(args){i.q.push(args)};w.Intercom=i;function l(){var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://widget.intercom.io/widget/wafdmsew';var x=d.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x);}if(w.attachEvent){w.attachEvent('onload',l);}else{w.addEventListener('load',l,false);}}})()</script> <link rel="icon" href="/favicon.png"> <link href="//fonts.googleapis.com/css?family=Fira+Mono&subset=latin,latin-ext" rel="stylesheet" type="text/css"> <link href="//fonts.googleapis.com/css?family=Lato:400,300,700'" rel="stylesheet" type="text/css"> <title>JWPlayer Demo - JSFiddle</title> </head> <body> <h1>Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.</h1> <h2>online javascript editor, testing javascript online, online ide, online code editor, html, css, coffeescript, scss online editor</h2> <form method="post" id="show-result" target="result" action="//fiddle.jshell.net/_display/"> <div style='display:none'><input type='hidden' name='csrfmiddlewaretoken' value='4BcmCLUf7dvp6q4iKPbMqGaJqW8i7zJm' /></div> <div id="header"> <div id="branding"> <p id="name" class="changelog-badge"><a title="JSFiddle " href="/" id="home" class="drop-target">JSFiddle</a></p> </div> <div id="actions"> <nav class="actionCont collapsed"> <div class="actionItem"> <a class="aiButton" id="run" title="Run (CTRL + Return)" href="#run"><i class="bts bt-play"></i>Run</a> </div> <div class="actionItem hidden"> <a class="aiButton" id="savenew" title="Save new Fiddle (CTRL + S)" href="#save"><i class="bts bt-pencil"></i>Save</a> </div> <div class="actionItem visible"> <a class="aiButton" id="update" title="Update (CTRL + S)" href="#update"><i class="bts bt-pencil"></i>Update</a> </div> <div class="actionItem visible"> <a class="aiButton" id="fork" title="Fork into a new Fiddle" href="#fork"><i class="bts bt-fork"></i>Fork</a> </div> <div class="actionItem"> <a class="aiButton" id="tidy" title="Tidy messy code" href="#tidy"><i class="bts bt-align-left"></i>Tidy</a> </div> <!-- <div class="actionItem"> <a class="aiButton" id="showjscode" title="Show JavaScript code" href="#showjs"><i class="bts bt-code"></i>Show JS</a> </div --> <div class="actionItem"> <a class="aiButton" id="collaborate" title="Collaborate on code" href="#collaborate"><i class="bts bt-commenting"></i>Collaborate</a> </div> </nav> <ul class="actionCont dropdown"> <li class="actionItem visible"> <a class="aiButton dropdownTrigger" id="share" title="Embed this Fiddle" href="#embed">Embed<i class="bts bt-angle-down rightIcon"></i></a> <div class="dropdownCont center"> <div class="dcWrapper embed"> <div id="creator"> <section> <h3>Tabs:</h3> <div class="inlineFields"> <label class="inputCont_checkbox checkboxCont"> <input type="checkbox" name="tabs" value="js" checked> <span class="checkbox"><i class="bts bt-check"></i></span> JavaScript </label> <label class="inputCont_checkbox checkboxCont"> <input type="checkbox" name="tabs" value="html" checked> <span class="checkbox"><i class="bts bt-check"></i></span> HTML </label> <label class="inputCont_checkbox checkboxCont"> <input type="checkbox" name="tabs" value="css" checked> <span class="checkbox"><i class="bts bt-check"></i></span> CSS </label> <label class="inputCont_checkbox checkboxCont"> <input type="checkbox" name="tabs" value="result" checked> <span class="checkbox"><i class="bts bt-check"></i></span> Result </label> </div> <!-- /inlineFields --> </section> <section class="noborder"> <h3>Visual:</h3> <div class="inlineFields"> <label class="inputCont_checkbox checkboxCont"> <input type="radio" name="skin" value="light" checked> <span class="radio"></span> Light </label> <label class="inputCont_checkbox checkboxCont"> <input type="radio" name="skin" value="dark"> <span class="radio"></span> Dark </label> </div> <!-- /inlineFields --> <label class="inputCont_text"> <input type="text" name="accentColor" maxlength="6" placeholder="Accent color"> </label> <label class="inputCont_text"> <input type="text" name="fontColor" maxlength="6" placeholder="Font color"> </label> <label class="inputCont_text"> <input type="text" name="menuColor" maxlength="6" placeholder="Menu background"> </label> <label class="inputCont_text"> <input type="text" name="bodyColor" maxlength="6" placeholder="Code background"> </label> </section> <section class="noborder"> <h3>Embed code <a href="#" class="codeTypeToggle">Prefer iframe?</a>:</h3> <div class="embedCodeWrap"> <textarea class="embedCode" id="share_embedded_dropdown" data-view="embed" data-pattern-value='<script async src="{embedSrc}"></script>'> <script async src="{embedSrc}"></script> <iframe width="100%" height="300" src="{embedSrc}" allowfullscreen="allowfullscreen" frameborder="0"></iframe> No autoresizing to fit the code Render blocking of the parent page
serti <script type="text/javascript" src="//cdn.embed.ly/player-0.0.11.min.js"> <script type="text/javascript" src="http://publishing.ramp.com/FileResource/widgets/metaplayer3/external/jwplayer/jwplayer.js"> <link rel="stylesheet" type="text/css" href="http://publishing.ramp.com/FileResource/widgets/metaplayer3/build/mp2/theme.mp2.css"/> <script type="text/javascript" src="//publishing.ramp.com/FileResource/widgets/metaplayer3/build/metaplayer-complete.js"> <style> h3 { color: #101010; font-family: Helvetica, Arial, sans-serif; margin: 20px; font-size: 20px; } .container { position: relative; } .metaplayer { width: 600px; height: 300px; outline: 1px solid red; } #transcript { margin-top: 10px; outline: 1px solid black; width: 600px; height: 100px; } #searchbar { outline: 1px solid black; width: 600px; } </style> <script type="text/javascript"> var jwp, video, player; $(function () { jwp = jwplayer('target').setup({ controls: false, // v6 controlbar: "none", //v5 width: "600", height: "300", autostart: true, icons: false, // disable a big play button on the middle of screen plugins: { viral: { onpause: false, oncomplete: false, allowmenu: false } }, // disable all viral features. flashplayer: "//publishing.ramp.com/FileResource/widgets/metaplayer3/external/jwplayer/player.swf", file: "//googledrive.com/host/0B9XJxML9RvoSbXpGdmdLUnUzbUE/DetectiveSeaDragonx264.mp4" }); jwp.onReady(function () { video = MetaPlayer.jwplayer(jwp); video.autoplay = true; player = MetaPlayer(video) .controlbar({ fullscreen: true }) .captionconfig() .transcript("#transcript") .searchbar("#searchbar") .mrss("//publishing.ramp.com/FileResource/widgets/metaplayer3/examples/data/elephants.mrss.xml") .srt() .load(); }); }); </script> serti Đọc thêm » 21 Jan 2016