{"id":17419,"date":"2017-10-05T13:56:23","date_gmt":"2017-10-05T11:56:23","guid":{"rendered":"https:\/\/www.adventori.com\/fr\/?p=17419"},"modified":"2018-03-29T12:05:58","modified_gmt":"2018-03-29T10:05:58","slug":"ajouter-une-video","status":"publish","type":"post","link":"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/","title":{"rendered":"AJOUTER UNE VIDEO"},"content":{"rendered":"<a style=\"color: grey;\" href=\"\/?page_id=11761\">Documentation DCO Enabler -&gt; <\/a><a style=\"color: grey;\" href=\"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/\">ENABLER HTML5 -&gt; <\/a><a style=\"color: grey;\" href=\"\/?p=17419\">AJOUTER UNE VIDEO <\/a>\r\n<h3 id=\"image\" style=\"text-align: center;\"><strong>DYNAMISER ET ADAPTER LA TAILLE D\u2019UNE VIDEO<\/strong><\/h3><p>&nbsp;<\/p><p>Il est possible de dynamiser la vid\u00e9o de votre publicit\u00e9 sans que celle-ci soit d\u00e9form\u00e9e, et en gardant son enti\u00e8re visibilit\u00e9.<\/p><p>Une fois la banni\u00e8re\u00a0dynamis\u00e9e par notre <code>AdServer<\/code>, la vid\u00e9o changera en fonction des param\u00e8tres \u00e9tablis (G\u00e9olocalisation, m\u00e9t\u00e9o, date\/heure, cookies, retargeting\u2026).<\/p><p>Pour cr\u00e9er une zone vid\u00e9o\u00a0dynamique, ajouter un attribut <code>id<\/code>\u00a0unique \u00e0 votre \u00e9l\u00e9ment html.<\/p>\r\n<p>\r\n<\/p><pre>ADventori.initData({<br \/> <strong>url<\/strong>  :\"http:\/\/adventori.com\",<br \/> <strong>mp4<\/strong>  :\"http:\/\/adventori.com\/lp\/enabler\/templates\/Wall_Crea\/Crea_Video\/Video_Outstream\/300x250\/video\/Big.mp4\",<br \/> <strong>webm<\/strong> :\"http:\/\/adventori.com\/lp\/enabler\/templates\/Wall_Crea\/Crea_Video\/Video_Outstream\/300x250\/video\/Big.webm\"<br \/>});<br \/><strong><\/strong><br \/><strong>Param\u00e8tres attendu : <\/strong><br \/><strong>1 : videoContainer : Conteneur (obligatoire)<\/strong><br \/><strong>2 : clicUrl : clickTag sur la video (optionnel)<br \/><\/strong><strong>3 : urlMp4 : url de la video mp4 (obligatoire)<\/strong><br \/><strong>4 : urlWebM : url de la video webM(optionnel)<br \/><\/strong><strong>3 : cssStyle : Propri\u00e9t\u00e9s css du lecteur. exemple : \"color:red;border:solid 1px;...\"  (optionnel)<\/strong><br \/><b>4 : showControls : true\/false (optionnel) afficher les contr\u00f4les vid\u00e9o par d\u00e9faut du navigateur<\/b><br \/><strong>5 : autoPlay : true\/false (optionnel)<br \/><\/strong><strong>6 : sound  : true\/false (optionnel)<\/strong><br \/>7 : <strong>lightControls<\/strong> : <strong>true\/false (optionnel) afficher les <b>contr\u00f4les <\/b>personnalis\u00e9s<\/strong>\r\n8 : <strong>controlsStyle<\/strong> : <strong>Propri\u00e9t\u00e9s css du light controls. exemple : \"color:red;border:solid 1px;...\" (optionnel)<\/strong><br \/> \r\nvar video = new ADventori.Video({\r\n\t<strong style=\"color: blue;\">videoContainer<\/strong> : document.getElementById('ADventori_video'),\r\n\t<strong style=\"color: blue;\">clicUrl<\/strong> : ADventori.data.url,\r\n\t<strong style=\"color: blue;\">urlMp4<\/strong>  : ADventori.data.mp4,\r\n\t<strong style=\"color: blue;\">urlWebM<\/strong> : ADventori.data.webm,\r\n\t<strong style=\"color: blue;\">cssStyle<\/strong> : \"border:solid 1px black;color:black;....\",\r\n\t<strong style=\"color: blue;\">autoplay<\/strong> : true,\r\n\t<strong style=\"color: blue;\">showControls<\/strong> : false,\r\n\t<strong style=\"color: blue;\">sound<\/strong> : false,\r\n        <strong style=\"color: blue;\">lightControls<\/strong> : true,\r\n        <strong style=\"color: blue;\">controlsStyle<\/strong> :\"bottom: 15px;color:white;\"\r\n});\r\n<\/pre>\r\n<p>R\u00e9sultat :<\/p>\r\n<iframe loading=\"lazy\" width=\"300\" height=\"319\" style=\"width: 100%;\" scrolling=\"no\" src=\"\/\/codepen.io\/adventori\/embed\/gGowLY\/?height=319&#038;theme-id=14332&#038;default-tab=result\" frameborder=\"no\" allowtransparency=\"true\" allowfullscreen=\"allowfullscreen\">See the Pen <a href=\"http:\/\/codepen.io\/adventori\/embed\/gGowLY\">Ajouter Enabler v2<\/a> by ADventori (<a href=\"http:\/\/codepen.io\/adventori\">@adventori<\/a>) on <a href=\"http:\/\/codepen.io\">CodePen<\/a>.\r\n<\/iframe>\r\n\r\n<iframe loading=\"lazy\" width=\"300\" height=\"319\" style=\"width: 100%;\" scrolling=\"no\" src=\"\/\/codepen.io\/adventori\/embed\/paNNNZ\/?height=319&#038;theme-id=14332&#038;default-tab=result\" frameborder=\"no\" allowtransparency=\"true\" allowfullscreen=\"allowfullscreen\">See the Pen <a href=\"http:\/\/codepen.io\/adventori\/embed\/paNNNZ\">Ajouter Enabler v2<\/a> by ADventori (<a href=\"http:\/\/codepen.io\/adventori\">@adventori<\/a>) on <a href=\"http:\/\/codepen.io\">CodePen<\/a>.\r\n<\/iframe>\r\n\r\n\r\n\r\n","protected":false},"excerpt":{"rendered":"<p>Documentation DCO Enabler -&gt; ENABLER HTML5 -&gt; AJOUTER UNE VIDEO DYNAMISER ET ADAPTER LA TAILLE D\u2019UNE VIDEO&nbsp;Il est possible de dynamiser la vid\u00e9o de votre publicit\u00e9 sans que celle-ci soit d\u00e9form\u00e9e, et en gardant son enti\u00e8re visibilit\u00e9.Une fois la banni\u00e8re\u00a0dynamis\u00e9e par notre AdServer, la vid\u00e9o changera en fonction des param\u00e8tres \u00e9tablis (G\u00e9olocalisation, m\u00e9t\u00e9o, date\/heure, cookies, &hellip; <a href=\"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/\">Continued<\/a><\/p>\n","protected":false},"author":11,"featured_media":20607,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[237],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>AJOUTER UNE VIDEO | ADventori<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AJOUTER UNE VIDEO | ADventori\" \/>\n<meta property=\"og:description\" content=\"Documentation DCO Enabler -&gt; ENABLER HTML5 -&gt; AJOUTER UNE VIDEO DYNAMISER ET ADAPTER LA TAILLE D\u2019UNE VIDEO&nbsp;Il est possible de dynamiser la vid\u00e9o de votre publicit\u00e9 sans que celle-ci soit d\u00e9form\u00e9e, et en gardant son enti\u00e8re visibilit\u00e9.Une fois la banni\u00e8re\u00a0dynamis\u00e9e par notre AdServer, la vid\u00e9o changera en fonction des param\u00e8tres \u00e9tablis (G\u00e9olocalisation, m\u00e9t\u00e9o, date\/heure, cookies, &hellip; Continued\" \/>\n<meta property=\"og:url\" content=\"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/\" \/>\n<meta property=\"og:site_name\" content=\"ADventori\" \/>\n<meta property=\"article:published_time\" content=\"2017-10-05T11:56:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-03-29T10:05:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/v4.adventori.com\/media\/ADventori-Video.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"540\" \/>\n\t<meta property=\"og:image:height\" content=\"410\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:creator\" content=\"@adventori\" \/>\n<meta name=\"twitter:site\" content=\"@adventori\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ismail Azdad\" \/>\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:\/\/v4.adventori.com\/#organization\",\"name\":\"ADventori\",\"url\":\"https:\/\/v4.adventori.com\/\",\"sameAs\":[\"https:\/\/twitter.com\/adventori\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/v4.adventori.com\/#\/schema\/logo\/image\/\",\"url\":\"\/media\/Large_Logo-ADventori_Couleur_2015.png\",\"contentUrl\":\"\/media\/Large_Logo-ADventori_Couleur_2015.png\",\"width\":400,\"height\":133,\"caption\":\"ADventori\"},\"image\":{\"@id\":\"https:\/\/v4.adventori.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/v4.adventori.com\/#website\",\"url\":\"https:\/\/v4.adventori.com\/\",\"name\":\"ADventori\",\"description\":\"LESS ADS, MORE EFFICIENT ADS\",\"publisher\":{\"@id\":\"https:\/\/v4.adventori.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/v4.adventori.com\/search\/{search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/#primaryimage\",\"url\":\"https:\/\/v4.adventori.com\/media\/ADventori-Video.jpg\",\"contentUrl\":\"https:\/\/v4.adventori.com\/media\/ADventori-Video.jpg\",\"width\":540,\"height\":410},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/#webpage\",\"url\":\"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/\",\"name\":\"AJOUTER UNE VIDEO | ADventori\",\"isPartOf\":{\"@id\":\"https:\/\/v4.adventori.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/#primaryimage\"},\"datePublished\":\"2017-10-05T11:56:23+00:00\",\"dateModified\":\"2018-03-29T10:05:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/v4.adventori.com\/fr\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AJOUTER UNE VIDEO\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/#webpage\"},\"author\":{\"@id\":\"https:\/\/v4.adventori.com\/#\/schema\/person\/e6f1b8450889d31648a36063f22d3564\"},\"headline\":\"AJOUTER UNE VIDEO\",\"datePublished\":\"2017-10-05T11:56:23+00:00\",\"dateModified\":\"2018-03-29T10:05:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/#webpage\"},\"wordCount\":117,\"publisher\":{\"@id\":\"https:\/\/v4.adventori.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/v4.adventori.com\/media\/ADventori-Video.jpg\",\"articleSection\":[\"Composants\"],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/v4.adventori.com\/#\/schema\/person\/e6f1b8450889d31648a36063f22d3564\",\"name\":\"Ismail Azdad\",\"sameAs\":[\"https:\/\/www.adventori.com\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AJOUTER UNE VIDEO | ADventori","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:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/","og_locale":"fr_FR","og_type":"article","og_title":"AJOUTER UNE VIDEO | ADventori","og_description":"Documentation DCO Enabler -&gt; ENABLER HTML5 -&gt; AJOUTER UNE VIDEO DYNAMISER ET ADAPTER LA TAILLE D\u2019UNE VIDEO&nbsp;Il est possible de dynamiser la vid\u00e9o de votre publicit\u00e9 sans que celle-ci soit d\u00e9form\u00e9e, et en gardant son enti\u00e8re visibilit\u00e9.Une fois la banni\u00e8re\u00a0dynamis\u00e9e par notre AdServer, la vid\u00e9o changera en fonction des param\u00e8tres \u00e9tablis (G\u00e9olocalisation, m\u00e9t\u00e9o, date\/heure, cookies, &hellip; Continued","og_url":"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/","og_site_name":"ADventori","article_published_time":"2017-10-05T11:56:23+00:00","article_modified_time":"2018-03-29T10:05:58+00:00","og_image":[{"width":540,"height":410,"url":"https:\/\/v4.adventori.com\/media\/ADventori-Video.jpg","type":"image\/jpeg"}],"twitter_card":"summary","twitter_creator":"@adventori","twitter_site":"@adventori","twitter_misc":{"Written by":"Ismail Azdad","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/v4.adventori.com\/#organization","name":"ADventori","url":"https:\/\/v4.adventori.com\/","sameAs":["https:\/\/twitter.com\/adventori"],"logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/v4.adventori.com\/#\/schema\/logo\/image\/","url":"\/media\/Large_Logo-ADventori_Couleur_2015.png","contentUrl":"\/media\/Large_Logo-ADventori_Couleur_2015.png","width":400,"height":133,"caption":"ADventori"},"image":{"@id":"https:\/\/v4.adventori.com\/#\/schema\/logo\/image\/"}},{"@type":"WebSite","@id":"https:\/\/v4.adventori.com\/#website","url":"https:\/\/v4.adventori.com\/","name":"ADventori","description":"LESS ADS, MORE EFFICIENT ADS","publisher":{"@id":"https:\/\/v4.adventori.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/v4.adventori.com\/search\/{search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"fr-FR"},{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/#primaryimage","url":"https:\/\/v4.adventori.com\/media\/ADventori-Video.jpg","contentUrl":"https:\/\/v4.adventori.com\/media\/ADventori-Video.jpg","width":540,"height":410},{"@type":"WebPage","@id":"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/#webpage","url":"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/","name":"AJOUTER UNE VIDEO | ADventori","isPartOf":{"@id":"https:\/\/v4.adventori.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/#primaryimage"},"datePublished":"2017-10-05T11:56:23+00:00","dateModified":"2018-03-29T10:05:58+00:00","breadcrumb":{"@id":"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/v4.adventori.com\/fr\/"},{"@type":"ListItem","position":2,"name":"AJOUTER UNE VIDEO"}]},{"@type":"Article","@id":"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/#article","isPartOf":{"@id":"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/#webpage"},"author":{"@id":"https:\/\/v4.adventori.com\/#\/schema\/person\/e6f1b8450889d31648a36063f22d3564"},"headline":"AJOUTER UNE VIDEO","datePublished":"2017-10-05T11:56:23+00:00","dateModified":"2018-03-29T10:05:58+00:00","mainEntityOfPage":{"@id":"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/#webpage"},"wordCount":117,"publisher":{"@id":"https:\/\/v4.adventori.com\/#organization"},"image":{"@id":"https:\/\/v4.adventori.com\/fr\/enabler-html5-fr\/composants\/ajouter-une-video\/#primaryimage"},"thumbnailUrl":"https:\/\/v4.adventori.com\/media\/ADventori-Video.jpg","articleSection":["Composants"],"inLanguage":"fr-FR"},{"@type":"Person","@id":"https:\/\/v4.adventori.com\/#\/schema\/person\/e6f1b8450889d31648a36063f22d3564","name":"Ismail Azdad","sameAs":["https:\/\/www.adventori.com\/"]}]}},"_links":{"self":[{"href":"https:\/\/v4.adventori.com\/fr\/wp-json\/wp\/v2\/posts\/17419"}],"collection":[{"href":"https:\/\/v4.adventori.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/v4.adventori.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/v4.adventori.com\/fr\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/v4.adventori.com\/fr\/wp-json\/wp\/v2\/comments?post=17419"}],"version-history":[{"count":10,"href":"https:\/\/v4.adventori.com\/fr\/wp-json\/wp\/v2\/posts\/17419\/revisions"}],"predecessor-version":[{"id":19896,"href":"https:\/\/v4.adventori.com\/fr\/wp-json\/wp\/v2\/posts\/17419\/revisions\/19896"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/v4.adventori.com\/fr\/wp-json\/wp\/v2\/media\/20607"}],"wp:attachment":[{"href":"https:\/\/v4.adventori.com\/fr\/wp-json\/wp\/v2\/media?parent=17419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/v4.adventori.com\/fr\/wp-json\/wp\/v2\/categories?post=17419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/v4.adventori.com\/fr\/wp-json\/wp\/v2\/tags?post=17419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}