{"id":12430,"date":"2017-02-17T15:46:19","date_gmt":"2017-02-17T14:46:19","guid":{"rendered":"https:\/\/www.adventori.com\/fr\/?p=12430"},"modified":"2018-02-27T16:04:38","modified_gmt":"2018-02-27T15:04:38","slug":"ajouter-une-video-animate","status":"publish","type":"post","link":"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/","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-adobe-animate-fr\/\">ENABLER ADOBE ANIMATE CC -&gt; <\/a><a style=\"color: grey;\" href=\"\/?p=12430\">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>name<\/code>\u00a0unique \u00e0 votre movieClip.<\/p><p>Pour cela, s\u00e9lectionner le conteneur (movieClip) choisi et \u00e9crire le code suivant:<\/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 (MovieClip)<\/strong><br \/><strong>2 : clicUrl : clickTag sur la video (optionnel)<br \/><\/strong><strong>3 : urlMp4 : url de la video mp4<\/strong><br \/><strong>4 : urlWebM : url de la video webM<br \/><\/strong><strong>3 : cssStyle :Propri\u00e9t\u00e9s css du lecteur. (optionnel) exemple : \"color:red;border:solid 1px;...\" <\/strong><br \/><strong>4 : showControls : true\/false (optionnel)<\/strong><br \/><strong>5 : autoPlay : true\/false (optionnel)<br \/><\/strong><strong>6 : sound  : true\/false (optionnel)<br \/>7 : lightControls : true\/false (optionnel) afficher les contr\u00f4les personnalis\u00e9s<br \/>8 : controlsStyle : Propri\u00e9t\u00e9s css du light controls. exemple : \"color:red;border:solid1px;...\" (optionnel)<br \/><\/strong><br \/>\r\n<br \/>\r\nvar video = new ADventori.Video({\r\n\t<strong style=\"color: blue;\">videoContainer<\/strong> : this.<strong>movieClip<\/strong>,\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=\"252\" scrolling=\"no\" src=\"\/\/adventori.com\/lp\/enabler\/templates\/exemple_crea_animate\/addVideo2.html\" frameborder=\"no\" allowtransparency=\"true\" allowfullscreen=\"allowfullscreen\">\r\n<\/iframe>\r\n<p style=\"text-align: right;\"><a href=\"\/\/adventori.com\/lp\/enabler\/templates\/exemple_crea_animate\/addVideo2.zip\"><button class=\"btn btn-primary\">T\u00e9l\u00e9chargez l&rsquo;exemple<\/button><\/a><\/p><p>&nbsp;<\/p>\r\n\r\n\r\n<iframe loading=\"lazy\" width=\"300\" height=\"252\" scrolling=\"no\" src=\"\/\/adventori.com\/lp\/enabler\/templates\/Wall_CreaV2\/video\/adobe_animate\/addVideo2.html\" frameborder=\"no\" allowtransparency=\"true\" allowfullscreen=\"allowfullscreen\">\r\n<\/iframe>\r\n\r\n<p style=\"text-align: right;\"><a href=\"\/\/adventori.com\/lp\/enabler\/templates\/Wall_CreaV2\/video\/adobe_animate\/adobe_animate_video.zip\"><button class=\"btn btn-primary\">T\u00e9l\u00e9chargez l&rsquo;exemple<\/button><\/a><\/p><p>&nbsp;<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Apprenez \u00e0 ajouter et adapter vos vid\u00e9os dans la banni\u00e8re <\/p>\n","protected":false},"author":11,"featured_media":1821,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[262],"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=\"noindex, nofollow\" \/>\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=\"Apprenez \u00e0 ajouter et adapter vos vid\u00e9os dans la banni\u00e8re\" \/>\n<meta property=\"og:url\" content=\"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/\" \/>\n<meta property=\"og:site_name\" content=\"ADventori\" \/>\n<meta property=\"article:published_time\" content=\"2017-02-17T14:46:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-02-27T15:04:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/v4.adventori.com\/media\/mobile_tablette.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-adobe-animate-fr\/composant\/ajouter-une-video-animate\/#primaryimage\",\"url\":\"https:\/\/v4.adventori.com\/media\/mobile_tablette.jpg\",\"contentUrl\":\"https:\/\/v4.adventori.com\/media\/mobile_tablette.jpg\",\"width\":540,\"height\":410},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/#webpage\",\"url\":\"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/\",\"name\":\"AJOUTER UNE VIDEO | ADventori\",\"isPartOf\":{\"@id\":\"https:\/\/v4.adventori.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/#primaryimage\"},\"datePublished\":\"2017-02-17T14:46:19+00:00\",\"dateModified\":\"2018-02-27T15:04:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/#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-adobe-animate-fr\/composant\/ajouter-une-video-animate\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/#webpage\"},\"author\":{\"@id\":\"https:\/\/v4.adventori.com\/#\/schema\/person\/e6f1b8450889d31648a36063f22d3564\"},\"headline\":\"AJOUTER UNE VIDEO\",\"datePublished\":\"2017-02-17T14:46:19+00:00\",\"dateModified\":\"2018-02-27T15:04:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/#webpage\"},\"wordCount\":118,\"publisher\":{\"@id\":\"https:\/\/v4.adventori.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/v4.adventori.com\/media\/mobile_tablette.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":"noindex","follow":"nofollow"},"og_locale":"fr_FR","og_type":"article","og_title":"AJOUTER UNE VIDEO | ADventori","og_description":"Apprenez \u00e0 ajouter et adapter vos vid\u00e9os dans la banni\u00e8re","og_url":"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/","og_site_name":"ADventori","article_published_time":"2017-02-17T14:46:19+00:00","article_modified_time":"2018-02-27T15:04:38+00:00","og_image":[{"width":540,"height":410,"url":"https:\/\/v4.adventori.com\/media\/mobile_tablette.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-adobe-animate-fr\/composant\/ajouter-une-video-animate\/#primaryimage","url":"https:\/\/v4.adventori.com\/media\/mobile_tablette.jpg","contentUrl":"https:\/\/v4.adventori.com\/media\/mobile_tablette.jpg","width":540,"height":410},{"@type":"WebPage","@id":"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/#webpage","url":"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/","name":"AJOUTER UNE VIDEO | ADventori","isPartOf":{"@id":"https:\/\/v4.adventori.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/#primaryimage"},"datePublished":"2017-02-17T14:46:19+00:00","dateModified":"2018-02-27T15:04:38+00:00","breadcrumb":{"@id":"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/#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-adobe-animate-fr\/composant\/ajouter-une-video-animate\/#article","isPartOf":{"@id":"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/#webpage"},"author":{"@id":"https:\/\/v4.adventori.com\/#\/schema\/person\/e6f1b8450889d31648a36063f22d3564"},"headline":"AJOUTER UNE VIDEO","datePublished":"2017-02-17T14:46:19+00:00","dateModified":"2018-02-27T15:04:38+00:00","mainEntityOfPage":{"@id":"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/#webpage"},"wordCount":118,"publisher":{"@id":"https:\/\/v4.adventori.com\/#organization"},"image":{"@id":"https:\/\/v4.adventori.com\/fr\/enabler-adobe-animate-fr\/composant\/ajouter-une-video-animate\/#primaryimage"},"thumbnailUrl":"https:\/\/v4.adventori.com\/media\/mobile_tablette.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\/12430"}],"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=12430"}],"version-history":[{"count":17,"href":"https:\/\/v4.adventori.com\/fr\/wp-json\/wp\/v2\/posts\/12430\/revisions"}],"predecessor-version":[{"id":20174,"href":"https:\/\/v4.adventori.com\/fr\/wp-json\/wp\/v2\/posts\/12430\/revisions\/20174"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/v4.adventori.com\/fr\/wp-json\/wp\/v2\/media\/1821"}],"wp:attachment":[{"href":"https:\/\/v4.adventori.com\/fr\/wp-json\/wp\/v2\/media?parent=12430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/v4.adventori.com\/fr\/wp-json\/wp\/v2\/categories?post=12430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/v4.adventori.com\/fr\/wp-json\/wp\/v2\/tags?post=12430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}