How To Convert After Effects Animations to HTML

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ค. 2024
  • This video will show you how to convert an Adobe After Effects animation to HTML or SVG code.
    Download After Effects: www.adobe.com/products/aftere...
    Download BodyMovin: aescripts.com/bodymovin/
    How to install BodyMovin: airbnb.io/lottie/after-effects...
    Music by: Nicolai Heidlas Music - Chase Your Dreams
    / nicolai-heidlas

ความคิดเห็น • 205

  • @DaftRebel
    @DaftRebel 4 ปีที่แล้ว +18

    I'm a motion designer and I always wanted to make animations in HTML5, this way is so easy! Thanks!

    • @ieatwebsites
      @ieatwebsites  4 ปีที่แล้ว +1

      Awesome! You welcome. 😁

  • @jwallah346
    @jwallah346 3 ปีที่แล้ว +3

    Thanks, great tutorial, exactly what I needed. I also love how you say "coma" at the end of each line.

    • @ieatwebsites
      @ieatwebsites  3 ปีที่แล้ว +1

      You welcome! 😁

    • @jwallah346
      @jwallah346 3 ปีที่แล้ว

      @@ieatwebsites Question, when you say "I want to see what I have in my code." I don't know where you're seeing that code. Is that in AE? Is that some other code/text app?

  • @tonys490
    @tonys490 4 ปีที่แล้ว +2

    Great video thank u!!!! After designing an animation on after effect , what format do they have to be exported to website? ( like scroll animations , parallax effects, text effects etc)

  • @bladesofdestiny
    @bladesofdestiny 4 ปีที่แล้ว +5

    yes yes and yes just what i needed!!! for my work.. i hope that keep this plugin going and concept going will probably help 1000s of professionals

  • @juanolucarelli527
    @juanolucarelli527 6 ปีที่แล้ว +1

    Hi J, congratulations for the 10k subscribers, this is one of the best tutorials I found about Bodymovin! could you tell me what text editor do you use? Thanks and congratulations again!

    • @ieatwebsites
      @ieatwebsites  6 ปีที่แล้ว +1

      Thank you so much Juan! I'm using Visual Studio Code.

  • @Timooooooooooooooo
    @Timooooooooooooooo 6 ปีที่แล้ว

    Congrats on the 10K J! This looks like a really useful tool. I wonder what the limitations are.

    • @ieatwebsites
      @ieatwebsites  6 ปีที่แล้ว +1

      Thank you timo! I will keep using this tool and I'm sure I will find some limitations. I'll keep you updated. ✌️

  • @cylus_music
    @cylus_music 4 ปีที่แล้ว +6

    This is amazing... I’m gonna try it tomorrow

  • @alexquinn4792
    @alexquinn4792 6 ปีที่แล้ว +16

    I got an error in my js file saying that "animation is defined, but never used"

  • @ploschi1
    @ploschi1 3 ปีที่แล้ว

    Wonderful tutorial thank you SO much!
    Is there any way to use image URLs instead of image files to shrink the file size?

  • @emashno5
    @emashno5 5 ปีที่แล้ว +20

    Wow body movin is awesome im still amazed at how he typed " rederer instead of renderer and it still worked holy cow

    • @geanfrancovolpe
      @geanfrancovolpe 5 ปีที่แล้ว +1

      maybe it has options by default?

  • @Konradulations
    @Konradulations 6 ปีที่แล้ว

    is this a feasable method for using animations in a game app like a sidescroller for example? or does it use too much ressources?

  • @Konradulations
    @Konradulations 6 ปีที่แล้ว

    my animation plays in google crom when i test with the lotti preview but its white in firefox and in both when using your code. is it possible to use transparencies in the animation or does this might be the cause of the trouble?

  • @fridajernfalt39
    @fridajernfalt39 4 ปีที่แล้ว +1

    You say you have your after effect code in the Visual studio code, how do I get that to work? Ive tried to open a new editor and put all the code in but it doesn't work..

  • @s11415
    @s11415 5 ปีที่แล้ว +1

    THIS IS REALLY AMAZING!!
    And i really hope Adobe can also control the Animation technique trend in front-end industry!!

  • @nateo7045
    @nateo7045 5 ปีที่แล้ว

    Just getting into After Effects. Would this work with any animation? i.e. ones that aren't just text?

  • @1Chitus
    @1Chitus ปีที่แล้ว +1

    Great tutorial. Do you have any tips on how to make the animation to work on mobile? Currently, Safari desktop won't work, but all the other browsers are working. No mobile in any OS will show the animation. Thanks.

  • @sinistersmile6638
    @sinistersmile6638 6 ปีที่แล้ว +1

    Finally i found this!

  • @CamiloMonsalve
    @CamiloMonsalve 4 ปีที่แล้ว

    Nice tutorial! ¿there's another way to export a json file without use bodymoving?

  • @jacobbeau4706
    @jacobbeau4706 6 ปีที่แล้ว +2

    Where did you get the initial html code file from?

  • @ethan1004
    @ethan1004 4 ปีที่แล้ว

    Hiya! Thanks for the video, but is it possible to hide the anim after it being played?

  • @dumbcat
    @dumbcat 5 ปีที่แล้ว

    if you have adobe cloud couldn't you have opened your after effects movie in adobe animate then published to HTML5 'OAM package' ?

  • @yanggitak
    @yanggitak 5 ปีที่แล้ว +1

    wow you are genius. i find this! thank you.

  • @mariozarur5797
    @mariozarur5797 2 ปีที่แล้ว +1

    Hi, and thx! Question: which files should I sent to the developers?

  • @videocasetteTV
    @videocasetteTV 5 ปีที่แล้ว

    Does it support element 3d and optical flares plug-ins, is it compatible with the scenes created by cinema 4d inside after effects

  • @btdarmstad5815
    @btdarmstad5815 4 ปีที่แล้ว +2

    Going to try this. Apparently Bodymovin in 2020 has an HTML option, but the HTML file it puts out is HUGE (probably the only time I will say that about anything that's

  • @IrokoPress
    @IrokoPress 5 ปีที่แล้ว

    Please can you help me with SVG Images. I mean can you help me with this type of image files you used on this video or any type of image files that I can use on video creations. I need your help. Thanks

  • @gabrielleles9673
    @gabrielleles9673 3 ปีที่แล้ว +1

    Hello there!! Would you be kind enough to share the html and JS codes you used in this video :) ? Tks!

  • @Lorenzzoman
    @Lorenzzoman 6 ปีที่แล้ว

    do you know if theres a way to integrate bodymoving to wordpress pages?

  • @aechq
    @aechq 3 ปีที่แล้ว

    is it possible to have the text be dynamic, like instead of saying "10k Subscribers" it would change depending on a text file you have on your computer, so you could just go in, change the text file, and have the entire animation change?

  • @karpulol
    @karpulol 6 ปีที่แล้ว +2

    nice tut :)
    is it somehow possible to change the text without re-rendering it? like change it to "11k or 12k" ?
    can i render more objects and just retrieve them as needed?

    • @williamvalderrama401
      @williamvalderrama401 2 ปีที่แล้ว

      I don't think so unless you know how to change the coding, it would be best to render again after changing the text

  • @airforcetone
    @airforcetone 4 ปีที่แล้ว

    Sorry if this is a stupid question but you jumped from lets look at after effects to looking at the code in vs code? What code are you looking at?

  • @stifmdq
    @stifmdq 4 ปีที่แล้ว +1

    Amazing dude!!!

  • @TheClrr
    @TheClrr 5 ปีที่แล้ว +1

    Awesome!! thank you, but where did you get the initial html code file from? I'm new to all of this and i kind of get stuck at minute 3:24... hope you can advise! many thanks!

    • @Gan_Gineandro
      @Gan_Gineandro 4 ปีที่แล้ว

      it's basic html. You need a website (have a domain, hosting account, FTP access, make an index.html file... don't forget to get an SSL certificate. I use NameCheap for all those services and my FTP client is WinSCP) or virtual website (set up something like XAMPP).

  • @maddbuddha1356
    @maddbuddha1356 5 ปีที่แล้ว +1

    does it play sound as well?

  • @HuynhLuong227
    @HuynhLuong227 4 ปีที่แล้ว

    Great, Thank for sharing. Sorry, you can make charater walk animation and convert to html5 with bodymovin please?

  • @ziotiz
    @ziotiz 4 ปีที่แล้ว

    hello, awsome video. Thanks. But do you know how to add the animation in a wordpress website? thank you

  • @benjaminbreidt5159
    @benjaminbreidt5159 6 ปีที่แล้ว +1

    can i paste that into googleads?

  • @jorgenicolasgonzalez419
    @jorgenicolasgonzalez419 5 ปีที่แล้ว +1

    WOW !!!!!! So Good !!!!!

  • @elisabajcic7941
    @elisabajcic7941 5 ปีที่แล้ว

    amazing! thank you buddy!

  • @RavenwestR1
    @RavenwestR1 ปีที่แล้ว

    I didn't even know such stuff is possible, is there any limitation on what can be done on the animation itself?

  • @dharmajiambati1467
    @dharmajiambati1467 2 ปีที่แล้ว

    Thank you for great video. I have a question after loading data.json file. We can a href for any tag. Actually i want to give clickable link to two letters...

  • @deepikarawat8802
    @deepikarawat8802 6 ปีที่แล้ว +1

    Helpful thankyou

  • @leticiac1998
    @leticiac1998 3 ปีที่แล้ว

    I need to transform an AF file into an SVG, but when I do that the "puppet" effect that I used doesn't work does anyone have any solutions?

  • @AnallelyMartinez-xb7do
    @AnallelyMartinez-xb7do 3 ปีที่แล้ว +1

    Just what I needed thx. 🙌

  • @sideve5526
    @sideve5526 5 ปีที่แล้ว +1

    Hi, congratulations for everything. One question: if I import a gif in after effect and then use bodymovin to export it as html the result is that I don't see the animation, is there a reason? Thank you! (sorry for my English..)

    • @ieatwebsites
      @ieatwebsites  5 ปีที่แล้ว +2

      It needs to be vector. Is not going to work with a gif.

  • @andreagallo51
    @andreagallo51 5 ปีที่แล้ว

    I have a problem...it works but it gives me an error, it wants images. someone could help me?

  • @tamyahussain
    @tamyahussain 3 ปีที่แล้ว

    I followed all the steps, but my animation just doesn't show up on my html file when opened on a browser, i even went on Lottie files to preview the animation but it didn't even appear on there. Help please.

  • @amelieviennot5570
    @amelieviennot5570 ปีที่แล้ว

    what if there is png in my animation ? is it gonna work ? I dont think it will but can it work if I convert the pngs to svg first and then import those svg images in after effect ?

  • @saadasif6174
    @saadasif6174 5 ปีที่แล้ว

    I love animations.. Waooo nice

  • @michaelthomas1148
    @michaelthomas1148 4 ปีที่แล้ว +1

    Pretty cool, but can you make working buttons?

  • @MirkoMancini
    @MirkoMancini 3 ปีที่แล้ว

    There is a typo error in the code "rederer". How can it works...?
    What about the export settings?

  • @burakt5532
    @burakt5532 3 ปีที่แล้ว +2

    Amazing! Thank you.

  • @alexridore9759
    @alexridore9759 4 ปีที่แล้ว

    What was the size of the output files?

  • @ryanthompson7700
    @ryanthompson7700 2 ปีที่แล้ว

    Wait, where did you get the code from? Is it something standard to copy and paste?

  • @AMdvij
    @AMdvij 5 ปีที่แล้ว

    Why does the squeak connect to the network?

  • @pabstacodewabs
    @pabstacodewabs 5 ปีที่แล้ว +2

    Nice. Could you put all the info from data.json and bodymovin.js into the html file so that you only have one .html file??? I need the animation to work inside an Outlook newsletter. Thanks.

    • @Gan_Gineandro
      @Gan_Gineandro 4 ปีที่แล้ว

      no way, this requires javascript, the plugin relies on javascript files. If you want to do without then you will need a different plugin

  • @yseadi
    @yseadi 3 ปีที่แล้ว +1

    It's not working in the newest version of the AE :"(

  • @qais1618
    @qais1618 4 ปีที่แล้ว

    Cool but wat about responsive? If want to behave responsively for difference devices?...

  • @natsudragneel3814
    @natsudragneel3814 11 หลายเดือนก่อน

    how did you make the initial html and java script file?

  • @williamvalderrama401
    @williamvalderrama401 2 ปีที่แล้ว

    I installed the plugin but when I select my comp, it will not let me render

  • @DooDleZTv1
    @DooDleZTv1 2 ปีที่แล้ว

    why u don't show the settings, i try to render in HTML but idk how

  • @VFXBoy
    @VFXBoy 6 หลายเดือนก่อน

    I have export all stuff from bodymovin but when i check it to HTML5 Validator it says, Missing primary asset check

  • @linaamber541
    @linaamber541 3 ปีที่แล้ว

    thank you! that is really healthy

  • @makorm1838
    @makorm1838 3 ปีที่แล้ว

    Thank you for this great tutorial. I understand this is for just vectors. I am using a video which I would like to convert to html5 animation. Any tips how to do this using after effects or other?

    • @dotterel
      @dotterel 2 ปีที่แล้ว

      Did you find out?

    • @irlWIKKO
      @irlWIKKO 2 ปีที่แล้ว

      In my understanding you can just do dynamic elements like text and graphics with this method. What you are probably looking for is converting your video file to webm and then implementing it to your website. That is quite possible, just not as dynamic as you would think. You would need to pre-render this and then render it again for making changes.

  • @jungolmok
    @jungolmok 5 ปีที่แล้ว

    It does not work. I got error code : lottie.js:3 Failed to load file:///Users/jk/Desktop/test/data.json: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.,

  • @isphoebeoil
    @isphoebeoil 6 ปีที่แล้ว +1

    how to make it just play once or when the mouseover then play it?

    • @SalmanRavoof
      @SalmanRavoof 5 ปีที่แล้ว

      You disable the loop if you wanna play it only once.
      For mouseover only playback, you'll have to modify the javascript code a bit. You need to fire the playback with onmouseover event attribute.

  • @mShykot
    @mShykot 3 ปีที่แล้ว

    how to add multiple animation in one single page?

  • @drravinarain8197
    @drravinarain8197 6 ปีที่แล้ว

    'Uncaught typeError: bodymovin.loadanimation is not a function'.
    How to resolve this problem

  • @calixtotamez4807
    @calixtotamez4807 6 หลายเดือนก่อน +1

    Thank you so much!

  • @MilesRoseProductions
    @MilesRoseProductions 5 ปีที่แล้ว

    It only works for me in edge and firefox, not chrome. in chrome, I'm getting this error:
    "Failed to load file:///C:/AE-to-html-test/data.json: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https."
    also, in edge and firefox, the animation plays super fast for some reason.
    Anybody have some advice? thanks

    • @michelletrapani1258
      @michelletrapani1258 3 ปีที่แล้ว

      I'm getting the same issue. Can you help us out for this @iEatWebsites ??

  • @CreativeJE
    @CreativeJE 6 ปีที่แล้ว

    only works in after effects cc

  • @motionmarketer4762
    @motionmarketer4762 4 ปีที่แล้ว

    Thank you very much

  • @aloky247
    @aloky247 2 ปีที่แล้ว +1

    When I click on Render, I get "Render failed". Please help...

  • @Arshnaaz.
    @Arshnaaz. 6 ปีที่แล้ว

    siraaa....

  • @slashslash92
    @slashslash92 6 ปีที่แล้ว +1

    Wow nice

  • @emilkuliev1260
    @emilkuliev1260 5 ปีที่แล้ว +3

    how come I have exactly the same code in scrip and I get an error :(
    var animation = bodymovin.loadAnimation({
    container: document.getElementById('anim'),
    renderer: 'svg',
    loop: true,
    autoplay: true,
    path: 'data.json'
    })

  • @antoinedickens7450
    @antoinedickens7450 4 ปีที่แล้ว

    Do all the elements have to be created in AE? What if the animation has PNGs?

    • @ieatwebsites
      @ieatwebsites  4 ปีที่แล้ว

      This is for vector files. If you want to animate png files, you can do it with CSS.

  • @zegfrid1907
    @zegfrid1907 5 ปีที่แล้ว

    why does my bodymovin take time to render/export? And I only have 3 layers. I'm testing it now.

    • @ieatwebsites
      @ieatwebsites  5 ปีที่แล้ว

      The animation is long or complicated? Can you test with a very simple animation?

  • @andreasgeorgiou1901
    @andreasgeorgiou1901 7 หลายเดือนก่อน

    I am trying to make our After Effects files .HTML using this method and so far I've used Body Movin with the demo setting and it plays incredibly quickly. The .Json method didn't work for us

  • @RAMMSEL
    @RAMMSEL 6 ปีที่แล้ว +1

    Which program is your html coder

    • @ieatwebsites
      @ieatwebsites  6 ปีที่แล้ว +1

      Visual Studio Code: code.visualstudio.com/

  • @jhaimarrsanmiguel4758
    @jhaimarrsanmiguel4758 4 ปีที่แล้ว

    Hey guys! I'm encountering a problem where it doesn't reflect anything on my browser. I've followed all the codes but when I open my html file, nothing is there. Do you guys have any tips on this instance?

    • @ieatwebsites
      @ieatwebsites  4 ปีที่แล้ว

      Do you see some errors in the console?

  • @nathanielolvis7975
    @nathanielolvis7975 2 ปีที่แล้ว

    Where did you get the html file?

  • @svenskanyheter6683
    @svenskanyheter6683 5 ปีที่แล้ว +1

    Video is awesome. Can you do police flashing lights. TY

  • @dj_here
    @dj_here ปีที่แล้ว +1

    thank you!

  • @3mcreative
    @3mcreative 5 ปีที่แล้ว

    how about video or movie without svg ? can convert video to html ?

    • @ieatwebsites
      @ieatwebsites  5 ปีที่แล้ว

      You can use an HTML video player. It comes with the browser.

  • @deboracalasans
    @deboracalasans 3 ปีที่แล้ว +1

    Thank you so much

  • @rupakchaulagain3337
    @rupakchaulagain3337 6 ปีที่แล้ว

    my after effect animation is converted intto 3 json files. How to give these three .json file in script?/

    • @ieatwebsites
      @ieatwebsites  6 ปีที่แล้ว +1

      Do you have multiple animations?

    • @rupakchaulagain3337
      @rupakchaulagain3337 6 ปีที่แล้ว

      yes, i have multiple animations in single after effect animation but while converting into json it creates three file

  • @hamzabounsif6161
    @hamzabounsif6161 5 ปีที่แล้ว

    can someone share the code in index.html ?

  • @Kuwandi
    @Kuwandi 6 ปีที่แล้ว

    Oh man ..snapp

  • @nested9301
    @nested9301 3 หลายเดือนก่อน

    Where did you get the data.json file i'm confused 😕

  • @galbbijjim
    @galbbijjim ปีที่แล้ว +1

    awesome

  • @user-go4xv1fk1p
    @user-go4xv1fk1p 3 ปีที่แล้ว

    There's no render button.... :(
    What'd I miss?...

  • @gamers_time
    @gamers_time 4 ปีที่แล้ว

    Its not working using preset animation with image or using gif its not exporting them? Any solution. Its only working with text animations

    • @ieatwebsites
      @ieatwebsites  4 ปีที่แล้ว +1

      It needs to be a vector file or a shape created using after effects.

    • @gamers_time
      @gamers_time 4 ปีที่แล้ว

      ​@@ieatwebsites bro thnx for help but i convert vector file to shape and animate stroke (layer style) but still bodymovin not showing animation of shape

  • @Serega5j
    @Serega5j 5 ปีที่แล้ว +1

    Это просто восхитительно.

  • @riqdotwav
    @riqdotwav 4 ปีที่แล้ว

    Am I doing something wrong or is it impossible to use a 3D animation with bodymovin? Its just an animated svg logo with a "coin flip" animation...

    • @ieatwebsites
      @ieatwebsites  4 ปีที่แล้ว

      It needs to be vector and not pixels.

    • @riqdotwav
      @riqdotwav 4 ปีที่แล้ว

      @@ieatwebsites it is thats why im wondering :/ its basically a vector file directly from illustrator thats rotated in the z axis 🤔

  • @chris-adams-tas
    @chris-adams-tas 5 ปีที่แล้ว +16

    rederer? Typo in the script.js file

    • @Gan_Gineandro
      @Gan_Gineandro 4 ปีที่แล้ว +2

      yeah, how did it still work???

    • @soumyadipniyogi1003
      @soumyadipniyogi1003 4 ปีที่แล้ว

      Maybe he fixed it later and edited it out?

  • @magdalenajakubiuk1758
    @magdalenajakubiuk1758 4 ปีที่แล้ว +2

    Sadly, this doesn't work with complex animations which might be using gradients, fractal displace etc. :(

    • @sicfxmusic
      @sicfxmusic 4 ปีที่แล้ว +1

      So you are telling me Element 3D VFX animations can't be converted to HTML5? That's really sad :((

    • @Requiemes
      @Requiemes 2 ปีที่แล้ว

      @@sicfxmusic enjoy our website experience at 1 frame per minute!

    • @sicfxmusic
      @sicfxmusic 2 ปีที่แล้ว

      @@Requiemes 1fpm is the way!

  • @cyrilrueg
    @cyrilrueg 4 ปีที่แล้ว

    So where are the html and js files?

  • @techwake360
    @techwake360 5 ปีที่แล้ว

    WOW . Thank you J

    • @ieatwebsites
      @ieatwebsites  5 ปีที่แล้ว

      You welcome! 😊

    • @ieatwebsites
      @ieatwebsites  5 ปีที่แล้ว

      You can contact me via Twitter @ieatwebsites

  • @diegohiroshiysusvideos2909
    @diegohiroshiysusvideos2909 4 ปีที่แล้ว

    I can put music? Regards