{"id":1378,"date":"2016-04-04T21:32:49","date_gmt":"2016-04-04T21:32:49","guid":{"rendered":"https:\/\/www.codexworld.com\/?p=1378"},"modified":"2016-04-05T15:25:47","modified_gmt":"2016-04-05T15:25:47","slug":"build-html5-video-player-custom-controls","status":"publish","type":"post","link":"https:\/\/www.codexworld.com\/build-html5-video-player-custom-controls\/","title":{"rendered":"Build a HTML5 Video Player with Custom Controls"},"content":{"rendered":"<p>Are you looking for a simple video player to embed video in webpage? Using HTML5 you can easily implement the video player in the webpage. You don&#8217;t need to using any jQuery plugin or flash for that. The HTML5 &lt;<span style=\"color:#bf4f24\">video<\/span>> element provide a standard way to embed the video file in the web page.<\/p>\n<p>The following HTML displays a video player in web page.<\/p>\n<pre>&lt;<span style=\"color:#bf4f24\">video<\/span> <span style=\"color:#bf4f24\">width<\/span>=<span style=\"color:#0b6125\">\"520\"<\/span> <span style=\"color:#bf4f24\">height<\/span>=<span style=\"color:#0b6125\">\"250\"<\/span> <span style=\"color:#bf4f24\">controls<\/span>>\r\n    &lt;<span style=\"color:#bf4f24\">source<\/span> <span style=\"color:#bf4f24\">src<\/span>=<span style=\"color:#0b6125\">\"videos\/codexworld.mp4\"<\/span> <span style=\"color:#bf4f24\">type<\/span>=<span style=\"color:#0b6125\">\"video\/mp4\"<\/span>>\r\n    Your browser does not support HTML5 video.\r\n&lt;\/<span style=\"color:#bf4f24\">video<\/span>>\r\n<\/pre>\n<ul class=\"bullet_disk_list\">\n<li><code>controls<\/code> attribute adds controls to video, like play, pause, full screen, volume, etc.<\/li>\n<li>Include width and height to specify the size of video.<\/li>\n<li>It is also a good idea to display a message when &lt;<span style=\"color:#bf4f24\">video<\/span>> element is not supported by the browser. The text between the &lt;<span style=\"color:#bf4f24\">video<\/span>> and &lt;\/<span style=\"color:#bf4f24\">video<\/span>> tags will display when browser is not support HTML5 video.<\/li>\n<\/ul>\n<p><code>autoplay<\/code> attribute is used to start video automatically. To start video automatically on page load, place the <code>autoplay<\/code> attribute into the &lt;<span style=\"color:#bf4f24\">video<\/span>> element.<\/p>\n<pre>&lt;<span style=\"color:#bf4f24\">video<\/span> <span style=\"color:#bf4f24\">width<\/span>=<span style=\"color:#0b6125\">\"520\"<\/span> <span style=\"color:#bf4f24\">height<\/span>=<span style=\"color:#0b6125\">\"250\"<\/span> <span style=\"color:#bf4f24\">controls<\/span> <span style=\"color:#bf4f24\">autoplay<\/span>>\r\n    &lt;<span style=\"color:#bf4f24\">source<\/span> <span style=\"color:#bf4f24\">src<\/span>=<span style=\"color:#0b6125\">\"videos\/codexworld.mp4\"<\/span> <span style=\"color:#bf4f24\">type<\/span>=<span style=\"color:#0b6125\">\"video\/mp4\"<\/span>>\r\n    Your browser does not support HTML5 video.\r\n&lt;\/<span style=\"color:#bf4f24\">video<\/span>>\r\n<\/pre>\n<h2>HTML5 Video Player Custom Controls<\/h2>\n<p>HTML5 defines DOM properties, method, and events which allow you to define custom video controls. Using custom controls, you can add or modify the video controls buttons and add a logo in the video player.<br \/>\nIn the following example, we&#8217;ve implemented some custom control buttons using JavaScript, you can add many other custom controls in HTML5 video player<\/p>\n<p><b>HTML:<\/b><\/p>\n<pre>&lt;<span style=\"color:#bf4f24\">button<\/span> <span style=\"color:#bf4f24\">onclick<\/span>=<span style=\"color:#0b6125\">\"playPause()\"<\/span>>Play\/Pause&lt;\/<span style=\"color:#bf4f24\">button<\/span>>\r\n&lt;<span style=\"color:#bf4f24\">button<\/span> <span style=\"color:#bf4f24\">onclick<\/span>=<span style=\"color:#0b6125\">\"reload()\"<\/span>>Reload&lt;\/<span style=\"color:#bf4f24\">button<\/span>>\r\n&lt;<span style=\"color:#bf4f24\">button<\/span> <span style=\"color:#bf4f24\">onclick<\/span>=<span style=\"color:#0b6125\">\"makeLarge()\"<\/span>>Large&lt;\/<span style=\"color:#bf4f24\">button<\/span>>\r\n&lt;<span style=\"color:#bf4f24\">button<\/span> <span style=\"color:#bf4f24\">onclick<\/span>=<span style=\"color:#0b6125\">\"makeSmall()\"<\/span>>Small&lt;\/<span style=\"color:#bf4f24\">button<\/span>>\r\n&lt;<span style=\"color:#bf4f24\">button<\/span> <span style=\"color:#bf4f24\">onclick<\/span>=<span style=\"color:#0b6125\">\"makeNormal()\"<\/span>>Normal&lt;\/<span style=\"color:#bf4f24\">button<\/span>>\r\n&lt;<span style=\"color:#bf4f24\">br<\/span>>&lt;<span style=\"color:#bf4f24\">br<\/span>>\r\n&lt;<span style=\"color:#bf4f24\">video<\/span> <span style=\"color:#bf4f24\">id<\/span><span style=\"color:#794938\">=<\/span><span style=\"color:#0b6125\">\"videoPlayer\"<\/span> <span style=\"color:#bf4f24\">width<\/span>=<span style=\"color:#0b6125\">\"500\"<\/span>>\r\n  &lt;<span style=\"color:#bf4f24\">source<\/span> <span style=\"color:#bf4f24\">src<\/span>=<span style=\"color:#0b6125\">\"videos\/codexworld.mp4\"<\/span> <span style=\"color:#bf4f24\">type<\/span>=<span style=\"color:#0b6125\">\"video\/mp4\"<\/span>>\r\n  Your browser does not support HTML5 video.\r\n&lt;\/<span style=\"color:#bf4f24\">video<\/span>>\r\n<\/pre>\n<p><b>JavaScript:<\/b><\/p>\n<pre>&lt;<span style=\"color:#bf4f24\">script<\/span>> \r\n<span style=\"color:#a71d5d;font-style:italic\">var<\/span> video <span style=\"color:#794938\">=<\/span> <span style=\"color:#691c97\">document<\/span>.<span style=\"color:#693a17\">getElementById<\/span>(<span style=\"color:#0b6125\">\"videoPlayer\"<\/span>);\r\n<span style=\"color:#a71d5d;font-style:italic\">function<\/span> <span style=\"color:#bf4f24\">playPause<\/span>() { \r\n    <span style=\"color:#794938\">if<\/span> (video.paused) \r\n        video.play(); \r\n    <span style=\"color:#794938\">else<\/span> \r\n        video.pause(); \r\n}\r\n<span style=\"color:#a71d5d;font-style:italic\">function<\/span> <span style=\"color:#bf4f24\">reload<\/span>() { \r\n   video.<span style=\"color:#693a17\">load<\/span>(); \r\n}\r\n<span style=\"color:#a71d5d;font-style:italic\">function<\/span> <span style=\"color:#bf4f24\">makeLarge<\/span>() { \r\n    video.<span style=\"color:#b4371f\">width<\/span> <span style=\"color:#794938\">=<\/span> <span style=\"color:#811f24;font-weight:700\">1000<\/span>; \r\n}\r\n<span style=\"color:#a71d5d;font-style:italic\">function<\/span> <span style=\"color:#bf4f24\">makeSmall<\/span>() { \r\n    video.<span style=\"color:#b4371f\">width<\/span> <span style=\"color:#794938\">=<\/span> <span style=\"color:#811f24;font-weight:700\">250<\/span>; \r\n} \r\n<span style=\"color:#a71d5d;font-style:italic\">function<\/span> <span style=\"color:#bf4f24\">makeNormal<\/span>() { \r\n    video.<span style=\"color:#b4371f\">width<\/span> <span style=\"color:#794938\">=<\/span> <span style=\"color:#811f24;font-weight:700\">500<\/span>; \r\n} \r\n&lt;\/<span style=\"color:#bf4f24\">script<\/span>>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Are you looking for a simple video player to embed video in webpage? Using HTML5 you can easily implement the video player in the webpage. You don&#8217;t need to using any jQuery plugin or flash <\/p>\n","protected":false},"author":1,"featured_media":1380,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[163],"tags":[102,66,164],"class_list":["post-1378","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-html5","tag-html5","tag-javascript","tag-video-player","cat-163-id","has_thumb"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Build a HTML5 Video Player with Custom Controls - CodexWorld<\/title>\n<meta name=\"description\" content=\"Create HTML5 video player to embed video in webpage - Simple script to build a html5 video player with custom controls.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.codexworld.com\/build-html5-video-player-custom-controls\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Build a HTML5 Video Player with Custom Controls - CodexWorld\" \/>\n<meta property=\"og:description\" content=\"Create HTML5 video player to embed video in webpage - Simple script to build a html5 video player with custom controls.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.codexworld.com\/build-html5-video-player-custom-controls\/\" \/>\n<meta property=\"og:site_name\" content=\"CodexWorld\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codexworld\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/codexworld\" \/>\n<meta property=\"article:published_time\" content=\"2016-04-04T21:32:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-04-05T15:25:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.codexworld.com\/wp-content\/uploads\/2016\/04\/build-html5-video-player-with-custom-controls-by-codexworld.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1366\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"CodexWorld\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@codexworldblog\" \/>\n<meta name=\"twitter:site\" content=\"@codexworldweb\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"CodexWorld\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/build-html5-video-player-custom-controls\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/build-html5-video-player-custom-controls\\\/\"},\"author\":{\"name\":\"CodexWorld\",\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/#\\\/schema\\\/person\\\/9da51d8fa3cdefeb5ec9c69136d4baf0\"},\"headline\":\"Build a HTML5 Video Player with Custom Controls\",\"datePublished\":\"2016-04-04T21:32:49+00:00\",\"dateModified\":\"2016-04-05T15:25:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/build-html5-video-player-custom-controls\\\/\"},\"wordCount\":223,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/build-html5-video-player-custom-controls\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.codexworld.com\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/build-html5-video-player-with-custom-controls-by-codexworld.jpg\",\"keywords\":[\"HTML5\",\"JavaScript\",\"Video Player\"],\"articleSection\":[\"HTML5\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.codexworld.com\\\/build-html5-video-player-custom-controls\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/build-html5-video-player-custom-controls\\\/\",\"url\":\"https:\\\/\\\/www.codexworld.com\\\/build-html5-video-player-custom-controls\\\/\",\"name\":\"Build a HTML5 Video Player with Custom Controls - CodexWorld\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/build-html5-video-player-custom-controls\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/build-html5-video-player-custom-controls\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.codexworld.com\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/build-html5-video-player-with-custom-controls-by-codexworld.jpg\",\"datePublished\":\"2016-04-04T21:32:49+00:00\",\"dateModified\":\"2016-04-05T15:25:47+00:00\",\"description\":\"Create HTML5 video player to embed video in webpage - Simple script to build a html5 video player with custom controls.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/build-html5-video-player-custom-controls\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.codexworld.com\\\/build-html5-video-player-custom-controls\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/build-html5-video-player-custom-controls\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.codexworld.com\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/build-html5-video-player-with-custom-controls-by-codexworld.jpg\",\"contentUrl\":\"https:\\\/\\\/www.codexworld.com\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/build-html5-video-player-with-custom-controls-by-codexworld.jpg\",\"width\":1366,\"height\":768,\"caption\":\"Build a HTML5 Video Player with Custom Controls\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/build-html5-video-player-custom-controls\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.codexworld.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Build a HTML5 Video Player with Custom Controls\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/#website\",\"url\":\"https:\\\/\\\/www.codexworld.com\\\/\",\"name\":\"CodexWorld\",\"description\":\"Web &amp; Mobile App Development Company\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.codexworld.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/#organization\",\"name\":\"CodexWorld\",\"url\":\"https:\\\/\\\/www.codexworld.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.codexworld.com\\\/wp-content\\\/uploads\\\/2014\\\/09\\\/codexworld-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.codexworld.com\\\/wp-content\\\/uploads\\\/2014\\\/09\\\/codexworld-logo.png\",\"width\":200,\"height\":19,\"caption\":\"CodexWorld\"},\"image\":{\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/codexworld\",\"https:\\\/\\\/x.com\\\/codexworldweb\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/codexworld\",\"https:\\\/\\\/www.youtube.com\\\/codexworld\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.codexworld.com\\\/#\\\/schema\\\/person\\\/9da51d8fa3cdefeb5ec9c69136d4baf0\",\"name\":\"CodexWorld\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cf4999db3b409de559f80677afa01729bb2eeda19be273c254e8b2c22729e386?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cf4999db3b409de559f80677afa01729bb2eeda19be273c254e8b2c22729e386?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cf4999db3b409de559f80677afa01729bb2eeda19be273c254e8b2c22729e386?s=96&r=g\",\"caption\":\"CodexWorld\"},\"description\":\"CodexWorld is a programming blog, one-stop destination for web professionals \u2014 developers, programmers, freelancers, and site owners.\",\"sameAs\":[\"http:\\\/\\\/www.codexworld.com\",\"https:\\\/\\\/www.facebook.com\\\/codexworld\",\"https:\\\/\\\/x.com\\\/codexworldblog\"],\"url\":\"https:\\\/\\\/www.codexworld.com\\\/author\\\/nitya192265\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Build a HTML5 Video Player with Custom Controls - CodexWorld","description":"Create HTML5 video player to embed video in webpage - Simple script to build a html5 video player with custom controls.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.codexworld.com\/build-html5-video-player-custom-controls\/","og_locale":"en_US","og_type":"article","og_title":"Build a HTML5 Video Player with Custom Controls - CodexWorld","og_description":"Create HTML5 video player to embed video in webpage - Simple script to build a html5 video player with custom controls.","og_url":"https:\/\/www.codexworld.com\/build-html5-video-player-custom-controls\/","og_site_name":"CodexWorld","article_publisher":"https:\/\/www.facebook.com\/codexworld","article_author":"https:\/\/www.facebook.com\/codexworld","article_published_time":"2016-04-04T21:32:49+00:00","article_modified_time":"2016-04-05T15:25:47+00:00","og_image":[{"width":1366,"height":768,"url":"https:\/\/www.codexworld.com\/wp-content\/uploads\/2016\/04\/build-html5-video-player-with-custom-controls-by-codexworld.jpg","type":"image\/jpeg"}],"author":"CodexWorld","twitter_card":"summary_large_image","twitter_creator":"@codexworldblog","twitter_site":"@codexworldweb","twitter_misc":{"Written by":"CodexWorld","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.codexworld.com\/build-html5-video-player-custom-controls\/#article","isPartOf":{"@id":"https:\/\/www.codexworld.com\/build-html5-video-player-custom-controls\/"},"author":{"name":"CodexWorld","@id":"https:\/\/www.codexworld.com\/#\/schema\/person\/9da51d8fa3cdefeb5ec9c69136d4baf0"},"headline":"Build a HTML5 Video Player with Custom Controls","datePublished":"2016-04-04T21:32:49+00:00","dateModified":"2016-04-05T15:25:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.codexworld.com\/build-html5-video-player-custom-controls\/"},"wordCount":223,"commentCount":0,"publisher":{"@id":"https:\/\/www.codexworld.com\/#organization"},"image":{"@id":"https:\/\/www.codexworld.com\/build-html5-video-player-custom-controls\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codexworld.com\/wp-content\/uploads\/2016\/04\/build-html5-video-player-with-custom-controls-by-codexworld.jpg","keywords":["HTML5","JavaScript","Video Player"],"articleSection":["HTML5"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.codexworld.com\/build-html5-video-player-custom-controls\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.codexworld.com\/build-html5-video-player-custom-controls\/","url":"https:\/\/www.codexworld.com\/build-html5-video-player-custom-controls\/","name":"Build a HTML5 Video Player with Custom Controls - CodexWorld","isPartOf":{"@id":"https:\/\/www.codexworld.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.codexworld.com\/build-html5-video-player-custom-controls\/#primaryimage"},"image":{"@id":"https:\/\/www.codexworld.com\/build-html5-video-player-custom-controls\/#primaryimage"},"thumbnailUrl":"https:\/\/www.codexworld.com\/wp-content\/uploads\/2016\/04\/build-html5-video-player-with-custom-controls-by-codexworld.jpg","datePublished":"2016-04-04T21:32:49+00:00","dateModified":"2016-04-05T15:25:47+00:00","description":"Create HTML5 video player to embed video in webpage - Simple script to build a html5 video player with custom controls.","breadcrumb":{"@id":"https:\/\/www.codexworld.com\/build-html5-video-player-custom-controls\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.codexworld.com\/build-html5-video-player-custom-controls\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codexworld.com\/build-html5-video-player-custom-controls\/#primaryimage","url":"https:\/\/www.codexworld.com\/wp-content\/uploads\/2016\/04\/build-html5-video-player-with-custom-controls-by-codexworld.jpg","contentUrl":"https:\/\/www.codexworld.com\/wp-content\/uploads\/2016\/04\/build-html5-video-player-with-custom-controls-by-codexworld.jpg","width":1366,"height":768,"caption":"Build a HTML5 Video Player with Custom Controls"},{"@type":"BreadcrumbList","@id":"https:\/\/www.codexworld.com\/build-html5-video-player-custom-controls\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.codexworld.com\/"},{"@type":"ListItem","position":2,"name":"Build a HTML5 Video Player with Custom Controls"}]},{"@type":"WebSite","@id":"https:\/\/www.codexworld.com\/#website","url":"https:\/\/www.codexworld.com\/","name":"CodexWorld","description":"Web &amp; Mobile App Development Company","publisher":{"@id":"https:\/\/www.codexworld.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.codexworld.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.codexworld.com\/#organization","name":"CodexWorld","url":"https:\/\/www.codexworld.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codexworld.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.codexworld.com\/wp-content\/uploads\/2014\/09\/codexworld-logo.png","contentUrl":"https:\/\/www.codexworld.com\/wp-content\/uploads\/2014\/09\/codexworld-logo.png","width":200,"height":19,"caption":"CodexWorld"},"image":{"@id":"https:\/\/www.codexworld.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codexworld","https:\/\/x.com\/codexworldweb","https:\/\/www.linkedin.com\/company\/codexworld","https:\/\/www.youtube.com\/codexworld"]},{"@type":"Person","@id":"https:\/\/www.codexworld.com\/#\/schema\/person\/9da51d8fa3cdefeb5ec9c69136d4baf0","name":"CodexWorld","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/cf4999db3b409de559f80677afa01729bb2eeda19be273c254e8b2c22729e386?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/cf4999db3b409de559f80677afa01729bb2eeda19be273c254e8b2c22729e386?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cf4999db3b409de559f80677afa01729bb2eeda19be273c254e8b2c22729e386?s=96&r=g","caption":"CodexWorld"},"description":"CodexWorld is a programming blog, one-stop destination for web professionals \u2014 developers, programmers, freelancers, and site owners.","sameAs":["http:\/\/www.codexworld.com","https:\/\/www.facebook.com\/codexworld","https:\/\/x.com\/codexworldblog"],"url":"https:\/\/www.codexworld.com\/author\/nitya192265\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.codexworld.com\/wp-content\/uploads\/2016\/04\/build-html5-video-player-with-custom-controls-by-codexworld.jpg","jetpack_shortlink":"https:\/\/wp.me\/p6bxIh-me","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/posts\/1378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/comments?post=1378"}],"version-history":[{"count":1,"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/posts\/1378\/revisions"}],"predecessor-version":[{"id":1381,"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/posts\/1378\/revisions\/1381"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/media\/1380"}],"wp:attachment":[{"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/media?parent=1378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/categories?post=1378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codexworld.com\/wp-json\/wp\/v2\/tags?post=1378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}