{"id":283,"date":"2011-08-30T00:00:00","date_gmt":"2011-08-30T00:00:00","guid":{"rendered":"http:\/\/sproutvideo.wpengine.com\/?p=283"},"modified":"2023-02-14T21:22:06","modified_gmt":"2023-02-15T02:22:06","slug":"new-feature-javascript-player-api","status":"publish","type":"post","link":"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html","title":{"rendered":"Update: Javascript Player API"},"content":{"rendered":"<p>We\u2019re proud to announce the release of our Javascript Player API. You can now receive events from, and control, the SproutVideo player using Javascript. Keep reading for details on how you can use our new player API, and inspiration for ways to use it!<\/p>\n<p><!--more--><\/p>\n<h3>New Javascript Player API<\/h3>\n<p>SproutVideo offers two APIs: the <a href=\"https:\/\/sproutvideo.com\/docs\/api.html\">SproutVideo API<\/a>, which allows you to control most aspects of your account and video settings; and a <a href=\"https:\/\/sproutvideo.com\/help\/articles\/27-javascript_player_api\" target=\"_blank\" rel=\"noopener noreferrer\">Javascript Player API<\/a>, which allows you to control the behavior of the player, and track player events as well.<\/p>\n<h3>Popular Uses for Javascript Player API<\/h3>\n<p>Using the new player API, you can easily display a message at a specific point in the video, start a video at a specific point in time, create chapter markers, launch a video at a specific volume, and more.<\/p>\n<p>Check out this working example of the <a href=\"https:\/\/sproutvideo.github.io\/sproutvideo-player-api\/example.html\" target=\"_blank\" rel=\"noopener noreferrer\">Javascript Player API<\/a> for additional inspiration.<\/p>\n<hr \/>\n<p>Tell us what you think in the comments below, and please let us know how you\u2019re using it!<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\"><\/span> <span class=\"rt-time\">&lt; 1<\/span> <span class=\"rt-label rt-postfix\">MIN TO READ<\/span><\/span> We\u2019re proud to announce the release of our Javascript Player API. You can now receive events from, and control, the SproutVideo player using Javascript. Keep reading for details on how you can use our new player API, and inspiration for ways to use it!<\/p>\n","protected":false},"author":14,"featured_media":2966,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_eb_attr":""},"categories":[16],"tags":[286,275,31],"feature":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Update: Javascript Player API | SproutVideo<\/title>\n<meta name=\"description\" content=\"We\u2019re proud to announce the release of our Javascript Player API. You can now receive events from, and control, the SproutVideo player using Javascript.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Update: Javascript Player API | SproutVideo\" \/>\n<meta property=\"og:description\" content=\"We\u2019re proud to announce the release of our Javascript Player API. You can now receive events from, and control, the SproutVideo player using Javascript.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html\" \/>\n<meta property=\"og:site_name\" content=\"SproutVideo\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SproutVideo\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/SproutVideo\" \/>\n<meta property=\"article:published_time\" content=\"2011-08-30T00:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-15T02:22:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/d9pfvpeevxz0y.cloudfront.net\/blog\/wp-content\/uploads\/2019\/09\/new_product_update-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1980\" \/>\n\t<meta property=\"og:image:height\" content=\"1110\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/sproutvideo\" \/>\n<meta name=\"twitter:site\" content=\"@SproutVideo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Adam Podolnick\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/sproutvideo.com\/blog\/#organization\",\"name\":\"SproutVideo\",\"url\":\"https:\/\/sproutvideo.com\/blog\/\",\"sameAs\":[\"https:\/\/www.facebook.com\/SproutVideo\",\"https:\/\/www.instagram.com\/sproutvideo\",\"https:\/\/www.linkedin.com\/company\/sproutvideo\",\"https:\/\/www.youtube.com\/sproutvideo\",\"https:\/\/www.pinterest.com\/sproutvideo\",\"https:\/\/twitter.com\/SproutVideo\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/sproutvideo.com\/blog\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/d9pfvpeevxz0y.cloudfront.net\/blog\/wp-content\/uploads\/2021\/07\/logo-mark_new.png\",\"contentUrl\":\"https:\/\/d9pfvpeevxz0y.cloudfront.net\/blog\/wp-content\/uploads\/2021\/07\/logo-mark_new.png\",\"width\":250,\"height\":318,\"caption\":\"SproutVideo\"},\"image\":{\"@id\":\"https:\/\/sproutvideo.com\/blog\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/sproutvideo.com\/blog\/#website\",\"url\":\"https:\/\/sproutvideo.com\/blog\/\",\"name\":\"SproutVideo\",\"description\":\"Video hosting for business\",\"publisher\":{\"@id\":\"https:\/\/sproutvideo.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/sproutvideo.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/d9pfvpeevxz0y.cloudfront.net\/blog\/wp-content\/uploads\/2019\/09\/new_product_update-2.png\",\"contentUrl\":\"https:\/\/d9pfvpeevxz0y.cloudfront.net\/blog\/wp-content\/uploads\/2019\/09\/new_product_update-2.png\",\"width\":1980,\"height\":1110,\"caption\":\"New Feature Announcement\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html#webpage\",\"url\":\"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html\",\"name\":\"Update: Javascript Player API | SproutVideo\",\"isPartOf\":{\"@id\":\"https:\/\/sproutvideo.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html#primaryimage\"},\"datePublished\":\"2011-08-30T00:00:00+00:00\",\"dateModified\":\"2023-02-15T02:22:06+00:00\",\"description\":\"We\u2019re proud to announce the release of our Javascript Player API. You can now receive events from, and control, the SproutVideo player using Javascript.\",\"breadcrumb\":{\"@id\":\"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/sproutvideo.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update: Javascript Player API\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html#webpage\"},\"author\":{\"@id\":\"https:\/\/sproutvideo.com\/blog\/#\/schema\/person\/fea843ff3a81aa73a8dadcb95ac57878\"},\"headline\":\"Update: Javascript Player API\",\"datePublished\":\"2011-08-30T00:00:00+00:00\",\"dateModified\":\"2023-02-15T02:22:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html#webpage\"},\"wordCount\":171,\"publisher\":{\"@id\":\"https:\/\/sproutvideo.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/d9pfvpeevxz0y.cloudfront.net\/blog\/wp-content\/uploads\/2019\/09\/new_product_update-2.png\",\"keywords\":[\"APIs\",\"Player\",\"Product Update\"],\"articleSection\":[\"Announcements\"],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/sproutvideo.com\/blog\/#\/schema\/person\/fea843ff3a81aa73a8dadcb95ac57878\",\"name\":\"Adam Podolnick\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/sproutvideo.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1f1e751f9ca651c4baafa90779b900e3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1f1e751f9ca651c4baafa90779b900e3?s=96&d=mm&r=g\",\"caption\":\"Adam Podolnick\"},\"description\":\"Adam is the Founder and CEO of SproutVideo.\",\"sameAs\":[\"http:\/\/sproutvideo.wpengine.com\",\"https:\/\/www.facebook.com\/SproutVideo\",\"https:\/\/www.instagram.com\/sproutvideo\/\",\"https:\/\/www.linkedin.com\/company\/sproutvideo\",\"https:\/\/twitter.com\/https:\/\/twitter.com\/sproutvideo\"],\"url\":\"https:\/\/sproutvideo.com\/blog\/author\/sproutvideo\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Update: Javascript Player API | SproutVideo","description":"We\u2019re proud to announce the release of our Javascript Player API. You can now receive events from, and control, the SproutVideo player using Javascript.","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:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html","og_locale":"en_US","og_type":"article","og_title":"Update: Javascript Player API | SproutVideo","og_description":"We\u2019re proud to announce the release of our Javascript Player API. You can now receive events from, and control, the SproutVideo player using Javascript.","og_url":"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html","og_site_name":"SproutVideo","article_publisher":"https:\/\/www.facebook.com\/SproutVideo","article_author":"https:\/\/www.facebook.com\/SproutVideo","article_published_time":"2011-08-30T00:00:00+00:00","article_modified_time":"2023-02-15T02:22:06+00:00","og_image":[{"width":1980,"height":1110,"url":"https:\/\/d9pfvpeevxz0y.cloudfront.net\/blog\/wp-content\/uploads\/2019\/09\/new_product_update-2.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/sproutvideo","twitter_site":"@SproutVideo","twitter_misc":{"Written by":"Adam Podolnick","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/sproutvideo.com\/blog\/#organization","name":"SproutVideo","url":"https:\/\/sproutvideo.com\/blog\/","sameAs":["https:\/\/www.facebook.com\/SproutVideo","https:\/\/www.instagram.com\/sproutvideo","https:\/\/www.linkedin.com\/company\/sproutvideo","https:\/\/www.youtube.com\/sproutvideo","https:\/\/www.pinterest.com\/sproutvideo","https:\/\/twitter.com\/SproutVideo"],"logo":{"@type":"ImageObject","@id":"https:\/\/sproutvideo.com\/blog\/#logo","inLanguage":"en-US","url":"https:\/\/d9pfvpeevxz0y.cloudfront.net\/blog\/wp-content\/uploads\/2021\/07\/logo-mark_new.png","contentUrl":"https:\/\/d9pfvpeevxz0y.cloudfront.net\/blog\/wp-content\/uploads\/2021\/07\/logo-mark_new.png","width":250,"height":318,"caption":"SproutVideo"},"image":{"@id":"https:\/\/sproutvideo.com\/blog\/#logo"}},{"@type":"WebSite","@id":"https:\/\/sproutvideo.com\/blog\/#website","url":"https:\/\/sproutvideo.com\/blog\/","name":"SproutVideo","description":"Video hosting for business","publisher":{"@id":"https:\/\/sproutvideo.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sproutvideo.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html#primaryimage","inLanguage":"en-US","url":"https:\/\/d9pfvpeevxz0y.cloudfront.net\/blog\/wp-content\/uploads\/2019\/09\/new_product_update-2.png","contentUrl":"https:\/\/d9pfvpeevxz0y.cloudfront.net\/blog\/wp-content\/uploads\/2019\/09\/new_product_update-2.png","width":1980,"height":1110,"caption":"New Feature Announcement"},{"@type":"WebPage","@id":"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html#webpage","url":"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html","name":"Update: Javascript Player API | SproutVideo","isPartOf":{"@id":"https:\/\/sproutvideo.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html#primaryimage"},"datePublished":"2011-08-30T00:00:00+00:00","dateModified":"2023-02-15T02:22:06+00:00","description":"We\u2019re proud to announce the release of our Javascript Player API. You can now receive events from, and control, the SproutVideo player using Javascript.","breadcrumb":{"@id":"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/sproutvideo.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Update: Javascript Player API"}]},{"@type":"Article","@id":"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html#article","isPartOf":{"@id":"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html#webpage"},"author":{"@id":"https:\/\/sproutvideo.com\/blog\/#\/schema\/person\/fea843ff3a81aa73a8dadcb95ac57878"},"headline":"Update: Javascript Player API","datePublished":"2011-08-30T00:00:00+00:00","dateModified":"2023-02-15T02:22:06+00:00","mainEntityOfPage":{"@id":"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html#webpage"},"wordCount":171,"publisher":{"@id":"https:\/\/sproutvideo.com\/blog\/#organization"},"image":{"@id":"https:\/\/sproutvideo.com\/blog\/new-feature-javascript-player-api.html#primaryimage"},"thumbnailUrl":"https:\/\/d9pfvpeevxz0y.cloudfront.net\/blog\/wp-content\/uploads\/2019\/09\/new_product_update-2.png","keywords":["APIs","Player","Product Update"],"articleSection":["Announcements"],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/sproutvideo.com\/blog\/#\/schema\/person\/fea843ff3a81aa73a8dadcb95ac57878","name":"Adam Podolnick","image":{"@type":"ImageObject","@id":"https:\/\/sproutvideo.com\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/1f1e751f9ca651c4baafa90779b900e3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1f1e751f9ca651c4baafa90779b900e3?s=96&d=mm&r=g","caption":"Adam Podolnick"},"description":"Adam is the Founder and CEO of SproutVideo.","sameAs":["http:\/\/sproutvideo.wpengine.com","https:\/\/www.facebook.com\/SproutVideo","https:\/\/www.instagram.com\/sproutvideo\/","https:\/\/www.linkedin.com\/company\/sproutvideo","https:\/\/twitter.com\/https:\/\/twitter.com\/sproutvideo"],"url":"https:\/\/sproutvideo.com\/blog\/author\/sproutvideo"}]}},"acf":{"square_featured_image":false,"has_related_video_page":false},"_links":{"self":[{"href":"https:\/\/sproutvideo.com\/blog\/wp-json\/wp\/v2\/posts\/283"}],"collection":[{"href":"https:\/\/sproutvideo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sproutvideo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sproutvideo.com\/blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/sproutvideo.com\/blog\/wp-json\/wp\/v2\/comments?post=283"}],"version-history":[{"count":9,"href":"https:\/\/sproutvideo.com\/blog\/wp-json\/wp\/v2\/posts\/283\/revisions"}],"predecessor-version":[{"id":9238,"href":"https:\/\/sproutvideo.com\/blog\/wp-json\/wp\/v2\/posts\/283\/revisions\/9238"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sproutvideo.com\/blog\/wp-json\/wp\/v2\/media\/2966"}],"wp:attachment":[{"href":"https:\/\/sproutvideo.com\/blog\/wp-json\/wp\/v2\/media?parent=283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sproutvideo.com\/blog\/wp-json\/wp\/v2\/categories?post=283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sproutvideo.com\/blog\/wp-json\/wp\/v2\/tags?post=283"},{"taxonomy":"feature","embeddable":true,"href":"https:\/\/sproutvideo.com\/blog\/wp-json\/wp\/v2\/feature?post=283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}